mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-19 10:07:29 +01:00
chore: fix compilation
This commit is contained in:
@@ -82,14 +82,14 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "2.2.4",
|
"@biomejs/biome": "2.2.4",
|
||||||
"@tailwindcss/postcss": "^4.1.17",
|
"@tailwindcss/postcss": "^4.1.13",
|
||||||
"@types/canvas-confetti": "^1.9.0",
|
"@types/canvas-confetti": "^1.9.0",
|
||||||
"@types/node": "^24.10.1",
|
"@types/node": "^24.10.1",
|
||||||
"@types/react": "^19.2.5",
|
"@types/react": "^19.2.5",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"tailwindcss": "^4.1.17",
|
"tailwindcss": "^4.1.13",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.2",
|
||||||
"wrangler": "^4.47.0"
|
"wrangler": "^4.42.2"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.18.2",
|
"packageManager": "pnpm@10.18.2",
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
|
|||||||
8
web/pnpm-lock.yaml
generated
8
web/pnpm-lock.yaml
generated
@@ -202,7 +202,7 @@ importers:
|
|||||||
specifier: 2.2.4
|
specifier: 2.2.4
|
||||||
version: 2.2.4
|
version: 2.2.4
|
||||||
'@tailwindcss/postcss':
|
'@tailwindcss/postcss':
|
||||||
specifier: ^4.1.17
|
specifier: ^4.1.13
|
||||||
version: 4.1.17
|
version: 4.1.17
|
||||||
'@types/canvas-confetti':
|
'@types/canvas-confetti':
|
||||||
specifier: ^1.9.0
|
specifier: ^1.9.0
|
||||||
@@ -217,13 +217,13 @@ importers:
|
|||||||
specifier: ^19.2.3
|
specifier: ^19.2.3
|
||||||
version: 19.2.3(@types/react@19.2.5)
|
version: 19.2.3(@types/react@19.2.5)
|
||||||
tailwindcss:
|
tailwindcss:
|
||||||
specifier: ^4.1.17
|
specifier: ^4.1.13
|
||||||
version: 4.1.17
|
version: 4.1.17
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5.9.3
|
specifier: ^5.9.2
|
||||||
version: 5.9.3
|
version: 5.9.3
|
||||||
wrangler:
|
wrangler:
|
||||||
specifier: ^4.47.0
|
specifier: ^4.42.2
|
||||||
version: 4.47.0
|
version: 4.47.0
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { ImageResponse } from "next/og"
|
|||||||
import { getCommunityGalleryRecord, getCommunitySubmissionByName, getCommunitySubmissions } from "@/lib/community"
|
import { getCommunityGalleryRecord, getCommunitySubmissionByName, getCommunitySubmissions } from "@/lib/community"
|
||||||
|
|
||||||
export const revalidate = 21600 // 6 hours
|
export const revalidate = 21600 // 6 hours
|
||||||
|
export const runtime = 'edge';
|
||||||
|
|
||||||
export async function generateStaticParams() {
|
export async function generateStaticParams() {
|
||||||
const icons = await getCommunitySubmissions()
|
const icons = await getCommunitySubmissions()
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { join } from "node:path"
|
|||||||
import { ImageResponse } from "next/og"
|
import { ImageResponse } from "next/og"
|
||||||
import { getAllIcons } from "@/lib/api"
|
import { getAllIcons } from "@/lib/api"
|
||||||
|
|
||||||
export const dynamic = "force-static"
|
export const runtime = 'edge';
|
||||||
export const revalidate = false
|
export const revalidate = false
|
||||||
|
|
||||||
export async function generateStaticParams() {
|
export async function generateStaticParams() {
|
||||||
|
|||||||
@@ -60,12 +60,9 @@ function Calendar({
|
|||||||
...classNames,
|
...classNames,
|
||||||
}}
|
}}
|
||||||
components={{
|
components={{
|
||||||
IconLeft: ({ className, ...props }) => (
|
Chevron: ({ className, ...props }) => (
|
||||||
<ChevronLeft className={cn("size-4", className)} {...props} />
|
<ChevronLeft className={cn("size-4", className)} {...props} />
|
||||||
),
|
),
|
||||||
IconRight: ({ className, ...props }) => (
|
|
||||||
<ChevronRight className={cn("size-4", className)} {...props} />
|
|
||||||
),
|
|
||||||
}}
|
}}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ export class ApiError extends Error {
|
|||||||
this.status = status
|
this.status = status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
".next/dev/types/**/*.ts"
|
".next/dev/types/**/*.ts"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules",
|
||||||
|
"src/components/ui"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user