⬆️ Reinstall svelte-kit-auth as sk-auth

This commit is contained in:
RaviAnand Mohabir 2021-05-23 18:59:32 +02:00
parent 779afca23e
commit 6397de8a45
4 changed files with 10 additions and 16 deletions

View File

@ -34,6 +34,6 @@
"@fontsource/inter": "^4.3.0", "@fontsource/inter": "^4.3.0",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",
"svelte-kit-auth": "file:../" "sk-auth": "file:../"
} }
} }

View File

@ -1,10 +1,10 @@
import { SvelteKitAuth } from "svelte-kit-auth"; import { SvelteKitAuth } from "sk-auth";
import { import {
FacebookAuthProvider, FacebookAuthProvider,
GoogleOAuthProvider, GoogleOAuthProvider,
RedditOAuthProvider, RedditOAuthProvider,
TwitterAuthProvider, TwitterAuthProvider,
} from "svelte-kit-auth/providers"; } from "sk-auth/providers";
export const appAuth = new SvelteKitAuth({ export const appAuth = new SvelteKitAuth({
providers: [ providers: [

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
import "../app.postcss"; import "../app.postcss";
import { page, session } from "$app/stores"; import { page, session } from "$app/stores";
import { signOut as authSignOut } from "svelte-kit-auth/client"; import { signOut as authSignOut } from "sk-auth/client";
import clsx from "clsx"; import clsx from "clsx";
function signOut() { function signOut() {

View File

@ -2095,6 +2095,12 @@ simple-swizzle@^0.2.2:
dependencies: dependencies:
is-arrayish "^0.3.1" is-arrayish "^0.3.1"
"sk-auth@file:../":
version "0.1.1"
dependencies:
cookie "^0.4.1"
jsonwebtoken "^8.5.1"
slash@^3.0.0: slash@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
@ -2189,18 +2195,6 @@ svelte-hmr@^0.14.2:
resolved "https://registry.yarnpkg.com/svelte-hmr/-/svelte-hmr-0.14.4.tgz#b7ef2bfeef23916e0e912828c50645ca572ac355" resolved "https://registry.yarnpkg.com/svelte-hmr/-/svelte-hmr-0.14.4.tgz#b7ef2bfeef23916e0e912828c50645ca572ac355"
integrity sha512-kItFF7vqzStckSigoFmMnxJpTOdB9TWnQAW6Js+yAB4277tLbJIIE5KBlGHNmJNpA7MguqidsPB27Uw5UzQPCA== integrity sha512-kItFF7vqzStckSigoFmMnxJpTOdB9TWnQAW6Js+yAB4277tLbJIIE5KBlGHNmJNpA7MguqidsPB27Uw5UzQPCA==
"svelte-kit-auth@file:..":
version "1.0.0"
dependencies:
cookie "^0.4.1"
jsonwebtoken "^8.5.1"
"svelte-kit-auth@file:../":
version "1.0.0"
dependencies:
cookie "^0.4.1"
jsonwebtoken "^8.5.1"
svelte-preprocess@^4.7.1: svelte-preprocess@^4.7.1:
version "4.7.3" version "4.7.3"
resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.7.3.tgz#454fa059c2400b15e7a3caeca18993cff9df0e96" resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.7.3.tgz#454fa059c2400b15e7a3caeca18993cff9df0e96"