chore: bump vite to v6 (#34663)
This commit is contained in:
parent
1af4e367f4
commit
081031f50e
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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'),
|
||||
],
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue