Skip to content

Commit

Permalink
Turbo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed May 9, 2022
1 parent 3161cc4 commit d40e8ca
Show file tree
Hide file tree
Showing 4 changed files with 1,428 additions and 67 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"heroku-postbuild": "turbo run @calcom/web#build",
"lint": "turbo run lint",
"lint:report": "turbo run lint:report",
"postinstall": "turbo run postinstall",
"postinstall": "turbo run post-install",
"pre-commit": "lint-staged",
"env-check:common": "dotenv-checker --schema .env.example --env .env",
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",
Expand Down
5 changes: 2 additions & 3 deletions packages/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"build": "yarn generate-schemas",
"build": "yarn prisma migrate deploy && yarn seed-app-store",
"clean": "rm -rf .turbo && rm -rf node_modules",
"db-deploy": "yarn prisma migrate deploy",
"db-migrate": "yarn prisma migrate dev",
Expand All @@ -13,10 +13,9 @@
"db-setup": "run-s db-up db-deploy db-seed",
"db-studio": "yarn prisma studio",
"db-up": "docker-compose up -d",
"deploy": "yarn prisma migrate deploy && yarn seed-app-store",
"dx": "yarn db-setup",
"generate-schemas": "prisma generate && prisma format",
"postinstall": "yarn generate-schemas",
"post-install": "yarn generate-schemas",
"seed-app-store": "ts-node --transpile-only ./seed-app-store.ts"
},
"devDependencies": {
Expand Down
8 changes: 2 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"baseBranch": "origin/main",
"globalDependencies": [".env", "packages/prisma/.env"],
"pipeline": {
"@calcom/prisma#build": {
"dependsOn": ["$DATABASE_URL"],
"outputs": ["zod/**"]
},
"@calcom/prisma#db-deploy": {
"cache": false,
"dependsOn": ["$DATABASE_URL"]
Expand Down Expand Up @@ -103,7 +99,7 @@
"db-seed": {},
"deploy": {
"cache": false,
"dependsOn": ["@calcom/web#build", "@calcom/embed-core#build"],
"dependsOn": ["@calcom/web#build"],
"outputs": []
},
"clean": {
Expand All @@ -123,7 +119,7 @@
"cache": false,
"outputs": ["lint-results"]
},
"postinstall": {},
"post-install": {},
"start": {},
"embed-tests": {
"cache": false
Expand Down

0 comments on commit d40e8ca

Please sign in to comment.