bump package version, git tag, commit and push, npm test, update, and publish, all in one cli script.
npm install -g @magic/bumper
be in a node repository (package.json exists)
magic-bumper --help
# show a detailed help text
magic-bumper
# will only output the changes that would be done
magic-bumper --serious
# will actually bump the version number with the lowest priority (patch or alpha)
# then git commit and git tag it,
# then git push
# then npm publish
magic-bumper --(major|minor|patch)
# bump the version specified.
magic-bumper --install
# also delete package-lock.json and node_modules, then npm install to get the newest dependencies.
# it's slow, but faster then the alternatives that make sure all deps get updated.
first commit
...