bumping-biome
Bumps `biome` package versions (e.g. `@biomejs/biome`) using `pnpm`, aligns `biome.jsonc` files with the new version/s across the repository and runs…
npx skills add https://github.com/prisma/prisma-next --skill bumping-biomeBumping Biome Skill
Instructions
-
Run
pnpm up -D -w -r @biomejs/biome@<version>- replace<version>with a specific package version provided in the session, otherwise fallback tolatest. -
Rename all
biome.jsonfiles tobiome.jsoncand replace the old package version number in$schemawith the newly installed package version number from the previous step. -
Run
pnpm -w lint:fix. Report any issues/regressions briefly. -
If there are remaining unsafe fixes following the previous step, offer to run
pnpm -w lint:fix:unsafeto attempt to fix some of the issues/regressions. -
If the offer in the previous step is agreed, run the appropriate command, and report any remaining issues/regressions briefly.
-
If there are remaining issues/regressions after the previous step, try and come up with your own suggestions for fixing them and present the plan.
Don't Do
-
Don't scan for
biomeversions. If the session doesn't include a specific package version number, uselatest. -
Don't read the root
package.jsonor lockfiles looking for the currentbiomeversion/s. We'll see the change in version numbers in Git anyway.