Skip to content

Commit

Permalink
Use the version hook to generate a changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed Oct 27, 2023
1 parent 588b1cf commit 813eca1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/node_modules/
/coverage/
/.nyc_output/

# Don't battle offline-github-changelog
/CHANGELOG.md
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"magicpen-prism": "^5.0.0",
"mocha": "^9.0.1",
"nyc": "^15.0.0",
"offline-github-changelog": "^1.7.0",
"prettier": "~2.5.0",
"sinon": "^12.0.1",
"svgfilter": "^4.0.0",
Expand All @@ -60,7 +61,8 @@
"docker": "docker run --rm -it -v \"$(pwd):/home/nvm/express-processimage\" express-processimage-dev",
"lint": "eslint . && prettier --check '**/*.{js,md}'",
"test": "mocha",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html"
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html",
"version": "offline-github-changelog --next=${npm_new_version} > CHANGELOG.md && git add CHANGELOG.md"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 813eca1

Please sign in to comment.