From: Jérôme Benoit Date: Mon, 31 May 2021 17:02:50 +0000 (+0200) Subject: Put auto-changelog configuration in package.json X-Git-Tag: v1.0.10~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d22589b3543c990500a04be179088a4a3a7be7cb;p=e-mobility-charging-stations-simulator.git Put auto-changelog configuration in package.json Signed-off-by: Jérôme Benoit --- diff --git a/.release-it.json b/.release-it.json index 4b3575ef..f3daa45c 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,6 @@ { "git": { - "changelog": "npx auto-changelog --stdout --commit-limit false --commit-url https://github.com/sap-labs-france/ev-simulator/commit/{id} --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs", + "changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs", "pushRepo": "upstream" }, "npm": { @@ -10,6 +10,6 @@ "release": true }, "hooks": { - "after:bump": "npx auto-changelog -p --compare-url https://github.com/sap-labs-france/ev-simulator/compare/{from}...{to} --commit-url https://github.com/sap-labs-france/ev-simulator/commit/{id}" + "after:bump": "npx auto-changelog -p -u" } } diff --git a/package.json b/package.json index 37b4c6ec..623900c4 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,12 @@ } ], "main": "dist/start.js", + "auto-changelog": { + "commitUrl": "https://github.com/sap-labs-france/ev-simulator/commit/{id}", + "issueUrl": "https://github.com/sap-labs-france/ev-simulator/issues/{id}", + "mergeUrl": "https://github.com/sap-labs-france/ev-simulator/pull/{id}", + "compareUrl": "https://github.com/sap-labs-france/ev-simulator/compare/{from}...{to}" + }, "scripts": { "prestart": "npm run build", "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",