Skip to content

Commit b390981

Browse files
committed
fix: 修复npm-run-all在pnpm下无法使用
1 parent 739a9da commit b390981

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

package.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"build": "vite build && rimraf types && tsc --build tsconfig.build.json",
1616
"serve": "vite preview",
1717
"type:check": "tsc --noEmit --skipLibCheck",
18-
"commit": "git-cz",
18+
"commit": "cz-customizable",
1919
"lint": "eslint --fix .",
2020
"format": "prettier --write '**/*.{ts,tsx,js,vue,css,scss,html,json}'",
2121
"chrome": "open -n /Applications/Google\\ Chrome.app/ --args --disable-web-security --user-data-dir=$HOME/MyChromeDevUserData/",
2222
"release": "standard-version",
2323
"github:release": "conventional-github-releaser -p angular",
24-
"prepublishOnly": "run-s build release",
24+
"prepublishOnly": "run-s chrome",
2525
"docs:dev": "vitepress dev docs",
2626
"docs:build": "vitepress build docs",
2727
"docs:serve": "vitepress serve docs"
@@ -85,11 +85,6 @@
8585
"vue-router": "^4.0.12",
8686
"yorkie": "^2.0.0"
8787
},
88-
"config": {
89-
"commitizen": {
90-
"path": "node_modules/cz-customizable"
91-
}
92-
},
9388
"gitHooks": {
9489
"pre-commit": "lint-staged",
9590
"commit-msg": "commitlint -E GIT_PARAMS"

pnpm-lock.yaml

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)