Skip to content

refactor(create-release-branch): let a mode name its prepare step - #166

Draft
GuillaumeRx wants to merge 1 commit into
mainfrom
gr/crb-cs-02-core-seams
Draft

GuillaumeRx wants to merge 1 commit into
mainfrom
gr/crb-cs-02-core-seams

Conversation

@GuillaumeRx

@GuillaumeRx GuillaumeRx commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Explanation

A core change for the Changesets mode: the mode names its prepare step.

prepare is now a ModePrepareStep with a title, a result, and a run function. The core shows the title and the result that the mode gives, so the "Updating changelogs" labels move to the legacy mode. Legacy mode uses the step to update the changelogs.

The legacy output does not change.

References

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 added this pull request to stack #171 November 12, 2026 14:07
@GuillaumeRx
GuillaumeRx force-pushed the gr/crb-cs-02-core-seams branch 2 times, most recently from 3d1a722 to ed08045 Compare November 12, 2026 16:11
@GuillaumeRx GuillaumeRx changed the title refactor(create-release-branch): make prepare optional and add info notices refactor(create-release-branch): let a mode name or leave out its prepare step Nov 12, 2026
The prepare step of a mode is now an object with a title, a result, and a
run function. The core shows the title and the result that the mode
gives, so the "Updating changelogs" labels move to the legacy mode.
@GuillaumeRx
GuillaumeRx force-pushed the gr/crb-cs-02-core-seams branch from ed08045 to eeceeb9 Compare November 13, 2026 10:28
@GuillaumeRx GuillaumeRx changed the title refactor(create-release-branch): let a mode name or leave out its prepare step refactor(create-release-branch): let a mode name its prepare step Nov 13, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant