Skip to content

bump

Update version numbers in package.json files.

Usage

bash
relizy bump [options]

What It Does

The bump command:

  1. ✅ Calculates the new version
  2. ✅ Updates package.json
  3. ✅ Updates dependencies in monorepos
  4. ❌ Does NOT create commits or tags
  5. ❌ Does NOT generate changelogs

Options

Release Type

bash
# Patch (1.0.0 → 1.0.1)
relizy bump --patch

# Minor (1.0.0 → 1.1.0)
relizy bump --minor

# Major (1.0.0 → 2.0.0)
relizy bump --major

--dry-run

Preview version changes:

bash
relizy bump --minor --dry-run

--yes

Skip confirmations:

bash
relizy bump --minor --yes

Examples

Single Package

bash
relizy bump --patch

# Before: "version": "1.0.0"
# After:  "version": "1.0.1"

Monorepo

bash
relizy bump --minor

# packages/core: 1.0.0 → 1.1.0
# packages/ui: 1.0.0 → 1.1.0 (depends on core)

Preview Changes

bash
relizy bump --major --dry-run

# Output:
# Packages to bump:
# ✓ @myorg/core: 1.5.0 → 2.0.0
# ✓ @myorg/ui: 1.5.0 → 2.0.0

See Also

Released under the MIT License.