Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks/cookie consent and bug fixes #488

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
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
10 changes: 5 additions & 5 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"@repo/observability": "workspace:*",
"@repo/payments": "workspace:*",
"@repo/testing": "workspace:*",
"@sentry/nextjs": "^9.4.0",
"@sentry/nextjs": "^9.5.0",
"@t3-oss/env-nextjs": "^0.12.0",
"next": "15.1.7",
"next": "15.2.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"svix": "^1.61.2",
"vitest": "^3.0.7",
"svix": "^1.61.4",
"vitest": "^3.0.8",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"concurrently": "^9.1.2",
Expand Down
16 changes: 8 additions & 8 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@prisma/client": "6.4.1",
"@prisma/client": "6.5.0",
"@repo/analytics": "workspace:*",
"@repo/auth": "workspace:*",
"@repo/collaboration": "workspace:*",
Expand All @@ -24,13 +24,13 @@
"@repo/security": "workspace:*",
"@repo/seo": "workspace:*",
"@repo/webhooks": "workspace:*",
"@sentry/nextjs": "^9.4.0",
"@sentry/nextjs": "^9.5.0",
"@t3-oss/env-nextjs": "^0.12.0",
"fuse.js": "^7.1.0",
"import-in-the-middle": "^1.13.1",
"lucide-react": "^0.477.0",
"next": "15.1.7",
"next-themes": "^0.4.4",
"lucide-react": "^0.482.0",
"next": "15.2.2",
"next-themes": "^0.4.6",
"react": "19.0.0",
"react-dom": "19.0.0",
"require-in-the-middle": "^7.5.2",
Expand All @@ -41,12 +41,12 @@
"@repo/typescript-config": "workspace:*",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"jsdom": "^26.0.0",
"tailwindcss": "^4.0.12",
"tailwindcss": "^4.0.14",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
"vitest": "^3.0.8"
}
}
4 changes: 2 additions & 2 deletions apps/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"next": "15.1.7",
"next": "15.2.2",
"typescript": "^5.8.2"
}
}
26 changes: 13 additions & 13 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"dependencies": {
"@repo/design-system": "workspace:*",
"@storybook/addon-actions": "^8.6.4",
"cmdk": "^1.0.0",
"cmdk": "^1.0.4",
"date-fns": "^4.1.0",
"input-otp": "^1.4.2",
"lucide-react": "^0.477.0",
"next": "15.1.7",
"lucide-react": "^0.482.0",
"next": "15.2.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "^7.54.2",
Expand All @@ -27,21 +27,21 @@
"devDependencies": {
"@chromatic-com/storybook": "^3.2.5",
"@repo/typescript-config": "workspace:*",
"@storybook/addon-essentials": "^8.6.3",
"@storybook/addon-interactions": "^8.6.3",
"@storybook/addon-onboarding": "^8.6.3",
"@storybook/addon-themes": "^8.6.3",
"@storybook/blocks": "^8.6.3",
"@storybook/nextjs": "^8.6.3",
"@storybook/react": "^8.6.3",
"@storybook/test": "^8.6.3",
"@storybook/addon-essentials": "^8.6.4",
"@storybook/addon-interactions": "^8.6.4",
"@storybook/addon-onboarding": "^8.6.4",
"@storybook/addon-themes": "^8.6.4",
"@storybook/blocks": "^8.6.4",
"@storybook/nextjs": "^8.6.4",
"@storybook/react": "^8.6.4",
"@storybook/test": "^8.6.4",
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"chromatic": "^11.27.0",
"postcss": "^8",
"storybook": "^8.6.3",
"tailwindcss": "^4.0.12",
"storybook": "^8.6.4",
"tailwindcss": "^4.0.14",
"typescript": "^5"
}
}
2 changes: 1 addition & 1 deletion apps/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"devDependencies": {
"prisma": "6.4.1"
"prisma": "6.5.0"
}
}
2 changes: 1 addition & 1 deletion apps/web/app/[locale]/blog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const BlogPost = async ({ params }: BlogPostProperties) => {
isAccessibleForFree: true,
}}
/>
<div className="container py-16">
<div className="container mx-auto py-16">
<Link
className="mb-4 inline-flex items-center gap-1 text-muted-foreground text-sm focus:underline focus:outline-none"
href="/blog"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/[locale]/legal/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const LegalPage = async ({ params }: LegalPageProperties) => {
}

