Prisma 7 removed support for `url` in schema.prisma datasources and the `engineType = "library"` native binary engine. All connections now go through a driver adapter. - Remove engineType and url from schema.prisma (no longer supported) - Configure prisma.config.ts with migrate.adapter using @libsql/client - Instantiate PrismaClient with PrismaLibSQL adapter in src/lib/prisma.ts - Add @libsql/client and @prisma/adapter-libsql dependencies - Remove PRISMA_CLIENT_ENGINE_TYPE from Dockerfile (obsolete) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
798 B
JSON
35 lines
798 B
JSON
{
|
|
"name": "wfh",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"@libsql/client": "^0.14.0",
|
|
"@next-auth/prisma-adapter": "^1.0.7",
|
|
"@prisma/adapter-libsql": "^7.5.0",
|
|
"@prisma/client": "^7.5.0",
|
|
"googleapis": "^171.4.0",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.1.6",
|
|
"next-auth": "^4.24.13",
|
|
"prisma": "^7.5.0",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|