Turbo fixes

pull/2664/head^2
zomars 2022-05-09 16:08:03 -06:00
parent 4099a477d1
commit 4e0efb76cd
4 changed files with 1428 additions and 67 deletions

View File

@ -28,7 +28,7 @@
"heroku-postbuild": "turbo run @calcom/web#build", "heroku-postbuild": "turbo run @calcom/web#build",
"lint": "turbo run lint", "lint": "turbo run lint",
"lint:report": "turbo run lint:report", "lint:report": "turbo run lint:report",
"postinstall": "turbo run postinstall", "postinstall": "turbo run post-install",
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
"env-check:common": "dotenv-checker --schema .env.example --env .env", "env-check:common": "dotenv-checker --schema .env.example --env .env",
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore", "env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",

View File

@ -3,7 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "yarn generate-schemas", "build": "yarn prisma migrate deploy && yarn seed-app-store",
"clean": "rm -rf .turbo && rm -rf node_modules", "clean": "rm -rf .turbo && rm -rf node_modules",
"db-deploy": "yarn prisma migrate deploy", "db-deploy": "yarn prisma migrate deploy",
"db-migrate": "yarn prisma migrate dev", "db-migrate": "yarn prisma migrate dev",
@ -13,10 +13,9 @@
"db-setup": "run-s db-up db-deploy db-seed", "db-setup": "run-s db-up db-deploy db-seed",
"db-studio": "yarn prisma studio", "db-studio": "yarn prisma studio",
"db-up": "docker-compose up -d", "db-up": "docker-compose up -d",
"deploy": "yarn prisma migrate deploy && yarn seed-app-store",
"dx": "yarn db-setup", "dx": "yarn db-setup",
"generate-schemas": "prisma generate && prisma format", "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" "seed-app-store": "ts-node --transpile-only ./seed-app-store.ts"
}, },
"devDependencies": { "devDependencies": {

View File

@ -3,10 +3,6 @@
"baseBranch": "origin/main", "baseBranch": "origin/main",
"globalDependencies": [".env", "packages/prisma/.env"], "globalDependencies": [".env", "packages/prisma/.env"],
"pipeline": { "pipeline": {
"@calcom/prisma#build": {
"dependsOn": ["$DATABASE_URL"],
"outputs": ["zod/**"]
},
"@calcom/prisma#db-deploy": { "@calcom/prisma#db-deploy": {
"cache": false, "cache": false,
"dependsOn": ["$DATABASE_URL"] "dependsOn": ["$DATABASE_URL"]
@ -103,7 +99,7 @@
"db-seed": {}, "db-seed": {},
"deploy": { "deploy": {
"cache": false, "cache": false,
"dependsOn": ["@calcom/web#build", "@calcom/embed-core#build"], "dependsOn": ["@calcom/web#build"],
"outputs": [] "outputs": []
}, },
"clean": { "clean": {
@ -123,7 +119,7 @@
"cache": false, "cache": false,
"outputs": ["lint-results"] "outputs": ["lint-results"]
}, },
"postinstall": {}, "post-install": {},
"start": {}, "start": {},
"embed-tests": { "embed-tests": {
"cache": false "cache": false

1480
yarn.lock

File diff suppressed because it is too large Load Diff