ci(desktop): ⚙️ 优化git提交流程

This commit is contained in:
2026-01-10 21:28:19 +08:00
parent ca15400d3d
commit bce411af7e

View File

@@ -22,7 +22,12 @@
"clean": "rimraf dist out",
"format:check": "prettier --check .",
"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": {
"@arco-design/web-vue": "^2.57.0",