Skip to content

Commit 5f1116e

Browse files
committed
(deps): replace internal changelog script with package
- forked off changelog-maker to support the same style I use here - don't have to cp the script into every library I use it in! - (deps): replace original changelog-maker package as well - supports changelogs that aren't just from latest, so edit the package.json script accordingly - reminder that `npm run changelog -- ...` allows you to pass args into changelog-maker after the `--` - tested in @agilgur5/changelog-maker itself too :)
1 parent 42637c6 commit 5f1116e

File tree

3 files changed

+104
-129
lines changed

3 files changed

+104
-129
lines changed

package-lock.json

Lines changed: 102 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start": "webpack-dev-server -d --inline --hot",
1515
"dist": "webpack -p --config webpack.production.config.js",
1616
"pub": "npm run dist && npm publish",
17-
"changelog:latest": "bash scripts/changelog.sh"
17+
"changelog": "changelog-maker"
1818
},
1919
"keywords": [
2020
"react",
@@ -40,13 +40,13 @@
4040
"author": "Anton Gilgur",
4141
"license": "Apache-2.0",
4242
"devDependencies": {
43+
"@agilgur5/changelog-maker": "^3.0.0",
4344
"babel-core": "^6.26.3",
4445
"babel-eslint": "^10.0.2",
4546
"babel-loader": "^6.0.0",
4647
"babel-preset-es2015": "^6.14.0",
4748
"babel-preset-react": "^6.11.1",
4849
"babel-preset-stage-2": "^6.13.0",
49-
"changelog-maker": "^2.3.0",
5050
"css-loader": "^0.24.0",
5151
"react": "^15.3.0",
5252
"react-dom": "^15.3.0",

scripts/changelog.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)