bump
v1.0.0-rc.0
release tool · bun 1.4+

Version, commit, and tag the packages that changed.

bump looks at what changed since your last release, bumps those packages (and the ones that depend on them), then makes one commit with a tag per release. Publishing and pushing are up to you.

$ bun add --dev bump
Read the docs
~/acme
$ bump minor --dryrun
BUMP @acme/core 1.2.0 → 1.3.0  (changed)
BUMP @acme/cli 0.4.1 → 0.4.2  (dependent)
EDIT @acme/cli dependencies["@acme/core"] ^1.2.0 → ^1.3.0
EDIT @acme/docs devDependencies["@acme/core"] ^1.2.0 → ^1.3.0
DONE Dry run; no files were written
2 releases · 2 range edits · 0 files written
what you get

Small tool, whole release.

package.json + Cargo.toml

JS and Rust, in one repo

Works with package.json and Cargo.toml packages, even mixed in one repository. Cargo workspaces

lockstep | independent

One version, or one each

Lockstep gives every package one version. Independent gives each package, or each group, its own. Modes

"version": "1.3.0"

Only the versions change

bump edits the version strings in place. Your comments and formatting stay put.

Cargo.lock · bun.lock · pnpm-lock.yaml

Lockfiles in the same commit

Also bun.lockb, package-lock.json, and yarn.lock (Yarn 2+), so a frozen install still passes. Lockfiles

@acme/core → @acme/cli

Dependents follow

A package that depends on a released one gets a patch (or a prerelease), and its range is rewritten to match.

undo

All or nothing

If any step fails, bump undoes the files, the commit, and the tags. Try it first with --dryrun.

how it works

Versions come from the manifests. Tags mark the last release.

If those two ever disagree, bump stops and tells you why. How it works

01 · find

Find what changed

Each manifest holds its version. The tag for that version, like v1.2.0 or app@1.2.0, marks the commit to diff against.

02 · bump

Bump it, and its dependents

Changed packages get your type. Packages that depend on them get a patch (or a prerelease), and their ranges are rewritten.

03 · commit

One commit, a tag each

Lockfiles update, then one commit lands with an annotated tag per release. Push when you are ready.

config

Optional. Plain JSON.

Without a config, bump reads your workspaces from package.json, pnpm-workspace.yaml, or Cargo.toml. Config

bump.jsonoptional
{
  "$schema": "https://unpkg.com/bump/schema.json",
  "independent": true,
  "packages": ["packages/*", "crates/*", "!packages/internal-*"],
  "groups": {
    // these always release together
    "web": ["@acme/ui", "@acme/app"],
  },
  "tag": "{name}@{version}",
}

    Type to search page titles and sections.