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
|
- Type check the entire project
|
||||||
- Automatically format changed files using Prettier
|
- 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
|
## Scripts
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
},
|
},
|
||||||
"simple-git-hooks": {
|
"simple-git-hooks": {
|
||||||
"pre-commit": "pnpm lint-staged && pnpm check",
|
"pre-commit": "pnpm lint-staged && pnpm check",
|
||||||
"commit-msg": "node scripts/verifyCommit.js"
|
"commit-msg": "node scripts/verify-commit.js"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,json}": [
|
"*.{js,json}": [
|
||||||
|
|
|
@ -25,7 +25,7 @@ export default defineConfig({
|
||||||
plugins: [codspeedPlugin()],
|
plugins: [codspeedPlugin()],
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
setupFiles: 'scripts/setupVitest.ts',
|
setupFiles: 'scripts/setup-vitest.ts',
|
||||||
environmentMatchGlobs: [
|
environmentMatchGlobs: [
|
||||||
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
|
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue