0.2.3 • Published 3 years ago
@oat-sa/conventional-changelog-tao v0.2.3
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-taoTo 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
Promisethat resolves with the preset configuration.
The preset configuration contains the following properties :