conventional-recommended-version
Using a
conventional-changelog
commit history, determine the current version number of your project.
This is done by reading your local git commit history and searching for fixes,
features, and breaking changes.
Installation
npm install conventional-recommended-version
Usage
import { getVersion } from 'conventional-recommended-version';
getVersion('/Users/you/projects/some-project').then(console.log);
Supported Conventions
conventional-recommended-version currently only supports the
angular conventional-changelog convention
as that's the one I use.
Patches are welcome.
Badges