Skip to content

Commit 93d1804

Browse files
committed
docs: add npm version script
1 parent fb9a1f8 commit 93d1804

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"prettier": "prettier --list-different \"./src/**/*.ts\"",
1212
"prettier:fix": "prettier --write \"./src/**/*.ts\"",
1313
"prepublishOnly": "npm run test && npm run build",
14-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
14+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
15+
"version": "npm run changelog && git add CHANGELOG.md"
1516
},
1617
"author": "devexperts",
1718
"license": "MPL-2.0",

0 commit comments

Comments
 (0)