diff --git a/package.json b/package.json index 09cafd3ff71..1d884e86579 100644 --- a/package.json +++ b/package.json @@ -349,7 +349,6 @@ "typescript": "5.9.3", "unified": "11.0.5", "vite": "8.0.5", - "vite-tsconfig-paths": "6.1.1", "vitest": "4.1.2", "vitest-mock-extended": "3.1.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0490c830934..e4a773eb65a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -585,9 +585,6 @@ importers: vite: specifier: 8.0.5 version: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3) - vite-tsconfig-paths: - specifier: 6.1.1 - version: 6.1.1(typescript@5.9.3)(vite@8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3)) vitest: specifier: 4.1.2 version: 4.1.2(@opentelemetry/api@1.9.1)(@types/node@24.12.2)(vite@8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3)) @@ -3528,9 +3525,6 @@ packages: resolution: {integrity: sha512-dW7vl+yiAJSp6aCekaVnVJxurRv7DCOLyXqEG3RYMYUg7AuJ2jCqPkZTA8ooqC2vtnkaMcV5WfFBMuEnTu1OQg==} engines: {node: '>=20'} - globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - google-auth-library@10.6.2: resolution: {integrity: sha512-e27Z6EThmVNNvtYASwQxose/G57rkRuaRbQyxM2bvYLLX/GqWZ5chWq2EBoUchJbCc57eC9ArzO5wMsEmWftCw==} engines: {node: '>=18'} @@ -5519,16 +5513,6 @@ packages: typescript: optional: true - tsconfck@3.1.6: - resolution: {integrity: sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==} - engines: {node: ^18 || >=20} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - tsdown@0.21.7: resolution: {integrity: sha512-ukKIxKQzngkWvOYJAyptudclkm4VQqbjq+9HF5K5qDO8GJsYtMh8gIRwicbnZEnvFPr6mquFwYAVZ8JKt3rY2g==} engines: {node: '>=20.19.0'} @@ -5729,11 +5713,6 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite-tsconfig-paths@6.1.1: - resolution: {integrity: sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg==} - peerDependencies: - vite: 8.0.5 - vite@8.0.5: resolution: {integrity: sha512-nmu43Qvq9UopTRfMx2jOYW5l16pb3iDC1JH6yMuPkpVbzK0k+L7dfsEDH4jRgYFmsg0sTAqkojoZgzLMlwHsCQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -9537,8 +9516,6 @@ snapshots: slash: 5.1.0 unicorn-magic: 0.4.0 - globrex@0.1.2: {} - google-auth-library@10.6.2: dependencies: base64-js: 1.5.1 @@ -11783,10 +11760,6 @@ snapshots: optionalDependencies: typescript: 5.9.3 - tsconfck@3.1.6(typescript@5.9.3): - optionalDependencies: - typescript: 5.9.3 - tsdown@0.21.7(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(typescript@5.9.3): dependencies: ansis: 4.2.0 @@ -11964,16 +11937,6 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-tsconfig-paths@6.1.1(typescript@5.9.3)(vite@8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3)): - dependencies: - debug: 4.4.3 - globrex: 0.1.2 - tsconfck: 3.1.6(typescript@5.9.3) - vite: 8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3) - transitivePeerDependencies: - - supports-color - - typescript - vite@8.0.5(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@types/node@24.12.2)(esbuild@0.28.0)(yaml@2.8.3): dependencies: lightningcss: 1.32.0 diff --git a/vitest.config.mts b/vitest.config.mts index 845e582c78d..68a9387451c 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -1,4 +1,3 @@ -import tsconfigPaths from 'vite-tsconfig-paths'; import type { ViteUserConfig } from 'vitest/config'; import { coverageConfigDefaults, @@ -74,7 +73,7 @@ function configureShardingOrFallbackTo( export default defineConfig(() => mergeConfig( { - plugins: [tsconfigPaths()], + resolve: { tsconfigPaths: true }, cacheDir: ci ? '.cache/vitest' : undefined, test: { globals: true,