From 512f34ad155b84ab61402fe83ae18709649527d5 Mon Sep 17 00:00:00 2001 From: Websocket98765 <41795874+websocket98765@users.noreply.github.com> Date: Fri, 17 Jun 2022 06:22:00 +0000 Subject: [PATCH] fix so it works again with current svelte kit --- app/package.json | 8 +- app/src/app.html | 4 +- app/src/hooks.ts | 7 +- app/src/lib/appAuth.ts | 9 + app/src/routes/__layout.svelte | 32 +- app/src/routes/index.svelte | 1 - app/src/routes/login.svelte | 22 + app/svelte.config.js | 4 - app/yarn.lock | 327 +- package-lock.json | 8890 ++++++++++++++++++++++++++++++++ yarn.lock | 3732 +++++++------- 11 files changed, 10978 insertions(+), 2058 deletions(-) create mode 100644 package-lock.json diff --git a/app/package.json b/app/package.json index e5d3f6e..2a4bf6b 100644 --- a/app/package.json +++ b/app/package.json @@ -9,7 +9,7 @@ "format": "prettier --write --plugin-search-dir=. ." }, "devDependencies": { - "@sveltejs/kit": "^1.0.0-next.259", + "@sveltejs/kit": "next", "@types/prismjs": "^1.16.5", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", @@ -33,9 +33,9 @@ "dependencies": { "@fontsource/fira-mono": "^4.3.0", "@fontsource/inter": "^4.3.0", - "clipboard": "^2.0.8", + "clipboard": "^2.0.11", "clsx": "^1.1.1", - "prismjs": "^1.23.0", - "sk-auth": "file:../" + "prismjs": "^1.28.0", + "sk-auth": "^0.4.1" } } diff --git a/app/src/app.html b/app/src/app.html index 817b808..c7c366d 100644 --- a/app/src/app.html +++ b/app/src/app.html @@ -4,9 +4,9 @@ - %svelte.head% + %sveltekit.head%
-