chore: bump vite to v6 (#34663)

This commit is contained in:
Max Schmitt 2025-02-18 13:29:16 +01:00 committed by GitHub
parent 1af4e367f4
commit 081031f50e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 2223 additions and 1577 deletions

3781
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -105,9 +105,9 @@
"react-dom": "^18.1.0",
"ssim.js": "^3.5.0",
"typescript": "^5.7.3",
"vite": "^5.4.14",
"vite": "^6.1.0",
"ws": "^8.17.1",
"xml2js": "^0.5.0",
"yaml": "^2.6.0"
"yaml": "2.6.0"
}
}

View File

@ -27,7 +27,7 @@
},
"dependencies": {
"playwright-core": "1.51.0-next",
"vite": "^5.4.14",
"vite": "^5.4.14 || ^6.0.0",
"playwright": "1.51.0-next"
}
}

View File

@ -13,7 +13,6 @@
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tsconfig/svelte": "^5.0.2",
"svelte-check": "^3.6.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.2.8"
},

View File

@ -3,7 +3,7 @@ import { onMount, onDestroy } from 'svelte';
import LoginPage from './pages/LoginPage.svelte';
import DashboardPage from './pages/DashboardPage.svelte';
let path = '';
let path = '/';
function updatePath() {
path = window.location.pathname;
}

View File

@ -3,7 +3,7 @@ import { onMount, onDestroy } from 'svelte';
import LoginPage from './pages/LoginPage.svelte';
import DashboardPage from './pages/DashboardPage.svelte';
let path = '';
let path = '/';
function updatePath() {
path = window.location.pathname;
}

View File

@ -196,31 +196,24 @@ test('should extract component list', async ({ runInlineTest }, testInfo) => {
expect(Object.entries(metainfo.deps)).toEqual([
[expect.stringContaining('clashingNames1.tsx'), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('clashingNames1.tsx'),
]],
[expect.stringContaining('clashingNames2.tsx'), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('clashingNames2.tsx'),
]],
[expect.stringContaining('defaultExport.tsx'), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('defaultExport.tsx'),
]],
[expect.stringContaining('components.tsx'), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('components.tsx'),
]],
[expect.stringContaining('button.tsx'), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('button.tsx'),
]],
[expect.stringContaining(`one${path.sep}index.tsx`), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining(`one${path.sep}index.tsx`),
]],
[expect.stringContaining(`two${path.sep}index.tsx`), [
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining(`two${path.sep}index.tsx`),
]],
]);
@ -503,7 +496,6 @@ test('should retain deps when test changes', async ({ runInlineTest }, testInfo)
[
expect.stringContaining('button.tsx'),
[
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('button.tsx'),
],
]