fix: 修复 Prisma seed 部署入口

This commit is contained in:
湛兮
2026-06-11 22:36:45 +08:00
parent d0375257ce
commit 62a2f933d3
2 changed files with 9 additions and 15 deletions
+2 -2
View File
@@ -13,10 +13,10 @@
"build": "nest build",
"check": "pnpm lint && pnpm test && pnpm build",
"format": "prettier --write \"src/**/*.ts\" \"prisma/**/*.prisma\" \"*.md\"",
"lint": "eslint \"{src,prisma}/**/*.{ts,js}\"",
"lint": "eslint \"{src,prisma}/**/*.{ts,js}\" --ignore-pattern prisma/seed.js",
"prisma:generate": "prisma generate",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:seed": "node dist/prisma/seed.js",
"prisma:seed": "node prisma/seed.js",
"prisma:studio": "prisma studio",
"start": "nest start",
"start:dev": "nest start --watch",