return (
<div className="container max-w-5xl py-16">
<div className="container mx-auto max-w-5xl py-16">
<Link
className="mb-4 inline-flex items-center gap-1 text-muted-foreground text-sm focus:underline focus:outline-none"
href="/"
Expand Down
10 changes: 10 additions & 0 deletions apps/web/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ const securityHeaders = env.FLAGS_SECRET
: noseconeMiddleware(noseconeOptions);

const middleware = authMiddleware(async (_auth, request) => {
const { pathname } = request.nextUrl;

// For root path, rewrite to /en without changing the URL
// This will ensure the health check works
if (pathname === '/') {
const url = request.nextUrl.clone();
url.pathname = '/en';
return NextResponse.rewrite(url);
}

const i18nResponse = internationalizationMiddleware(
request as unknown as NextRequest
);
Expand Down
18 changes: 9 additions & 9 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@arcjet/next": "1.0.0-beta.2",
"@arcjet/next": "1.0.0-beta.4",
"@radix-ui/react-icons": "^1.3.2",
"@repo/cms": "workspace:*",
"@repo/design-system": "workspace:*",
Expand All @@ -22,28 +22,28 @@
"@repo/rate-limit": "workspace:*",
"@repo/security": "workspace:*",
"@repo/seo": "workspace:*",
"@sentry/nextjs": "^9.4.0",
"@sentry/nextjs": "^9.5.0",
"@t3-oss/env-nextjs": "^0.12.0",
"date-fns": "^4.1.0",
"fumadocs-core": "^15.0.15",
"fumadocs-core": "^15.0.17",
"import-in-the-middle": "^1.13.1",
"lucide-react": "^0.477.0",
"mdx-bundler": "^10.1.0",
"next": "15.1.7",
"lucide-react": "^0.482.0",
"mdx-bundler": "^10.1.1",
"next": "15.2.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-wrap-balancer": "^1.1.1",
"require-in-the-middle": "^7.5.2",
"sharp": "^0.33.5",
"shiki": "^3.1.0",
"shiki": "^3.2.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"tailwindcss": "^4.0.12",
"tailwindcss": "^4.0.14",
"typescript": "^5.8.2"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
"@biomejs/biome": "1.9.4",
"@repo/typescript-config": "workspace:*",
"@turbo/gen": "^2.4.4",
"@types/node": "^22.13.9",
"@types/node": "^22.13.10",
"tsup": "^8.4.0",
"turbo": "^2.4.4",
"typescript": "^5.8.2",
"ultracite": "^4.1.20",
"vitest": "^3.0.7"
"ultracite": "^4.1.21",
"vitest": "^3.0.8"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@10.5.2",
"packageManager": "pnpm@10.6.3",
"dependencies": {
"@clack/prompts": "^0.10.0",
"commander": "^13.1.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@ai-sdk/openai": "^1.2.0",
"@ai-sdk/openai": "^1.2.5",
"@t3-oss/env-nextjs": "^0.12.0",
"ai": "^4.1.52",
"ai": "^4.1.61",
"react": "^19.0.0",
"react-markdown": "^10.0.1",
"react-markdown": "^10.1.0",
"tailwind-merge": "^3.0.2",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "^19.0.4"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@next/third-parties": "15.1.7",
"@next/third-parties": "15.2.2",
"@t3-oss/env-nextjs": "^0.12.0",
"@vercel/analytics": "^1.5.0",
"posthog-js": "^1.227.0",
"posthog-node": "^4.9.0",
"posthog-js": "^1.231.0",
"posthog-node": "^4.10.1",
"react": "^19.0.0",
"server-only": "^0.0.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "^19.0.4"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@clerk/nextjs": "^6.12.3",
"@clerk/themes": "^2.2.20",
"@clerk/nextjs": "^6.12.5",
"@clerk/themes": "^2.2.21",
"@t3-oss/env-nextjs": "^0.12.0",
"next-themes": "^0.4.4",
"next-themes": "^0.4.6",
"react": "^19.0.0",
"server-only": "^0.0.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@clerk/types": "^4.47.0",
"@clerk/types": "^4.48.0",
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "^19.0.4",
"typescript": "^5.8.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.12.0",
"basehub": "^8.1.18",
"basehub": "^8.1.19",
"react": "^19.0.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "^19.0.4",
"next": "15.1.7"
"next": "15.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/collaboration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"@types/react-dom": "^19.0.4"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
},
"dependencies": {
"@neondatabase/serverless": "^0.10.4",
"@prisma/adapter-neon": "6.4.1",
"@prisma/client": "6.4.1",
"@prisma/adapter-neon": "6.5.0",
"@prisma/client": "6.5.0",
"@t3-oss/env-nextjs": "^0.12.0",
"server-only": "^0.0.1",
"undici": "^7.4.0",
"undici": "^7.5.0",
"ws": "^8.18.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@types/node": "22.13.9",
"@types/node": "22.13.10",
"@types/ws": "^8.18.0",
"bufferutil": "^4.0.9",
"prisma": "6.4.1",
"prisma": "6.5.0",
"typescript": "^5.8.2"
}
}
2 changes: 1 addition & 1 deletion packages/design-system/components/ui/alert-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function AlertDialogOverlay({
<AlertDialogPrimitive.Overlay
data-slot="alert-dialog-overlay"
className={cn(
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
className
)}
{...props}
Expand Down
4 changes: 2 additions & 2 deletions packages/design-system/components/ui/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const alertVariants = cva(
{
variants: {
variant: {
default: "bg-background text-foreground",
default: "bg-card text-card-foreground",
destructive:
"text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80",
"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
},
},
defaultVariants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/components/ui/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const badgeVariants = cva(
secondary:
"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
destructive:
"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70",
outline:
"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
},
Expand Down
Loading
Loading