bumplebee
v1.1.3
Published
Bump your package.json, npm-shrinkwrap, sonar-project.properties versions in the terminal.
Downloads
8
Readme
Bumplebee
This is a small CLI designed to make it easy to bump versions in package.json
, npm-shrinkwrap.json
and sonar-project.properties
.
Install
npm i -g bumplebee
Usage
bump <major|minor|patch>
bump # defaults to patch
From within your repo simply run the bump
command.
$ bump major
Bumping from version 1.0.5 to version 2.0.5
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
$ bump minor
Bumping from version 2.0.5 to version 2.1.5
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
$ bump patch
Bumping from version 2.1.5 to version 2.1.6
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
bump
defaults to patch
if no argument is passed:
$ bump
Bumping from version 2.1.5 to version 2.1.6
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
bump
also supports the x.y.z-BUILD-NUMBER
syntax.
$ bump
Bumping from version 0.2.0-BUILD-NUMBER to version 0.2.1-BUILD-NUMBER
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
bump
still works if npm-shrinkwrap.json
or sonar-project.properties
are not present
$ bump
Bumping from version 2.1.6 to version 2.1.7
done: package.json
skipped: sonar-project.properties
skipped: npm-shrinkwrap.json