chore: update vite related version

This commit is contained in:
Stephen Zhou
2026-01-18 23:45:56 +08:00
parent 7b66bbc35a
commit 524f0f7ee7
4 changed files with 165 additions and 375 deletions

View File

@ -5098,10 +5098,5 @@
"ts/no-explicit-any": {
"count": 2
}
},
"vitest.config.ts": {
"ts/no-explicit-any": {
"count": 1
}
}
}

View File

@ -194,7 +194,7 @@
"@typescript-eslint/parser": "^8.53.0",
"@typescript/native-preview": "^7.0.0-dev",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "4.0.16",
"@vitest/coverage-v8": "^4.0.17",
"autoprefixer": "^10.4.21",
"code-inspector-plugin": "1.2.9",
"cross-env": "^10.1.0",
@ -220,9 +220,9 @@
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"uglify-js": "^3.19.3",
"vite": "^7.3.0",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16"
"vite": "^7.3.1",
"vite-tsconfig-paths": "^6.0.4",
"vitest": "^4.0.17"
},
"pnpm": {
"overrides": {
@ -262,7 +262,6 @@
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@^1",
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@^1",
"vite@<6.4.1": "6.4.1",
"which-typed-array": "npm:@nolyfill/which-typed-array@^1"
},
"ignoredBuiltDependencies": [

524
web/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [tsconfigPaths(), react() as any],
plugins: [tsconfigPaths(), react()],
test: {
environment: 'jsdom',
globals: true,