Skip to content

Commit 6f2bc4d

Browse files
committed
chore: add standard-version preset
1 parent bc21ed2 commit 6f2bc4d

File tree

3 files changed

+1841
-1729
lines changed

3 files changed

+1841
-1729
lines changed

.versionrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"types": [
3+
{
4+
"type": "refactor",
5+
"section": "Refactor",
6+
"hidden": false
7+
},
8+
{
9+
"type": "perf",
10+
"section": "Performance Improvements",
11+
"hidden": false
12+
}
13+
],
14+
"skip": {
15+
"bump": true,
16+
"commit": true,
17+
"tag": true
18+
}
19+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"clean": "rimraf dist/*",
3030
"test": "jest --coverage",
3131
"publishing": "np",
32-
"changelog": "standard-changelog && standard-changelog -i CHANGELOG.zh-CN.md -o CHANGELOG.zh-CN.md",
32+
"changelog": "standard-version && standard-version -i CHANGELOG.zh-CN.md -o CHANGELOG.zh-CN.md",
3333
"release": "yarn build && yarn publishing",
3434
"lint": "eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'",
3535
"format": "prettier -w '**/*.ts?(x)'"
@@ -90,7 +90,7 @@
9090
"rollup-plugin-terser": "^7.0.2",
9191
"rollup-plugin-typescript2": "^0.29.0",
9292
"simple-git": "^2.21.0",
93-
"standard-changelog": "^2.0.27",
93+
"standard-version": "^9.1.1",
9494
"ts-jest": "^26.4.1",
9595
"ts-loader": "^8.0.11",
9696
"typescript": "^4.0.5",

0 commit comments

Comments
 (0)