Skip to content

Commit

Permalink
fix: deps updated and format
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Dec 23, 2023
1 parent a46f649 commit 797b83c
Show file tree
Hide file tree
Showing 39 changed files with 852 additions and 849 deletions.
44 changes: 22 additions & 22 deletions apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,48 +28,48 @@
"generate": "concurrently pnpm:generate:*"
},
"devDependencies": {
"@auth/core": "0.18.6",
"@auth/hasura-adapter": "0.2.10",
"@auth/sveltekit": "0.4.0",
"@auth/core": "0.19.0",
"@auth/hasura-adapter": "0.2.11",
"@auth/sveltekit": "0.5.0",
"@ethercorps/sveltekit-og": "2.0.2",
"@neoconfetti/svelte": "2.0.0",
"@neoconfetti/svelte": "2.2.0",
"@neodrag/svelte": "2.0.3",
"@popperjs/core": "2.11.8",
"@skeletonlabs/skeleton": "2.6.0",
"@skeletonlabs/skeleton": "2.6.1",
"@svelte-put/resize": "3.0.0",
"@sveltejs/adapter-auto": "3.0.0",
"@sveltejs/adapter-node": "2.0.0",
"@sveltejs/adapter-vercel": "4.0.2",
"@sveltejs/enhanced-img": "0.1.6",
"@sveltejs/kit": "2.0.2",
"@sveltejs/adapter-auto": "3.0.1",
"@sveltejs/adapter-node": "2.0.2",
"@sveltejs/adapter-vercel": "4.0.3",
"@sveltejs/enhanced-img": "0.1.7",
"@sveltejs/kit": "2.0.6",
"@sveltejs/vite-plugin-svelte": "3.0.1",
"@tailwindcss/container-queries": "0.1.1",
"@testing-library/jest-dom": "6.1.5",
"@testing-library/svelte": "4.0.5",
"@types/gtag.js": "0.0.18",
"@types/js-cookie": "3.0.6",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"@vercel/analytics": "1.1.1",
"@vite-pwa/sveltekit": "0.3.0",
"@vitest/coverage-v8": "1.0.4",
"@vitest/coverage-v8": "1.1.0",
"autoprefixer": "10.4.16",
"c8": "8.0.1",
"cross-fetch": "4.0.0",
"cssnano": "6.0.2",
"d3-force": "3.0.0",
"d3-scale": "4.0.2",
"date-fns": "3.0.0",
"date-fns": "3.0.6",
"eslint": "8.56.0",
"eslint-config-custom": "workspace:*",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "2.35.1",
"flowbite-svelte": "0.44.20",
"flowbite-svelte": "0.44.21",
"flowbite-svelte-blocks": "0.5.1",
"flowbite-svelte-icons": "0.4.5",
"flowbite-typography": "1.0.3",
"graphql": "16.8.1",
"graphql-ws": "5.14.2",
"graphql-ws": "5.14.3",
"helpers": "workspace:*",
"houdini": "1.2.34",
"houdini-svelte": "1.2.34",
Expand All @@ -91,26 +91,26 @@
"svelte-select": "5.8.1",
"svelte-time-distance": "0.0.3",
"sveltekit-flash-message": "2.3.0",
"sveltekit-rate-limiter": "0.4.1",
"sveltekit-superforms": "1.12.0",
"sveltekit-rate-limiter": "0.4.2",
"sveltekit-superforms": "1.13.1",
"sveltekit-view-transition": "0.5.3",
"tailwind-config": "workspace:*",
"tailwind-merge": "2.1.0",
"tailwindcss": "3.3.6",
"tailwind-merge": "2.2.0",
"tailwindcss": "3.4.0",
"tailwindcss-animate": "1.0.7",
"tslib": "2.6.2",
"typescript": "5.3.3",
"ui-flowbite": "workspace:*",
"vite": "4.5.1",
"vite-plugin-pwa": "0.17.4",
"vite-plugin-tailwind-purgecss": "0.2.0",
"vitest": "1.0.4",
"vitest": "1.1.0",
"workbox-window": "7.0.0",
"zod": "3.22.4"
},
"optionalDependencies": {
"@playwright/test": "1.40.1",
"@vitest/ui": "1.0.4"
"@vitest/ui": "1.1.0"
},
"dependencies": {
"cookie": "0.6.0"
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/lib/blocks/blog/Blog5.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div class="mx-auto max-w-screen-xl px-4 py-8 lg:px-6 lg:py-16">
<div class="mx-auto mb-8 max-w-screen-sm text-center lg:mb-16">
<h2
class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white lg:text-4xl"
class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 lg:text-4xl dark:text-white"
>Our Blog</h2
>
<p class="font-light text-gray-500 dark:text-gray-400 sm:text-xl"
<p class="font-light text-gray-500 sm:text-xl dark:text-gray-400"
>We use an agile approach to test assumptions and connect with the needs of your
audience early and often.</p
>
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/cta/Cta1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
>
</div>
<div
class="mt-10 flex w-full flex-col rounded-lg bg-gray-100 p-8 dark:bg-gray-900 dark:bg-opacity-50 md:ml-auto md:mt-0 md:w-1/2 lg:w-2/6"
class="mt-10 flex w-full flex-col rounded-lg bg-gray-100 p-8 md:ml-auto md:mt-0 md:w-1/2 lg:w-2/6 dark:bg-gray-900 dark:bg-opacity-50"
>
<h2 class="title-font mb-5 text-lg font-medium text-gray-900 dark:text-white"
>Sign Up</h2
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/cta/Cta2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container mx-auto px-5 py-24">
<div class="mx-auto flex flex-col items-start sm:flex-row sm:items-center lg:w-2/3">
<h1
class="title-font flex-grow text-2xl font-medium text-gray-900 dark:text-white sm:pr-16"
class="title-font flex-grow text-2xl font-medium text-gray-900 sm:pr-16 dark:text-white"
>Slow-carb next level shoindxgoitch ethical authentic, scenester sriracha forage.</h1
>
<button
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/feature/Feature1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container mx-auto px-5 py-24">
<div class="mb-20 flex w-full flex-col text-center">
<h1
class="title-font mb-4 text-2xl font-medium text-gray-900 dark:text-white sm:text-3xl"
class="title-font mb-4 text-2xl font-medium text-gray-900 sm:text-3xl dark:text-white"
>Master Cleanse Reliac Heirloom</h1
>
<p class="mx-auto text-base leading-relaxed lg:w-2/3"
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/feature/Feature2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class="title-font mb-1 text-xs font-medium tracking-widest text-indigo-500 dark:text-indigo-400"
>FEDERATED DATA MICROSERVICES</h2
>
<h1 class="title-font text-2xl font-medium text-gray-900 dark:text-white sm:text-3xl"
<h1 class="title-font text-2xl font-medium text-gray-900 sm:text-3xl dark:text-white"
>Combine GraphQL APIs into a unified supergraph</h1
>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/feature/Feature4.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container mx-auto px-5 py-24">
<div class="mb-20 text-center">
<h1
class="title-font mb-4 text-2xl font-medium text-gray-900 dark:text-white sm:text-3xl"
class="title-font mb-4 text-2xl font-medium text-gray-900 sm:text-3xl dark:text-white"
>Raw Denim Heirloom Man Braid</h1
>
<p class="text-gray-500s mx-auto text-base leading-relaxed lg:w-3/4 xl:w-2/4"
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/footer/Footer1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="container mx-auto flex flex-col items-center px-5 py-8 sm:flex-row">
<a
href={'#'}
class="title-font flex items-center justify-center font-medium text-gray-900 dark:text-white md:justify-start"
class="title-font flex items-center justify-center font-medium text-gray-900 md:justify-start dark:text-white"
>
<Stack />
<span class="ml-3 text-xl">Datablocks</span>
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/lib/blocks/footer/Footer3.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@
<div class="container mx-auto flex flex-col items-center px-5 py-6 sm:flex-row">
<a
href={'#'}
class="title-font flex items-center justify-center font-medium text-gray-900 dark:text-white md:justify-start"
class="title-font flex items-center justify-center font-medium text-gray-900 md:justify-start dark:text-white"
>
<Stack />
<span class="ml-3 text-xl">Datablocks</span>
</a>
<p class="mt-4 text-sm text-gray-500 dark:text-gray-400 sm:ml-6 sm:mt-0"
<p class="mt-4 text-sm text-gray-500 sm:ml-6 sm:mt-0 dark:text-gray-400"
>© 2020 Datablocks —
<a
href="https://twitter.com/xmlking"
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/lib/blocks/footer/Footer4.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@
<div class="container mx-auto flex flex-col items-center px-5 py-6 sm:flex-row">
<a
href={'#'}
class="title-font flex items-center justify-center font-medium text-gray-900 dark:text-white md:justify-start"
class="title-font flex items-center justify-center font-medium text-gray-900 md:justify-start dark:text-white"
>
<Stack />
<span class="ml-3 text-xl">Datablocks</span>
</a>
<p class="mt-4 text-sm text-gray-500 dark:text-gray-400 sm:ml-6 sm:mt-0"
<p class="mt-4 text-sm text-gray-500 sm:ml-6 sm:mt-0 dark:text-gray-400"
>© 2020 Datablocks —
<a
href="https://twitter.com/xmlking"
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/header/Header1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="container mx-auto flex flex-col flex-wrap items-center p-5 md:flex-row">
<a
href="/#"
class="title-font mb-4 flex items-center font-medium text-gray-900 dark:text-white md:mb-0"
class="title-font mb-4 flex items-center font-medium text-gray-900 md:mb-0 dark:text-white"
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/lib/blocks/header/StickyHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
<svelte:window bind:scrollY={currentY} />

<header
class="bg-surface-1/50 body-font sticky top-0 flex h-[var(--header-height)] items-center px-2 text-lg text-gray-600 backdrop-blur-sm transition-transform ease-in dark:bg-gray-900 dark:text-gray-400 md:px-0"
class="bg-surface-1/50 body-font sticky top-0 flex h-[var(--header-height)] items-center px-2 text-lg text-gray-600 backdrop-blur-sm transition-transform ease-in md:px-0 dark:bg-gray-900 dark:text-gray-400"
class:motion-safe:-translate-y-full={offscreen}
bind:clientHeight
>
<div class="container mx-auto flex flex-col flex-wrap items-center p-5 md:flex-row">
<a
href="/#"
class="title-font mb-4 flex items-center font-medium text-gray-900 dark:text-white md:mb-0"
class="title-font mb-4 flex items-center font-medium text-gray-900 md:mb-0 dark:text-white"
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/blocks/hero/Hero3.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class="flex flex-col items-center text-center md:w-1/2 md:items-start md:pl-16 md:text-left lg:flex-grow lg:pl-24"
>
<h1
class="title-font mb-4 text-3xl font-medium text-gray-900 dark:text-white sm:text-4xl"
class="title-font mb-4 text-3xl font-medium text-gray-900 sm:text-4xl dark:text-white"
>Before they sold out
<br class="hidden lg:inline-block" />readymade gluten
</h1>
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/lib/server/middleware/authjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const authjs = SvelteKitAuth({
// sameSite: 'lax',
// path: '/',
// domain: domain == 'localhost' ? domain : '.' + domain,
// secure: useSecureCookie
// secure: useSecureCookie // process.env.NODE_ENV === 'production'
// }
// }
// }
Expand Down
5 changes: 1 addition & 4 deletions apps/console/src/lib/server/middleware/houdini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ export const houdini = (async ({ event, resolve }) => {
const roles = session?.roles;

// FIXME: always return null with @auth/core/jwt's getToken
// const token = await getToken({req: { cookies: event.cookies, headers: event.request.headers },secret: dynPriEnv.HASURA_GRAPHQL_JWT_SECRET_KEY,raw: true});
// const token = await getToken({ req: request, secret: dynPriEnv.HASURA_GRAPHQL_JWT_SECRET_KEY, raw: true });
// const token = await getToken(cookies);
// const token = await getToken(cookies, true); // raw = true
// const token = await getToken({ secret: envPri.HASURA_GRAPHQL_JWT_SECRET_KEY, salt: cookieName, event.request });
const token = await getSignedToken(cookies);
log.debug('setting token and roles......', token, roles);
if (token) setSession(event, { token, roles });
Expand Down
34 changes: 17 additions & 17 deletions apps/console/src/routes/(app)/dashboard/reports/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
data-drawer-target="drawer-navigation"
data-drawer-toggle="drawer-navigation"
aria-controls="drawer-navigation"
class="mr-2 cursor-pointer rounded-lg p-2 text-gray-600 hover:bg-gray-100 hover:text-gray-900 focus:bg-gray-100 focus:ring-2 focus:ring-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:bg-gray-700 dark:focus:ring-gray-700 md:hidden"
class="mr-2 cursor-pointer rounded-lg p-2 text-gray-600 hover:bg-gray-100 hover:text-gray-900 focus:bg-gray-100 focus:ring-2 focus:ring-gray-100 md:hidden dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:bg-gray-700 dark:focus:ring-gray-700"
>
<svg
aria-hidden="true"
Expand Down Expand Up @@ -86,7 +86,7 @@
type="button"
data-drawer-toggle="drawer-navigation"
aria-controls="drawer-navigation"
class="mr-1 rounded-lg p-2 text-gray-500 hover:bg-gray-100 hover:text-gray-900 focus:ring-4 focus:ring-gray-300 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-600 md:hidden"
class="mr-1 rounded-lg p-2 text-gray-500 hover:bg-gray-100 hover:text-gray-900 focus:ring-4 focus:ring-gray-300 md:hidden dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-600"
>
<span class="sr-only">Toggle search</span>
<svg
Expand Down Expand Up @@ -594,7 +594,7 @@
</div>
<button
type="button"
class="mx-3 flex rounded-full bg-gray-800 text-sm focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600 md:mr-0"
class="mx-3 flex rounded-full bg-gray-800 text-sm focus:ring-4 focus:ring-gray-300 md:mr-0 dark:focus:ring-gray-600"
id="user-menu-button"
aria-expanded="false"
data-dropdown-toggle="dropdown"
Expand Down Expand Up @@ -726,7 +726,7 @@
<!-- Sidebar -->

<aside
class="fixed left-0 top-0 z-40 h-screen w-64 -translate-x-full border-r border-gray-200 bg-white pt-14 transition-transform dark:border-gray-700 dark:bg-gray-800 md:translate-x-0"
class="fixed left-0 top-0 z-40 h-screen w-64 -translate-x-full border-r border-gray-200 bg-white pt-14 transition-transform md:translate-x-0 dark:border-gray-700 dark:bg-gray-800"
aria-label="Sidenav"
id="drawer-navigation"
>
Expand Down Expand Up @@ -1049,7 +1049,7 @@
</ul>
</div>
<div
class="absolute bottom-0 left-0 z-20 hidden w-full justify-center space-x-4 bg-white p-4 dark:bg-gray-800 lg:flex"
class="absolute bottom-0 left-0 z-20 hidden w-full justify-center space-x-4 bg-white p-4 lg:flex dark:bg-gray-800"
>
<a
href="#"
Expand Down Expand Up @@ -1299,50 +1299,50 @@
<main class="h-auto p-4 pt-20 md:ml-64">
<div class="mb-4 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4">
<div
class="h-32 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-64"
class="h-32 rounded-lg border-2 border-dashed border-gray-300 md:h-64 dark:border-gray-600"
/>
<div
class="h-32 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-64"
class="h-32 rounded-lg border-2 border-dashed border-gray-300 md:h-64 dark:border-gray-600"
/>
<div
class="h-32 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-64"
class="h-32 rounded-lg border-2 border-dashed border-gray-300 md:h-64 dark:border-gray-600"
/>
<div
class="h-32 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-64"
class="h-32 rounded-lg border-2 border-dashed border-gray-300 md:h-64 dark:border-gray-600"
/>
</div>
<div
class="mb-4 h-96 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600"
/>
<div class="mb-4 grid grid-cols-2 gap-4">
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
</div>
<div
class="mb-4 h-96 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600"
/>
<div class="grid grid-cols-2 gap-4">
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
<div
class="h-48 rounded-lg border-2 border-dashed border-gray-300 dark:border-gray-600 md:h-72"
class="h-48 rounded-lg border-2 border-dashed border-gray-300 md:h-72 dark:border-gray-600"
/>
</div>
</main>
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/routes/(play)/play/hyperui/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@
</a>

<a
class="hidden rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-teal-600 transition hover:text-teal-600/75 dark:bg-gray-800 dark:text-white dark:hover:text-white/75 sm:block"
class="hidden rounded-md bg-gray-100 px-5 py-2.5 text-sm font-medium text-teal-600 transition hover:text-teal-600/75 sm:block dark:bg-gray-800 dark:text-white dark:hover:text-white/75"
href="/"
>
Register
</a>
</div>

<button
class="block rounded bg-gray-100 p-2.5 text-gray-600 transition hover:text-gray-600/75 dark:bg-gray-800 dark:text-white dark:hover:text-white/75 md:hidden"
class="block rounded bg-gray-100 p-2.5 text-gray-600 transition hover:text-gray-600/75 md:hidden dark:bg-gray-800 dark:text-white dark:hover:text-white/75"
>
<span class="sr-only">Toggle menu</span>
<svg
Expand Down
Loading

0 comments on commit 797b83c

Please sign in to comment.