ci(desktop): ⚙️ 优化git提交流程
This commit is contained in:
@@ -22,7 +22,12 @@
|
|||||||
"clean": "rimraf dist out",
|
"clean": "rimraf dist out",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"commit": "git add . && git-cz"
|
"commit": "git add . && (git status --porcelain | findstr . >nul 2>&1 && git-cz || echo ✅ 工作区无改动,无需提交!)"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"commitizen": {
|
||||||
|
"path": "cz-git"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@arco-design/web-vue": "^2.57.0",
|
"@arco-design/web-vue": "^2.57.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user