Skip to content

Commit 2cc8b1c

Browse files
fix: Use db-deploy instead of db-migrate for yarn dx in non-interactive environments (#23253)
Fixes the issue where 'yarn dx' fails in non-interactive environments (CI/CD, Docker, automated scripts) by changing Turbo dependencies: - @calcom/prisma#db-seed: db-migrate → db-deploy - @calcom/prisma#dx: db-migrate → db-up This ensures that non-interactive 'prisma migrate deploy' is used instead of interactive 'prisma migrate dev', allowing yarn dx to work correctly in automated environments. Resolves: Cal.com App Store performance optimization - yarn dx failure Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
1 parent a2d0cbf commit 2cc8b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

turbo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@
276276
},
277277
"@calcom/prisma#db-seed": {
278278
"cache": false,
279-
"dependsOn": ["@calcom/prisma#db-migrate"]
279+
"dependsOn": ["@calcom/prisma#db-deploy"]
280280
},
281281
"@calcom/prisma#db-up": {
282282
"cache": false
283283
},
284284
"@calcom/prisma#dx": {
285285
"cache": false,
286-
"dependsOn": ["@calcom/prisma#db-migrate"]
286+
"dependsOn": ["@calcom/prisma#db-up"]
287287
},
288288
"@calcom/trpc#build": {
289289
"outputs": ["./types"]

0 commit comments

Comments
 (0)