Socket
Book a DemoInstallSign in
Socket

@cjkihl/bump

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cjkihl/bump

Bump package versions in a monorepo

0.1.12
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@cjkihl/bump

A powerful version bumping and release tool for monorepos. Automatically handles version updates, git operations, and GitHub releases.

Prerequisites

  • Node.js >= 18.0.0
  • Bun package manager
  • GitHub CLI (gh) installed and authenticated
  • Git configured with proper credentials

Installation

# Using bun
bun add -g @cjkihl/bump

# Using npm
npm install -g @cjkihl/bump

Usage

The tool supports various options for version bumping and release management:

# Bump patch version (default)
bump

# Bump major version
bump --major

# Bump minor version
bump --minor

# Preview changes without making them
bump --dry-run

# Skip git operations
bump --skip-git

# Skip GitHub release creation
bump --skip-release

# Select specific packages to bump
bump --packages @org/pkg1,@org/pkg2

Configuration Options

OptionDescriptionDefault
--majorBump major version (1.0.0 -> 2.0.0)false
--minorBump minor version (1.0.0 -> 1.1.0)false
--patchBump patch version (1.0.0 -> 1.0.1)true
--dry-runShow what would be done without making changesfalse
--skip-gitSkip git operations (commit, push, tag)false
--skip-releaseSkip GitHub release creationfalse
--packagesComma-separated list of package names to bumpall packages

Common Troubleshooting

GitHub CLI Issues

  • Error: "gh command not found"
  • Error: "Authentication required"
    • Solution: Run gh auth login and follow the prompts

Git Issues

  • Error: "Git working directory is not clean"
    • Solution: Commit or stash your changes before running bump
  • Error: "Failed to push to remote"
    • Solution: Ensure you have proper git credentials and permissions

Version Issues

  • Error: "Packages have different versions"
    • Solution: Use --packages to select specific packages or align versions manually
  • Error: "Invalid version format"
    • Solution: Ensure all package.json files have valid semver versions

Package Issues

  • Error: "No packages found"
    • Solution: Check your workspace configuration in root package.json
  • Error: "Package not found"
    • Solution: Verify package names in --packages option match your workspace

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Keywords

bump

FAQs

Package last updated on 16 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.