Repository navigation
fix(ci): disable changesets formatter in version step - #1535
Merged
Merged
Conversation
@changesets/cli 3.1.0 auto-detects Biome and runs `pnpm exec @biomejs/biome`, which pnpm cannot resolve (the bin is `biome`), so `changeset version` fails. The version-packages script already formats with `pnpm lint` afterwards.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This branch was successfully deployed
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.
Summary
The Release run on main after #1534 failed in
changeset version(run):@changesets/cli3.1.0 (@changesets/apply-release-plan8.2.0) now auto-detects Biome frombiome.jsoncand formats the generated CHANGELOGs throughpackage-manager-detector'sexecute-localcommand. It passes the package name@biomejs/biome, not the command namebiome.npxresolves package names, butpnpm execonly looks innode_modules/.bin, so pnpm fails withCommand "@biomejs/biome" not foundand exit code 254. 3.0.3 left Biome out of auto-detection. Earlier release runs didn't hit this because there were no pending changesets.Upstream: reported in changesets/format#56, fix open in changesets/format#57.
@changesets/format0.1.3 is still the latest release. Once a fixed version ships,"format": falsecan be removed.This sets
"format": falsein.changeset/config.jsonand bumps its$schemato@changesets/config@4.1.0, which documents the option. That matches what 3.0.3 actually did here: no formatter was detected, so CHANGELOGs were never formatted. Theversion-packagesscript still runspnpm lint(biome check --write) afterwards. Biome 2.5.6 doesn't format Markdown; a follow-up PR upgrades Biome to 2.6, so that step will format CHANGELOGs too.Test plan
pnpm changeset version→Command "@biomejs/biome" not found, exit 254pnpm changeset versionon main succeeds: dev-server and the linked packages go to 5.4.6, and the chore: bump dependencies to resolve security advisories #1534 changelog entry is generated. I discarded the generated output afterwards.pnpm lint:cipasses on the generated output