diff --git a/turbo.json b/turbo.json index 570cf821..51a92c9f 100644 --- a/turbo.json +++ b/turbo.json @@ -2,7 +2,7 @@ "$schema": "https://turbo.build/schema.json", "pipeline": { "build": { - "dependsOn": ["^build"], + "dependsOn": ["^build", "^db:generate"], "outputs": [".next/**", "!.next/cache/**", "dist/**"], "env": [ "VERCEL_URL", "PORT", "NODE_ENV" @@ -16,6 +16,7 @@ "outputs": [] }, "dev": { + "dependsOn": ["^db:generate"], "cache": false }, "start": {