chore: fix compilation

This commit is contained in:
Thomas Camlong
2025-11-17 10:21:49 +01:00
parent ebc5541605
commit 01629843bd
7 changed files with 14 additions and 14 deletions

View File

@@ -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": {

8
web/pnpm-lock.yaml generated
View File

@@ -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:

View File

@@ -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()

View File

@@ -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() {

View File

@@ -60,12 +60,9 @@ function Calendar({
...classNames,
}}
components={{
IconLeft: ({ className, ...props }) => (
Chevron: ({ className, ...props }) => (
<ChevronLeft className={cn("size-4", className)} {...props} />
),
IconRight: ({ className, ...props }) => (
<ChevronRight className={cn("size-4", className)} {...props} />
),
}}
{...props}
/>

View File

@@ -10,3 +10,4 @@ export class ApiError extends Error {
this.status = status
}
}

View File

@@ -39,6 +39,7 @@
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
"node_modules",
"src/components/ui"
]
}