Fix all TypeScript errors; remove unused element/magicui components
- Add missing deps: @base-ui/react, react-hook-form, next-themes, react-is - Bump recharts to 3.9.1 and update chart.tsx to the recharts v3-compatible shadcn version - Pin react-resizable-panels to v3 (v4 renamed the PanelGroup exports) - Add showCloseButton prop to DialogContent (used by CommandDialog) - Replace custom cn with standard clsx + twMerge (fixes Base UI className types and object-syntax classes being dropped at runtime) - Clean up tsconfig (drop dead Vite project references; Next.js updated moduleResolution/jsx during build) - Remove unused components/elements and components/magicui, drop bun.lock in favor of yarn.lock, simplify app/page.tsx Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019bE5ox6WnAPgqRgkx3pLCu
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@base-ui/react": "^1.6.0",
|
||||
"@radix-ui/react-accordion": "^1.2.3",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.6",
|
||||
"@radix-ui/react-aspect-ratio": "^1.1.2",
|
||||
@@ -48,13 +49,16 @@
|
||||
"lucide-react": "^1.17.0",
|
||||
"nanoid": "^5.1.6",
|
||||
"next": "^16.2.6",
|
||||
"next-themes": "^0.4.6",
|
||||
"radix-ui": "^1.4.3",
|
||||
"react": "^19.2.6",
|
||||
"react-day-picker": "^9.5.0",
|
||||
"react-dom": "^19.2.6",
|
||||
"react-hook-form": "^7.80.0",
|
||||
"react-is": "^19.0.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-resizable-panels": "^4.5.8",
|
||||
"recharts": "^3.7.0",
|
||||
"react-resizable-panels": "^3.0.6",
|
||||
"recharts": "^3.8.0",
|
||||
"shiki": "^3.21.0",
|
||||
"sonner": "^2.0.7",
|
||||
"streamdown": "^2.1.0",
|
||||
|
||||
Reference in New Issue
Block a user