feat: polish demo
@@ -3,29 +3,20 @@ import localFont from "next/font/local";
|
|||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { Toaster } from "@/components/ui/sonner";
|
import { Toaster } from "@/components/ui/sonner";
|
||||||
import { ThemeProvider } from "@/components/theme-provider";
|
import { ThemeProvider } from "@/components/theme-provider";
|
||||||
import { ThemeToggle } from "@/components/theme-toggle";
|
import { GeistMono } from "geist/font/mono";
|
||||||
import { Logo } from "@/components/logo";
|
import { GeistSans } from "geist/font/sans";
|
||||||
import Link from "next/link";
|
|
||||||
import { Book } from "lucide-react";
|
|
||||||
import { Wrapper, WrapperWithQuery } from "@/components/wrapper";
|
import { Wrapper, WrapperWithQuery } from "@/components/wrapper";
|
||||||
|
import { createMetadata } from "@/lib/metadata";
|
||||||
|
|
||||||
const geistSans = localFont({
|
|
||||||
src: "./fonts/GeistVF.woff",
|
export const metadata = createMetadata({
|
||||||
variable: "--font-geist-sans",
|
title: {
|
||||||
weight: "100 900",
|
template: "%s | Better Auth",
|
||||||
|
default: "Better Auth",
|
||||||
|
},
|
||||||
|
description: "The authentication library for typescript",
|
||||||
|
metadataBase: new URL("https://demo.better-auth.com",)
|
||||||
});
|
});
|
||||||
const geistMono = localFont({
|
|
||||||
src: "./fonts/GeistMonoVF.woff",
|
|
||||||
variable: "--font-geist-mono",
|
|
||||||
weight: "100 900",
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
|
||||||
title: "Create Next App",
|
|
||||||
description: "Generated by create next app",
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
@@ -34,9 +25,10 @@ export default function RootLayout({
|
|||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<body
|
<head>
|
||||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
<link rel="icon" href="/favicon/favicon.ico" sizes="any" />
|
||||||
>
|
</head>
|
||||||
|
<body className={`${GeistSans.variable} ${GeistMono.variable} font-sans`}>
|
||||||
<ThemeProvider attribute="class" defaultTheme="dark">
|
<ThemeProvider attribute="class" defaultTheme="dark">
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<WrapperWithQuery>
|
<WrapperWithQuery>
|
||||||
|
|||||||
@@ -1,23 +1,20 @@
|
|||||||
import { SignInButton, SignInFallback } from "@/components/sign-in-btn";
|
import { SignInButton, SignInFallback } from "@/components/sign-in-btn";
|
||||||
import { Button } from "@/components/ui/button";
|
|
||||||
import { headers } from "next/headers";
|
import { headers } from "next/headers";
|
||||||
import Link from "next/link";
|
|
||||||
import { Suspense } from "react";
|
import { Suspense } from "react";
|
||||||
|
|
||||||
export default async function Home() {
|
export default async function Home() {
|
||||||
const features = [
|
const features = [
|
||||||
"Email & Password", "Organization | Teams", "Passkeys", "TwoFactor", "Multi Factor", "Password Reset", "Session Management"
|
"Email & Password", "Organization | Teams", "Passkeys", "TwoFactor", "Multi Factor", "Password Reset", "Session Management"
|
||||||
]
|
]
|
||||||
const guessIsSignIn = headers().get("cookie")?.includes("better-auth.session")
|
|
||||||
return (
|
return (
|
||||||
<div className="min-h-[80vh] flex items-center justify-center">
|
<div className="min-h-[80vh] flex items-center justify-center">
|
||||||
<main className="flex flex-col gap-4 row-start-2 items-center justify-center">
|
<main className="flex flex-col gap-4 row-start-2 items-center justify-center">
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<h3 className="font-bold text-5xl text-black dark:text-white text-center">
|
<h3 className="font-bold text-4xl text-black dark:text-white text-center">
|
||||||
Better Auth.
|
Better Auth.
|
||||||
</h3>
|
</h3>
|
||||||
<p className="text-center break-words">
|
<p className="text-center break-words">
|
||||||
Official demo to showcase <span className="italic underline">better-auth.</span> features and capabilities. <br />
|
Official demo to showcase <a href="https://better-auth.com" target="_blank" className="italic underline">better-auth.</a> features and capabilities. <br />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="md:w-10/12 w-full flex flex-col gap-4">
|
<div className="md:w-10/12 w-full flex flex-col gap-4">
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
import { cn } from "@/lib/utils";
|
|
||||||
import {
|
|
||||||
IconAdjustmentsBolt,
|
|
||||||
IconCloud,
|
|
||||||
IconCurrencyDollar,
|
|
||||||
IconEaseInOut,
|
|
||||||
IconHeart,
|
|
||||||
IconHelp,
|
|
||||||
IconRouteAltLeft,
|
|
||||||
IconTerminal2,
|
|
||||||
} from "@tabler/icons-react";
|
|
||||||
|
|
||||||
export function FeaturesSectionDemo() {
|
|
||||||
const features = [
|
|
||||||
{
|
|
||||||
title: "Email & Password Login",
|
|
||||||
description:
|
|
||||||
"Sign & Signup with email and password",
|
|
||||||
icon: <IconTerminal2 />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Passkey",
|
|
||||||
description: "passkey implemntation"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
return (
|
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 relative z-10 py-10 max-w-7xl mx-auto">
|
|
||||||
{features.map((feature, index) => (
|
|
||||||
<Feature key={feature.title} {...feature} index={index} />
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
const Feature = ({
|
|
||||||
title,
|
|
||||||
description,
|
|
||||||
icon,
|
|
||||||
index,
|
|
||||||
}: {
|
|
||||||
title: string;
|
|
||||||
description: string;
|
|
||||||
icon: React.ReactNode;
|
|
||||||
index: number;
|
|
||||||
}) => {
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
className={cn(
|
|
||||||
"flex flex-col lg:border-r py-2 relative group/feature dark:border-neutral-800",
|
|
||||||
(index === 0 || index === 4) && "lg:border-l dark:border-neutral-800",
|
|
||||||
index < 4 && "lg:border-b dark:border-neutral-800"
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{index < 4 && (
|
|
||||||
<div className="opacity-0 group-hover/feature:opacity-100 transition duration-200 absolute inset-0 h-full w-full bg-gradient-to-t from-neutral-100 dark:from-neutral-800 to-transparent pointer-events-none" />
|
|
||||||
)}
|
|
||||||
{index >= 4 && (
|
|
||||||
<div className="opacity-0 group-hover/feature:opacity-100 transition duration-200 absolute inset-0 h-full w-full bg-gradient-to-b from-neutral-100 dark:from-neutral-800 to-transparent pointer-events-none" />
|
|
||||||
)}
|
|
||||||
{/* <div className="mb-4 relative z-10 px-10 text-neutral-600 dark:text-neutral-400">
|
|
||||||
{icon}
|
|
||||||
</div> */}
|
|
||||||
<div className="text-lg font-bold mb-2 relative z-10 px-10">
|
|
||||||
<div className="absolute left-0 inset-y-0 h-6 group-hover/feature:h-8 w-1 rounded-tr-full rounded-br-full bg-neutral-300 dark:bg-neutral-700 group-hover/feature:bg-blue-500 transition-all duration-200 origin-center" />
|
|
||||||
<span className="group-hover/feature:translate-x-2 transition duration-200 inline-block text-neutral-800 dark:text-neutral-100">
|
|
||||||
{title}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<p className="text-sm text-neutral-600 dark:text-neutral-300 max-w-xs relative z-10 px-10">
|
|
||||||
{description}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
28
demo/nextjs/lib/metadata.ts
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
import type { Metadata } from "next/types";
|
||||||
|
|
||||||
|
export function createMetadata(override: Metadata): Metadata {
|
||||||
|
return {
|
||||||
|
...override,
|
||||||
|
openGraph: {
|
||||||
|
title: override.title ?? undefined,
|
||||||
|
description: override.description ?? undefined,
|
||||||
|
url: "https://demo.better-auth.com",
|
||||||
|
images: "https://demo.better-auth.com/og.png",
|
||||||
|
siteName: "Better Auth",
|
||||||
|
...override.openGraph,
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
creator: "@beakcru",
|
||||||
|
title: override.title ?? undefined,
|
||||||
|
description: override.description ?? undefined,
|
||||||
|
images: "https://demo.better-auth.com/og.png",
|
||||||
|
...override.twitter,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export const baseUrl =
|
||||||
|
process.env.NODE_ENV === "development"
|
||||||
|
? new URL("http://localhost:3000")
|
||||||
|
: new URL(`https://${process.env.VERCEL_URL!}`);
|
||||||
@@ -53,6 +53,7 @@
|
|||||||
"date-fns": "^3.6.0",
|
"date-fns": "^3.6.0",
|
||||||
"embla-carousel-react": "^8.2.1",
|
"embla-carousel-react": "^8.2.1",
|
||||||
"framer-motion": "^11.5.4",
|
"framer-motion": "^11.5.4",
|
||||||
|
"geist": "^1.3.1",
|
||||||
"input-otp": "^1.2.4",
|
"input-otp": "^1.2.4",
|
||||||
"kysely": "^0.27.4",
|
"kysely": "^0.27.4",
|
||||||
"lucide-react": "^0.439.0",
|
"lucide-react": "^0.439.0",
|
||||||
|
|||||||
BIN
demo/nextjs/public/favicon/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
demo/nextjs/public/favicon/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
demo/nextjs/public/favicon/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
demo/nextjs/public/favicon/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 369 B |
BIN
demo/nextjs/public/favicon/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 664 B |
BIN
demo/nextjs/public/favicon/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
19
demo/nextjs/public/favicon/site.webmanifest
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"short_name": "",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 391 B |
@@ -1 +0,0 @@
|
|||||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB |
BIN
demo/nextjs/public/og.png
Normal file
|
After Width: | Height: | Size: 200 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 128 B |
@@ -1 +0,0 @@
|
|||||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 385 B |
216
pnpm-lock.yaml
generated
@@ -171,6 +171,9 @@ importers:
|
|||||||
framer-motion:
|
framer-motion:
|
||||||
specifier: ^11.5.4
|
specifier: ^11.5.4
|
||||||
version: 11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)
|
version: 11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)
|
||||||
|
geist:
|
||||||
|
specifier: ^1.3.1
|
||||||
|
version: 1.3.1(next@15.0.0-canary.157(@babel/core@7.25.2)(@opentelemetry/api@1.9.0)(babel-plugin-react-compiler@0.0.0)(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827))
|
||||||
input-otp:
|
input-otp:
|
||||||
specifier: ^1.2.4
|
specifier: ^1.2.4
|
||||||
version: 1.2.4(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)
|
version: 1.2.4(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)
|
||||||
@@ -842,145 +845,6 @@ importers:
|
|||||||
specifier: ^5.5.4
|
specifier: ^5.5.4
|
||||||
version: 5.5.4
|
version: 5.5.4
|
||||||
|
|
||||||
examples/next-js:
|
|
||||||
dependencies:
|
|
||||||
'@hookform/resolvers':
|
|
||||||
specifier: ^3.9.0
|
|
||||||
version: 3.9.0(react-hook-form@7.52.2(react@18.3.1))
|
|
||||||
'@libsql/kysely-libsql':
|
|
||||||
specifier: ^0.4.1
|
|
||||||
version: 0.4.1(kysely@0.27.4)
|
|
||||||
'@radix-ui/react-avatar':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-checkbox':
|
|
||||||
specifier: ^1.1.1
|
|
||||||
version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-dialog':
|
|
||||||
specifier: ^1.1.1
|
|
||||||
version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-dropdown-menu':
|
|
||||||
specifier: ^2.1.1
|
|
||||||
version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-icons':
|
|
||||||
specifier: ^1.3.0
|
|
||||||
version: 1.3.0(react@18.3.1)
|
|
||||||
'@radix-ui/react-label':
|
|
||||||
specifier: ^2.1.0
|
|
||||||
version: 2.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-select':
|
|
||||||
specifier: ^2.1.1
|
|
||||||
version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-separator':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-slot':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react@18.3.3)(react@18.3.1)
|
|
||||||
'@radix-ui/react-switch':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-tabs':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-toggle':
|
|
||||||
specifier: ^1.1.0
|
|
||||||
version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@radix-ui/react-tooltip':
|
|
||||||
specifier: ^1.1.2
|
|
||||||
version: 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
'@tabler/icons-react':
|
|
||||||
specifier: ^3.12.0
|
|
||||||
version: 3.12.0(react@18.3.1)
|
|
||||||
better-auth:
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../packages/better-auth
|
|
||||||
better-call:
|
|
||||||
specifier: ^0.1.0
|
|
||||||
version: 0.1.38(typescript@5.5.4)
|
|
||||||
better-sqlite3:
|
|
||||||
specifier: ^11.1.2
|
|
||||||
version: 11.1.2
|
|
||||||
class-variance-authority:
|
|
||||||
specifier: ^0.7.0
|
|
||||||
version: 0.7.0
|
|
||||||
clsx:
|
|
||||||
specifier: ^2.1.1
|
|
||||||
version: 2.1.1
|
|
||||||
framer-motion:
|
|
||||||
specifier: ^11.3.30
|
|
||||||
version: 11.3.30(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
input-otp:
|
|
||||||
specifier: ^1.2.4
|
|
||||||
version: 1.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
kysely:
|
|
||||||
specifier: ^0.27.4
|
|
||||||
version: 0.27.4
|
|
||||||
lucide-react:
|
|
||||||
specifier: ^0.435.0
|
|
||||||
version: 0.435.0(react@18.3.1)
|
|
||||||
mini-svg-data-uri:
|
|
||||||
specifier: ^1.4.4
|
|
||||||
version: 1.4.4
|
|
||||||
next:
|
|
||||||
specifier: 14.2.5
|
|
||||||
version: 14.2.5(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
next-themes:
|
|
||||||
specifier: ^0.3.0
|
|
||||||
version: 0.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
react:
|
|
||||||
specifier: ^18
|
|
||||||
version: 18.3.1
|
|
||||||
react-dom:
|
|
||||||
specifier: ^18
|
|
||||||
version: 18.3.1(react@18.3.1)
|
|
||||||
react-hook-form:
|
|
||||||
specifier: ^7.52.2
|
|
||||||
version: 7.52.2(react@18.3.1)
|
|
||||||
react-qr-code:
|
|
||||||
specifier: ^2.0.15
|
|
||||||
version: 2.0.15(react@18.3.1)
|
|
||||||
sonner:
|
|
||||||
specifier: ^1.5.0
|
|
||||||
version: 1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
||||||
swr:
|
|
||||||
specifier: ^2.2.5
|
|
||||||
version: 2.2.5(react@18.3.1)
|
|
||||||
tailwind-merge:
|
|
||||||
specifier: ^2.5.0
|
|
||||||
version: 2.5.2
|
|
||||||
tailwindcss-animate:
|
|
||||||
specifier: ^1.0.7
|
|
||||||
version: 1.0.7(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4)))
|
|
||||||
ua-parser-js:
|
|
||||||
specifier: ^1.0.38
|
|
||||||
version: 1.0.38
|
|
||||||
zod:
|
|
||||||
specifier: ^3.23.8
|
|
||||||
version: 3.23.8
|
|
||||||
devDependencies:
|
|
||||||
'@types/node':
|
|
||||||
specifier: ^20
|
|
||||||
version: 20.14.12
|
|
||||||
'@types/react':
|
|
||||||
specifier: ^18
|
|
||||||
version: 18.3.3
|
|
||||||
'@types/react-dom':
|
|
||||||
specifier: ^18
|
|
||||||
version: 18.3.0
|
|
||||||
'@types/ua-parser-js':
|
|
||||||
specifier: ^0.7.39
|
|
||||||
version: 0.7.39
|
|
||||||
postcss:
|
|
||||||
specifier: ^8
|
|
||||||
version: 8.4.41
|
|
||||||
tailwindcss:
|
|
||||||
specifier: ^3.4.1
|
|
||||||
version: 3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4))
|
|
||||||
typescript:
|
|
||||||
specifier: ^5
|
|
||||||
version: 5.5.4
|
|
||||||
|
|
||||||
packages/better-auth:
|
packages/better-auth:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/preset-react':
|
'@babel/preset-react':
|
||||||
@@ -2763,7 +2627,7 @@ packages:
|
|||||||
|
|
||||||
'@expo/bunyan@4.0.1':
|
'@expo/bunyan@4.0.1':
|
||||||
resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==}
|
resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {'0': node >=0.10.0}
|
||||||
|
|
||||||
'@expo/cli@0.18.29':
|
'@expo/cli@0.18.29':
|
||||||
resolution: {integrity: sha512-X810C48Ss+67RdZU39YEO1khNYo1RmjouRV+vVe0QhMoTe8R6OA3t+XYEdwaNbJ5p/DJN7szfHfNmX2glpC7xg==}
|
resolution: {integrity: sha512-X810C48Ss+67RdZU39YEO1khNYo1RmjouRV+vVe0QhMoTe8R6OA3t+XYEdwaNbJ5p/DJN7szfHfNmX2glpC7xg==}
|
||||||
@@ -9269,12 +9133,10 @@ packages:
|
|||||||
|
|
||||||
libsql@0.3.19:
|
libsql@0.3.19:
|
||||||
resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==}
|
resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==}
|
||||||
cpu: [x64, arm64, wasm32]
|
|
||||||
os: [darwin, linux, win32]
|
os: [darwin, linux, win32]
|
||||||
|
|
||||||
libsql@0.4.5:
|
libsql@0.4.5:
|
||||||
resolution: {integrity: sha512-sorTJV6PNt94Wap27Sai5gtVLIea4Otb2LUiAUyr3p6BPOScGMKGt5F1b5X/XgkNtcsDKeX5qfeBDj+PdShclQ==}
|
resolution: {integrity: sha512-sorTJV6PNt94Wap27Sai5gtVLIea4Otb2LUiAUyr3p6BPOScGMKGt5F1b5X/XgkNtcsDKeX5qfeBDj+PdShclQ==}
|
||||||
cpu: [x64, arm64, wasm32]
|
|
||||||
os: [darwin, linux, win32]
|
os: [darwin, linux, win32]
|
||||||
|
|
||||||
lighthouse-logger@1.4.2:
|
lighthouse-logger@1.4.2:
|
||||||
@@ -23320,6 +23182,10 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
next: 14.2.5(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
next: 14.2.5(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
|
|
||||||
|
geist@1.3.1(next@15.0.0-canary.157(@babel/core@7.25.2)(@opentelemetry/api@1.9.0)(babel-plugin-react-compiler@0.0.0)(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)):
|
||||||
|
dependencies:
|
||||||
|
next: 15.0.0-canary.157(@babel/core@7.25.2)(@opentelemetry/api@1.9.0)(babel-plugin-react-compiler@0.0.0)(react-dom@19.0.0-rc-7771d3a7-20240827(react@19.0.0-rc-7771d3a7-20240827))(react@19.0.0-rc-7771d3a7-20240827)
|
||||||
|
|
||||||
generate-function@2.3.1:
|
generate-function@2.3.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
is-property: 1.0.2
|
is-property: 1.0.2
|
||||||
@@ -26556,14 +26422,6 @@ snapshots:
|
|||||||
camelcase-css: 2.0.1
|
camelcase-css: 2.0.1
|
||||||
postcss: 8.4.44
|
postcss: 8.4.44
|
||||||
|
|
||||||
postcss-load-config@4.0.2(postcss@8.4.44)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4)):
|
|
||||||
dependencies:
|
|
||||||
lilconfig: 3.1.2
|
|
||||||
yaml: 2.5.0
|
|
||||||
optionalDependencies:
|
|
||||||
postcss: 8.4.44
|
|
||||||
ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4)
|
|
||||||
|
|
||||||
postcss-load-config@4.0.2(postcss@8.4.44)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2)):
|
postcss-load-config@4.0.2(postcss@8.4.44)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2)):
|
||||||
dependencies:
|
dependencies:
|
||||||
lilconfig: 3.1.2
|
lilconfig: 3.1.2
|
||||||
@@ -27183,12 +27041,6 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fast-deep-equal: 2.0.1
|
fast-deep-equal: 2.0.1
|
||||||
|
|
||||||
react-qr-code@2.0.15(react@18.3.1):
|
|
||||||
dependencies:
|
|
||||||
prop-types: 15.8.1
|
|
||||||
qr.js: 0.0.0
|
|
||||||
react: 18.3.1
|
|
||||||
|
|
||||||
react-qr-code@2.0.15(react@19.0.0-rc-7771d3a7-20240827):
|
react-qr-code@2.0.15(react@19.0.0-rc-7771d3a7-20240827):
|
||||||
dependencies:
|
dependencies:
|
||||||
prop-types: 15.8.1
|
prop-types: 15.8.1
|
||||||
@@ -28398,10 +28250,6 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
tailwindcss: 3.4.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.3.0)(typescript@5.5.4))
|
tailwindcss: 3.4.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.3.0)(typescript@5.5.4))
|
||||||
|
|
||||||
tailwindcss-animate@1.0.7(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4))):
|
|
||||||
dependencies:
|
|
||||||
tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4))
|
|
||||||
|
|
||||||
tailwindcss-animate@1.0.7(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2))):
|
tailwindcss-animate@1.0.7(tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2))):
|
||||||
dependencies:
|
dependencies:
|
||||||
tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2))
|
tailwindcss: 3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2))
|
||||||
@@ -28437,33 +28285,6 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- ts-node
|
- ts-node
|
||||||
|
|
||||||
tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4)):
|
|
||||||
dependencies:
|
|
||||||
'@alloc/quick-lru': 5.2.0
|
|
||||||
arg: 5.0.2
|
|
||||||
chokidar: 3.6.0
|
|
||||||
didyoumean: 1.2.2
|
|
||||||
dlv: 1.1.3
|
|
||||||
fast-glob: 3.3.2
|
|
||||||
glob-parent: 6.0.2
|
|
||||||
is-glob: 4.0.3
|
|
||||||
jiti: 1.21.6
|
|
||||||
lilconfig: 2.1.0
|
|
||||||
micromatch: 4.0.7
|
|
||||||
normalize-path: 3.0.0
|
|
||||||
object-hash: 3.0.0
|
|
||||||
picocolors: 1.0.1
|
|
||||||
postcss: 8.4.44
|
|
||||||
postcss-import: 15.1.0(postcss@8.4.44)
|
|
||||||
postcss-js: 4.0.1(postcss@8.4.44)
|
|
||||||
postcss-load-config: 4.0.2(postcss@8.4.44)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4))
|
|
||||||
postcss-nested: 6.2.0(postcss@8.4.44)
|
|
||||||
postcss-selector-parser: 6.1.2
|
|
||||||
resolve: 1.22.8
|
|
||||||
sucrase: 3.35.0
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- ts-node
|
|
||||||
|
|
||||||
tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2)):
|
tailwindcss@3.4.10(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@alloc/quick-lru': 5.2.0
|
'@alloc/quick-lru': 5.2.0
|
||||||
@@ -28721,27 +28542,6 @@ snapshots:
|
|||||||
'@ts-morph/common': 0.24.0
|
'@ts-morph/common': 0.24.0
|
||||||
code-block-writer: 13.0.2
|
code-block-writer: 13.0.2
|
||||||
|
|
||||||
ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.5.4):
|
|
||||||
dependencies:
|
|
||||||
'@cspotcode/source-map-support': 0.8.1
|
|
||||||
'@tsconfig/node10': 1.0.11
|
|
||||||
'@tsconfig/node12': 1.0.11
|
|
||||||
'@tsconfig/node14': 1.0.3
|
|
||||||
'@tsconfig/node16': 1.0.4
|
|
||||||
'@types/node': 20.14.12
|
|
||||||
acorn: 8.12.1
|
|
||||||
acorn-walk: 8.3.3
|
|
||||||
arg: 4.1.3
|
|
||||||
create-require: 1.1.1
|
|
||||||
diff: 4.0.2
|
|
||||||
make-error: 1.3.6
|
|
||||||
typescript: 5.5.4
|
|
||||||
v8-compile-cache-lib: 3.0.1
|
|
||||||
yn: 3.1.1
|
|
||||||
optionalDependencies:
|
|
||||||
'@swc/core': 1.7.26(@swc/helpers@0.5.13)
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2):
|
ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.14.12)(typescript@5.6.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@cspotcode/source-map-support': 0.8.1
|
'@cspotcode/source-map-support': 0.8.1
|
||||||
|
|||||||