diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..830fb59 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/package.json b/package.json index 7c9e2d5..f847354 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,10 @@ "test:coverage": "vitest run --coverage" }, "dependencies": { - "next": "14.2.5", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "next-themes": "^0.3.0", + "next": "15.5.19", + "react": "^19.2.7", + "react-dom": "^19.2.7", + "next-themes": "^0.4.6", "geist": "^1.3.1", "lucide-react": "^0.436.0", "clsx": "^2.1.1", @@ -27,8 +27,8 @@ "class-variance-authority": "^0.7.0", "framer-motion": "^11.5.0", "sonner": "^1.5.0", - "cmdk": "^1.0.0", - "vaul": "^0.9.4", + "cmdk": "^1.1.1", + "vaul": "^1.1.2", "recharts": "^2.12.7", "zod": "^3.23.8", "@radix-ui/react-slot": "^1.1.0", @@ -49,14 +49,14 @@ "devDependencies": { "typescript": "^5.5.4", "@types/node": "^22.5.1", - "@types/react": "^18.3.4", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.2.17", + "@types/react-dom": "^19.2.3", "tailwindcss": "^3.4.10", "tailwindcss-animate": "^1.0.7", "autoprefixer": "^10.4.20", "postcss": "^8.4.45", "eslint": "^8.57.0", - "eslint-config-next": "14.2.5", + "eslint-config-next": "15.5.19", "vitest": "^2.0.5", "@vitest/ui": "^2.0.5", "@vitest/coverage-v8": "^2.0.5", diff --git a/src/app/error.tsx b/src/app/error.tsx index e4f919a..0b97136 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -50,6 +50,7 @@ export default function Error({ variant="outline" size="default" > + {/* eslint-disable-next-line @next/next/no-html-link-for-pages */} Go home diff --git a/src/components/providers/theme-provider.tsx b/src/components/providers/theme-provider.tsx index 6825ddd..5053e57 100644 --- a/src/components/providers/theme-provider.tsx +++ b/src/components/providers/theme-provider.tsx @@ -1,7 +1,7 @@ "use client"; import { ThemeProvider as NextThemesProvider } from "next-themes"; -import type { ThemeProviderProps } from "next-themes/dist/types"; +import type { ThemeProviderProps } from "next-themes"; /** * Wraps next-themes with sensible defaults. We attach the theme to a diff --git a/tsconfig.json b/tsconfig.json index 2aead53..f48e7ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,10 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -12,11 +16,25 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, - "plugins": [{ "name": "next" }], + "plugins": [ + { + "name": "next" + } + ], "paths": { - "@/*": ["./src/*"] - } + "@/*": [ + "./src/*" + ] + }, + "target": "ES2017" }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] }