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>
This commit is contained in:
co-authored by
Anik Dhabal Babu
parent
a2d0cbfe5b
commit
2cc8b1c2af
+2
-2
@@ -276,14 +276,14 @@
|
||||
},
|
||||
"@calcom/prisma#db-seed": {
|
||||
"cache": false,
|
||||
"dependsOn": ["@calcom/prisma#db-migrate"]
|
||||
"dependsOn": ["@calcom/prisma#db-deploy"]
|
||||
},
|
||||
"@calcom/prisma#db-up": {
|
||||
"cache": false
|
||||
},
|
||||
"@calcom/prisma#dx": {
|
||||
"cache": false,
|
||||
"dependsOn": ["@calcom/prisma#db-migrate"]
|
||||
"dependsOn": ["@calcom/prisma#db-up"]
|
||||
},
|
||||
"@calcom/trpc#build": {
|
||||
"outputs": ["./types"]
|
||||
|
||||
Reference in New Issue
Block a user