From 01629843bd877badfd76caa958c0aa762cfb4d3d Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 17 Nov 2025 10:21:49 +0100 Subject: [PATCH] chore: fix compilation --- web/package.json | 8 ++++---- web/pnpm-lock.yaml | 8 ++++---- web/src/app/community/[icon]/opengraph-image.tsx | 1 + web/src/app/icons/[icon]/opengraph-image.tsx | 2 +- web/src/components/ui/calendar.tsx | 5 +---- web/src/lib/errors.ts | 1 + web/tsconfig.json | 3 ++- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/package.json b/web/package.json index 88f109e2..d719d360 100644 --- a/web/package.json +++ b/web/package.json @@ -82,14 +82,14 @@ }, "devDependencies": { "@biomejs/biome": "2.2.4", - "@tailwindcss/postcss": "^4.1.17", + "@tailwindcss/postcss": "^4.1.13", "@types/canvas-confetti": "^1.9.0", "@types/node": "^24.10.1", "@types/react": "^19.2.5", "@types/react-dom": "^19.2.3", - "tailwindcss": "^4.1.17", - "typescript": "^5.9.3", - "wrangler": "^4.47.0" + "tailwindcss": "^4.1.13", + "typescript": "^5.9.2", + "wrangler": "^4.42.2" }, "packageManager": "pnpm@10.18.2", "pnpm": { diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index d96145c5..29dab616 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -202,7 +202,7 @@ importers: specifier: 2.2.4 version: 2.2.4 '@tailwindcss/postcss': - specifier: ^4.1.17 + specifier: ^4.1.13 version: 4.1.17 '@types/canvas-confetti': specifier: ^1.9.0 @@ -217,13 +217,13 @@ importers: specifier: ^19.2.3 version: 19.2.3(@types/react@19.2.5) tailwindcss: - specifier: ^4.1.17 + specifier: ^4.1.13 version: 4.1.17 typescript: - specifier: ^5.9.3 + specifier: ^5.9.2 version: 5.9.3 wrangler: - specifier: ^4.47.0 + specifier: ^4.42.2 version: 4.47.0 packages: diff --git a/web/src/app/community/[icon]/opengraph-image.tsx b/web/src/app/community/[icon]/opengraph-image.tsx index 61da7c4c..f96bb646 100644 --- a/web/src/app/community/[icon]/opengraph-image.tsx +++ b/web/src/app/community/[icon]/opengraph-image.tsx @@ -3,6 +3,7 @@ import { ImageResponse } from "next/og" import { getCommunityGalleryRecord, getCommunitySubmissionByName, getCommunitySubmissions } from "@/lib/community" export const revalidate = 21600 // 6 hours +export const runtime = 'edge'; export async function generateStaticParams() { const icons = await getCommunitySubmissions() diff --git a/web/src/app/icons/[icon]/opengraph-image.tsx b/web/src/app/icons/[icon]/opengraph-image.tsx index 43db9ea6..f30dec11 100644 --- a/web/src/app/icons/[icon]/opengraph-image.tsx +++ b/web/src/app/icons/[icon]/opengraph-image.tsx @@ -3,7 +3,7 @@ import { join } from "node:path" import { ImageResponse } from "next/og" import { getAllIcons } from "@/lib/api" -export const dynamic = "force-static" +export const runtime = 'edge'; export const revalidate = false export async function generateStaticParams() { diff --git a/web/src/components/ui/calendar.tsx b/web/src/components/ui/calendar.tsx index b8df044d..fdb74853 100644 --- a/web/src/components/ui/calendar.tsx +++ b/web/src/components/ui/calendar.tsx @@ -60,12 +60,9 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ className, ...props }) => ( + Chevron: ({ className, ...props }) => ( ), - IconRight: ({ className, ...props }) => ( - - ), }} {...props} /> diff --git a/web/src/lib/errors.ts b/web/src/lib/errors.ts index e1f6eceb..28600798 100644 --- a/web/src/lib/errors.ts +++ b/web/src/lib/errors.ts @@ -10,3 +10,4 @@ export class ApiError extends Error { this.status = status } } + diff --git a/web/tsconfig.json b/web/tsconfig.json index 7ad1aa76..d7fc3a47 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -39,6 +39,7 @@ ".next/dev/types/**/*.ts" ], "exclude": [ - "node_modules" + "node_modules", + "src/components/ui" ] }