migration to Sveltekit 2

This commit is contained in:
Alexander Bocken 2024-02-19 21:09:39 +01:00
parent 4c5826e1b5
commit c21fbc7f1e
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
3 changed files with 604 additions and 253 deletions

846
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,18 +11,19 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^2.1.0", "@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^1.22.3", "@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"svelte": "^4.0.0", "svelte": "^4.0.0",
"svelte-check": "^3.4.6", "svelte-check": "^3.4.6",
"svelte-preprocess-import-assets": "^1.0.1", "svelte-preprocess-import-assets": "^1.0.1",
"tslib": "^2.6.0", "tslib": "^2.6.0",
"typescript": "^5.1.6", "typescript": "^5.1.6",
"vite": "^4.4.4" "vite": "^5.0.0"
}, },
"dependencies": { "dependencies": {
"@auth/sveltekit": "^0.12.3", "@auth/sveltekit": "^0.12.3",
"@sveltejs/adapter-node": "^1.3.1", "@sveltejs/adapter-node": "^2.0.0",
"argon2": "^0.30.3", "argon2": "^0.30.3",
"cheerio": "1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"jsonwebtoken": "^9.0.1", "jsonwebtoken": "^9.0.1",

View File

@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-node'; import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/kit/vite'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {