@inkdpixels/commit-analyzer
A commit-analyzer plugin for semantic-release which uses the commit guidelines of Neos.
Installation
npm i -D @inkdpixels/commit-analyzer
Setup & Configuration
Specify the custom commit-analyzer plugin in your projectspackage.json
.{
"release": {
"analyzeCommits": "@inkdpixels/commit-analyzer"
}
}
Commit message guidelines
Every commit message should have a prefix, which is surrounded by square brackets. Below is a list of available prefixes and what kind of release they will trigger once they are in your preferred git release branch.| Prefix | Description | Release type | | ------------- | --------------- | ------------- | |
!!!
| Breaking change | Major |
| FEATURE
| Feature | Minor |
| BUGFIX
| Bugfix | Patch |
| SECURITY
| Security change | Patch |
| TASK
| Other changes | No release |More infos regarding the commit message guidelines can be found in the official discuss forum. You may also want to use the generateNotes plugin for this commit style & analyzer.
Contributing
We use xo to lint the code, please take care to runnpm test
before you commit something.
If you add or modify methods or the API, please add unit tests as specified in the *.spec.js
files.