peach a19a732be8 commit message | 2 éve | |
---|---|---|
.. | ||
templates | 2 éve | |
CHANGELOG.md | 2 éve | |
LICENSE.md | 2 éve | |
README.md | 2 éve | |
add-bang-notes.js | 2 éve | |
conventional-changelog.js | 2 éve | |
conventional-recommended-bump.js | 2 éve | |
index.js | 2 éve | |
package.json | 2 éve | |
parser-opts.js | 2 éve | |
writer-opts.js | 2 éve |
A concrete implementation of the specification described at conventionalcommits.org for automated CHANGELOG generation and version management.
Use the Conventional Changelog CLI Quick Start with the -p conventionalcommits
option.
If you want to use this package directly and pass options, you can use the Conventional Changelog CLI Quick Start and with the --config
or -n
parameter, pass a js config that looks like this
'use strict'
const config = require('conventional-changelog-conventionalcommits')
module.exports = config({
"issuePrefixes": ["TEST-"],
"issueUrlFormat": "https://myBugTracker.com/{{prefix}}{{id}}"
})
or json config like that:
{
"options": {
"preset": {
"name": "conventionalchangelog",
"issuePrefixes": ["TEST-"],
"issueUrlFormat": "https://myBugTracker.com/{{prefix}}{{id}}"
}
}
}
This last json config way passes the preset
object to the conventional-changelog-preset-loader
package, that in turn, passes this same preset
object as the config for the conventional-changelog-conventionalcommits
.
See conventional-changelog-config-spec for available configuration options.