diff --git a/apps/engine/package.json b/apps/engine/package.json index a5741060..03090661 100644 --- a/apps/engine/package.json +++ b/apps/engine/package.json @@ -31,8 +31,8 @@ "@octokit/auth-oauth-app": "^8.1.1", "@octokit/core": "^6.1.2", "@sentry/nextjs": "^8.36.0", - "@supabase/ssr": "^0.5.1", - "@supabase/supabase-js": "^2.46.1", + "@supabase/ssr": "catalog:", + "@supabase/supabase-js": "catalog:", "@t3-oss/env-core": "^0.11.1", "@t3-oss/env-nextjs": "^0.11.1", "@tanstack/react-query": "^5.59.19", @@ -44,14 +44,14 @@ "clsx": "^2.1.1", "date-fns": "^3.6.0", "design-tokens-format-module": "catalog:", - "drizzle-orm": "^0.32.2", + "drizzle-orm": "catalog:", "drizzle-zod": "^0.5.1", "framer-motion": "^11.3.21", "human-id": "^4.1.1", "memoize": "^10.0.0", "next": "catalog:", "next-safe-action": "^7.9.9", - "postgres": "^3.4.5", + "postgres": "catalog:", "posthog-js": "^1.181.0", "rambda": "^9.4.0", "react": "catalog:", diff --git a/apps/engine/src/app/app/@connections/destinations/github/_actions/disable-integration.action.tsx b/apps/engine/src/app/app/@connections/destinations/github/_actions/disable-integration.action.tsx index c896d4e3..cf31ae50 100644 --- a/apps/engine/src/app/app/@connections/destinations/github/_actions/disable-integration.action.tsx +++ b/apps/engine/src/app/app/@connections/destinations/github/_actions/disable-integration.action.tsx @@ -1,7 +1,6 @@ 'use server'; import { and, eq } from 'drizzle-orm'; - import { Integrations, integrationType } from '@ds-project/database/schema'; import { authorizedAction } from '@/lib/safe-action'; import { z } from 'zod'; diff --git a/apps/storybook/src/stories/accordion/accordion.stories.tsx b/apps/storybook/src/stories/accordion/accordion.stories.tsx index 35d85944..9aef1462 100644 --- a/apps/storybook/src/stories/accordion/accordion.stories.tsx +++ b/apps/storybook/src/stories/accordion/accordion.stories.tsx @@ -3,7 +3,7 @@ import { AccordionContent, AccordionItem, AccordionTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/alert-dialog/alert-dialog.stories.tsx b/apps/storybook/src/stories/alert-dialog/alert-dialog.stories.tsx index e8838500..16378b16 100644 --- a/apps/storybook/src/stories/alert-dialog/alert-dialog.stories.tsx +++ b/apps/storybook/src/stories/alert-dialog/alert-dialog.stories.tsx @@ -8,8 +8,8 @@ import { AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, - Button, -} from '@ds-project/components'; +} from '@ds-project/components/client'; +import { Button } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/alert/alert.stories.tsx b/apps/storybook/src/stories/alert/alert.stories.tsx index 57b2c931..3f101c81 100644 --- a/apps/storybook/src/stories/alert/alert.stories.tsx +++ b/apps/storybook/src/stories/alert/alert.stories.tsx @@ -3,15 +3,15 @@ import { AlertDescription, AlertTitle, LucideIcons, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/server'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Alert', component: Alert, render: () => ( - + Heads up! You can add components to your app using the cli. diff --git a/apps/storybook/src/stories/aspect-ratio/aspect-ratio.stories.tsx b/apps/storybook/src/stories/aspect-ratio/aspect-ratio.stories.tsx index 2b7f4e98..9f184a97 100644 --- a/apps/storybook/src/stories/aspect-ratio/aspect-ratio.stories.tsx +++ b/apps/storybook/src/stories/aspect-ratio/aspect-ratio.stories.tsx @@ -1,5 +1,5 @@ -import { AspectRatio } from '@ds-project/components'; -import { Meta } from '@storybook/react'; +import { AspectRatio } from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Aspect Ratio', @@ -9,7 +9,7 @@ export default { Photo by Drew Beamer ), diff --git a/apps/storybook/src/stories/avatar/avatar.stories.tsx b/apps/storybook/src/stories/avatar/avatar.stories.tsx index 6d26101c..87499d7e 100644 --- a/apps/storybook/src/stories/avatar/avatar.stories.tsx +++ b/apps/storybook/src/stories/avatar/avatar.stories.tsx @@ -2,9 +2,8 @@ import { Avatar, AvatarFallback, AvatarImage, - Button, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Avatar', diff --git a/apps/storybook/src/stories/badge/badge.stories.tsx b/apps/storybook/src/stories/badge/badge.stories.tsx index c903688d..1be509ff 100644 --- a/apps/storybook/src/stories/badge/badge.stories.tsx +++ b/apps/storybook/src/stories/badge/badge.stories.tsx @@ -1,5 +1,5 @@ -import { Badge, Button } from '@ds-project/components'; -import { Meta } from '@storybook/react'; +import { Badge } from '@ds-project/components/server'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Badge', diff --git a/apps/storybook/src/stories/breadcrumb/breadcrump.stories.tsx b/apps/storybook/src/stories/breadcrumb/breadcrump.stories.tsx index a42a4d52..225f0504 100644 --- a/apps/storybook/src/stories/breadcrumb/breadcrump.stories.tsx +++ b/apps/storybook/src/stories/breadcrumb/breadcrump.stories.tsx @@ -1,5 +1,4 @@ import { - Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, @@ -7,13 +6,14 @@ import { BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, - Button, +} from '@ds-project/components/server'; +import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Breadcrumb', @@ -28,7 +28,7 @@ export default { - + Toggle menu diff --git a/apps/storybook/src/stories/button/button.stories.ts b/apps/storybook/src/stories/button/button.stories.ts index 9fdf5e46..6da3aa78 100644 --- a/apps/storybook/src/stories/button/button.stories.ts +++ b/apps/storybook/src/stories/button/button.stories.ts @@ -1,4 +1,4 @@ -import { Button } from '@ds-project/components'; +import { Button } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/card/card.stories.tsx b/apps/storybook/src/stories/card/card.stories.tsx index aee99db0..be4e464a 100644 --- a/apps/storybook/src/stories/card/card.stories.tsx +++ b/apps/storybook/src/stories/card/card.stories.tsx @@ -8,13 +8,15 @@ import { CardTitle, Input, Label, +} from '@ds-project/components/server'; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Card', diff --git a/apps/storybook/src/stories/checkbox/checkbox.stories.tsx b/apps/storybook/src/stories/checkbox/checkbox.stories.tsx index be1fcaf7..0c516786 100644 --- a/apps/storybook/src/stories/checkbox/checkbox.stories.tsx +++ b/apps/storybook/src/stories/checkbox/checkbox.stories.tsx @@ -1,4 +1,4 @@ -import { Button, Checkbox } from '@ds-project/components'; +import { Checkbox } from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/dialog/dialog.stories.tsx b/apps/storybook/src/stories/dialog/dialog.stories.tsx index 94cb1941..97f97f79 100644 --- a/apps/storybook/src/stories/dialog/dialog.stories.tsx +++ b/apps/storybook/src/stories/dialog/dialog.stories.tsx @@ -1,5 +1,5 @@ +import { Button, Input, Label } from '@ds-project/components/server'; import { - Button, Dialog, DialogContent, DialogDescription, @@ -7,10 +7,8 @@ import { DialogHeader, DialogTitle, DialogTrigger, - Input, - Label, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Dialog', diff --git a/apps/storybook/src/stories/dropdown-menu/dropdown-menu.stories.tsx b/apps/storybook/src/stories/dropdown-menu/dropdown-menu.stories.tsx index 122988db..14b1dc2d 100644 --- a/apps/storybook/src/stories/dropdown-menu/dropdown-menu.stories.tsx +++ b/apps/storybook/src/stories/dropdown-menu/dropdown-menu.stories.tsx @@ -1,5 +1,5 @@ +import { Button, LucideIcons } from '@ds-project/components/server'; import { - Button, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, @@ -12,9 +12,8 @@ import { DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, - LucideIcons, -} from '@ds-project/components'; -import { Meta } from '@storybook/react'; +} from '@ds-project/components/client'; +import type { Meta } from '@storybook/react'; export default { title: 'Components/Dropdown Menu', @@ -29,22 +28,22 @@ export default { - + Profile ⇧⌘P - + Billing ⌘B - + Settings ⌘S - + Keyboard shortcuts ⌘K @@ -52,54 +51,54 @@ export default { - + Team - + Invite users - + Email - + Message - + More... - + New Team ⌘+T - + GitHub - + Support - + API - + Log out ⇧⌘Q diff --git a/apps/storybook/src/stories/form/form.stories.tsx b/apps/storybook/src/stories/form/form.stories.tsx index 96440c1a..44fd2ede 100644 --- a/apps/storybook/src/stories/form/form.stories.tsx +++ b/apps/storybook/src/stories/form/form.stories.tsx @@ -1,5 +1,4 @@ import { - Button, Form, FormControl, FormDescription, @@ -7,13 +6,14 @@ import { FormItem, FormLabel, FormMessage, -} from '@ds-project/components'; +} from '@ds-project/components/client'; +import { Button } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; import { zodResolver } from '@hookform/resolvers/zod'; import { useForm } from 'react-hook-form'; import { z } from 'zod'; -import { toast } from '@ds-project/components'; -import { Input } from '@ds-project/components'; +import { toast } from '@ds-project/components/client'; +import { Input } from '@ds-project/components/server'; const FormSchema = z.object({ username: z.string().min(2, { diff --git a/apps/storybook/src/stories/icons/icons.mdx b/apps/storybook/src/stories/icons/icons.mdx index 4acb0434..df3431d9 100644 --- a/apps/storybook/src/stories/icons/icons.mdx +++ b/apps/storybook/src/stories/icons/icons.mdx @@ -1,5 +1,5 @@ import { IconGallery, IconItem, Meta } from '@storybook/blocks'; -import { Icons, LucideIcons } from '@ds-project/components'; +import { Icons, LucideIcons } from '@ds-project/components/server'; diff --git a/apps/storybook/src/stories/input-otp/input-otp.stories.tsx b/apps/storybook/src/stories/input-otp/input-otp.stories.tsx index 371d0504..95d7a51f 100644 --- a/apps/storybook/src/stories/input-otp/input-otp.stories.tsx +++ b/apps/storybook/src/stories/input-otp/input-otp.stories.tsx @@ -1,10 +1,9 @@ import { - Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/input/input.stories.ts b/apps/storybook/src/stories/input/input.stories.ts index 7ada7e79..27a15c3b 100644 --- a/apps/storybook/src/stories/input/input.stories.ts +++ b/apps/storybook/src/stories/input/input.stories.ts @@ -1,4 +1,4 @@ -import { Input } from '@ds-project/components'; +import { Input } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/label/label.stories.tsx b/apps/storybook/src/stories/label/label.stories.tsx index b0072389..ec768fd7 100644 --- a/apps/storybook/src/stories/label/label.stories.tsx +++ b/apps/storybook/src/stories/label/label.stories.tsx @@ -1,4 +1,5 @@ -import { Checkbox, Label } from '@ds-project/components'; +import { Checkbox } from '@ds-project/components/client'; +import { Label } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/menubar/menubar.stories.tsx b/apps/storybook/src/stories/menubar/menubar.stories.tsx index c7c97eaa..4125a7d4 100644 --- a/apps/storybook/src/stories/menubar/menubar.stories.tsx +++ b/apps/storybook/src/stories/menubar/menubar.stories.tsx @@ -1,5 +1,4 @@ import { - Button, Menubar, MenubarCheckboxItem, MenubarContent, @@ -13,7 +12,7 @@ import { MenubarSubContent, MenubarSubTrigger, MenubarTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/navigation-menu/navigation-menu.stories.tsx b/apps/storybook/src/stories/navigation-menu/navigation-menu.stories.tsx index 60c3e1bb..04b87e27 100644 --- a/apps/storybook/src/stories/navigation-menu/navigation-menu.stories.tsx +++ b/apps/storybook/src/stories/navigation-menu/navigation-menu.stories.tsx @@ -1,8 +1,5 @@ import { - Button, - cn, DSLogo, - Icons, NavigationMenu, NavigationMenuContent, NavigationMenuItem, @@ -10,7 +7,8 @@ import { NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, -} from '@ds-project/components'; +} from '@ds-project/components/server'; +import { cn } from '@ds-project/components'; import type { Meta } from '@storybook/react'; import React from 'react'; @@ -68,7 +66,7 @@ const ListItem = React.forwardRef< {...props} >
{title}
-

+

{children}

@@ -91,12 +89,12 @@ export default {
  • - +
    DS Pro
    -

    +

    Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source. diff --git a/apps/storybook/src/stories/popover/popover.stories.tsx b/apps/storybook/src/stories/popover/popover.stories.tsx index eb8439ec..c9dc686f 100644 --- a/apps/storybook/src/stories/popover/popover.stories.tsx +++ b/apps/storybook/src/stories/popover/popover.stories.tsx @@ -1,11 +1,9 @@ +import { Button, Input, Label } from '@ds-project/components/server'; import { - Button, - Input, - Label, Popover, PopoverContent, PopoverTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { @@ -20,7 +18,7 @@ export default {

    Dimensions

    -

    +

    Set the dimensions for the layer.

    diff --git a/apps/storybook/src/stories/select/select.stories.tsx b/apps/storybook/src/stories/select/select.stories.tsx index 712fac2d..cd50c05c 100644 --- a/apps/storybook/src/stories/select/select.stories.tsx +++ b/apps/storybook/src/stories/select/select.stories.tsx @@ -6,7 +6,7 @@ import { SelectLabel, SelectTrigger, SelectValue, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/separator/separator.stories.tsx b/apps/storybook/src/stories/separator/separator.stories.tsx index 5658ac98..cce73cab 100644 --- a/apps/storybook/src/stories/separator/separator.stories.tsx +++ b/apps/storybook/src/stories/separator/separator.stories.tsx @@ -1,4 +1,4 @@ -import { Separator } from '@ds-project/components'; +import { Separator } from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { @@ -8,7 +8,7 @@ export default {

    Radix Primitives

    -

    +

    An open-source UI component library.

    diff --git a/apps/storybook/src/stories/sheet/sheet.stories.tsx b/apps/storybook/src/stories/sheet/sheet.stories.tsx index df961c38..776e3076 100644 --- a/apps/storybook/src/stories/sheet/sheet.stories.tsx +++ b/apps/storybook/src/stories/sheet/sheet.stories.tsx @@ -1,7 +1,4 @@ import { - Button, - Input, - Label, Sheet, SheetClose, SheetContent, @@ -10,7 +7,8 @@ import { SheetHeader, SheetTitle, SheetTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; +import { Button, Input, Label } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/switch/switch.stories.tsx b/apps/storybook/src/stories/switch/switch.stories.tsx index 8c2d2e11..34f60bea 100644 --- a/apps/storybook/src/stories/switch/switch.stories.tsx +++ b/apps/storybook/src/stories/switch/switch.stories.tsx @@ -1,4 +1,5 @@ -import { Label, Switch } from '@ds-project/components'; +import { Label } from '@ds-project/components/server'; +import { Switch } from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/tabs/tabs.stories.tsx b/apps/storybook/src/stories/tabs/tabs.stories.tsx index 20818aab..bd70bad5 100644 --- a/apps/storybook/src/stories/tabs/tabs.stories.tsx +++ b/apps/storybook/src/stories/tabs/tabs.stories.tsx @@ -8,11 +8,13 @@ import { CardTitle, Input, Label, +} from '@ds-project/components/server'; +import { Tabs, TabsContent, TabsList, TabsTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/text/text.stories.tsx b/apps/storybook/src/stories/text/text.stories.tsx index 27b39932..614ef830 100644 --- a/apps/storybook/src/stories/text/text.stories.tsx +++ b/apps/storybook/src/stories/text/text.stories.tsx @@ -1,4 +1,4 @@ -import { Text } from '@ds-project/components'; +import { Text } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/apps/storybook/src/stories/toaster/toaster.stories.tsx b/apps/storybook/src/stories/toaster/toaster.stories.tsx index af4fd402..b1533375 100644 --- a/apps/storybook/src/stories/toaster/toaster.stories.tsx +++ b/apps/storybook/src/stories/toaster/toaster.stories.tsx @@ -1,10 +1,10 @@ +import { Button } from '@ds-project/components/server'; import { - Button, Toast, ToastAction, Toaster, useToast, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import type { Meta } from '@storybook/react'; function ToastStory() { diff --git a/apps/storybook/src/stories/tooltip/tooltip.stories.tsx b/apps/storybook/src/stories/tooltip/tooltip.stories.tsx index 2a856202..9221adfb 100644 --- a/apps/storybook/src/stories/tooltip/tooltip.stories.tsx +++ b/apps/storybook/src/stories/tooltip/tooltip.stories.tsx @@ -1,10 +1,10 @@ import { - Button, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, -} from '@ds-project/components'; +} from '@ds-project/components/client'; +import { Button } from '@ds-project/components/server'; import type { Meta } from '@storybook/react'; export default { diff --git a/package.json b/package.json index a9286a6d..cd00c041 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,9 @@ "overrides": { "@trpc/client": "11.0.0-rc.482", "@trpc/server": "11.0.0-rc.482", - "typescript": "5.5.4" + "typescript": "5.5.4", + "react": "19.0.0-rc-02c0e824-20241028", + "react-dom": "19.0.0-rc-02c0e824-20241028" } } } diff --git a/packages/api/src/operations/release.ts b/packages/api/src/operations/release.ts index 418ad167..1880b7e3 100644 --- a/packages/api/src/operations/release.ts +++ b/packages/api/src/operations/release.ts @@ -1,13 +1,13 @@ import { getInstallationOctokit, pushFile } from '@ds-project/services/github'; import { selectGithubIntegration } from '../queries/integrations'; -import type { DSContext } from '../types/context'; +import type { BaseContext } from '../types/context'; import type { JSONTokenTree } from 'design-tokens-format-module'; export async function release({ ctx, designTokens, }: { - ctx: DSContext; + ctx: BaseContext; designTokens: JSONTokenTree | null; }) { const githubIntegration = await selectGithubIntegration({ ctx }); diff --git a/packages/api/src/queries/integrations.ts b/packages/api/src/queries/integrations.ts index e3950535..d5d63178 100644 --- a/packages/api/src/queries/integrations.ts +++ b/packages/api/src/queries/integrations.ts @@ -1,12 +1,16 @@ import { eq } from '@ds-project/database'; -import type { DSContext } from '../types/context'; +import type { AuthenticatedContext, BaseContext } from '../types/context'; import { AccountsToProjects, Integrations, integrationType, } from '@ds-project/database/schema'; -export const selectGithubIntegration = async ({ ctx }: { ctx: DSContext }) => { +export const selectGithubIntegration = async ({ + ctx, +}: { + ctx: BaseContext; +}) => { const queryResult = await ctx.database.query.Integrations.findFirst({ where: () => eq(Integrations.type, integrationType.Enum.github), columns: { @@ -24,7 +28,11 @@ export const selectGithubIntegration = async ({ ctx }: { ctx: DSContext }) => { return undefined; }; -export const selectFigmaIntegration = async ({ ctx }: { ctx: DSContext }) => { +export const selectFigmaIntegration = async ({ + ctx, +}: { + ctx: AuthenticatedContext; +}) => { const [queryResult] = await ctx.database .select({ data: Integrations.data, diff --git a/packages/api/src/trpc.ts b/packages/api/src/trpc.ts index 52139ce7..f6b50abb 100644 --- a/packages/api/src/trpc.ts +++ b/packages/api/src/trpc.ts @@ -18,6 +18,7 @@ import { eq, sql } from '@ds-project/database'; import type { Account } from '@ds-project/database/schema'; import type { Database } from '@ds-project/database'; import { KeyHippo } from 'keyhippo'; +import type { AuthenticatedContext, BaseContext } from './types/context'; /** * 1. CONTEXT @@ -34,7 +35,7 @@ import { KeyHippo } from 'keyhippo'; export const createTRPCContext = async (opts: { headers: Headers; account: Account | null; -}) => { +}): Promise => { const supabase = await createServerClient(); const keyHippo = new KeyHippo(supabase); const { userId } = await keyHippo.authenticate(opts.headers); @@ -163,14 +164,13 @@ export const authenticatedProcedure = t.procedure .use(timingMiddleware) .use(({ ctx, next }) => { return ctx.database.transaction(async (tx) => { - if (!ctx.userId) { + const { userId } = ctx; + if (!userId) { throw new TRPCError({ code: 'UNAUTHORIZED' }); } await tx.execute( - sql.raw( - `SELECT set_config('request.jwt.claim.sub', '${ctx.userId}', TRUE)` - ) + sql.raw(`SELECT set_config('request.jwt.claim.sub', '${userId}', TRUE)`) ); await tx.execute( @@ -181,9 +181,9 @@ export const authenticatedProcedure = t.procedure await tx.execute(sql.raw(`SET ROLE 'authenticated'`)); - const account = ctx.userId + const account = userId ? ((await tx.query.Accounts.findFirst({ - where: (accounts) => eq(accounts.userId, ctx.userId), + where: (accounts) => eq(accounts.userId, userId), })) ?? null) : null; @@ -199,7 +199,7 @@ export const authenticatedProcedure = t.procedure ...ctx, database: tx, account, - }, + } satisfies AuthenticatedContext, }); await tx.execute( diff --git a/packages/api/src/types/context.ts b/packages/api/src/types/context.ts index bf668452..daa460f3 100644 --- a/packages/api/src/types/context.ts +++ b/packages/api/src/types/context.ts @@ -1,7 +1,18 @@ -import type { database } from '@ds-project/database/client'; +import type { createServerClient } from '@ds-project/auth/server'; +import type { + Database, + DatabaseConnection, + DatabaseTransaction, +} from '@ds-project/database'; import type { Account } from '@ds-project/database/schema'; -export interface DSContext { - database: typeof database; +export interface BaseContext { + supabase: Awaited>>; + userId?: string; + authRole: 'api' | 'browser'; + database: DatabaseConnection | DatabaseTransaction; +} + +export interface AuthenticatedContext extends BaseContext { account: Account; } diff --git a/packages/auth/package.json b/packages/auth/package.json index a5601176..b23a6e87 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -27,8 +27,8 @@ "prettier": "@ds-project/prettier", "dependencies": { "@next/env": "^14.2.13", - "@supabase/ssr": "^0.4.0", - "@supabase/supabase-js": "^2.45.0", + "@supabase/ssr": "catalog:", + "@supabase/supabase-js": "catalog:", "@t3-oss/env-core": "^0.11.1", "next": "catalog:", "zod": "catalog:" diff --git a/packages/database/package.json b/packages/database/package.json index cb3636c9..3e570071 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -45,9 +45,9 @@ "@t3-oss/env-nextjs": "^0.11.1", "design-tokens-format-module": "catalog:", "drizzle-kit": "^0.24.2", - "drizzle-orm": "^0.32.2", + "drizzle-orm": "catalog:", "drizzle-zod": "^0.5.1", - "postgres": "^3.4.4", + "postgres": "catalog:", "server-only": "^0.0.1", "zod": "^3.23.8" }, diff --git a/packages/database/src/index.ts b/packages/database/src/index.ts index fcc90b01..547d8a87 100644 --- a/packages/database/src/index.ts +++ b/packages/database/src/index.ts @@ -1,2 +1,3 @@ export * from 'drizzle-orm'; +export * from './types'; export * from './__generated__/database.types'; diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts new file mode 100644 index 00000000..f8fcaab0 --- /dev/null +++ b/packages/database/src/types.ts @@ -0,0 +1,12 @@ +import type { PgTransaction } from 'drizzle-orm/pg-core'; +import type { database } from './client'; +import type { PostgresJsQueryResultHKT } from 'drizzle-orm/postgres-js'; +import type * as schema from './schema'; +import type { ExtractTablesWithRelations } from 'drizzle-orm'; + +export type DatabaseConnection = typeof database; +export type DatabaseTransaction = PgTransaction< + PostgresJsQueryResultHKT, + typeof schema, + ExtractTablesWithRelations +>; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ea07a9b1..623de6b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,12 @@ catalogs: '@figma/widget-typings': specifier: ^1.9.1 version: 1.9.1 + '@supabase/ssr': + specifier: ^0.5.1 + version: 0.5.1 + '@supabase/supabase-js': + specifier: ^2.46.1 + version: 2.46.1 '@trpc/react-query': specifier: 11.0.0-rc.482 version: 11.0.0-rc.482 @@ -33,6 +39,9 @@ catalogs: design-tokens-format-module: specifier: ^0.10.1 version: 0.10.1 + drizzle-orm: + specifier: 0.36.0 + version: 0.36.0 eslint: specifier: ^8.57.0 version: 8.57.0 @@ -42,15 +51,12 @@ catalogs: postcss: specifier: ^8.4.39 version: 8.4.45 + postgres: + specifier: 3.4.5 + version: 3.4.5 prettier: specifier: ^3.3.3 version: 3.3.3 - react: - specifier: 19.0.0-rc-02c0e824-20241028 - version: 19.0.0-rc-02c0e824-20241028 - react-dom: - specifier: 19.0.0-rc-02c0e824-20241028 - version: 19.0.0-rc-02c0e824-20241028 react-hook-form: specifier: ^7.53.1 version: 7.53.1 @@ -71,6 +77,8 @@ overrides: '@trpc/client': 11.0.0-rc.482 '@trpc/server': 11.0.0-rc.482 typescript: 5.5.4 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 importers: @@ -137,10 +145,10 @@ importers: specifier: ^8.36.0 version: 8.36.0(@opentelemetry/core@1.26.0(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.53.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.26.0(@opentelemetry/api@1.9.0))(next@15.0.2(@opentelemetry/api@1.9.0)(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(sass@1.77.8))(react@19.0.0-rc-02c0e824-20241028)(webpack@5.94.0(esbuild@0.19.12)) '@supabase/ssr': - specifier: ^0.5.1 + specifier: 'catalog:' version: 0.5.1(@supabase/supabase-js@2.46.1) '@supabase/supabase-js': - specifier: ^2.46.1 + specifier: 'catalog:' version: 2.46.1 '@t3-oss/env-core': specifier: ^0.11.1 @@ -176,11 +184,11 @@ importers: specifier: 'catalog:' version: 0.10.1 drizzle-orm: - specifier: ^0.32.2 - version: 0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1) + specifier: 'catalog:' + version: 0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1) drizzle-zod: specifier: ^0.5.1 - version: 0.5.1(drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1))(zod@3.23.8) + version: 0.5.1(drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1))(zod@3.23.8) framer-motion: specifier: ^11.3.21 version: 11.3.21(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028) @@ -197,7 +205,7 @@ importers: specifier: ^7.9.9 version: 7.9.9(next@15.0.2(@opentelemetry/api@1.9.0)(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(sass@1.77.8))(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(zod@3.23.8) postgres: - specifier: ^3.4.5 + specifier: 'catalog:' version: 3.4.5 posthog-js: specifier: ^1.181.0 @@ -206,13 +214,13 @@ importers: specifier: ^9.4.0 version: 9.4.0 react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 react-diff-viewer: specifier: ^3.1.1 version: 3.1.1(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028) react-dom: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) react-hook-form: specifier: 'catalog:' @@ -318,10 +326,10 @@ importers: specifier: ^3.9.0 version: 3.9.0(react-hook-form@7.53.1(react@19.0.0-rc-02c0e824-20241028)) react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 react-dom: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) react-hook-form: specifier: 'catalog:' @@ -436,7 +444,7 @@ importers: specifier: 'catalog:' version: 15.0.2(@opentelemetry/api@1.9.0)(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(sass@1.77.8) react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 superjson: specifier: ^2.2.1 @@ -473,11 +481,11 @@ importers: specifier: ^14.2.13 version: 14.2.13 '@supabase/ssr': - specifier: ^0.4.0 - version: 0.4.0(@supabase/supabase-js@2.45.0) + specifier: 'catalog:' + version: 0.5.1(@supabase/supabase-js@2.46.1) '@supabase/supabase-js': - specifier: ^2.45.0 - version: 2.45.0 + specifier: 'catalog:' + version: 2.46.1 '@t3-oss/env-core': specifier: ^0.11.1 version: 0.11.1(typescript@5.5.4)(zod@3.23.8) @@ -588,10 +596,10 @@ importers: specifier: ^0.454.0 version: 0.454.0(react@19.0.0-rc-02c0e824-20241028) react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 react-dom: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) react-hook-form: specifier: 'catalog:' @@ -688,14 +696,14 @@ importers: specifier: ^0.24.2 version: 0.24.2 drizzle-orm: - specifier: ^0.32.2 - version: 0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.4)(react@18.3.1) + specifier: 'catalog:' + version: 0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028) drizzle-zod: specifier: ^0.5.1 - version: 0.5.1(drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.4)(react@18.3.1))(zod@3.23.8) + version: 0.5.1(drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028))(zod@3.23.8) postgres: - specifier: ^3.4.4 - version: 3.4.4 + specifier: 'catalog:' + version: 3.4.5 server-only: specifier: ^0.0.1 version: 0.0.1 @@ -734,7 +742,7 @@ importers: specifier: ^1.0.1 version: 1.0.1(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028) react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 resend: specifier: ^4.0.0 @@ -826,10 +834,10 @@ importers: specifier: ^9.2.1 version: 9.2.1 react: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028 react-dom: - specifier: 'catalog:' + specifier: 19.0.0-rc-02c0e824-20241028 version: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) superjson: specifier: ^2.2.1 @@ -2346,8 +2354,8 @@ packages: '@floating-ui/react-dom@2.1.1': resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==} peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@floating-ui/utils@0.2.5': resolution: {integrity: sha512-sTcG+QZ6fdEUObICavU+aB3Mp8HY4n14wYHdxK4fXjPmv3PXZZeY5RaguJmGyeH/CJQhX3fqKUtS4qc1LoHwhQ==} @@ -2540,13 +2548,13 @@ packages: resolution: {integrity: sha512-9ZrPIU4MGf6et1m1ov3zKf+q9+deetI51zprKB1D/z3NOb+rUxxtEl3mCjW5wTGh6VhRdwPueh1oRzi6ezkA8A==} peerDependencies: '@types/react': '>=16' - react: '>=16' + react: 19.0.0-rc-02c0e824-20241028 '@mdx-js/react@3.1.0': resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: '@types/react': '>=16' - react: '>=16' + react: 19.0.0-rc-02c0e824-20241028 '@microsoft/api-extractor-model@7.29.8': resolution: {integrity: sha512-t3Z/xcO6TRbMcnKGVMs4uMzv/gd5j0NhMiJIGjD4cJMeFJ1Hf8wnLSx37vxlRlL0GWlGJhnFgxvnaL6JlS+73g==} @@ -3043,8 +3051,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3056,8 +3064,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3069,8 +3077,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3082,8 +3090,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3095,8 +3103,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3108,8 +3116,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3121,8 +3129,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3134,8 +3142,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3146,7 +3154,7 @@ packages: resolution: {integrity: sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3155,7 +3163,7 @@ packages: resolution: {integrity: sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3164,7 +3172,7 @@ packages: resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3174,8 +3182,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3186,7 +3194,7 @@ packages: resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3196,8 +3204,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3209,8 +3217,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3221,7 +3229,7 @@ packages: resolution: {integrity: sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3231,8 +3239,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3242,13 +3250,13 @@ packages: '@radix-ui/react-icons@1.3.1': resolution: {integrity: sha512-QvYompk0X+8Yjlo/Fv4McrzxohDdM5GgLHyQcPpcsPvlOSXCGFjdbuyGL5dzRbg0GpknAjQJJZzdiRK7iWVuFQ==} peerDependencies: - react: ^16.x || ^17.x || ^18.x || ^19.x + react: 19.0.0-rc-02c0e824-20241028 '@radix-ui/react-id@1.1.0': resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3258,8 +3266,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3271,8 +3279,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3284,8 +3292,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3297,8 +3305,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3310,8 +3318,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3323,8 +3331,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3336,8 +3344,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3349,8 +3357,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3362,8 +3370,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3375,8 +3383,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3388,8 +3396,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3401,8 +3409,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3413,7 +3421,7 @@ packages: resolution: {integrity: sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3423,8 +3431,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3436,8 +3444,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3449,8 +3457,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3462,8 +3470,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3474,7 +3482,7 @@ packages: resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3483,7 +3491,7 @@ packages: resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3492,7 +3500,7 @@ packages: resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3501,7 +3509,7 @@ packages: resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3510,7 +3518,7 @@ packages: resolution: {integrity: sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3519,7 +3527,7 @@ packages: resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3528,7 +3536,7 @@ packages: resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==} peerDependencies: '@types/react': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3538,8 +3546,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -3552,134 +3560,134 @@ packages: '@react-email/body@0.0.10': resolution: {integrity: sha512-dMJyL9aU25ieatdPtVjCyQ/WHZYHwNc+Hy/XpF8Cc18gu21cUynVEeYQzFSeigDRMeBQ3PGAyjVDPIob7YlGwA==} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/button@0.0.17': resolution: {integrity: sha512-ioHdsk+BpGS/PqjU6JS7tUrVy9yvbUx92Z+Cem2+MbYp55oEwQ9VHf7u4f5NoM0gdhfKSehBwRdYlHt/frEMcg==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/code-block@0.0.8': resolution: {integrity: sha512-WbuAEpTnB262i9C3SGPmmErgZ4iU5KIpqLUjr7uBJijqldLqZc5x39e8wPWaRdF7NLcShmrc/+G7GJgI1bdC5w==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/code-inline@0.0.4': resolution: {integrity: sha512-zj3oMQiiUCZbddSNt3k0zNfIBFK0ZNDIzzDyBaJKy6ZASTtWfB+1WFX0cpTX8q0gUiYK+A94rk5Qp68L6YXjXQ==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/column@0.0.12': resolution: {integrity: sha512-Rsl7iSdDaeHZO938xb+0wR5ud0Z3MVfdtPbNKJNojZi2hApwLAQXmDrnn/AcPDM5Lpl331ZljJS8vHTWxxkvKw==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/components@0.0.24': resolution: {integrity: sha512-/DNmfTREaT59UFdkHoIK3BewJ214LfRxmduiil3m7POj+gougkItANu1+BMmgbUATxjf7jH1WoBxo9x/rhFEFw==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/container@0.0.14': resolution: {integrity: sha512-NgoaJJd9tTtsrveL86Ocr/AYLkGyN3prdXKd/zm5fQpfDhy/NXezyT3iF6VlwAOEUIu64ErHpAJd+P6ygR+vjg==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/font@0.0.8': resolution: {integrity: sha512-fSBEqYyVPAyyACBBHcs3wEYzNknpHMuwcSAAKE8fOoDfGqURr/vSxKPdh4tOa9z7G4hlcEfgGrCYEa2iPT22cw==} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/head@0.0.11': resolution: {integrity: sha512-skw5FUgyamIMK+LN+fZQ5WIKQYf0dPiRAvsUAUR2eYoZp9oRsfkIpFHr0GWPkKAYjFEj+uJjaxQ/0VzQH7svVg==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/heading@0.0.14': resolution: {integrity: sha512-jZM7IVuZOXa0G110ES8OkxajPTypIKlzlO1K1RIe1auk76ukQRiCg1IRV4HZlWk1GGUbec5hNxsvZa2kU8cb9w==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/hr@0.0.10': resolution: {integrity: sha512-3AA4Yjgl3zEid/KVx6uf6TuLJHVZvUc2cG9Wm9ZpWeAX4ODA+8g9HyuC0tfnjbRsVMhMcCGiECuWWXINi+60vA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/html@0.0.10': resolution: {integrity: sha512-06uiuSKJBWQJfhCKv4MPupELei4Lepyz9Sth7Yq7Fq29CAeB1ejLgKkGqn1I+FZ72hQxPLdYF4iq4yloKv3JCg==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/img@0.0.10': resolution: {integrity: sha512-pJ8glJjDNaJ53qoM95pvX9SK05yh0bNQY/oyBKmxlBDdUII6ixuMc3SCwYXPMl+tgkQUyDgwEBpSTrLAnjL3hA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/link@0.0.10': resolution: {integrity: sha512-tva3wvAWSR10lMJa9fVA09yRn7pbEki0ZZpHE6GD1jKbFhmzt38VgLO9B797/prqoDZdAr4rVK7LJFcdPx3GwA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/markdown@0.0.12': resolution: {integrity: sha512-wsuvj1XAb6O63aizCLNEeqVgKR3oFjAwt9vjfg2y2oh4G1dZeo8zonZM2x1fmkEkBZhzwSHraNi70jSXhA3A9w==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/preview@0.0.11': resolution: {integrity: sha512-7O/CT4b16YlSGrj18htTPx3Vbhu2suCGv/cSe5c+fuSrIM/nMiBSZ3Js16Vj0XJbAmmmlVmYFZw9L20wXJ+LjQ==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/render@0.0.17': resolution: {integrity: sha512-xBQ+/73+WsGuXKY7r1U73zMBNV28xdV0cp9cFjhNYipBReDHhV97IpA6v7Hl0dDtDzt+yS/72dY5vYXrF1v8NA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.2.0 - react-dom: ^18.2.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@react-email/render@1.0.1': resolution: {integrity: sha512-W3gTrcmLOVYnG80QuUp22ReIT/xfLsVJ+n7ghSlG2BITB8evNABn1AO2rGQoXuK84zKtDAlxCdm3hRyIpZdGSA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@react-email/row@0.0.10': resolution: {integrity: sha512-jPyEhG3gsLX+Eb9U+A30fh0gK6hXJwF4ghJ+ZtFQtlKAKqHX+eCpWlqB3Xschd/ARJLod8WAswg0FB+JD9d0/A==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/section@0.0.14': resolution: {integrity: sha512-+fYWLb4tPU1A/+GE5J1+SEMA7/wR3V30lQ+OR9t2kAJqNrARDbMx0bLnYnR1QL5TiFRz0pCF05SQUobk6gHEDQ==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/tailwind@0.1.0': resolution: {integrity: sha512-qysVUEY+M3SKUvu35XDpzn7yokhqFOT3tPU6Mj/pgc62TL5tQFj6msEbBtwoKs2qO3WZvai0DIHdLhaOxBQSow==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@react-email/text@0.0.10': resolution: {integrity: sha512-wNAnxeEAiFs6N+SxS0y6wTJWfewEzUETuyS2aZmT00xk50VijwyFRuhm4sYSjusMyshevomFwz5jNISCxRsGWw==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^18.0 || ^19.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 '@resvg/resvg-js-android-arm-eabi@2.6.2': resolution: {integrity: sha512-FrJibrAk6v29eabIPgcTUMPXiEz8ssrAk7TXxsiZzww9UTQ1Z5KAbFJs+Z0Ez+VZTYgnE5IQJqBcoSiMebtPHA==} @@ -4086,7 +4094,7 @@ packages: resolution: {integrity: sha512-YIJZUx7Q5aulK034cRri0p/7MeP3tdLfdP6vMJMwrVlqoWQI9gKZXikmLIqHUQegZdMRYX5tr03gTWJu3dhYwg==} engines: {node: '>=14.18'} peerDependencies: - react: ^16.14.0 || 17.x || 18.x || 19.x + react: 19.0.0-rc-02c0e824-20241028 '@sentry/types@8.36.0': resolution: {integrity: sha512-K1pVFfdGHw115RzGHpwSOqoEPeayn4N1F9IfM0kxrYpQSbFT1X29eak88GBfC8gPiLEF0iFGlSaQ4ERmF7oRcA==} @@ -4158,7 +4166,7 @@ packages: '@storybook/addon-links@8.2.3': resolution: {integrity: sha512-PAVj0ArWpW0Mwva4UzKZs1AxaUMmMTKsF5PFzUJ2fpHTfXOAnST59twDRn11XyWlb4QS+Ek0ok3k/scvOYbAyg==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 storybook: ^8.2.3 peerDependenciesMeta: react: @@ -4192,8 +4200,8 @@ packages: '@storybook/blocks@8.2.3': resolution: {integrity: sha512-izbyT+6bV2/0dApRh97kJZWEwXKTMIU6zmvI8bD4Ii/cWtd2c8KchKM4s00t11kaCg5yuaqGL60MRs/YT/QHQw==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.2.3 peerDependenciesMeta: react: @@ -4204,8 +4212,8 @@ packages: '@storybook/blocks@8.3.6': resolution: {integrity: sha512-Oc5jU6EzfsENjrd91KcKyEKBh60RT+8uyLi1RIrymC2C/mzZMTEoNIrbnQt0eIqbjlHxn6y9JMJxHu4NJ4EmZg==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.3.6 peerDependenciesMeta: react: @@ -4252,15 +4260,15 @@ packages: resolution: {integrity: sha512-UxgyK5W3/UV4VrI3dl6ajGfHM4aOqMAkFLWe2KibeQudLf6NJpDrDMSHwZj+3iKC4jFU7dkKbbtH2h/al4sW3Q==} engines: {node: '>=14.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@storybook/icons@1.2.9': resolution: {integrity: sha512-cOmylsz25SYXaJL/gvTk/dl3pyk7yBFRfeXTsHvTA3dfhoU/LWSq0NKL9nM7WBasJyn6XPSGnLS4RtKXLw5EUg==} engines: {node: '>=14.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@storybook/instrumenter@8.2.3': resolution: {integrity: sha512-LXG4Qvq2CMpoFr1OwstvfPZ/UwAQeT3mdqiW478QQ00RcYUUSfftts6D33+zZFG3LrZr+yy8eTZ/sov/rVAWZA==} @@ -4285,23 +4293,23 @@ packages: '@storybook/react-dom-shim@8.2.3': resolution: {integrity: sha512-N8AsM6N1S867GGWt2J2q5oY5ryqxohh3y1HqNtjg+wXf5+RkTD6M2Cgqe6p+JHz81nDKyvvVzP60MvvDhY5VOA==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.2.3 '@storybook/react-dom-shim@8.3.6': resolution: {integrity: sha512-9BO6VXIdli4GHSfiP/Z0gwAf7oQig3D/yWK2U1+91UWDV8nIAgnNBAi76U4ORC6MiK5MdkDfIikIxnLLeLnahA==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.3.6 '@storybook/react-vite@8.3.6': resolution: {integrity: sha512-KXi4ZT4X7DsB4OOIWeR1XMH/Oz6Rp4TlWBNx/TgSEDGYEkPooqZK/O0S+G+VIsrRGQUf/57YqO73mP6kNluxTA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.3.6 vite: ^4.0.0 || ^5.0.0 @@ -4309,8 +4317,8 @@ packages: resolution: {integrity: sha512-818F6pJWFBiwG0r6DiUVrV+qndwbIso2gtgJoituBgIJO2eIzNmkPNSsckbaR7u+FpE4dWiIIhmDVZSnRwvDlA==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.2.3 typescript: 5.5.4 peerDependenciesMeta: @@ -4322,8 +4330,8 @@ packages: engines: {node: '>=18.0.0'} peerDependencies: '@storybook/test': 8.3.6 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 storybook: ^8.3.6 typescript: 5.5.4 peerDependenciesMeta: @@ -4347,15 +4355,9 @@ packages: peerDependencies: storybook: ^8.3.6 - '@supabase/auth-js@2.64.4': - resolution: {integrity: sha512-9ITagy4WP4FLl+mke1rchapOH0RQpf++DI+WSG2sO1OFOZ0rW3cwAM0nCrMOxu+Zw4vJ4zObc08uvQrXx590Tg==} - '@supabase/auth-js@2.65.1': resolution: {integrity: sha512-IA7i2Xq2SWNCNMKxwmPlHafBQda0qtnFr8QnyyBr+KaSxoXXqEzFCnQ1dGTy6bsZjVBgXu++o3qrDypTspaAPw==} - '@supabase/functions-js@2.4.1': - resolution: {integrity: sha512-8sZ2ibwHlf+WkHDUZJUXqqmPvWQ3UHN0W30behOJngVh/qHHekhJLCFbh0AjkE9/FqqXtf9eoVvmYgfCLk5tNA==} - '@supabase/functions-js@2.4.3': resolution: {integrity: sha512-sOLXy+mWRyu4LLv1onYydq+10mNRQ4rzqQxNhbrKLTLTcdcmS9hbWif0bGz/NavmiQfPs4ZcmQJp4WqOXlR4AQ==} @@ -4363,37 +4365,20 @@ packages: resolution: {integrity: sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==} engines: {node: 4.x || >=6.0.0} - '@supabase/postgrest-js@1.15.8': - resolution: {integrity: sha512-YunjXpoQjQ0a0/7vGAvGZA2dlMABXFdVI/8TuVKtlePxyT71sl6ERl6ay1fmIeZcqxiuFQuZw/LXUuStUG9bbg==} - '@supabase/postgrest-js@1.16.3': resolution: {integrity: sha512-HI6dsbW68AKlOPofUjDTaosiDBCtW4XAm0D18pPwxoW3zKOE2Ru13Z69Wuys9fd6iTpfDViNco5sgrtnP0666A==} - '@supabase/realtime-js@2.10.2': - resolution: {integrity: sha512-qyCQaNg90HmJstsvr2aJNxK2zgoKh9ZZA8oqb7UT2LCh3mj9zpa3Iwu167AuyNxsxrUE8eEJ2yH6wLCij4EApA==} - '@supabase/realtime-js@2.10.7': resolution: {integrity: sha512-OLI0hiSAqQSqRpGMTUwoIWo51eUivSYlaNBgxsXZE7PSoWh12wPRdVt0psUMaUzEonSB85K21wGc7W5jHnT6uA==} - '@supabase/ssr@0.4.0': - resolution: {integrity: sha512-6WS3NUvHDhCPAFN2kJ79AQDO8+M9fJ7y2fYpxgZqIuJEpnnGsHDNnB5Xnv8CiaJIuRU+0pKboy62RVZBMfZ0Lg==} - peerDependencies: - '@supabase/supabase-js': ^2.43.4 - '@supabase/ssr@0.5.1': resolution: {integrity: sha512-+G94H/GZG0nErZ3FQV9yJmsC5Rj7dmcfCAwOt37hxeR1La+QTl8cE9whzYwPUrTJjMLGNXoO+1BMvVxwBAbz4g==} peerDependencies: '@supabase/supabase-js': ^2.43.4 - '@supabase/storage-js@2.6.0': - resolution: {integrity: sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==} - '@supabase/storage-js@2.7.1': resolution: {integrity: sha512-asYHcyDR1fKqrMpytAS1zjyEfvxuOIp1CIXX7ji4lHHcJKqyk+sLl/Vxgm4sN6u8zvuUtae9e4kDxQP2qrwWBA==} - '@supabase/supabase-js@2.45.0': - resolution: {integrity: sha512-j66Mfs8RhzCQCKxKogAFQYH9oNhRmgIdKk6pexguI2Oc7hi+nL9UNJug5aL1tKnBdaBM3h65riPLQSdL6sWa3Q==} - '@supabase/supabase-js@2.46.1': resolution: {integrity: sha512-HiBpd8stf7M6+tlr+/82L8b2QmCjAD8ex9YdSAKU+whB/SHXXJdus1dGlqiH9Umy9ePUuxaYmVkGd9BcvBnNvg==} @@ -4438,12 +4423,12 @@ packages: '@tanstack/react-query@5.51.24': resolution: {integrity: sha512-sW1qRwoCDqOFku67xng4Y5z6NPK1DS347jR4RiX9wFHrmyqpbXgUjPIjT3fodezdJAaSJD/6CvWb0cl05J8zNQ==} peerDependencies: - react: ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 '@tanstack/react-query@5.59.19': resolution: {integrity: sha512-xLRfyFyQOFcLltKCds0LijfC6/HQJrrTTnZB8ciyn74LIkVAm++vZJ6eUVG20RmJtdP8REdy7vSOYW4M3//XLA==} peerDependencies: - react: ^18 || ^19 + react: 19.0.0-rc-02c0e824-20241028 '@testing-library/dom@10.1.0': resolution: {integrity: sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==} @@ -4495,8 +4480,8 @@ packages: '@tanstack/react-query': ^5.49.2 '@trpc/client': 11.0.0-rc.482 '@trpc/server': 11.0.0-rc.482 - react: '>=18.2.0' - react-dom: '>=18.2.0' + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 '@trpc/server@11.0.0-rc.482': resolution: {integrity: sha512-6Wq3T9V6B6Tv63qLV6qc2rt71AyrwBgzGniywMeddy1k2U2h6O9u7aVopzIpJJsNd7XqheYq830tU4VENysJjQ==} @@ -4618,9 +4603,6 @@ packages: '@types/node@18.19.39': resolution: {integrity: sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==} - '@types/node@22.5.5': - resolution: {integrity: sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==} - '@types/node@22.7.8': resolution: {integrity: sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==} @@ -4919,8 +4901,8 @@ packages: peerDependencies: '@sveltejs/kit': '*' next: '*' - react: '*' - react-dom: '*' + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@sveltejs/kit': optional: true @@ -5911,13 +5893,14 @@ packages: resolution: {integrity: sha512-nXOaTSFiuIaTMhS8WJC2d4EBeIcN9OSt2A2cyFbQYBAZbi7lRsVGJNqDpEwPqYfJz38yxbY/UtbvBBahBfnExQ==} hasBin: true - drizzle-orm@0.32.2: - resolution: {integrity: sha512-3fXKzPzrgZIcnWCSLiERKN5Opf9Iagrag75snfFlKeKSYB1nlgPBshzW3Zn6dQymkyiib+xc4nIz0t8U+Xdpuw==} + drizzle-orm@0.36.0: + resolution: {integrity: sha512-6BETYPdKSR7cDHC0ZfqZk2VrKJ8n/Rfd3ajFPsAbc69gi87nwZ6oBA2wUGMELHA0tQE4kUKN0Ds00LUZQ6Z69A==} peerDependencies: '@aws-sdk/client-rds-data': '>=3' '@cloudflare/workers-types': '>=3' - '@electric-sql/pglite': '>=0.1.1' - '@libsql/client': '*' + '@electric-sql/pglite': '>=0.2.0' + '@libsql/client': '>=0.10.0' + '@libsql/client-wasm': '>=0.10.0' '@neondatabase/serverless': '>=0.1' '@op-engineering/op-sqlite': '>=2' '@opentelemetry/api': ^1.4.1 @@ -5939,7 +5922,7 @@ packages: pg: '>=8' postgres: '>=3' prisma: '*' - react: '>=18' + react: 19.0.0-rc-02c0e824-20241028 sql.js: '>=1' sqlite3: '>=5' peerDependenciesMeta: @@ -5951,6 +5934,8 @@ packages: optional: true '@libsql/client': optional: true + '@libsql/client-wasm': + optional: true '@neondatabase/serverless': optional: true '@op-engineering/op-sqlite': @@ -6675,7 +6660,7 @@ packages: flux@4.0.4: resolution: {integrity: sha512-NCj3XlayA2UsapRpM7va6wU1+9rE5FIL7qoMcmxWHRzbp0yujihMBm9BBHZ1MDIk5h5o2Bl6eGiCe8rYELAmYw==} peerDependencies: - react: ^15.0.2 || ^16.0.0 || ^17.0.0 + react: 19.0.0-rc-02c0e824-20241028 for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} @@ -6699,8 +6684,8 @@ packages: resolution: {integrity: sha512-D+hfIsvzV8eL/iycld4K+tKlg2Q2LdwnrcBEohtGw3cG1AIuNYATbT5RUqIM1ndsAk+EfGhoSGf0UaiFodc5Tw==} peerDependencies: '@emotion/is-prop-valid': '*' - react: ^18.0.0 - react-dom: ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@emotion/is-prop-valid': optional: true @@ -7001,8 +6986,8 @@ packages: input-otp@1.2.4: resolution: {integrity: sha512-md6rhmD+zmMnUh5crQNSQxq3keBRYvE3odbr4Qb9g2NWzQv9azi+t1a3X4TBTbh98fsGHgEEJlzbe1q860uGCA==} peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} @@ -7411,7 +7396,7 @@ packages: lucide-react@0.454.0: resolution: {integrity: sha512-hw7zMDwykCLnEzgncEEjHeA6+45aeEzRYuKHuyRSOPkhko+J3ySGjGIzu+mmMfDFG1vazHepMaYFYHbTFAZAAQ==} peerDependencies: - react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc + react: 19.0.0-rc-02c0e824-20241028 luxon@3.5.0: resolution: {integrity: sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==} @@ -7450,7 +7435,7 @@ packages: resolution: {integrity: sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==} engines: {node: '>= 10'} peerDependencies: - react: '>= 0.14.0' + react: 19.0.0-rc-02c0e824-20241028 marked@7.0.4: resolution: {integrity: sha512-t8eP0dXRJMtMvBojtkcsA7n48BkauktUKzfkPSCq85ZMTJ0v76Rke4DYz01omYpPTUh4p/f7HePgRo3ebG8+QQ==} @@ -7460,7 +7445,7 @@ packages: md-to-react-email@5.0.2: resolution: {integrity: sha512-x6kkpdzIzUhecda/yahltfEl53mH26QdWu4abUF9+S0Jgam8P//Ciro8cdhyMHnT5MQUJYrIbO6ORM2UxPiNNA==} peerDependencies: - react: 18.x + react: 19.0.0-rc-02c0e824-20241028 mdast-util-from-markdown@2.0.2: resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==} @@ -7724,8 +7709,8 @@ packages: peerDependencies: '@sinclair/typebox': '>= 0.33.3' next: '>= 14.0.0' - react: '>= 18.2.0' - react-dom: '>= 18.2.0' + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 valibot: '>= 0.36.0' yup: '>= 1.0.0' zod: '>= 3.0.0' @@ -7746,8 +7731,8 @@ packages: peerDependencies: '@opentelemetry/api': ^1.1.0 '@playwright/test': ^1.41.2 - react: ^18.2.0 - react-dom: ^18.2.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 sass: ^1.3.0 peerDependenciesMeta: '@opentelemetry/api': @@ -7765,8 +7750,8 @@ packages: '@opentelemetry/api': ^1.1.0 '@playwright/test': ^1.41.2 babel-plugin-react-compiler: '*' - react: ^18.2.0 || 19.0.0-rc-02c0e824-20241028 - react-dom: ^18.2.0 || 19.0.0-rc-02c0e824-20241028 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 sass: ^1.3.0 peerDependenciesMeta: '@opentelemetry/api': @@ -8114,10 +8099,6 @@ packages: resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} engines: {node: '>=0.10.0'} - postgres@3.4.4: - resolution: {integrity: sha512-IbyN+9KslkqcXa8AO9fxpk97PA4pzewvpi2B3Dwy9u4zpV32QicaEdgmF3eSQUzdRk7ttDHQejNgAEr4XoeH4A==} - engines: {node: '>=12'} - postgres@3.4.5: resolution: {integrity: sha512-cDWgoah1Gez9rN3H4165peY9qfpEo+SA61oQv65O3cRUE1pOEoJWwddwcqKE8XZYjbblOJlYDlLV4h67HrEVDg==} engines: {node: '>=12'} @@ -8224,21 +8205,21 @@ packages: react-colorful@5.6.1: resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} peerDependencies: - react: '>=16.8.0' - react-dom: '>=16.8.0' + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 react-confetti@6.1.0: resolution: {integrity: sha512-7Ypx4vz0+g8ECVxr88W9zhcQpbeujJAVqL14ZnXJ3I23mOI9/oBVTQ3dkJhUmB0D6XOtCZEM6N0Gm9PMngkORw==} engines: {node: '>=10.18'} peerDependencies: - react: ^16.3.0 || ^17.0.1 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 react-diff-viewer@3.1.1: resolution: {integrity: sha512-rmvwNdcClp6ZWdS11m1m01UnBA4OwYaLG/li0dB781e/bQEzsGyj+qewVd6W5ztBwseQ72pO7nwaCcq5jnlzcw==} engines: {node: '>= 8'} peerDependencies: - react: ^15.3.0 || ^16.0.0 - react-dom: ^15.3.0 || ^16.0.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 react-docgen-typescript@2.2.2: resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} @@ -8249,11 +8230,6 @@ packages: resolution: {integrity: sha512-i8aF1nyKInZnANZ4uZrH49qn1paRgBZ7wZiCNBMnenlPzEv0mRl+ShpTVEI6wZNl8sSc79xZkivtgLKQArcanQ==} engines: {node: '>=16.14.0'} - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} - peerDependencies: - react: ^18.3.1 - react-dom@19.0.0-rc-02c0e824-20241028: resolution: {integrity: sha512-LrZf3DfHL6Fs07wwlUCHrzFTCMM19yA99MvJpfLokN4I2nBAZvREGZjZAn8VPiSfN72+i9j1eL4wB8gC695F3Q==} peerDependencies: @@ -8262,8 +8238,8 @@ packages: react-element-to-jsx-string@15.0.0: resolution: {integrity: sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==} peerDependencies: - react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 - react-dom: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 react-email@3.0.1: resolution: {integrity: sha512-G4Bkx2ULIScy/0Z8nnWywHt0W1iTkaYCdh9rWNuQ3eVZ6B3ttTUDE9uUy3VNQ8dtQbmG0cpt8+XmImw7mMBW6Q==} @@ -8274,7 +8250,7 @@ packages: resolution: {integrity: sha512-6aiQeBda4zjcuaugWvim9WsGqisoUk+etmFEsSUMm451/Ic8L/UAb7sRtMj3V+Hdzm6mMjU1VhiSzYUZeBm0Vg==} engines: {node: '>=18.0.0'} peerDependencies: - react: ^16.8.0 || ^17 || ^18 || ^19 + react: 19.0.0-rc-02c0e824-20241028 react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -8292,13 +8268,13 @@ packages: resolution: {integrity: sha512-nWqA1E4jKPklL2jvHWs6s+7Na0qNgw9HCP6xehdQJeg6nPBTFZgGwyko9Q0oj+jQWKTTVRS30u0toM5wiuL3iw==} engines: {node: '>=14'} peerDependencies: - react: ^16.13.1 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 react-json-view@1.21.3: resolution: {integrity: sha512-13p8IREj9/x/Ye4WI/JpjhoIwuzEgUAtgJZNBJckfzJt1qyh24BdTm6UQNGnyTq9dapQdrqvquZTo3dz1X6Cjw==} peerDependencies: - react: ^17.0.0 || ^16.3.0 || ^15.5.4 - react-dom: ^17.0.0 || ^16.3.0 || ^15.5.4 + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028 react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} @@ -8319,7 +8295,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -8329,7 +8305,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -8339,7 +8315,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -8348,11 +8324,7 @@ packages: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} - engines: {node: '>=0.10.0'} + react: 19.0.0-rc-02c0e824-20241028 react@19.0.0-rc-02c0e824-20241028: resolution: {integrity: sha512-GbZ7hpPHQMiEu53BqEaPQVM/4GG4hARo+mqEEnx4rYporDvNvUjutiAFxYFSbu6sgHwcr7LeFv8htEOwALVA2A==} @@ -8560,9 +8532,6 @@ packages: resolution: {integrity: sha512-XU9EELUEZuioT4acLIpCXxHcFzrsC8muvg0MY28d+TlqwxbkTzBmWbw+3+hnCzXT7YZ0Qm8k3eXktDaEu+qmEw==} engines: {node: '>=16'} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - scheduler@0.25.0-rc-02c0e824-20241028: resolution: {integrity: sha512-GysnKjmMSaWcwsKTLzeJO0IhU3EyIiC0ivJKE6yDNLqt3IMxDByx8b6lSNXRNdN+ULUY0WLLjSPaZ0LuU/GnTg==} @@ -8828,7 +8797,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@babel/core': optional: true @@ -8841,7 +8810,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@babel/core': optional: true @@ -9247,7 +9216,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -9255,13 +9224,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -9270,7 +9239,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -9280,7 +9249,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': ^16.9.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: 19.0.0-rc-02c0e824-20241028 peerDependenciesMeta: '@types/react': optional: true @@ -10734,11 +10703,11 @@ snapshots: - acorn - supports-color - '@mdx-js/react@3.0.1(@types/react@18.3.3)(react@18.3.1)': + '@mdx-js/react@3.0.1(@types/react@18.3.3)(react@19.0.0-rc-02c0e824-20241028)': dependencies: '@types/mdx': 2.0.13 '@types/react': 18.3.3 - react: 18.3.1 + react: 19.0.0-rc-02c0e824-20241028 '@mdx-js/react@3.1.0(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1)': dependencies: @@ -12468,15 +12437,15 @@ snapshots: '@storybook/addon-docs@8.3.6(storybook@8.3.6)': dependencies: - '@mdx-js/react': 3.0.1(@types/react@18.3.3)(react@18.3.1) - '@storybook/blocks': 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) + '@mdx-js/react': 3.0.1(@types/react@18.3.3)(react@19.0.0-rc-02c0e824-20241028) + '@storybook/blocks': 8.3.6(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(storybook@8.3.6) '@storybook/csf-plugin': 8.3.6(storybook@8.3.6) '@storybook/global': 5.0.0 - '@storybook/react-dom-shim': 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) + '@storybook/react-dom-shim': 8.3.6(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(storybook@8.3.6) '@types/react': 18.3.3 fs-extra: 11.2.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) rehype-external-links: 3.0.0 rehype-slug: 6.0.0 storybook: 8.3.6 @@ -12574,26 +12543,26 @@ snapshots: react: 19.0.0-rc-02c0e824-20241028 react-dom: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) - '@storybook/blocks@8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)': + '@storybook/blocks@8.3.6(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(storybook@8.3.6)': dependencies: '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 - '@storybook/icons': 1.2.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/icons': 1.2.12(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028) '@types/lodash': 4.17.6 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 - markdown-to-jsx: 7.4.7(react@18.3.1) + markdown-to-jsx: 7.4.7(react@19.0.0-rc-02c0e824-20241028) memoizerific: 1.11.3 polished: 4.3.1 - react-colorful: 5.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-colorful: 5.6.1(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028) storybook: 8.3.6 telejson: 7.2.0 ts-dedent: 2.2.0 util-deprecate: 1.0.2 optionalDependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) '@storybook/builder-vite@8.3.6(storybook@8.3.6)(typescript@5.5.4)(vite@5.4.10(@types/node@22.7.8)(sass@1.77.8)(terser@5.33.0))': dependencies: @@ -12648,10 +12617,10 @@ snapshots: '@storybook/global@5.0.0': {} - '@storybook/icons@1.2.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/icons@1.2.12(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)': dependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0-rc-02c0e824-20241028 + react-dom: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) '@storybook/icons@1.2.9(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)': dependencies: @@ -12686,12 +12655,6 @@ snapshots: react-dom: 19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028) storybook: 8.3.6 - '@storybook/react-dom-shim@8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)': - dependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - storybook: 8.3.6 - '@storybook/react-dom-shim@8.3.6(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)(storybook@8.3.6)': dependencies: react: 19.0.0-rc-02c0e824-20241028 @@ -12810,18 +12773,10 @@ snapshots: dependencies: storybook: 8.3.6 - '@supabase/auth-js@2.64.4': - dependencies: - '@supabase/node-fetch': 2.6.15 - '@supabase/auth-js@2.65.1': dependencies: '@supabase/node-fetch': 2.6.15 - '@supabase/functions-js@2.4.1': - dependencies: - '@supabase/node-fetch': 2.6.15 - '@supabase/functions-js@2.4.3': dependencies: '@supabase/node-fetch': 2.6.15 @@ -12830,24 +12785,10 @@ snapshots: dependencies: whatwg-url: 5.0.0 - '@supabase/postgrest-js@1.15.8': - dependencies: - '@supabase/node-fetch': 2.6.15 - '@supabase/postgrest-js@1.16.3': dependencies: '@supabase/node-fetch': 2.6.15 - '@supabase/realtime-js@2.10.2': - dependencies: - '@supabase/node-fetch': 2.6.15 - '@types/phoenix': 1.6.5 - '@types/ws': 8.5.11 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@supabase/realtime-js@2.10.7': dependencies: '@supabase/node-fetch': 2.6.15 @@ -12858,38 +12799,15 @@ snapshots: - bufferutil - utf-8-validate - '@supabase/ssr@0.4.0(@supabase/supabase-js@2.45.0)': - dependencies: - '@supabase/supabase-js': 2.45.0 - cookie: 0.6.0 - optionalDependencies: - '@rollup/rollup-linux-x64-gnu': 4.21.0 - '@supabase/ssr@0.5.1(@supabase/supabase-js@2.46.1)': dependencies: '@supabase/supabase-js': 2.46.1 cookie: 0.6.0 - '@supabase/storage-js@2.6.0': - dependencies: - '@supabase/node-fetch': 2.6.15 - '@supabase/storage-js@2.7.1': dependencies: '@supabase/node-fetch': 2.6.15 - '@supabase/supabase-js@2.45.0': - dependencies: - '@supabase/auth-js': 2.64.4 - '@supabase/functions-js': 2.4.1 - '@supabase/node-fetch': 2.6.15 - '@supabase/postgrest-js': 1.15.8 - '@supabase/realtime-js': 2.10.2 - '@supabase/storage-js': 2.6.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@supabase/supabase-js@2.46.1': dependencies: '@supabase/auth-js': 2.65.1 @@ -13069,7 +12987,7 @@ snapshots: '@types/cors@2.8.17': dependencies: - '@types/node': 22.5.5 + '@types/node': 22.7.8 '@types/debug@4.1.12': dependencies: @@ -13113,7 +13031,7 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.5.5 + '@types/node': 22.7.8 '@types/hast@3.0.4': dependencies: @@ -13153,10 +13071,6 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@22.5.5': - dependencies: - undici-types: 6.19.8 - '@types/node@22.7.8': dependencies: undici-types: 6.19.8 @@ -14650,15 +14564,15 @@ snapshots: transitivePeerDependencies: - supports-color - drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.4)(react@18.3.1): + drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028): optionalDependencies: '@opentelemetry/api': 1.9.0 '@types/pg': 8.6.1 '@types/react': 18.3.3 - postgres: 3.4.4 - react: 18.3.1 + postgres: 3.4.5 + react: 19.0.0-rc-02c0e824-20241028 - drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1): + drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1): optionalDependencies: '@opentelemetry/api': 1.9.0 '@types/pg': 8.6.1 @@ -14666,14 +14580,14 @@ snapshots: postgres: 3.4.5 react: 19.0.0-rc-02c0e824-20241028 - drizzle-zod@0.5.1(drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.4)(react@18.3.1))(zod@3.23.8): + drizzle-zod@0.5.1(drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028))(zod@3.23.8): dependencies: - drizzle-orm: 0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.4)(react@18.3.1) + drizzle-orm: 0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(@types/react@18.3.3)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028) zod: 3.23.8 - drizzle-zod@0.5.1(drizzle-orm@0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1))(zod@3.23.8): + drizzle-zod@0.5.1(drizzle-orm@0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1))(zod@3.23.8): dependencies: - drizzle-orm: 0.32.2(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1) + drizzle-orm: 0.36.0(@opentelemetry/api@1.9.0)(@types/pg@8.6.1)(postgres@3.4.5)(react@19.0.0-rc-02c0e824-20241028)(types-react@19.0.0-rc.1) zod: 3.23.8 eastasianwidth@0.2.0: {} @@ -14718,7 +14632,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.5.5 + '@types/node': 22.7.8 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -16574,10 +16488,6 @@ snapshots: markdown-extensions@2.0.0: {} - markdown-to-jsx@7.4.7(react@18.3.1): - dependencies: - react: 18.3.1 - markdown-to-jsx@7.4.7(react@19.0.0-rc-02c0e824-20241028): dependencies: react: 19.0.0-rc-02c0e824-20241028 @@ -17390,8 +17300,6 @@ snapshots: dependencies: xtend: 4.0.2 - postgres@3.4.4: {} - postgres@3.4.5: {} posthog-js@1.181.0: @@ -17489,11 +17397,6 @@ snapshots: lodash.flow: 3.5.0 pure-color: 1.3.0 - react-colorful@5.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-colorful@5.6.1(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028): dependencies: react: 19.0.0-rc-02c0e824-20241028 @@ -17536,12 +17439,6 @@ snapshots: transitivePeerDependencies: - supports-color - react-dom@18.3.1(react@18.3.1): - dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 - react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028): dependencies: react: 19.0.0-rc-02c0e824-20241028 @@ -17657,10 +17554,6 @@ snapshots: transitivePeerDependencies: - '@types/react' - react@18.3.1: - dependencies: - loose-envify: 1.4.0 - react@19.0.0-rc-02c0e824-20241028: {} read-cache@1.0.0: @@ -17979,10 +17872,6 @@ snapshots: postcss-value-parser: 4.2.0 yoga-wasm-web: 0.3.3 - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 - scheduler@0.25.0-rc-02c0e824-20241028: {} schema-utils@3.3.0: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 83e3de38..5e8c9f21 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,6 +4,10 @@ packages: - tools/* catalog: + "@supabase/ssr": ^0.5.1 + "@supabase/supabase-js": ^2.46.1 + "drizzle-orm": 0.36.0 + "postgres": 3.4.5 "@figma/plugin-typings": ^1.99.0 "@figma/widget-typings": ^1.9.1 "@trpc/client": 11.0.0-rc.482