refactor: 降级到 Prisma 6,移除 adapter 依赖

Prisma 6 内置 SQLite 引擎,无需 adapter、无需编译工具链,
与 no-whatever 项目保持一致的技术方案。
This commit is contained in:
田东生
2026-02-25 18:48:20 +08:00
parent 115f522056
commit c5505868e1
7 changed files with 65 additions and 1015 deletions
+2 -3
View File
@@ -9,8 +9,7 @@
"lint": "eslint"
},
"dependencies": {
"@prisma/adapter-libsql": "^7.4.1",
"@prisma/client": "^7.4.1",
"@prisma/client": "^6.19.2",
"framer-motion": "^12.34.3",
"lucide-react": "^0.575.0",
"next": "16.1.6",
@@ -24,7 +23,7 @@
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.6",
"prisma": "^7.4.1",
"prisma": "^6.19.2",
"tailwindcss": "^4",
"typescript": "^5"
}