bump
Update version numbers in package.json files.
Usage
bash
relizy bump [options]What It Does
The bump command:
- ✅ Calculates the new version
- ✅ Updates package.json
- ✅ Updates dependencies in monorepos
- ❌ Does NOT create commits or tags
- ❌ 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 --yesExamples
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.0See Also
- release - Full release workflow