TAO Conventional Commit preset
Preset for conventional changelog extending the standard preset conventionalcommits.
This preset relies on the conventional commits specification.
Usage
It should be in the project dependencies :
npm i --save @oat-sa/conventional-changelog-tao
To load it as part of conventional-changelog function :
import conventionalRecommendedBump from 'conventional-recommended-bump';
conventionalRecommendedBump(
{
preset: {
name: '@oat-sa/tao'
}
},
config,
callback
);
Preset content
The preset exposes a function that accept in parameter either :
- a default configuration
- a callback
This function should return a
Promise
that resolves with the preset configuration.
The preset configuration contains the following properties :