Repository navigation
The changesets format nothing, so changeset version survives @changesets/cli 3.1.0 - #143
Merged
Merged
Conversation
@changesets/cli 3.1.0 (apply-release-plan 8.2.0, write 1.1.0) formats each changelog and changeset with pnpm exec @biomejs/biome, which pnpm cannot run, so changeset version exits 1 (changesets/format#56). Biome formats no Markdown here, so format: false says what the repo already does. Refs PLX-196 Co-Authored-By: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The weekly update of Monday 2026-12-07 before 4am can bring
@changesets/cli3.1.0 with@changesets/apply-release-plan8.2.0 and@changesets/write1.1.0, and it would merge on green, since this repo's check never runschangeset version.Those versions format each changelog and changeset with
pnpm exec @biomejs/biome format, which pnpm cannot run, because Biome's binary isbiome(changesets/format#56).The first release after that would fail in the version step and leave it half written: the package bumped, the changelog written, the changeset not consumed.
changeset addfails the same way.The repo is locked today at 3.0.3, 8.1.1 and 1.0.1, so it works now, and the lockfile is unchanged here.
The change
One line in
.changeset/config.json, after"baseBranch":"format": false.It is the line the
repo-turbotemplate carries from the next Plexus version on.Every
@changesets/cli3.0.x accepts the key.No formatter ran on changelogs here before: the lockfile holds no Prettier, oxfmt or dprint, and the shared Biome configuration formats no Markdown.
Proof
In a scratch copy, moved to
@changesets/cli3.1.0,apply-release-plan8.2.0 andwrite1.1.0, with a changeset for@plexus-ms/std,changeset versionexits 1 with thepnpm exec @biomejs/biome formaterror, leaving the half-written state.With the line it exits 0 and writes
## 0.2.4with the entry, andchangeset add --emptyworks too.The transcript is in the scratch directory of this change,
proof.log.TURBO_FORCE=true mise run verifyexits 0 here.Changeset guard
The guard is
changeset status --since=origin/maininon_pr.yml.It exits 0 for this change, since no package changes, so the pull request carries no changeset, empty or otherwise.
🤖 Generated with Claude Code