diff --git a/bun.lockb b/bun.lockb index f23d14c..0592dde 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/projects/website/next.config.mjs b/projects/website/next.config.ts similarity index 91% rename from projects/website/next.config.mjs rename to projects/website/next.config.ts index 9af244c..83d9b77 100644 --- a/projects/website/next.config.mjs +++ b/projects/website/next.config.ts @@ -1,10 +1,13 @@ import { withSentryConfig } from "@sentry/nextjs"; import { format } from "@formkit/tempo"; +import type { NextConfig } from "next"; -/** @type {import('next').NextConfig} */ -const nextConfig = { +const nextConfig: NextConfig = { experimental: { optimizePackageImports: ["@ssr/common", "@radix-ui/react-icons", "chart.js", "react-chartjs-2"], + staleTimes: { + dynamic: 30, + }, }, images: { remotePatterns: [ diff --git a/projects/website/package.json b/projects/website/package.json index 05111d6..c3a3219 100644 --- a/projects/website/package.json +++ b/projects/website/package.json @@ -36,10 +36,10 @@ "js-cookie": "^3.0.5", "ky": "^1.7.2", "lucide-react": "^0.453.0", - "next": "^15.0.0", + "next": "^15.0.1", "next-build-id": "^3.0.0", "next-themes": "^0.3.0", - "react": "18.3.1", + "react": "19.0.0-rc-1631855f-20241023", "react-chartjs-2": "^5.2.0", "react-countup": "^6.5.3", "react-dom": "18.3.1",