Skip to main content
Release packages and modules by inspecting the conventional commits since each one’s last tag. For every target with unreleased commits, the command determines the version bump, updates 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:
Limit the release to specific packages (comma-separated):
Limit the release to specific modules:
Release and publish the released packages to npm in one step:

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.