build(deps): upgrade web to SvelteKit 3 and vitest 5

Move the SvelteKit config into vite.config.js, replace the $lib alias with
#lib subpath imports (dropping the vitest alias), extend $app/tsconfig, and
pass asset() paths without a leading slash. Drop the @babel/core and js-yaml
overrides, which no longer match anything in the tree.
This commit is contained in:
tiennm99 committed 2026-10-03 13:12:03 +07:00
1 parent 3c622d7efb
commit 3584d897c1
16 files changed
+141 -266

No files matched your search

+7 -6
View File
@@ -13,21 +13,22 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.70.1",
"@sveltejs/adapter-static": "^4.0.0",
"@sveltejs/kit": "^3.0.0",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@tailwindcss/vite": "^4.3.3",
"eslint": "^10",
"eslint-plugin-svelte": "^3.22.0",
"globals": "^17.7.0",
"svelte": "^5.56.8",
"svelte": "^5.57.1",
"tailwindcss": "^4.3.3",
"vite": "^8.1.5",
"vitest": "^4.1.10"
"vitest": "^5.0.3"
},
"overrides": {
"@babel/core": "^7.29.7",
"js-yaml": "^4.3.0",
"postcss": ">=8.5.16"
},
"imports": {
"#lib/*": "./src/lib/*"
}
}