Skip to content

feat(create-release-branch): render the CLI output with clack - #159

Draft
GuillaumeRx wants to merge 4 commits into
mainfrom
gr/crb-output-01-renderer
Draft

GuillaumeRx wants to merge 4 commits into
mainfrom
gr/crb-output-01-renderer

Conversation

@GuillaumeRx

@GuillaumeRx GuillaumeRx commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explanation

First step of the output revamp: the CLI output now renders with @clack/prompts, in one block with a left gutter.

  • CliOutput keeps its methods and maps them onto clack. Colors use node:util styleText; chalk and ora are removed.
  • The Yarn steps run through a new task method: their output streams inside the block while they run (last 10 lines), disappears when they succeed, and stays on screen when they fail.
  • Plain output is unchanged in spirit: no colors and no spinners when a stream is not a color terminal, in CI, with NO_COLOR, or with TERM=dumb.
  • Ctrl+C or Escape during a step exits with code 130 instead of 0.
  • Message text is unchanged; the following PRs rework the errors, the warnings, and the summary.

References

  • Part of the output revamp stack

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@GuillaumeRx GuillaumeRx changed the title gr/crb output 01 renderer feat(create-release-branch): render the CLI output with clack Nov 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant