correction du deploiement pour le front

This commit is contained in:
2026-05-11 09:18:39 +02:00
parent ea9eaa4b8a
commit 1df2503f0b
3 changed files with 3 additions and 413 deletions

View File

@@ -10,7 +10,7 @@
"dev": "next dev -p 3000",
"dev:admin": "npm run dev --prefix admin -- -p 3001",
"all": "concurrently \"npm run dev\" \"npm run dev:admin\"",
"build": "prisma generate && next build && npm run build:admin",
"build": "prisma generate && next build",
"build:admin": "npm install --prefix admin --legacy-peer-deps && npm run build --prefix admin",
"generate": "npx prisma generate && cd admin && npx prisma generate --schema=../prisma/schema.prisma && cd ..",
"start": "npx prisma migrate deploy && next start",