conventional-bump

1.0.6 • Public • Published

conventional-bump

Commitizen friendly

bump package.json version according to conventional-changelog.

conventional-bump is built on conventional-recommended-bump.

Purpose of this library is to automatically bump the package.json version number.

Installation

$ npm install --save-dev conventional-bump

Usage

$ conventional-bump --help
 
Usage: index.js [-p preset]
 
Options:
  --version     Print current version                                  [boolean]
  -h, --help    Show help                                              [boolean]
  -p, --preset  conventional-changelog preset to use        [default: "angular"]

Configuration

in your package.json :

{
  "scripts": {
    "bump": "conventional-bump -p angular",
    "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
  }
}

Publish a npm module

$ npm run bump && npm publish

Package Sidebar

Install

npm i conventional-bump

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

13.6 kB

Total Files

10

Last publish

Collaborators

  • trapcodien