Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .changeset/tricky-donkeys-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@astrojs/cloudflare': major
'@astrojs/alpinejs': minor
'@astrojs/markdoc': minor
'@astrojs/netlify': major
'@astrojs/preact': major
'@astrojs/svelte': major
'@astrojs/react': major
'@astrojs/solid-js': major
'@astrojs/mdx': major
'@astrojs/vue': major
'astro': major
'@astrojs/db': minor
---

Updates Vite to 7.0

Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler.

#### What should I do?

If you are using Vite-specific plugins, configuration, or APIs, check the [Vite migration guide](https://vite.dev/guide/migration) for their breaking changes and upgrade your project as needed.
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"unist-util-visit": "^5.0.0",
"unstorage": "^1.17.0",
"vfile": "^6.0.3",
"vite": "^6.3.6",
"vite": "^7.1.7",
"vitefu": "^1.1.1",
"xxhash-wasm": "^1.1.0",
"yargs-parser": "^21.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/core/errors/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,5 +747,5 @@ function getOverlayCode() {
}

export function patchOverlay(code: string) {
return code.replace('class ErrorOverlay', getOverlayCode() + '\nclass ViteErrorOverlay');
return code.replace('var ErrorOverlay', getOverlayCode() + '\nvar ViteErrorOverlay');
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "workspace:*",
"react": "19.1.1",
"react-dom": "19.1.1",
"vite": "6.3.6"
"vite": "7.1.7"
},
"scripts": {
"astro": "astro"
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@
"cheerio": "1.1.2",
"expect-type": "^1.2.2",
"typescript": "^5.9.2",
"vite": "^6.3.6"
"vite": "^7.1.7"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/alpinejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@playwright/test": "1.55.0",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"publishConfig": {
"provenance": true
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@astrojs/underscore-redirects": "workspace:*",
"@cloudflare/workers-types": "^4.20250913.0",
"tinyglobby": "^0.2.15",
"vite": "^6.3.6",
"vite": "^7.1.7",
"wrangler": "4.37.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"astro-scripts": "workspace:*",
"devalue": "^5.3.2",
"linkedom": "^0.18.12",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"engines": {
"node": "^20.19.5 || >=22.12.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"remark-toc": "^9.0.0",
"shiki": "^3.12.0",
"unified": "^11.0.5",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"engines": {
"node": "^20.19.5 || >=22.12.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@vercel/nft": "^0.30.1",
"esbuild": "^0.25.0",
"tinyglobby": "^0.2.15",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"peerDependencies": {
"astro": "^5.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@preact/preset-vite": "^2.10.2",
"@preact/signals": "^2.3.1",
"preact-render-to-string": "^6.6.1",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@vitejs/plugin-react": "^4.7.0",
"ultrahtml": "^1.6.0",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"devDependencies": {
"@types/react": "^18.3.24",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"vite": "^6.3.6",
"vite": "^7.1.7",
"vite-plugin-solid": "^2.11.8"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"svelte2tsx": "^0.7.42",
"vite": "^6.3.6"
"vite": "^7.1.7"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@vitejs/plugin-vue": "5.2.1",
"@vitejs/plugin-vue-jsx": "^4.2.0",
"@vue/compiler-sfc": "^3.5.21",
"vite": "^6.3.6",
"vite": "^7.1.7",
"vite-plugin-vue-devtools": "^7.7.7"
},
"devDependencies": {
Expand Down
Loading
Loading