fix(build): run prisma generate before next build
Ensures the Prisma client types are always regenerated from the current schema before compilation. Without this, schema changes (e.g. making passwordHash nullable) cause TypeScript errors on the build server if prisma generate hasn't been run manually after pulling. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
56817a7d86
commit
352b14cec7
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "next build",
|
||||
"build": "prisma generate && next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"type-check": "tsc --noEmit",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue