diff --git a/components.json b/components.json index d9e3cc8..16aece3 100644 --- a/components.json +++ b/components.json @@ -1,13 +1,13 @@ { - "$schema": "https://shadcn-svelte.com/schema.json", - "style": "default", - "tailwind": { - "config": "tailwind.config.js", - "css": "src/lib/styles/app.postcss", - "baseColor": "slate" - }, - "aliases": { - "components": "$lib/components", - "utils": "$lib/utils" - } -} + "$schema": "https://shadcn-svelte.com/schema.json", + "style": "default", + "tailwind": { + "config": "tailwind.config.js", + "css": "src/app.postcss", + "baseColor": "slate" + }, + "aliases": { + "components": "$lib/components", + "utils": "$lib/utils" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 5131fa4..fc83f3b 100644 --- a/package.json +++ b/package.json @@ -46,15 +46,15 @@ "prisma": "^5.2.0", "sass": "^1.65.1", "svelte": "^4.2.0", - "svelte-check": "^3.5.1", + "svelte-check": "^3.5.0", "svelte-preprocess": "^5.0.4", "svelte-sequential-preprocessor": "^2.0.1", - "sveltekit-flash-message": "^2.2.1", + "sveltekit-flash-message": "^2.2.0", "sveltekit-superforms": "^1.6.1", "tailwindcss": "^3.3.3", "ts-node": "^10.9.1", - "tslib": "^2.6.2", - "typescript": "^5.2.2", + "tslib": "^2.6.1", + "typescript": "^5.1.6", "vite": "^4.4.9", "vitest": "^0.25.3", "zod": "^3.22.2" @@ -84,7 +84,7 @@ "iconify-icon": "^1.0.8", "just-kebab-case": "^4.2.0", "loader": "^2.1.1", - "lucia": "^2.5.0", + "lucia": "^2.4.2", "lucide-svelte": "^0.256.1", "open-props": "^1.5.13", "radix-svelte": "^0.9.0", @@ -93,8 +93,8 @@ "svelte-lazy-loader": "^1.0.0", "svelte-legos": "^0.2.1", "tailwind-merge": "^1.14.0", - "tailwind-variants": "^0.1.14", - "tailwindcss-animate": "^1.0.7", + "tailwind-variants": "^0.1.13", + "tailwindcss-animate": "^1.0.6", "zod-to-json-schema": "^3.21.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4ccd7e6..e84c5d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,10 +19,10 @@ dependencies: version: 1.2.47 '@lucia-auth/adapter-mysql': specifier: ^2.0.0 - version: 2.0.0(lucia@2.5.0) + version: 2.0.0(lucia@2.4.2) '@lucia-auth/adapter-prisma': specifier: ^3.0.1 - version: 3.0.1(@prisma/client@5.2.0)(lucia@2.5.0) + version: 3.0.1(@prisma/client@5.2.0)(lucia@2.4.2) '@lukeed/uuid': specifier: ^2.0.1 version: 2.0.1 @@ -63,8 +63,8 @@ dependencies: specifier: ^2.1.1 version: 2.1.1 lucia: - specifier: ^2.5.0 - version: 2.5.0 + specifier: ^2.4.2 + version: 2.4.2 lucide-svelte: specifier: ^0.256.1 version: 0.256.1(svelte@4.2.0) @@ -90,11 +90,11 @@ dependencies: specifier: ^1.14.0 version: 1.14.0 tailwind-variants: - specifier: ^0.1.14 - version: 0.1.14(tailwindcss@3.3.3) + specifier: ^0.1.13 + version: 0.1.13(tailwindcss@3.3.3) tailwindcss-animate: - specifier: ^1.0.7 - version: 1.0.7(tailwindcss@3.3.3) + specifier: ^1.0.6 + version: 1.0.6(tailwindcss@3.3.3) zod-to-json-schema: specifier: ^3.21.4 version: 3.21.4(zod@3.22.2) @@ -123,10 +123,10 @@ devDependencies: version: 18.17.5 '@typescript-eslint/eslint-plugin': specifier: ^5.62.0 - version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.2.2) + version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.1.6) '@typescript-eslint/parser': specifier: ^5.62.0 - version: 5.62.0(eslint@8.47.0)(typescript@5.2.2) + version: 5.62.0(eslint@8.47.0)(typescript@5.1.6) autoprefixer: specifier: ^10.4.15 version: 10.4.15(postcss@8.4.29) @@ -173,17 +173,17 @@ devDependencies: specifier: ^4.2.0 version: 4.2.0 svelte-check: - specifier: ^3.5.1 - version: 3.5.1(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0) + specifier: ^3.5.0 + version: 3.5.0(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0) svelte-preprocess: specifier: ^5.0.4 - version: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2) + version: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6) svelte-sequential-preprocessor: specifier: ^2.0.1 version: 2.0.1 sveltekit-flash-message: - specifier: ^2.2.1 - version: 2.2.1(@sveltejs/kit@1.24.1)(svelte@4.2.0) + specifier: ^2.2.0 + version: 2.2.0(@sveltejs/kit@1.24.1)(svelte@4.2.0) sveltekit-superforms: specifier: ^1.6.1 version: 1.6.1(@sveltejs/kit@1.24.1)(svelte@4.2.0)(zod@3.22.2) @@ -192,13 +192,13 @@ devDependencies: version: 3.3.3(ts-node@10.9.1) ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@18.17.5)(typescript@5.2.2) + version: 10.9.1(@types/node@18.17.5)(typescript@5.1.6) tslib: - specifier: ^2.6.2 - version: 2.6.2 + specifier: ^2.6.1 + version: 2.6.1 typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.1.6 + version: 5.1.6 vite: specifier: ^4.4.9 version: 4.4.9(@types/node@18.17.5)(sass@1.65.1) @@ -1145,7 +1145,7 @@ packages: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.15 - /@lucia-auth/adapter-mysql@2.0.0(lucia@2.5.0): + /@lucia-auth/adapter-mysql@2.0.0(lucia@2.4.2): resolution: {integrity: sha512-8a4JZ3VjDyRu/mAop2hEt/jOJO2HXwWIAid6a4wGiR8wgnlyOws9brRc+/wxQHSOlWUlrWemrfDvXLs5mMtkeQ==} peerDependencies: '@planetscale/database': ^1.0.0 @@ -1157,17 +1157,17 @@ packages: mysql2: optional: true dependencies: - lucia: 2.5.0 + lucia: 2.4.2 dev: false - /@lucia-auth/adapter-prisma@3.0.1(@prisma/client@5.2.0)(lucia@2.5.0): + /@lucia-auth/adapter-prisma@3.0.1(@prisma/client@5.2.0)(lucia@2.4.2): resolution: {integrity: sha512-JZNl+721M5ApjtNiH+WUYstiC8cffcI/Y9IzKsa0uUhQMIHl2ObCrgO0R3fgHnjWHBjhQoK36g/r/iSJIDppBA==} peerDependencies: '@prisma/client': ^4.2.0 || ^5.0.0 lucia: ^2.0.0 dependencies: '@prisma/client': 5.2.0(prisma@5.2.0) - lucia: 2.5.0 + lucia: 2.4.2 dev: false /@lukeed/csprng@1.1.0: @@ -1445,7 +1445,7 @@ packages: resolution: {integrity: sha512-MFETx3tbTjE7Uk6vvnWINA/1iJ7LuMdO4fcq8UfF0pRbj01aGLduVvQcRyswuACJdpnHgg8E3rQLhaRdNEJS0w==} dev: false - /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.47.0)(typescript@5.1.6): resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1457,23 +1457,23 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.0 - '@typescript-eslint/parser': 5.62.0(eslint@8.47.0)(typescript@5.2.2) + '@typescript-eslint/parser': 5.62.0(eslint@8.47.0)(typescript@5.1.6) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6) + '@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6) debug: 4.3.4 eslint: 8.47.0 graphemer: 1.4.0 ignore: 5.2.1 natural-compare-lite: 1.4.0 semver: 7.3.8 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + tsutils: 3.21.0(typescript@5.1.6) + typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.62.0(eslint@8.47.0)(typescript@5.2.2): + /@typescript-eslint/parser@5.62.0(eslint@8.47.0)(typescript@5.1.6): resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1485,10 +1485,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6) debug: 4.3.4 eslint: 8.47.0 - typescript: 5.2.2 + typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: true @@ -1501,7 +1501,7 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/type-utils@5.62.0(eslint@8.47.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@5.62.0(eslint@8.47.0)(typescript@5.1.6): resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1511,12 +1511,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6) + '@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.1.6) debug: 4.3.4 eslint: 8.47.0 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + tsutils: 3.21.0(typescript@5.1.6) + typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: true @@ -1526,7 +1526,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.1.6): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1541,13 +1541,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 + tsutils: 3.21.0(typescript@5.1.6) + typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.47.0)(typescript@5.2.2): + /@typescript-eslint/utils@5.62.0(eslint@8.47.0)(typescript@5.1.6): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1558,7 +1558,7 @@ packages: '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.1.6) eslint: 8.47.0 eslint-scope: 5.1.1 semver: 7.3.8 @@ -2801,8 +2801,8 @@ packages: dependencies: yallist: 4.0.0 - /lucia@2.5.0: - resolution: {integrity: sha512-eUUtf4gBsT1vLF1UEkZly3Sh620N4P0TcGzeDMviFqF0qULB7XOgC9GMmobK3y9L/cEfoD8YHNxfIN/AzSXQsg==} + /lucia@2.4.2: + resolution: {integrity: sha512-JJMAxrsjNXS5WUNe/u9+ahIXM+RNHTL2+RRtzUo1lZgUQL7oFsOgckikdjUPmGaEKrmQfUznxg20L/Ghba3Fjg==} dev: false /lucide-svelte@0.256.1(svelte@4.2.0): @@ -3307,7 +3307,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.29 - ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.2.2) + ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.1.6) yaml: 1.10.2 dev: true @@ -3325,7 +3325,7 @@ packages: dependencies: lilconfig: 2.0.6 postcss: 8.4.29 - ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.2.2) + ts-node: 10.9.1(@types/node@18.17.5)(typescript@5.1.6) yaml: 2.1.3 /postcss-logical@6.2.0(postcss@8.4.29): @@ -3848,8 +3848,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /svelte-check@3.5.1(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0): - resolution: {integrity: sha512-+Zb4iHxAhdUtcUg/WJPRjlS1RJalIsWAe9Mz6G1zyznSs7dDkT7VUBdXc3q7Iwg49O/VrZgyJRvOJkjuBfKjFA==} + /svelte-check@3.5.0(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0): + resolution: {integrity: sha512-KHujbn4k17xKYLmtCwv0sKKM7uiHTYcQvXnvrCcNU6a7hcszh99zFTIoiu/Sp/ewAw5aJmillJ1Cs8gKLmcX4A==} hasBin: true peerDependencies: svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 @@ -3861,8 +3861,8 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 4.2.0 - svelte-preprocess: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2) - typescript: 5.2.2 + svelte-preprocess: 5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6) + typescript: 5.1.6 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -3932,7 +3932,7 @@ packages: svelte: 4.2.0 dev: false - /svelte-preprocess@5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.2.2): + /svelte-preprocess@5.0.4(postcss-load-config@4.0.1)(postcss@8.4.29)(sass@1.65.1)(svelte@4.2.0)(typescript@5.1.6): resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -3979,7 +3979,7 @@ packages: sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.0 - typescript: 5.2.2 + typescript: 5.1.6 dev: true /svelte-sequential-preprocessor@2.0.1: @@ -3987,7 +3987,7 @@ packages: engines: {node: '>=16'} dependencies: svelte: 4.2.0 - tslib: 2.6.2 + tslib: 2.6.1 dev: true /svelte-writable-derived@3.1.0(svelte@4.2.0): @@ -4016,8 +4016,8 @@ packages: magic-string: 0.30.0 periscopic: 3.1.0 - /sveltekit-flash-message@2.2.1(@sveltejs/kit@1.24.1)(svelte@4.2.0): - resolution: {integrity: sha512-KnVuC7Q07crRTwgm/N5CQEebNbzPWoMrtlKXRMq608T+/by8kETXmyTUnuZ5wsnfJEwhWQyXsXBOY2a6NzCPQQ==} + /sveltekit-flash-message@2.2.0(@sveltejs/kit@1.24.1)(svelte@4.2.0): + resolution: {integrity: sha512-22hYvD4kQUWJevbiJQkRNIWtEexKyKYhN4zyn8YhfU6J2hRY1uFdTTfH0JIWwPkJ/QarBgLwzP79GO5t/LLZUw==} peerDependencies: '@sveltejs/kit': 1.x svelte: 3.x || 4.x @@ -4044,8 +4044,8 @@ packages: resolution: {integrity: sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==} dev: false - /tailwind-variants@0.1.14(tailwindcss@3.3.3): - resolution: {integrity: sha512-qfOkSGP+cSolTTkJboldGmiM+w5uE77pazCRkwixEBsuaml9CmhN0E8qgH7QnZNmOTVSsgRK1tn/MsKOvOKVWA==} + /tailwind-variants@0.1.13(tailwindcss@3.3.3): + resolution: {integrity: sha512-G2M7M74hjq0nAo6QdEfUJgF+0t9DecFUw91GC1P9YTnwMcfB3uChT5U5e2DuNU42xoOz15lzo7r0mPdMzZkylg==} engines: {node: '>=16.x', pnpm: '>=7.x'} peerDependencies: tailwindcss: '*' @@ -4054,8 +4054,8 @@ packages: tailwindcss: 3.3.3(ts-node@10.9.1) dev: false - /tailwindcss-animate@1.0.7(tailwindcss@3.3.3): - resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==} + /tailwindcss-animate@1.0.6(tailwindcss@3.3.3): + resolution: {integrity: sha512-4WigSGMvbl3gCCact62ZvOngA+PRqhAn7si3TQ3/ZuPuQZcIEtVap+ENSXbzWhpojKB8CpvnIsrwBu8/RnHtuw==} peerDependencies: tailwindcss: '>=3.0.0 || insiders' dependencies: @@ -4165,7 +4165,7 @@ packages: /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /ts-node@10.9.1(@types/node@18.17.5)(typescript@5.2.2): + /ts-node@10.9.1(@types/node@18.17.5)(typescript@5.1.6): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -4191,7 +4191,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.2.2 + typescript: 5.1.6 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -4199,18 +4199,18 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + /tslib@2.6.1: + resolution: {integrity: sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==} dev: true - /tsutils@3.21.0(typescript@5.2.2): + /tsutils@3.21.0(typescript@5.1.6): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.2.2 + typescript: 5.1.6 dev: true /type-check@0.4.0: @@ -4230,8 +4230,8 @@ packages: engines: {node: '>=10'} dev: true - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + /typescript@5.1.6: + resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} engines: {node: '>=14.17'} hasBin: true diff --git a/src/lib/styles/app.postcss b/src/app.postcss similarity index 100% rename from src/lib/styles/app.postcss rename to src/app.postcss diff --git a/src/lib/api.ts b/src/lib/api.ts index d4aa024..e69de29 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -1,23 +0,0 @@ -import { BOARD_GAME_ATLAS_CLIENT_ID } from '$env/static/private'; -import { URLSearchParams } from 'url'; - -const base = 'https://api.boardgameatlas.com/api'; - -export function boardGameApi( - method: string, - resource: string, - queryParams: Record, - data?: Record -) { - // console.log('queryParams', queryParams); - queryParams.client_id = BOARD_GAME_ATLAS_CLIENT_ID; - const urlQueryParams = new URLSearchParams(queryParams); - const url = `${base}/${resource}${urlQueryParams ? `?${urlQueryParams}` : ''}`; - return fetch(url, { - method, - headers: { - 'Content-Type': 'application/json' - }, - body: data && JSON.stringify(data) - }); -} diff --git a/src/lib/components/search/random/index.svelte b/src/lib/components/search/random/index.svelte index 7086ac6..2075152 100644 --- a/src/lib/components/search/random/index.svelte +++ b/src/lib/components/search/random/index.svelte @@ -3,9 +3,7 @@ import type { SearchSchema } from '$lib/zodValidation'; import { boredState } from '$lib/stores/boredState'; import { gameStore } from '$lib/stores/gameSearchStore'; - import { ToastType } from '$lib/types'; import { superForm } from 'sveltekit-superforms/client'; - import { toast } from '../../toast/toast'; import { Button } from '$components/ui/button'; export let data: SuperValidated; diff --git a/src/routes/(auth)/sign-up/+page.svelte b/src/routes/(auth)/sign-up/+page.svelte index b6558eb..bca1832 100644 --- a/src/routes/(auth)/sign-up/+page.svelte +++ b/src/routes/(auth)/sign-up/+page.svelte @@ -43,7 +43,7 @@ Bored Game | Sign Up -