mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-17 18:51:33 +08:00
chore: 更新commit-msg
This commit is contained in:
parent
3097e8eddb
commit
b78b2011e5
@ -1,4 +1 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install commitlint --edit $1
|
||||
npx --no-install commitlint --edit $1
|
@ -1,6 +1 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
|
||||
pnpm check:type
|
||||
npx lint-staged && npm run check:type
|
||||
|
@ -1,4 +1 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
||||
|
@ -27,8 +27,7 @@
|
||||
"reinstall": "pnpm clean:all && pnpm bootstrap",
|
||||
"test": "vitest run",
|
||||
"coverage": "vitest run --coverage",
|
||||
"prepare": "husky install",
|
||||
"commit": "git-cz",
|
||||
"prepare": "husky",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||
"release": "node scripts/release.mjs"
|
||||
},
|
||||
@ -87,7 +86,7 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,vue}": "eslint --fix --cache",
|
||||
"*.{js,ts,vue}": "npm run lint-fix",
|
||||
"*.scss": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user