mirror of https://github.com/vuejs/core.git
chore: use consistent file names for scripts
This commit is contained in:
parent
ee68c525f0
commit
5fa4b65a7d
|
@ -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
|
||||
|
||||
|
|
|
@ -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}": [
|
||||
|
|
|
@ -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']
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue