lihai 8d6c751f49 feat: push 2 years ago
..
node_modules 8d6c751f49 feat: push 2 years ago
templates 8d6c751f49 feat: push 2 years ago
CHANGELOG.md 8d6c751f49 feat: push 2 years ago
LICENSE.md 8d6c751f49 feat: push 2 years ago
README.md 8d6c751f49 feat: push 2 years ago
add-bang-notes.js 8d6c751f49 feat: push 2 years ago
conventional-changelog.js 8d6c751f49 feat: push 2 years ago
conventional-recommended-bump.js 8d6c751f49 feat: push 2 years ago
index.js 8d6c751f49 feat: push 2 years ago
package.json 8d6c751f49 feat: push 2 years ago
parser-opts.js 8d6c751f49 feat: push 2 years ago
writer-opts.js 8d6c751f49 feat: push 2 years ago

README.md

Build Status Coverage Status

conventionalcommits.org convention

A concrete implementation of the specification described at conventionalcommits.org for automated CHANGELOG generation and version management.

Indirect Usage (as preset)

Use the Conventional Changelog CLI Quick Start with the -p conventionalcommits option.

Direct Usage (as a base preset so you can customize it)

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.