Skip to content

Commit

Permalink
Update to Vite 6.0.0-beta.6 (#12323)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Nov 6, 2024
1 parent 94f4fe8 commit c280655
Show file tree
Hide file tree
Showing 15 changed files with 123 additions and 100 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-houses-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': minor
---

Updates to Vite 6.0.0-beta.6
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
},
"pnpm": {
"overrides": {
"vitest>vite": "6.0.0-beta.2",
"vite-node>vite": "6.0.0-beta.2"
"vitest>vite": "6.0.0-beta.6",
"vite-node>vite": "6.0.0-beta.6"
},
"peerDependencyRules": {
"allowAny": [
Expand Down
3 changes: 2 additions & 1 deletion packages/astro/e2e/errors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ test.describe('Error display', () => {
expect(fileLocation).toMatch(/^vue\/VueRuntimeError.vue/);
});

test('shows correct line when a style preprocess has an error', async ({ page, astro }) => {
// TODO: unskip when upgrading to Vite 6.0.0-beta.7 or above
test.skip('shows correct line when a style preprocess has an error', async ({ page, astro }) => {
await page.goto(astro.resolveUrl('/astro-sass-error'), { waitUntil: 'networkidle' });

const { fileLocation, absoluteFileLocation } = await getErrorOverlayContent(page);
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"tsconfck": "^3.1.4",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3",
"vite": "6.0.0-beta.2",
"vite": "6.0.0-beta.6",
"vitefu": "^1.0.3",
"which-pm": "^3.0.0",
"xxhash-wasm": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@
"astro-scripts": "workspace:*",
"cheerio": "1.0.0",
"typescript": "^5.6.3",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
}
}
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.48.2",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"publishConfig": {
"provenance": true
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.1.1",
"linkedom": "^0.18.5",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=21.0.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 @@ -70,7 +70,7 @@
"remark-toc": "^9.0.0",
"shiki": "^1.22.2",
"unified": "^11.0.5",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
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 @@ -66,7 +66,7 @@
"cheerio": "1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"peerDependencies": {
"@types/react": "^17.0.50 || ^18.0.21",
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 @@ -41,7 +41,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"solid-js": "^1.9.3",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"peerDependencies": {
"solid-devtools": "^0.30.1",
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 @@ -57,7 +57,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"svelte": "^4.2.19",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"peerDependencies": {
"astro": "^5.0.0-alpha.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"tailwindcss": "^3.4.14",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
},
"peerDependencies": {
"astro": "^3.0.0 || ^4.0.0 || ^5.0.0-beta.0",
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 @@ -55,7 +55,7 @@
"astro-scripts": "workspace:*",
"cheerio": "1.0.0",
"linkedom": "^0.18.5",
"vite": "6.0.0-beta.2",
"vite": "6.0.0-beta.6",
"vue": "^3.5.12"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"typescript": "^5.6.3",
"vite": "6.0.0-beta.2"
"vite": "6.0.0-beta.6"
}
}
Loading

0 comments on commit c280655

Please sign in to comment.