bump-suggest
v0.3.3
Published
Suggest the next version of a project based on commits and current version Edit
Downloads
3
Readme
bump-suggest
Suggest the next version of a project based on commits and a given version
Inspiration
- Conventional Commits
- conventional-recommended-bump
- standard-version
- conventional-commits-parser
- commit-analyzer
- The simple need to be able to tell the next version based on commits and a previous version.
Syntax
bumpSuggest(commits, base[, parserOpts])
Parameters
- commits [Array<String>] - an array of commit messages
- base <String> - base version to suggest from
- parserOpts {Object} - parser optons
Example Usage
const bumpSuggest = require('bump-suggest');
bumpSuggest(['fix(everything): Some test commit message'], '0.1.0'); //0.1.1
Testing & Contributing
NODE_ENV=development npm install
npm test