Fix seed.ts import and exclude prisma dir from Next.js tsc

- seed.ts: use ../src/generated/prisma/client (Prisma 7 entry point)
- tsconfig.json: exclude prisma/ so seed.ts is not type-checked by Next.js build

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 10:45:56 +05:00
parent d603b32ef5
commit 017833cd99
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import "dotenv/config";
import { PrismaClient } from "../src/generated/prisma";
import { PrismaClient } from "../src/generated/prisma/client";
import bcrypt from "bcryptjs";
const prisma = new PrismaClient();