chore: use consistent file names for scripts

This commit is contained in:
Evan You 2023-12-26 14:59:34 +08:00
parent ee68c525f0
commit 5fa4b65a7d
5 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ The project uses [simple-git-hooks](https://github.com/toplenboren/simple-git-ho
- Type check the entire project
- Automatically format changed files using Prettier
- Verify commit message format (logic in `scripts/verifyCommit.js`)
- Verify commit message format (logic in `scripts/verify-commit.js`)
## Scripts

View File

@ -44,7 +44,7 @@
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm check",
"commit-msg": "node scripts/verifyCommit.js"
"commit-msg": "node scripts/verify-commit.js"
},
"lint-staged": {
"*.{js,json}": [

View File

@ -25,7 +25,7 @@ export default defineConfig({
plugins: [codspeedPlugin()],
test: {
globals: true,
setupFiles: 'scripts/setupVitest.ts',
setupFiles: 'scripts/setup-vitest.ts',
environmentMatchGlobs: [
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
],