Skip to content

Bump any semver version in any JSON file via a simple and basic CLI.

Notifications You must be signed in to change notification settings

teamplanes/bump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bump

bump any semver version in any JSON file via a simple and basic CLI.

install

$ yarn global add bump-json-file
$ npm i -g bump-json-file

example

Bump will by default bump version in package.json.

$ bump

Current version: 0.0.1-rc.0

? Update version to (Use arrow keys)
❯ Prerelease:  0.0.1-rc.1
  Patch:       0.0.1
  Minor:       0.1.0
  Major:       1.0.0
  Don't update.

But you can also pass in a --file and/or a --key arg.

$ bump --file=./app.json --key=expo.version

Handy as commit hook with husky.

About

Bump any semver version in any JSON file via a simple and basic CLI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published