@bubltechnology/customizable-commit-analyzer

1.0.2-0 • Public • Published

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

Package Sidebar

Install

npm i @bubltechnology/customizable-commit-analyzer

Weekly Downloads

25

Version

1.0.2-0

License

Apache-2.0

Last publish

Collaborators

  • aerialx
  • bublcam
  • turbobeast