@tyisi/config-changelog
v1.0.1
Published
a git-cz config generator
Downloads
157
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@latest
Or with a scope:
~/project/packages/backend$ npx git-cz@latest --scope=backend