0.2.0 ā€¢ Published 8 months ago

bummp v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

bummp

Interactive version bumper.

Repository | Package | Releases | Discussions

npm i -D bummp

Features

  • Provides interactive CLI
  • Updates versions with a single command
  • Follows semver convention
  • Allows custom versioning system
  • Adds an extra confirmation step
  • Lightweight and ultra fast
  • Super easy to use

Usage

Bummp is designed to work with npm only so it currently bumps the package.json and package-lock.json files.

If needed, support for different package managers, auto-commit and other additional features can be added easily.

Interactive prompts

Runs interactive prompts in the terminal:

npx bummp

Explicit updates

  • bummp [--version]

Bumps package versions without prompting:

npx bummp --patch # version: x.x.1
npx bummp --minor # version: x.1.x
npx bummp --major # version: 1.x.x

Semantic suffix

  • bummp [--version]

Bumps package versions with the default semantic suffix:

npx bummp --prepatch # version: x.x.1-0
npx bummp --preminor # version: x.1.x-0
npx bummp --premajor # version: 1.x.x-0
npx bummp --prerelease # version: x.x.1-0
  • bummp [--version] [value]

Bumps package versions with the custom semantic suffix:

npx bummp --prepatch alpha # version: x.x.1-alpha.0
npx bummp --preminor beta # version: x.1.x-beta.0
npx bummp --premajor sr # version: 1.x.x-sr.0
npx bummp --prerelease rc # version: x.x.1-rc.0

Custom system

  • bummp [--custom] [value]

Sets a new custom package version:

npx bummp --custom 3.6.9 # version: 3.6.9
npx bummp --custom 0.0.0 # version: 0.0.0

CLI

Check all available CLI commands:

npx bummp --help

Community

Feel free to use the official discussions for any additional questions.

License

Developed in šŸ‡­šŸ‡· Croatia

Released under the MIT license.

Ā© Ivo Dolenc