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
|
npx lint-staged && npm run check:type
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
npx lint-staged
|
|
||||||
|
|
||||||
pnpm check:type
|
|
||||||
|
@ -1,4 +1 @@
|
|||||||
#!/bin/sh
|
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
npm test
|
npm test
|
||||||
|
@ -27,8 +27,7 @@
|
|||||||
"reinstall": "pnpm clean:all && pnpm bootstrap",
|
"reinstall": "pnpm clean:all && pnpm bootstrap",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"coverage": "vitest run --coverage",
|
"coverage": "vitest run --coverage",
|
||||||
"prepare": "husky install",
|
"prepare": "husky",
|
||||||
"commit": "git-cz",
|
|
||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||||
"release": "node scripts/release.mjs"
|
"release": "node scripts/release.mjs"
|
||||||
},
|
},
|
||||||
@ -87,7 +86,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,ts,vue}": "eslint --fix --cache",
|
"*.{js,ts,vue}": "npm run lint-fix",
|
||||||
"*.scss": "prettier --write"
|
"*.scss": "prettier --write"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user