fix: set explicit prisma client output for pnpm compatibility

pnpm's strict node_modules layout causes prisma generate to output to
a deeply nested .pnpm directory, but @prisma/client resolves .prisma/client
from the root node_modules. Setting an explicit output path ensures the
generated client is always found at the expected location.
This commit is contained in:
Lucas Smith
2026-03-06 14:28:59 +11:00
parent b5e1874ced
commit 0d1496bc26
+1
View File
@@ -4,6 +4,7 @@ generator kysely {
generator client {
provider = "prisma-client-js"
output = "../../node_modules/.prisma/client"
}
generator json {