Skip to content

Commit f17cbfe

Browse files
Update dependencies (#670)
* Bump deps * Fix Prisma dep issue, add api external deps * Update Stripe version * Fix flags version of next * Rename middleware to proxy * Fix docs * Scaffold new docs site * Copy content, homepage and images * Update pnpm-workspace.yaml * Delete old docs * Move docs-new to docs * Add react-tweet * Fix home index and layout * Remove announcement * Misc fixes * Restore missing components * Remove authors * Remove redundant images * Move og-image * Update ai-chatbot.mdx * Update homepage * Move general docs to root * Rework sidebar * Update edit-source.tsx
1 parent 2ab6b6b commit f17cbfe

File tree

284 files changed

+12923
-8258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+12923
-8258
lines changed

apps/api/package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,24 @@
2020
"@repo/next-config": "workspace:*",
2121
"@repo/observability": "workspace:*",
2222
"@repo/payments": "workspace:*",
23-
"@sentry/nextjs": "^10.22.0",
23+
"@sentry/nextjs": "^10.29.0",
2424
"@t3-oss/env-nextjs": "^0.13.8",
25+
"import-in-the-middle": "^2.0.0",
2526
"next": "16.0.7",
26-
"react": "19.2.0",
27-
"react-dom": "19.2.0",
28-
"svix": "^1.80.0",
29-
"zod": "^4.1.12"
27+
"react": "19.2.1",
28+
"react-dom": "19.2.1",
29+
"require-in-the-middle": "8.0.1",
30+
"svix": "^1.82.0",
31+
"zod": "^4.1.13"
3032
},
3133
"devDependencies": {
3234
"@repo/typescript-config": "workspace:*",
33-
"@types/node": "24.9.1",
34-
"@types/react": "19.2.2",
35-
"@types/react-dom": "19.2.2",
36-
"@vitejs/plugin-react": "^5.1.0",
35+
"@types/node": "24.10.1",
36+
"@types/react": "19.2.7",
37+
"@types/react-dom": "19.2.3",
38+
"@vitejs/plugin-react": "^5.1.1",
3739
"concurrently": "^9.2.1",
3840
"typescript": "^5.9.3",
39-
"vitest": "^4.0.3"
41+
"vitest": "^4.0.15"
4042
}
4143
}

apps/app/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@
2323
"@repo/security": "workspace:*",
2424
"@repo/seo": "workspace:*",
2525
"@repo/webhooks": "workspace:*",
26-
"@sentry/nextjs": "^10.22.0",
26+
"@sentry/nextjs": "^10.29.0",
2727
"@t3-oss/env-nextjs": "^0.13.8",
2828
"fuse.js": "^7.1.0",
2929
"import-in-the-middle": "^2.0.0",
30-
"lucide-react": "^0.548.0",
30+
"lucide-react": "^0.556.0",
3131
"next": "16.0.7",
3232
"next-themes": "^0.4.6",
33-
"react": "19.2.0",
34-
"react-dom": "19.2.0",
35-
"require-in-the-middle": "7.5.2",
36-
"zod": "^4.1.12"
33+
"react": "19.2.1",
34+
"react-dom": "19.2.1",
35+
"require-in-the-middle": "8.0.1",
36+
"zod": "^4.1.13"
3737
},
3838
"devDependencies": {
3939
"@repo/typescript-config": "workspace:*",
4040
"@testing-library/dom": "^10.4.1",
4141
"@testing-library/react": "^16.3.0",
42-
"@types/node": "24.9.1",
43-
"@types/react": "19.2.2",
44-
"@types/react-dom": "19.2.2",
45-
"@vitejs/plugin-react": "^5.1.0",
46-
"jsdom": "^27.0.1",
47-
"tailwindcss": "^4.1.16",
42+
"@types/node": "24.10.1",
43+
"@types/react": "19.2.7",
44+
"@types/react-dom": "19.2.3",
45+
"@vitejs/plugin-react": "^5.1.1",
46+
"jsdom": "^27.2.0",
47+
"tailwindcss": "^4.1.17",
4848
"typescript": "^5.9.3",
49-
"vitest": "^4.0.3"
49+
"vitest": "^4.0.15"
5050
}
5151
}
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { authMiddleware } from "@repo/auth/middleware";
1+
import { authMiddleware } from "@repo/auth/proxy";
22
import {
33
noseconeOptions,
44
noseconeOptionsWithToolbar,
55
securityMiddleware,
6-
} from "@repo/security/middleware";
7-
import type { NextMiddleware } from "next/server";
6+
} from "@repo/security/proxy";
7+
import type { NextProxy } from "next/server";
88
import { env } from "./env";
99

1010
const securityHeaders = env.FLAGS_SECRET
@@ -14,9 +14,7 @@ const securityHeaders = env.FLAGS_SECRET
1414
// Clerk middleware wraps other middleware in its callback
1515
// For apps using Clerk, compose middleware inside authMiddleware callback
1616
// For apps without Clerk, use createNEMO for composition (see apps/web)
17-
export default authMiddleware(() =>
18-
securityHeaders()
19-
) as unknown as NextMiddleware;
17+
export default authMiddleware(() => securityHeaders()) as unknown as NextProxy;
2018

2119
export const config = {
2220
matcher: [
@@ -25,5 +23,4 @@ export const config = {
2523
// Always run for API routes
2624
"/(api|trpc)(.*)",
2725
],
28-
runtime: "nodejs",
2926
};

apps/email/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
1111
},
1212
"dependencies": {
13-
"@react-email/components": "0.5.7",
14-
"@react-email/preview-server": "^4.3.2",
13+
"@react-email/components": "1.0.1",
14+
"@react-email/preview-server": "^5.0.5",
1515
"@repo/email": "workspace:*",
16-
"react": "19.2.0",
17-
"react-email": "4.3.2"
16+
"react": "19.2.1",
17+
"react-email": "5.0.5"
1818
},
1919
"devDependencies": {
2020
"@repo/typescript-config": "workspace:*",
21-
"@types/node": "24.9.1",
22-
"@types/react": "19.2.2",
21+
"@types/node": "24.10.1",
22+
"@types/react": "19.2.7",
2323
"next": "16.0.7",
2424
"typescript": "^5.9.3"
2525
}

apps/storybook/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,29 @@
1515
"cmdk": "^1.1.1",
1616
"date-fns": "^4.1.0",
1717
"input-otp": "^1.4.2",
18-
"lucide-react": "^0.548.0",
18+
"lucide-react": "^0.556.0",
1919
"next": "16.0.7",
20-
"react": "19.2.0",
21-
"react-dom": "19.2.0",
22-
"react-hook-form": "^7.65.0",
20+
"react": "19.2.1",
21+
"react-dom": "19.2.1",
22+
"react-hook-form": "^7.68.0",
2323
"recharts": "^2.15.4",
2424
"sonner": "^2.0.7",
25-
"zod": "^4.1.12"
25+
"zod": "^4.1.13"
2626
},
2727
"devDependencies": {
28-
"@chromatic-com/storybook": "^4.1.1",
28+
"@chromatic-com/storybook": "^4.1.3",
2929
"@repo/typescript-config": "workspace:*",
30-
"@storybook/addon-onboarding": "^9.1.15",
31-
"@storybook/addon-themes": "^9.1.15",
32-
"@storybook/nextjs": "^9.1.15",
33-
"@storybook/react": "^9.1.15",
30+
"@storybook/addon-onboarding": "^10.1.4",
31+
"@storybook/addon-themes": "^10.1.4",
32+
"@storybook/nextjs": "^10.1.4",
33+
"@storybook/react": "^10.1.4",
3434
"@types/node": "^24",
35-
"@types/react": "19.2.2",
36-
"@types/react-dom": "19.2.2",
37-
"chromatic": "^13.3.2",
35+
"@types/react": "19.2.7",
36+
"@types/react-dom": "19.2.3",
37+
"chromatic": "^13.3.4",
3838
"postcss": "^8",
39-
"storybook": "^9.1.15",
40-
"tailwindcss": "^4.1.16",
39+
"storybook": "^10.1.4",
40+
"tailwindcss": "^4.1.17",
4141
"typescript": "^5"
4242
}
4343
}

apps/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
88
},
99
"devDependencies": {
10-
"prisma": "6.18.0"
10+
"prisma": "7.1.0"
1111
}
1212
}

