build(projects): use @soybeanjs/cli replace commitizen
This commit is contained in:
parent
74772a1f03
commit
428d41b485
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npx --no-install commitlint --edit
|
pnpm soybean git-commit-verify
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run lint && npm run typecheck
|
pnpm lint && pnpm typecheck
|
||||||
|
18
package.json
18
package.json
@ -52,7 +52,7 @@
|
|||||||
"clean": "pnpm rimraf node_modules pnpm-lock.yaml",
|
"clean": "pnpm rimraf node_modules pnpm-lock.yaml",
|
||||||
"postinstall": "patch-package",
|
"postinstall": "patch-package",
|
||||||
"release": "standard-version",
|
"release": "standard-version",
|
||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
|
"commit": "soybean git-commit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/data-set": "^0.11.8",
|
"@antv/data-set": "^0.11.8",
|
||||||
@ -85,11 +85,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@amap/amap-jsapi-types": "^0.0.10",
|
"@amap/amap-jsapi-types": "^0.0.10",
|
||||||
"@commitlint/cli": "^17.1.2",
|
|
||||||
"@commitlint/config-conventional": "^17.1.0",
|
|
||||||
"@iconify/json": "^2.1.130",
|
"@iconify/json": "^2.1.130",
|
||||||
"@iconify/vue": "^4.0.0",
|
"@iconify/vue": "^4.0.0",
|
||||||
"@milahu/patch-package": "^6.4.14",
|
"@milahu/patch-package": "^6.4.14",
|
||||||
|
"@soybeanjs/cli": "^0.1.0",
|
||||||
"@tauri-apps/cli": "^1.1.1",
|
"@tauri-apps/cli": "^1.1.1",
|
||||||
"@types/bmapgl": "^0.0.5",
|
"@types/bmapgl": "^0.0.5",
|
||||||
"@types/crypto-js": "^4.1.1",
|
"@types/crypto-js": "^4.1.1",
|
||||||
@ -100,16 +99,11 @@
|
|||||||
"@unocss/vite": "^0.46.1",
|
"@unocss/vite": "^0.46.1",
|
||||||
"@vitejs/plugin-vue": "^3.2.0",
|
"@vitejs/plugin-vue": "^3.2.0",
|
||||||
"@vitejs/plugin-vue-jsx": "^2.1.0",
|
"@vitejs/plugin-vue-jsx": "^2.1.0",
|
||||||
"commitizen": "^4.2.5",
|
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
|
||||||
"cz-customizable": "^7.0.0",
|
|
||||||
"eslint": "^8.26.0",
|
"eslint": "^8.26.0",
|
||||||
"eslint-config-soybeanjs-vue": "^0.1.1",
|
"eslint-config-soybeanjs-vue": "^0.1.1",
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"lint-staged": "^13.0.3",
|
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"postinstall-postinstall": "^2.1.0",
|
|
||||||
"rollup-plugin-visualizer": "^5.8.3",
|
"rollup-plugin-visualizer": "^5.8.3",
|
||||||
"sass": "^1.55.0",
|
"sass": "^1.55.0",
|
||||||
"standard-version": "^9.5.0",
|
"standard-version": "^9.5.0",
|
||||||
@ -126,13 +120,5 @@
|
|||||||
"vite-plugin-pwa": "^0.13.1",
|
"vite-plugin-pwa": "^0.13.1",
|
||||||
"vite-plugin-svg-icons": "^2.0.1",
|
"vite-plugin-svg-icons": "^2.0.1",
|
||||||
"vue-tsc": "^1.0.9"
|
"vue-tsc": "^1.0.9"
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.{vue,js,jsx,ts,tsx,json}": "eslint --fix"
|
|
||||||
},
|
|
||||||
"config": {
|
|
||||||
"commitizen": {
|
|
||||||
"path": "./node_modules/cz-customizable"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1006
pnpm-lock.yaml
1006
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user