Files
lovelope/package.json
T
jeanGaston 9976542438 refactor: install shadcn/ui primitives (button, card, input, textarea, label, tabs, switch, dialog, alert-dialog, badge, separator, sonner)
Pinned the CLI to shadcn@2.3.0 rather than the latest (4.16.0): the
latest generation targets Tailwind v4-only syntax (bare-value parens
like `gap-(--card-spacing)`, the `in-*` variant, `--spacing()`) that
silently fails to compile under this project's Tailwind v3.4.6.
2.3.0 is the last CLI generation producing classic hsl(var(--x))
v3-compatible component output.

Swapped @radix-ui/react-icons for the already-installed lucide-react
in dialog.tsx, and dropped sonner's next-themes dependency (the app
has no dark-mode toggle, so Toaster is hardcoded to theme="light").

Old custom src/components/ui/Button.tsx, Card.tsx, and Field.tsx are
removed here; call sites are updated in the following commits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-29 19:39:41 +02:00

56 lines
1.5 KiB
JSON

{
"name": "lovelope",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate deploy",
"db:migrate:dev": "prisma migrate dev",
"db:studio": "prisma studio",
"db:seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@prisma/client": "^5.15.0",
"@radix-ui/react-alert-dialog": "^1.1.23",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-separator": "^1.1.15",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-switch": "^1.3.7",
"@radix-ui/react-tabs": "^1.1.21",
"canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"framer-motion": "^11.3.0",
"lucide-react": "^1.27.0",
"nanoid": "^5.0.7",
"next": "14.2.35",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sonner": "^1.7.4",
"tailwind-merge": "^3.6.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/canvas-confetti": "^1.9.0",
"@types/node": "^20.14.0",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.35",
"postcss": "^8.4.39",
"prisma": "^5.15.0",
"tailwindcss": "^3.4.6",
"tailwindcss-animate": "^1.0.7",
"tsx": "^4.16.0",
"typescript": "^5.5.3"
}
}