@bubltechnology/customizable-commit-analyzer

v1.0.2-0
Customizable commit message analyzer for use with semantic-release
semantic-release commitizen semver

customizable-commit-analyzer

Build Status npm version

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"
  }
}

License

Apache 2.0

npm i @bubltechnology/customizable-commit-analyzer

Metadata

  • Apache-2.0
  • Whatever
  • Bubl Technology Ltd
  • released 3/10/2017

Downloads