@bubltechnology/customizable-commit-analyzer
v1.0.2-0
Published
Customizable commit message analyzer for use with semantic-release
Downloads
55
Readme
customizable-commit-analyzer
NPM module for analyzeCommits
option in semantic-release. See semantic-release plugins.
npm install @bubltechnology/customizable-commit-analyzer --save-dev
{
"release": {
"analyzeCommits": "@bubltechnology/customizable-commit-analyzer"
}
}
The default settings for this package are
feat: 'minor',
fix: 'patch',
docs: 'patch',
style: null,
refactor: 'patch',
perf: 'patch',
test: null,
chore: null
But you can customize this, by defining an object right in your package.json
.
{
"config": {
"commitTypeMap": { "style": "patch" }
}
}
Or by specifying a package that exports a custom commit-type map object.
{
"config": {
"commitTypeMap": "conventional-commit-type-map"
}
}