Skip to content

fix: use correct Biome executable in format - #57

Open
DaanRoet wants to merge 1 commit into
changesets:mainfrom
DaanRoet:fix/biome-format-command
Open

DaanRoet wants to merge 1 commit into
changesets:mainfrom
DaanRoet:fix/biome-format-command

Conversation

@DaanRoet

Copy link
Copy Markdown

fixes #56

@DaanRoet
DaanRoet force-pushed the fix/biome-format-command branch from b6ff44f to ffdc2a3 Compare November 30, 2026 07:39
@Netail

Netail commented Nov 30, 2026 •

Copy link
Copy Markdown

Not sure if changing to biome is the right approach. With pnpm it's fine, because it uses pnpm exec biome (a local binary). But in the case of npm, it uses npx biome (which could execute a different biome, if it has a binary). Best to execute pnpm with pnpx @biomejs/biome instead.

And pnpm exec requires running pnpm install beforehand I believe, so pnpx is also nice to download on demand if Changesets is executed with pnpx too

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.

Biome formatter runs pnpm exec @biomejs/biome, which fails: the binary is biome

2 participants