From 81a9e016ff796f9a3d1a1dff99c3df15902a5f77 Mon Sep 17 00:00:00 2001 From: nick thomas Date: Mon, 25 Dec 2023 18:13:58 -0800 Subject: [PATCH] changelog scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 053e4cc..750c725 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "build": "npm run build:base && npm run build:minify", "changelog": "auto-changelog --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE'", "preversion": "npm run lint", - "version": "npm run changelog && git add CHANGELOG.md", + "//version": "npm run changelog && git add CHANGELOG.md", + "version": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md", "postversion": "git push --follow-tags && npm publish", "prepublishOnly": "npm run build" },