@deptagency/changelog
v1.2.0
Published
Magically creates a YML file with metadata of a change entry
Downloads
14
Readme
Install
npm install @deptagency/changelogor
yarn add @deptagency/changelogUsage
package.json
{
"scripts": {
"changelog": "node ./node_modules/@deptagency/changelog"
}
}npm changelogor
yarn changelogCLI arguments (optional)
| Argument | Description | Default |
|----------|-------------------| ------------------------- |
| path | File path | ./changelog/unreleased/ |
| file | File name | %s-%s.yml |
File name format
| Value | Description | Slugified |
|--------|-------------------|---------- |
| %1$s | Jira ticket | true |
| %2$s | Changelog message | true |
Prompt
| Question | Hint | Type |
|-------------------|----------------------------------------|:--------------:|
| Changelog message | ... e.g. Bug ticket title | text |
| Type of change | ... use arrow-keys, return to submit | autocomplete |
| Jira ticket | ... e.g. HD-987 | text |
| Merge Request | ... e.g. 790 | text |
Icon
Made by Freepik from www.flaticon.com
