chore: use `cz-git` commitizen adapter (#2054)
* chore: use `cz-git` commitizen adapter * workflow: update `cz-git` types description
正在显示
... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ |
"url": "https://github.com/anncwb" | "url": "https://github.com/anncwb" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"commit": "czg", | |||
"bootstrap": "pnpm install", | "bootstrap": "pnpm install", | ||
"serve": "npm run dev", | "serve": "npm run dev", | ||
"dev": "vite", | "dev": "vite", | ||
... | @@ -96,9 +97,10 @@ | ... | @@ -96,9 +97,10 @@ |
"@vue/compiler-sfc": "^3.2.33", | "@vue/compiler-sfc": "^3.2.33", | ||
"@vue/test-utils": "^2.0.0-rc.21", | "@vue/test-utils": "^2.0.0-rc.21", | ||
"autoprefixer": "^10.4.4", | "autoprefixer": "^10.4.4", | ||
"commitizen": "^4.2.4", | |||
"conventional-changelog-cli": "^2.2.2", | "conventional-changelog-cli": "^2.2.2", | ||
"cross-env": "^7.0.3", | "cross-env": "^7.0.3", | ||
"cz-git": "^1.3.9", | |||
"czg": "^1.3.9", | |||
"dotenv": "^16.0.0", | "dotenv": "^16.0.0", | ||
"eslint": "^8.13.0", | "eslint": "^8.13.0", | ||
"eslint-config-prettier": "^8.5.0", | "eslint-config-prettier": "^8.5.0", | ||
... | @@ -183,5 +185,10 @@ | ... | @@ -183,5 +185,10 @@ |
"*.md": [ | "*.md": [ | ||
"prettier --write" | "prettier --write" | ||
] | ] | ||
}, | |||
"config": { | |||
"commitizen": { | |||
"path": "node_modules/cz-git" | |||
} | |||
} | } | ||
} | } |
请
注册
或者
登录
后发表评论