Conventional Changelog
透過conventional commit產生Change log.
安裝 conventional-changelog-cli
npm install --save-dev conventional-changelog-cli
第一次執行指令產生CHANGELOG.md
npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0
修改package.json
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
}
測試
npm run changelog