170 lines
4.5 KiB
JSON
170 lines
4.5 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"baseBranch": "origin/main",
|
|
"pipeline": {
|
|
"@calcom/prisma#build": {
|
|
"cache": false,
|
|
"dependsOn": ["post-install", "db-deploy"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/prisma#db-migrate": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-up"],
|
|
"inputs": ["./schema.prisma", "./migrations/**/*.sql"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/prisma#db-seed": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-migrate"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/prisma#db-up": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"@calcom/prisma#dx": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-migrate"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/web#build": {
|
|
"dependsOn": [
|
|
"^build",
|
|
"$NEXT_PUBLIC_IS_E2E",
|
|
"$NEXT_PUBLIC_LICENSE_CONSENT",
|
|
"$NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",
|
|
"$STRIPE_PRO_PLAN_PRODUCT_ID",
|
|
"$STRIPE_PREMIUM_PLAN_PRODUCT_ID",
|
|
"$STRIPE_FREE_PLAN_PRODUCT_ID",
|
|
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
|
|
"$NEXT_PUBLIC_WEBAPP_URL",
|
|
"$NEXT_PUBLIC_WEBSITE_URL"
|
|
],
|
|
"outputs": [".next/**"]
|
|
},
|
|
"@calcom/web#dx": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#dx"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/web#start": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-deploy"],
|
|
"outputs": []
|
|
},
|
|
"@calcom/website#build": {
|
|
"dependsOn": [
|
|
"^build",
|
|
"$NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",
|
|
"$STRIPE_PRO_PLAN_PRODUCT_ID",
|
|
"$STRIPE_PREMIUM_PLAN_PRODUCT_ID",
|
|
"$STRIPE_FREE_PLAN_PRODUCT_ID",
|
|
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
|
|
"$NEXT_PUBLIC_WEBAPP_URL",
|
|
"$NEXT_PUBLIC_WEBSITE_URL"
|
|
],
|
|
"outputs": [".next/**"]
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", ".next/**"]
|
|
},
|
|
"db-deploy": {
|
|
"cache": false,
|
|
"inputs": ["./migrations/**/*.sql", "./prisma/migrations/**/*.sql"],
|
|
"outputs": []
|
|
},
|
|
"db-seed": { "outputs": [] },
|
|
"deploy": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/web#build"],
|
|
"outputs": []
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["//#env-check:common", "//#env-check:app-store"],
|
|
"outputs": [],
|
|
"cache": false
|
|
},
|
|
"dx": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"lint": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"lint:fix": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"lint:report": {
|
|
"cache": false,
|
|
"outputs": ["lint-results"]
|
|
},
|
|
"post-install": {
|
|
"dependsOn": ["$PRISMA_GENERATE_DATAPROXY"],
|
|
"outputs": ["../../node_modules/@prisma/client/**", "../../node_modules/@prisma/admin-client/**"],
|
|
"inputs": ["./schema.prisma", "./prisma/schema.prisma"]
|
|
},
|
|
"start": {},
|
|
"embed-tests": {
|
|
"cache": false
|
|
},
|
|
"embed-tests-quick": {
|
|
"cache": false
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^test"]
|
|
},
|
|
"test-e2e": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-seed", "@calcom/web#test", "@calcom/web#build"]
|
|
},
|
|
"type-check": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"@calcom/app-store-cli#build": {
|
|
"cache": false,
|
|
"inputs": ["../../app-store/**/**"],
|
|
"outputs": ["../../app-store/apps.server.generated.ts", "../../app-store/apps.browser.generated.tsx"]
|
|
},
|
|
"@calcom/embed-react#type-check": {
|
|
"dependsOn": ["@calcom/embed-core#build", "@calcom/embed-snippet#build"]
|
|
},
|
|
"@calcom/embed-core#build": {
|
|
"cache": false,
|
|
"outputs": ["../../../apps/web/public/embed/**"]
|
|
},
|
|
"embed-tests-update-snapshots:ci": {
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"@calcom/prisma#db-seed",
|
|
"@calcom/web#build",
|
|
"@calcom/embed-core#build",
|
|
"@calcom/embed-react#build",
|
|
"^embed-tests-update-snapshots:ci"
|
|
]
|
|
},
|
|
"app-e2e-quick": {
|
|
"cache": false,
|
|
"dependsOn": ["@calcom/prisma#db-seed", "@calcom/web#build", "^app-e2e-quick"]
|
|
},
|
|
"//#env-check:common": {
|
|
"inputs": ["./.env.example", "./.env"],
|
|
"outputs": ["./.env"]
|
|
},
|
|
"//#env-check:app-store": {
|
|
"inputs": ["./.env.appStore.example", "./.env.appStore"],
|
|
"outputs": ["./.env.appStore"]
|
|
}
|
|
}
|
|
}
|