Files
lms-sb/package.json
T
admins 1153bcc13a Add Prisma 7 PostgreSQL adapter
Prisma 7 requires explicit database adapter for runtime connections.
- Install @prisma/adapter-pg + pg
- Update prisma.ts: use PrismaPg adapter with DATABASE_URL
- Update seed.ts: same adapter pattern
- Dockerfile: copy pg deps to runner stage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:48:08 +05:00

45 lines
1022 B
JSON

{
"name": "lms-sb",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint",
"type-check": "tsc --noEmit"
},
"prisma": {
"seed": "ts-node --project tsconfig.json prisma/seed.ts"
},
"dependencies": {
"@prisma/adapter-pg": "^7.6.0",
"@prisma/client": "^7.6.0",
"bcryptjs": "^3.0.3",
"better-auth": "^1.6.0",
"clsx": "^2.1.1",
"next": "16.2.2",
"pg": "^8.20.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"resend": "^6.10.0",
"tailwind-merge": "^3.5.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20",
"@types/pg": "^8.20.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv": "^17.4.1",
"eslint": "^9",
"eslint-config-next": "16.2.2",
"prisma": "^7.6.0",
"tailwindcss": "^4",
"ts-node": "^10.9.2",
"typescript": "^5"
}
}