Upgrade all Javascript dependencies
Changes which were needed after the upgrade:
-
Replace vite-plugin-virtual (vite 8 incompatible) with vite’s built-in
definefor the buildTimeConfig injection -
tsconfig: drop deprecated
baseUrl(TS 5+ resolvespathsrelative to tsconfig) -
Vitest 4: import
defineConfigfromvitest/configsotestis valid in vite configs -
Zod 4: rename
.errorsto.issues, makeZodSchemaa type-only import, drop the removedSafeParseReturnType -
Tighten/loosen generic casts in localStore to match stricter zod 4 inference
-
ESLint 9
no-useless-assignment: remove redundant initializers and dead reassignments; disable the rule where Svelte’s reactive blocks confuse the analyser -
Svelte/eslint
prefer-svelte-reactivity: disable for legacy Svelte usages of URL / Set -
Misc naming-convention and prefer-const fixes
Upgrade all Javascript dependencies
Changes which were needed after the upgrade:
-
Replace vite-plugin-virtual (vite 8 incompatible) with vite’s built-in
definefor the buildTimeConfig injection -
tsconfig: drop deprecated
baseUrl(TS 5+ resolvespathsrelative to tsconfig) -
Vitest 4: import
defineConfigfromvitest/configsotestis valid in vite configs -
Zod 4: rename
.errorsto.issues, makeZodSchemaa type-only import, drop the removedSafeParseReturnType -
Tighten/loosen generic casts in localStore to match stricter zod 4 inference
-
ESLint 9
no-useless-assignment: remove redundant initializers and dead reassignments; disable the rule where Svelte’s reactive blocks confuse the analyser -
Svelte/eslint
prefer-svelte-reactivity: disable for legacy Svelte usages of URL / Set -
Misc naming-convention and prefer-const fixes
Build looks fine.
Not directly related by I saw that the build is 2,745.98 kB │ gzip: 627.12 kB. Have you considered using dynamic imports to improve the initial load, or done any lighthouse testing?
I did some brief research, here are some relevant resources:
- https://web.dev/articles/vitals-spa-faq
- https://developer.chrome.com/docs/web-platform/soft-navigations-experiment
Rebase
Get rid of warnings in dev mode
Key Playwright browser cache on Playwright version
To avoid missing browsers in feature branches.
Pin npm version to stabilize lockfile
Update lockfile