Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Adding auto-changelog generation
Browse files Browse the repository at this point in the history
I'd like to be able to use Lerna's built in changelog functionality for
this, but it requires us using a very specific commit message format
which i'm not sure would have too much buy in at this time.

This is better than nothing for now
  • Loading branch information
domharrington committed Dec 20, 2018
1 parent 75cc899 commit 8d40227
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 3 deletions.
128 changes: 126 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "./build.sh & lerna run build",
"watch": "lerna run watch --stream",
"deploy": "gh-pages --dotfiles -d example/dist",
"publish": "lerna publish"
"publish": "lerna publish",
"version": "auto-changelog -v $(node -e \"console.log(require('./lerna.json').version)\") && git add CHANGELOG.md"
},
"publishConfig": {
"registry": "http://registry.npmjs.org"
Expand All @@ -23,6 +24,7 @@
"@babel/core": "^7.0.0-beta.55",
"@babel/preset-env": "^7.0.0-beta.55",
"@babel/preset-react": "^7.0.0-beta.55",
"auto-changelog": "^1.10.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0-beta.4",
Expand Down

0 comments on commit 8d40227

Please sign in to comment.