build(husky): 修复commitlint
This commit is contained in:
parent
6e20517019
commit
c443f9650c
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx run commitlint --edit
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm run lint-staged
|
||||
npm test
|
||||
|
|
@ -45,11 +45,5 @@
|
|||
"standard-version": "^9.5.0",
|
||||
"ts-loader": "^9.4.2",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged && test",
|
||||
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export * from "./utils/permission";
|
||||
|
||||
console.log("index")
|
||||
console.log("index");
|
||||
|
|
|
|||
Loading…
Reference in New Issue