0.0.1 • Published 2 years ago

conventional-changelog-angular-azure v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

conventional-changelog-angular-azure

conventional-changelog-angular azure preset

Install

for npm user:

npm install conventional-changelog-cli  conventional-changelog-angular-azure --save-dev

for yarn user:

yarn add conventional-changelog-cli  conventional-changelog-angular-azure -D

for pnpm user:

pnpm add conventional-changelog-cli  conventional-changelog-angular-azure -D

Configuration

due to the limit of conventional-changelog, we have to configurte the context.

please add conventinal-changelog-template.js in project root path:

module.exports = {
    repository: <YOUR_AZURE_REPOSITORY>,
    issueUrl: <YOUR_AZURE_WORK_ITEM>,
    commit: 'commit',
    issue: 'edit'
};

add script in package.json:

"changelog": "conventional-changelog --context conventinal-changelog-template.js -p angular-azure -i CHANGELOG.md -s",
"changelog:all": "conventional-changelog --context conventinal-changelog-template.js -p angular-azure -i CHANGELOG.md -s -r 0",

then we can cenerate a changelog from git metadata based angular commit message format

License

MIT © 明国宾