File tree Expand file tree Collapse file tree 8 files changed +145
-191
lines changed
Expand file tree Collapse file tree 8 files changed +145
-191
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1- import type { StorybookConfig } from "@storybook/experimental- nextjs-vite" ;
1+ import type { StorybookConfig } from "@storybook/nextjs-vite" ;
22import fs from "fs" ;
33import path from "path" ;
44import { fileURLToPath } from "url" ;
@@ -11,7 +11,7 @@ const config: StorybookConfig = {
1111 experimentalRSC : true ,
1212 } ,
1313 framework : {
14- name : "@storybook/experimental- nextjs-vite" ,
14+ name : "@storybook/nextjs-vite" ,
1515 options : { } ,
1616 } ,
1717 viteFinal : async ( config ) => {
Original file line number Diff line number Diff line change 11import { emailVerificationTokenCookieName } from "@/app/(auth)/auth" ;
22import Layout from "@/app/(public)/layout" ;
3- import { cookies } from "@storybook/experimental- nextjs-vite/headers.mock" ;
3+ import { cookies } from "@storybook/nextjs-vite/headers.mock" ;
44import type { Meta , StoryObj } from "@storybook/react" ;
55import EmailVerificationPage from "./page" ;
66
Original file line number Diff line number Diff line change 11import Layout from "@/app/(public)/layout" ;
2- import { cookies } from "@storybook/experimental- nextjs-vite/headers.mock" ;
2+ import { cookies } from "@storybook/nextjs-vite/headers.mock" ;
33import type { Meta , StoryObj } from "@storybook/react" ;
4- import { mocked } from "@ storybook/test" ;
4+ import { mocked } from "storybook/test" ;
55import LoginPage from "./page" ;
66
77const meta : Meta < typeof LoginPage > = {
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ export const metadata: Metadata = {
1212} ;
1313
1414interface LoginPageProps {
15- searchParams : {
15+ searchParams : Promise < {
1616 error ?: string ;
1717 waitlist ?: string ;
1818 callbackUrl ?: string ;
1919 redirect ?: string ;
2020 reset ?: string ;
21- } ;
21+ } > ;
2222}
2323
2424export default async function LoginPage ( { searchParams } : LoginPageProps ) {
Original file line number Diff line number Diff line change 11import { passwordResetVerifiedCookieName } from "@/app/(auth)/auth" ;
22import Layout from "@/app/(public)/layout" ;
3- import { cookies } from "@storybook/experimental- nextjs-vite/headers.mock" ;
3+ import { cookies } from "@storybook/nextjs-vite/headers.mock" ;
44import type { Meta , StoryObj } from "@storybook/react" ;
55import ResetPasswordNewPage from "./page" ;
66
Original file line number Diff line number Diff line change 11import { emailVerificationTokenCookieName } from "@/app/(auth)/auth" ;
22import Layout from "@/app/(public)/layout" ;
3- import { cookies } from "@storybook/experimental- nextjs-vite/headers.mock" ;
3+ import { cookies } from "@storybook/nextjs-vite/headers.mock" ;
44import type { Meta , StoryObj } from "@storybook/react" ;
55import ResetVerificationPage from "./page" ;
66
Original file line number Diff line number Diff line change 2222 "typescript" : " ^5"
2323 },
2424 "devDependencies" : {
25+ "@cloudflare/workers-types" : " ^4.20251211.0" ,
2526 "@lexical/react" : " ^0.32.1" ,
2627 "@lexical/utils" : " ^0.32.1" ,
2728 "@next/bundle-analyzer" : " ^15.5.3" ,
3435 "@radix-ui/react-tabs" : " ^1.1.12" ,
3536 "@radix-ui/react-tooltip" : " ^1.2.6" ,
3637 "@remixicon/react" : " ^4.6.0" ,
37- "@storybook/experimental-nextjs-vite" : " ^8.6.14" ,
38- "@storybook/react" : " 8.6.14" ,
39- "@storybook/test" : " 8.6.14" ,
38+ "@storybook/nextjs-vite" : " ^9.1.16" ,
39+ "@storybook/react" : " ^9.1.16" ,
4040 "@tailwindcss/forms" : " ^0.5.10" ,
4141 "@tailwindcss/postcss" : " ^4.1.13" ,
4242 "@tailwindcss/typography" : " ^0.5.16" ,
7272 "rehype-sanitize" : " ^6.0.0" ,
7373 "remark-gfm" : " ^4.0.1" ,
7474 "sonner" : " ^2.0.3" ,
75- "storybook" : " 8.6.14 " ,
75+ "storybook" : " ^9.1.16 " ,
7676 "stripe" : " ^18.2.1" ,
7777 "swr" : " ^2.3.3" ,
7878 "tailwind-merge" : " ^3.2.0" ,
You can’t perform that action at this time.
0 commit comments