Skip to content

Commit

Permalink
chore: generate changelog on release
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Dec 7, 2019
1 parent 2ac0352 commit b6367a0
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"increment": "conventional:angular",
"scripts": {
"beforeStart": "yarn run lint && yarn run test --colors && yarn run build && yarn run test:size && yarn run test:cypress",
"afterRelease": "yarn run release:examples"
"afterRelease": "yarn run release:examples",
"changelog": "yarn run changelog:update"
},
"git": {
"requireUpstream": false,
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"build:storybook": "build-storybook -o ./website/dist/storybook -c ./stories/config -s ./dist,./stories/images",
"storybook": "start-storybook -p 9001 -c ./stories/config -s ./dist,./stories/images",
"build:website": "(cd website && yarn && yarn run build) && yarn run build && yarn run build:storybook",
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "release-it",
"release:next": "release-it --preRelease=next",
"release:examples": "./scripts/release-examples.sh"
Expand Down Expand Up @@ -70,6 +71,7 @@
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.7.0",
"bundlesize": "0.18.0",
"conventional-changelog-cli": "2.0.28",
"cssnano": "4.1.10",
"cypress": "3.7.0",
"cypress-image-snapshot": "3.1.1",
Expand All @@ -83,7 +85,7 @@
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"pretty-quick": "1.10.0",
"release-it": "10.0.1",
"release-it": "10.4.5",
"rimraf": "3.0.0",
"rollup": "1.27.8",
"rollup-plugin-babel": "3.0.7",
Expand Down
Loading

0 comments on commit b6367a0

Please sign in to comment.