package.json and CHANGELOG.md, commits the changes, and creates an annotated git tag.
The working tree must be clean before releasing; the command aborts if there are pending changes.
Usage
Examples
Release every package and module that has unreleased commits:Options
The bump type is derived from the commits: a breaking change yields a major bump, a
feat yields a minor bump, otherwise a patch bump. After releasing, the command asks whether to push commits and tags to the remote; confirming runs bun install, commits bun.lock, and pushes.
When --publish is set, only the packages and modules that were actually released in this run are handed to npm:publish.