Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
310 changes: 132 additions & 178 deletions bun.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/site/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { StorybookConfig } from "@storybook/experimental-nextjs-vite";
import type { StorybookConfig } from "@storybook/nextjs-vite";
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
Expand All @@ -11,7 +11,7 @@ const config: StorybookConfig = {
experimentalRSC: true,
},
framework: {
name: "@storybook/experimental-nextjs-vite",
name: "@storybook/nextjs-vite",
options: {},
},
viteFinal: async (config) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { withFetch } from "@/.storybook/utils";
import Layout from "@/app/(app)/layout";
import { getQuerier } from "@/lib/database.mock";
import type { Meta, StoryObj } from "@storybook/react";
import { mocked } from "@storybook/test";
import { mocked } from "storybook/test";
import { SessionProvider } from "next-auth/react";
import OrganizationLayout from "../layout";
import AgentLayout from "./layout";
Expand Down
2 changes: 1 addition & 1 deletion packages/site/app/(app)/[organization]/page.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Layout from "@/app/(app)/layout";
import { getQuerier } from "@/lib/database.mock";
import type { Meta, StoryObj } from "@storybook/react";
import { mocked } from "@storybook/test";
import { mocked } from "storybook/test";
import { SessionProvider } from "next-auth/react";
import OrganizationLayout from "./layout";
import OrganizationPage from "./page";
Expand Down
2 changes: 1 addition & 1 deletion packages/site/app/(auth)/auth.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {
Organization,
OrganizationMembership,
} from "@blink.so/database/schema";
import { fn } from "@storybook/test";
import { fn } from "storybook/test";
import type { Session } from "next-auth";

export const auth = fn(async (): Promise<Session | null> => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { emailVerificationTokenCookieName } from "@/app/(auth)/auth";
import Layout from "@/app/(public)/layout";
import { cookies } from "@storybook/experimental-nextjs-vite/headers.mock";
import { cookies } from "@storybook/nextjs-vite/headers.mock";
import type { Meta, StoryObj } from "@storybook/react";
import EmailVerificationPage from "./page";

Expand Down
4 changes: 2 additions & 2 deletions packages/site/app/(public)/login/page.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Layout from "@/app/(public)/layout";
import { cookies } from "@storybook/experimental-nextjs-vite/headers.mock";
import { cookies } from "@storybook/nextjs-vite/headers.mock";
import type { Meta, StoryObj } from "@storybook/react";
import { mocked } from "@storybook/test";
import { mocked } from "storybook/test";
import LoginPage from "./page";

const meta: Meta<typeof LoginPage> = {
Expand Down
4 changes: 2 additions & 2 deletions packages/site/app/(public)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ export const metadata: Metadata = {
};

interface LoginPageProps {
searchParams: {
searchParams: Promise<{
error?: string;
waitlist?: string;
callbackUrl?: string;
redirect?: string;
reset?: string;
};
}>;
}

export default async function LoginPage({ searchParams }: LoginPageProps) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { passwordResetVerifiedCookieName } from "@/app/(auth)/auth";
import Layout from "@/app/(public)/layout";
import { cookies } from "@storybook/experimental-nextjs-vite/headers.mock";
import { cookies } from "@storybook/nextjs-vite/headers.mock";
import type { Meta, StoryObj } from "@storybook/react";
import ResetPasswordNewPage from "./page";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { emailVerificationTokenCookieName } from "@/app/(auth)/auth";
import Layout from "@/app/(public)/layout";
import { cookies } from "@storybook/experimental-nextjs-vite/headers.mock";
import { cookies } from "@storybook/nextjs-vite/headers.mock";
import type { Meta, StoryObj } from "@storybook/react";
import ResetVerificationPage from "./page";

Expand Down
2 changes: 1 addition & 1 deletion packages/site/app/invite/[token]/page.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { auth, fakeTeam } from "@/app/(auth)/auth.mock";
import Layout from "@/app/layout";
import { getQuerier } from "@/lib/database.mock";
import type { Meta, StoryObj } from "@storybook/react";
import { mocked } from "@storybook/test";
import { mocked } from "storybook/test";
import InvitePage from "./page";

const meta: Meta = {
Expand Down
2 changes: 1 addition & 1 deletion packages/site/lib/database.mock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type Querier from "@blink.so/database/querier";
import { fn } from "@storybook/test";
import { fn } from "storybook/test";

// Helpers for generating simple mock usage data
const makeDaily = (days: number) => {
Expand Down
8 changes: 4 additions & 4 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"typescript": "^5"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20251211.0",
"@lexical/react": "^0.32.1",
"@lexical/utils": "^0.32.1",
"@next/bundle-analyzer": "^15.5.3",
Expand All @@ -34,9 +35,8 @@
"@radix-ui/react-tabs": "^1.1.12",
"@radix-ui/react-tooltip": "^1.2.6",
"@remixicon/react": "^4.6.0",
"@storybook/experimental-nextjs-vite": "^8.6.14",
"@storybook/react": "8.6.14",
"@storybook/test": "8.6.14",
"@storybook/nextjs-vite": "^9.1.16",
"@storybook/react": "^9.1.16",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.1.13",
"@tailwindcss/typography": "^0.5.16",
Expand Down Expand Up @@ -72,7 +72,7 @@
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.3",
"storybook": "8.6.14",
"storybook": "^9.1.16",
"stripe": "^18.2.1",
"swr": "^2.3.3",
"tailwind-merge": "^3.2.0",
Expand Down