apps/web/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
1111
},
1212
"dependencies": {
13-
"@arcjet/next": "1.0.0-beta.13",
13+
"@arcjet/next": "1.0.0-beta.15",
1414
"@radix-ui/react-icons": "^1.3.2",
1515
"@repo/analytics": "workspace:*",
1616
"@repo/cms": "workspace:*",
@@ -24,27 +24,27 @@
2424
"@repo/security": "workspace:*",
2525
"@repo/seo": "workspace:*",
2626
"@rescale/nemo": "^2.0.2",
27-
"@sentry/nextjs": "^10.22.0",
27+
"@sentry/nextjs": "^10.29.0",
2828
"@t3-oss/env-nextjs": "^0.13.8",
2929
"date-fns": "^4.1.0",
30-
"fumadocs-core": "^16.0.3",
30+
"fumadocs-core": "^16.2.3",
3131
"import-in-the-middle": "^2.0.0",
32-
"lucide-react": "^0.548.0",
32+
"lucide-react": "^0.556.0",
3333
"mdx-bundler": "^10.1.1",
3434
"next": "16.0.7",
35-
"react": "19.2.0",
36-
"react-dom": "19.2.0",
37-
"require-in-the-middle": "7.5.2",
38-
"sharp": "^0.34.4",
39-
"shiki": "^3.14.0",
40-
"zod": "^4.1.12"
35+
"react": "19.2.1",
36+
"react-dom": "19.2.1",
37+
"require-in-the-middle": "8.0.1",
38+
"sharp": "^0.34.5",
39+
"shiki": "^3.19.0",
40+
"zod": "^4.1.13"
4141
},
4242
"devDependencies": {
4343
"@repo/typescript-config": "workspace:*",
44-
"@types/node": "24.9.1",
45-
"@types/react": "19.2.2",
46-
"@types/react-dom": "19.2.2",
47-
"tailwindcss": "^4.1.16",
44+
"@types/node": "24.10.1",
45+
"@types/react": "19.2.7",
46+
"@types/react-dom": "19.2.3",
47+
"tailwindcss": "^4.1.17",
4848
"typescript": "^5.9.3"
4949
}
5050
}
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
1-
import { authMiddleware } from "@repo/auth/middleware";
2-
import { internationalizationMiddleware } from "@repo/internationalization/middleware";
1+
import { authMiddleware } from "@repo/auth/proxy";
2+
import { internationalizationMiddleware } from "@repo/internationalization/proxy";
33
import { parseError } from "@repo/observability/error";
44
import { secure } from "@repo/security";
55
import {
66
noseconeOptions,
77
noseconeOptionsWithToolbar,
88
securityMiddleware,
9-
} from "@repo/security/middleware";
9+
} from "@repo/security/proxy";
1010
import { createNEMO } from "@rescale/nemo";
11-
import {
12-
type NextMiddleware,
13-
type NextRequest,
14-
NextResponse,
15-
} from "next/server";
11+
import { type NextProxy, type NextRequest, NextResponse } from "next/server";
1612
import { env } from "@/env";
1713

1814
export const config = {
1915
// matcher tells Next.js which routes to run the middleware on. This runs the
2016
// middleware on all routes except for static assets and Posthog ingest
2117
matcher: ["/((?!_next/static|_next/image|ingest|favicon.ico).*)"],
22-
runtime: "nodejs",
2318
};
2419

2520
const securityHeaders = env.FLAGS_SECRET
@@ -69,4 +64,4 @@ export default authMiddleware(async (_auth, request, event) => {
6964

7065
// Return middleware response if it exists, otherwise headers response
7166
return middlewareResponse || headersResponse;
72-
}) as unknown as NextMiddleware;
67+
}) as unknown as NextProxy;

docs/.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# AI Gateway API Key (optional - for AI chat)
2+
AI_GATEWAY_API_KEY=""
3+
4+
# Production URL (automatically set on Vercel)
5+
NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL="localhost:3000"

docs/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# deps
2+
node_modules
3+
4+
# generated content
5+
.source
6+
7+
# test & build
8+
coverage
9+
.next/
10+
out/
11+
build
12+
*.tsbuildinfo
13+
dist
14+
15+
# misc
16+
.DS_Store
17+
*.pem
18+
.pnp
19+
.pnp.js
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*
23+
24+
# others
25+
.env*.local
26+
.vercel
27+
next-env.d.ts
28+
29+
# Turborepo
30+
.turbo

0 commit comments

Comments
 (0)