Shows which packages have new versions available. If @biomejs/biome has a new version, we continue to the next step.
- Run
bun updateto update most packages - Change the version of
@biomejs/biomeinpackage.jsonto the latest version printed bybun outdated - Run
bun ito install the newer version of@biomejs/biome - Update the schema version in the
biome.jsonccomment to match the newer version of@biomejs/biome
Biome rule changes will show up in the (gitignored) ruleChanges.json file. This is where you can see what you'd like to add / adjust in createBiomeConfig.ts. Most changes will be from the nursery category - ignore those unless you want to take the risk of supporting a rule that will move to a new category in the future.
nursery section of createBiomeConfig.ts for lint errors and the promoted section of ruleChanges.json for a match. A rule may have been promoted, causing a mismatch error with the schema.
Kicks off a few tasks:
- Runs a schema check
- If
@biomejs/biomewas updated, this will likely show an error message such asUpdate the schema version in biome.jsonc to x.x.x. Take care of that and run this command again.
- If
- Generates Biome TypeScript types in
biomeSchema.d.ts - Checks for changes in Biome's list of rules
- Check
ruleChanges.jsonfor a list of new, deleted, and promoted rules ruleData.jsonwill have a comprehensive list of rules and metadata. This file can also be checked for changes.
- Check
- Biome config files will be created in the
distfolder
- Update
createBiomeConfig.tswith data fromruleChanges.jsonin mind. - Run
bun run buildagain to generate new configs - Commit changes to version control
Uses a custom release script (inspired by release-it) to handle publishing to npm, tagging a release, and pushing those changes.