1.0.2-0 • Published 9 years ago
@bubltechnology/customizable-commit-analyzer v1.0.2-0
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: nullBut 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"
}
}