Skip to content

Commit 233e5ba

Browse files
committed
chore: add standard-version to controll git version
1 parent 7f9afe2 commit 233e5ba

File tree

3 files changed

+546
-1
lines changed

3 files changed

+546
-1
lines changed

.versionrc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"types": [
3+
{
4+
"type": "feat",
5+
"section": "Features"
6+
},
7+
{
8+
"type": "fix",
9+
"section": "Bug Fixes"
10+
},
11+
{
12+
"type": "test",
13+
"section": "Tests",
14+
"hidden": true
15+
},
16+
{
17+
"type": "build",
18+
"section": "Build System",
19+
"hidden": true
20+
},
21+
{
22+
"type": "ci",
23+
"hidden": true
24+
}
25+
]
26+
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"test": "vitest run",
1212
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx",
1313
"lint:fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
14-
"test:ui": "vitest --ui"
14+
"test:ui": "vitest --ui",
15+
"release": "standard-version -a"
1516
},
1617
"keywords": [],
1718
"author": "",
@@ -28,6 +29,7 @@
2829
"eslint-plugin-prettier": "^4.0.0",
2930
"husky": "^7.0.4",
3031
"prettier": "^2.5.1",
32+
"standard-version": "^9.3.2",
3133
"typescript": "^4.5.4",
3234
"vite": "^2.7.12",
3335
"vitest": "^0.1.12"

0 commit comments

Comments
 (0)