From b106a6ea45d43788d4f71d25e58fb096d6f763dd Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 5 Jan 2024 10:56:49 +0100 Subject: [PATCH] migration to SvelteKit 2 --- ui/package.json | 3 ++- ui/tsconfig.json | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/package.json b/ui/package.json index 2e786f3..ea16810 100644 --- a/ui/package.json +++ b/ui/package.json @@ -13,7 +13,8 @@ }, "devDependencies": { "@sveltejs/adapter-static": "^3.0.0", - "@sveltejs/kit": "^1.20.4", + "@sveltejs/kit": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "bootstrap": "^5.1.3", diff --git a/ui/tsconfig.json b/ui/tsconfig.json index b6bfc59..fadf001 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { - "moduleResolution": "node", + "moduleResolution": "bundler", "module": "es2020", "lib": ["es2020", "DOM"], "target": "es2020", @@ -9,7 +9,6 @@ svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript to enforce using \`import type\` instead of \`import\` for Types. */ - "importsNotUsedAsValues": "error", "isolatedModules": true, "resolveJsonModule": true, /**