From 3f0b3f594a06d7b51e774e25d5dc288f7247e8bb Mon Sep 17 00:00:00 2001 From: simov Date: Sun, 26 Mar 2023 15:28:17 +0300 Subject: [PATCH] Add build:changelog command --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 12ed23a..5a5eeb8 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "devDependencies": { "coveralls": "^3.1.0", + "github-changes": "^2.0.3", "mocha": "^7.2.0", "nyc": "^15.1.0" }, @@ -30,6 +31,7 @@ "types": "slugify.d.ts", "scripts": { "build": "node bin/build", + "build:changelog": "github-changes --owner simov --repository slugify --only-pulls --use-commit-body --date-format '(YYYY-MM-DD)' --file CHANGELOG.md --verbose", "test:ci": "npx mocha --recursive", "test:cov": "npx nyc --reporter=lcov --reporter=text-summary mocha -- --recursive", "test": "npm run build && npm run test:ci"