Skip to content

Conversation

eduardoboucas
Copy link
Member

Summary

When the deploy command is used with --json, we forward the output of the build's stderr to the process stderr but we lose the contents of stdout, which we replace with the JSON object resulting from the deploy. This is problematic in some cases where people want to see the full output of the build, which might contain important information regarding the error.

To make that possible without any breaking changes, this PR introduces support for the --verbose flag, which when used in conjunction with --json, pipes both the build's stderr and stdout into the process stderr.

Copy link

github-actions bot commented Sep 25, 2025

📊 Benchmark results

Comparing with e232d71

  • Dependency count: 1,035 (no change)
  • Package size: 294 MB (no change)
  • Number of ts-expect-error directives: 380 (no change)
@eduardoboucas eduardoboucas marked this pull request as ready for review September 26, 2025 08:22
@eduardoboucas eduardoboucas requested a review from a team as a code owner September 26, 2025 08:22
@eduardoboucas eduardoboucas merged commit 4272578 into main Sep 26, 2025
71 of 74 checks passed
@eduardoboucas eduardoboucas deleted the feat/deploy-json-verbose branch September 26, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants