diff --git a/.changeset/retire-vite-override.md b/.changeset/retire-vite-override.md new file mode 100644 index 00000000000..40dc3b4371b --- /dev/null +++ b/.changeset/retire-vite-override.md @@ -0,0 +1,4 @@ +--- +--- + +Bump `vite` direct dependencies to `^7.3.3` across templates and playgrounds that were on v4/v5/v6/v7.0, then retire the `vite@<7.1.3` entry from `pnpm.overrides` and `TRUSTED_OVERRIDES`. v7.1.3+ is the first vite line published via OIDC trusted publisher. diff --git a/integration/constants.ts b/integration/constants.ts index f01dc32f628..e0434e9856f 100644 --- a/integration/constants.ts +++ b/integration/constants.ts @@ -101,5 +101,4 @@ export const TRUSTED_OVERRIDES: Record = { 'chokidar@<5.0.0': '5.0.0', 'undici-types@<7.16.0': '7.24.8', 'tailwind-merge@<3.4.0': '3.4.0', - 'vite@<7.1.3': '7.3.3', }; diff --git a/integration/templates/chrome-extension-vite/package.json b/integration/templates/chrome-extension-vite/package.json index bad1aedae9e..6accc3d2295 100644 --- a/integration/templates/chrome-extension-vite/package.json +++ b/integration/templates/chrome-extension-vite/package.json @@ -16,7 +16,7 @@ "@types/react-dom": "18.3.1", "@vitejs/plugin-react": "^4.3.4", "typescript": "^5.7.3", - "vite": "^4.3.9" + "vite": "^7.3.3" }, "engines": { "node": ">=22.11.0" diff --git a/integration/templates/custom-flows-react-vite/package.json b/integration/templates/custom-flows-react-vite/package.json index 31bfde81a54..17d9e9a8ee1 100644 --- a/integration/templates/custom-flows-react-vite/package.json +++ b/integration/templates/custom-flows-react-vite/package.json @@ -35,6 +35,6 @@ "tw-animate-css": "^1.3.6", "typescript": "~5.8.3", "typescript-eslint": "^8.35.1", - "vite": "^7.0.4" + "vite": "^7.3.3" } } diff --git a/integration/templates/express-vite/package.json b/integration/templates/express-vite/package.json index aadf23a9bb0..c66743d1dff 100644 --- a/integration/templates/express-vite/package.json +++ b/integration/templates/express-vite/package.json @@ -18,6 +18,6 @@ "@types/express": "^5.0.3", "@types/node": "^24.2.1", "typescript": "^5.8.3", - "vite": "^6.3.3" + "vite": "^7.3.3" } } diff --git a/integration/templates/fastify-vite/package.json b/integration/templates/fastify-vite/package.json index b71096cb0e6..0b4ab485bdb 100644 --- a/integration/templates/fastify-vite/package.json +++ b/integration/templates/fastify-vite/package.json @@ -20,6 +20,6 @@ "@types/express": "^5.0.3", "@types/node": "^24.2.1", "typescript": "^5.8.3", - "vite": "^6.3.3" + "vite": "^7.3.3" } } diff --git a/integration/templates/hono-vite/package.json b/integration/templates/hono-vite/package.json index ff1bc76ff3c..14873311102 100644 --- a/integration/templates/hono-vite/package.json +++ b/integration/templates/hono-vite/package.json @@ -20,6 +20,6 @@ "@types/express": "^5.0.3", "@types/node": "^24.2.1", "typescript": "^5.8.3", - "vite": "^6.3.3" + "vite": "^7.3.3" } } diff --git a/integration/templates/react-router-library/package.json b/integration/templates/react-router-library/package.json index 4febd9a0dee..b14d0778da4 100644 --- a/integration/templates/react-router-library/package.json +++ b/integration/templates/react-router-library/package.json @@ -19,6 +19,6 @@ "@vitejs/plugin-react": "^5.0.3", "globals": "^15.12.0", "typescript": "~5.7.3", - "vite": "^6.0.1" + "vite": "^7.3.3" } } diff --git a/integration/templates/react-vite/package.json b/integration/templates/react-vite/package.json index 8b67e1f1903..8e602a1ad08 100644 --- a/integration/templates/react-vite/package.json +++ b/integration/templates/react-vite/package.json @@ -15,7 +15,7 @@ "react-router-dom": "^6.14.1" }, "devDependencies": { - "@types/node": "^18.19.33", + "@types/node": "^22.12.0", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "@typescript-eslint/eslint-plugin": "^5.59.0", @@ -25,7 +25,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.0", "typescript": "^5.7.3", - "vite": "^4.3.9" + "vite": "^7.3.3" }, "engines": { "node": ">=22.11.0" diff --git a/integration/templates/vue-vite/package.json b/integration/templates/vue-vite/package.json index c15b18cdcef..db4251d2273 100644 --- a/integration/templates/vue-vite/package.json +++ b/integration/templates/vue-vite/package.json @@ -13,9 +13,9 @@ "vue-router": "^4.4.5" }, "devDependencies": { - "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue": "^6.0.0", "typescript": "~5.7.3", - "vite": "^5.4.11", + "vite": "^7.3.3", "vue-tsc": "^2.1.8" } } diff --git a/package.json b/package.json index ce54cf75eb3..fb145b6365a 100644 --- a/package.json +++ b/package.json @@ -168,8 +168,7 @@ "semver@<7.7.3": "7.7.4", "tailwind-merge@<3.4.0": "3.4.0", "undici-types@<7.16.0": "7.24.8", - "utf-8-validate": "5.0.10", - "vite@<7.1.3": "7.3.3" + "utf-8-validate": "5.0.10" } } } diff --git a/playground/react-router/package.json b/playground/react-router/package.json index 91a3d4ac996..9cf3cd94534 100644 --- a/playground/react-router/package.json +++ b/playground/react-router/package.json @@ -26,7 +26,7 @@ "postcss": "^8.4.49", "tailwindcss": "^3.4.15", "typescript": "^5.6.3", - "vite": "^5.4.11", + "vite": "^7.3.3", "vite-tsconfig-paths": "^5.1.2" } } diff --git a/playground/vite-react-ts/package.json b/playground/vite-react-ts/package.json index 55b80c9eb3e..ff881577688 100644 --- a/playground/vite-react-ts/package.json +++ b/playground/vite-react-ts/package.json @@ -28,6 +28,6 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.3.4", "typescript": "^5.0.2", - "vite": "^4.3.9" + "vite": "^7.3.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0beaf621438..dd9cbce1649 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -77,15 +77,14 @@ catalogs: version: 1.6.2 overrides: + chokidar@<5.0.0: 5.0.0 react: 18.3.1 react-dom: 18.3.1 rolldown: 1.0.0-beta.47 - utf-8-validate: 5.0.10 semver@<7.7.3: 7.7.4 - chokidar@<5.0.0: 5.0.0 - undici-types@<7.16.0: 7.24.8 tailwind-merge@<3.4.0: 3.4.0 - vite@<7.1.3: 7.3.3 + undici-types@<7.16.0: 7.24.8 + utf-8-validate: 5.0.10 importers: @@ -2729,7 +2728,7 @@ packages: '@expo/bunyan@4.0.1': resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==} - engines: {node: '>=0.10.0'} + engines: {'0': node >=0.10.0} '@expo/cli@0.22.28': resolution: {integrity: sha512-lvt72KNitGuixYD2l3SZmRKVu2G4zJpmg5V7WfUBNpmUU5oODBw/6qmiJ6kSLAlfDozscUk+BBGknBBzxUrwrA==} @@ -3538,7 +3537,7 @@ packages: '@nuxt/devtools-kit@3.2.4': resolution: {integrity: sha512-Yxy2Xgmq5hf3dQy983V0xh0OJV2mYwRZz9eVIGc3EaribdFGPDNGMMbYqX9qCty3Pbxn/bCF3J0UyPaNlHVayQ==} peerDependencies: - vite: 7.3.3 + vite: '>=6.0' '@nuxt/devtools-wizard@3.2.4': resolution: {integrity: sha512-5tu2+Quu9XTxwtpzM8CUN0UKn/bzZIfJcoGd+at5Yy1RiUQJ4E52tRK0idW1rMSUDkbkvX3dSnu8Tpj7SAtWdQ==} @@ -3549,7 +3548,7 @@ packages: hasBin: true peerDependencies: '@vitejs/devtools': '*' - vite: 7.3.3 + vite: '>=6.0' peerDependenciesMeta: '@vitejs/devtools': optional: true @@ -5222,7 +5221,7 @@ packages: peerDependencies: react: 18.3.1 react-dom: 18.3.1 - vite: 7.3.3 + vite: '>=7.0.0' '@tanstack/react-store@0.8.0': resolution: {integrity: sha512-1vG9beLIuB7q69skxK9r5xiLN3ztzIPfSQSs0GfeqWGO2tGIyInZx0x1COhpx97RKaONSoAb8C3dxacWksm1ow==} @@ -5244,7 +5243,7 @@ packages: peerDependencies: '@rsbuild/core': '>=1.0.2' '@tanstack/react-router': ^1.157.16 - vite: 7.3.3 + vite: '>=5.0.0 || >=6.0.0 || >=7.0.0' vite-plugin-solid: ^2.11.10 webpack: '>=5.92.0' peerDependenciesMeta: @@ -5275,7 +5274,7 @@ packages: resolution: {integrity: sha512-VmRXuvP5flryUAHeBM4Xb06n544qLtyA2cwmlQLRTUYtQiQEAdd9CvCGy8CPAly3f7eeXKqC7aX0v3MwWkLR8w==} engines: {node: '>=22.12.0'} peerDependencies: - vite: 7.3.3 + vite: '>=7.0.0' '@tanstack/start-server-core@1.157.16': resolution: {integrity: sha512-PEltFleYfiqz6+KcmzNXxc1lXgT7VDNKP6G6i1TirdHBDbRJ9CIY+ASLPlhrRwqwA2PL9PpFjXZl8u5bH/+Q9A==} @@ -5784,27 +5783,27 @@ packages: resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: 7.3.3 + vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 '@vitejs/plugin-vue-jsx@5.1.5': resolution: {integrity: sha512-jIAsvHOEtWpslLOI2MeElGFxH7M8pM83BU/Tor4RLyiwH0FM4nUW3xdvbw20EeU9wc5IspQwMq225K3CMnJEpA==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: - vite: 7.3.3 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 vue: ^3.0.0 '@vitejs/plugin-vue@5.2.4': resolution: {integrity: sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: 7.3.3 + vite: ^5.0.0 || ^6.0.0 vue: ^3.2.25 '@vitejs/plugin-vue@6.0.6': resolution: {integrity: sha512-u9HHgfrq3AjXlysn0eINFnWQOJQLO9WN6VprZ8FXl7A2bYisv3Hui9Ij+7QZ41F/WYWarHjwBbXtD7dKg3uxbg==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: - vite: 7.3.3 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 vue: ^3.2.25 '@vitest/coverage-v8@3.2.4': @@ -5823,7 +5822,7 @@ packages: resolution: {integrity: sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==} peerDependencies: msw: ^2.4.9 - vite: 7.3.3 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 peerDependenciesMeta: msw: optional: true @@ -14105,12 +14104,12 @@ packages: vite-dev-rpc@1.1.0: resolution: {integrity: sha512-pKXZlgoXGoE8sEKiKJSng4hI1sQ4wi5YT24FCrwrLt6opmkjlqPPVmiPWWJn8M8byMxRGzp1CrFuqQs4M/Z39A==} peerDependencies: - vite: 7.3.3 + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0 vite-hot-client@2.1.0: resolution: {integrity: sha512-7SpgZmU7R+dDnSmvXE1mfDtnHLHQSisdySVR7lO8ceAXvM0otZeuQQ6C8LrS5d/aYyP/QZ0hI0L+dIPrm4YlFQ==} peerDependencies: - vite: 7.3.3 + vite: ^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 vite-node@3.2.4: resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} @@ -14133,7 +14132,7 @@ packages: oxlint: '>=1' stylelint: '>=16.26.1' typescript: '*' - vite: 7.3.3 + vite: '>=5.4.21' vls: '*' vti: '*' vue-tsc: ~2.2.10 || ^3.0.0 @@ -14164,7 +14163,7 @@ packages: engines: {node: '>=14'} peerDependencies: '@nuxt/kit': '*' - vite: 7.3.3 + vite: ^6.0.0 || ^7.0.0-0 peerDependenciesMeta: '@nuxt/kit': optional: true @@ -14172,7 +14171,7 @@ packages: vite-plugin-vue-tracer@1.3.0: resolution: {integrity: sha512-Cgfce6VikzOw5MUJTpeg50s5rRjzU1Vr61ZjuHunVVHLjZZ5AUlgyExHthZ3r59vtoz9W2rDt23FYG81avYBKw==} peerDependencies: - vite: 7.3.3 + vite: ^6.0.0 || ^7.0.0 vue: ^3.5.0 vite@7.3.3: @@ -14218,7 +14217,7 @@ packages: vitefu@1.1.3: resolution: {integrity: sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg==} peerDependencies: - vite: 7.3.3 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: vite: optional: true