@tyisi/config-changelog
v2.0.0
Published
a git-cz config generator
Downloads
16
Readme
@tyisi/config-changelog
a git-cz config generator
Features
- Expressive commit messages
Exports
| Export | Type | Status | | ----------------- | ----------------- | ------ | | default | generateChangelog | Stable | | generateChangelog | generateChangelog | Stable |
Usage
Call generateChangelog with additional scopes beyond 'empty' and 'all'.
Examples
The configuration for this repository:
const { generateChangelog } = require('@tyisi/config-changelog')
module.exports = generateChangelog(
'changelog',
'eslint',
'prettier',
'stylelint'
)A monorepo with backend, frontend and lib packages:
const { generateChangelog } = require('@tyisi/config-changelog')
module.exports = generateChangelog('backend', 'frontend', 'lib')Then call git-cz:
$ npx git-cz@latestOr with a scope:
~/project/packages/backend$ npx git-cz@latest --scope=backend