Upgrade to Prisma 7 and clear npm audit advisories
- Prisma 5.22 -> 7.10 using the @prisma/adapter-pg driver adapter; the datasource URL moves to backend/prisma.config.js. All clients are built in src/config/db.js, and index.js reuses the shared client. - Backend: patch follow-redirects, drop nodemon for `node --watch`, and use js-yaml 4 for the Jest coverage loader. npm audit reports 0. - Frontend: override postcss-selector-parser to 7.1.7 (Tailwind 3 output is unchanged). braces has no patched release and stays, build/lint only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,6 @@ generator client {
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
enum UserRole {
|
||||
|
||||
Reference in New Issue
Block a user