From e194e605f9ed7912ea2c438869e8761724e7c2c6 Mon Sep 17 00:00:00 2001 From: que01 Date: Wed, 21 Oct 2026 12:10:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B9=B2=E5=87=80?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=20lint=20=E4=B8=8E=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E4=BE=9D=E8=B5=96=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/package.json | 1 + turbo.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/api/package.json b/apps/api/package.json index 7fb65e0..fd93b5a 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -4,6 +4,7 @@ "type": "module", "scripts": { "build": "tsc -p tsconfig.json", + "postinstall": "prisma generate", "dev": "pnpm build && node --env-file=.env --watch dist/main.js", "lint": "eslint .", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/turbo.json b/turbo.json index 701a104..87e9ce0 100644 --- a/turbo.json +++ b/turbo.json @@ -3,8 +3,8 @@ "tasks": { "build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] }, "dev": { "cache": false, "persistent": true }, - "lint": { "dependsOn": ["^lint"], "outputs": [] }, - "typecheck": { "dependsOn": ["^typecheck"], "outputs": [] }, + "lint": { "dependsOn": ["^build"], "outputs": [] }, + "typecheck": { "dependsOn": ["^build"], "outputs": [] }, "clean": { "cache": false } } }