* WIP teams billing page * WIP * Create settings page * Remove unused imports * Create stripe customer on team creation * Add Stripe ids to team record * Add Stripe price ids for team to .env * Create & delete Stripe customers * Add string * Merge branch 'main' into v2/teams-billing * Create checkout session when creating team * Create webhook to update team with Stripe ids * Add Stripe migration files * Move deleting team from Stripe under ee * Some cleanup * Merge branch 'v2/teams-billing' of https://github.com/calcom/cal.com into v2/teams-billing * Small clean up * Link to team's portal page * Fix types * Fix type errors * Fix type errors * Fix type error * Delete old files & type fixes * Address feedback * Fix type errors * Removes team creation modal * WIP * Removed billing frequency from team creation * Add Stripe check for delete team customer * Merge branch 'v2/teams-billing' of https://github.com/calcom/cal.com into v2/teams-billing * Add high level form to create new team * WIP * Add new team to form * Validate for invited members * Add translations * WIP * Add validation for team name * Add validation to team slug * Clean up * Fix type error * Fix type errors * WIP * Abstract invite members function * Add subscription status column * Hide pending teams from settings * Send email on paid subscription * WIP * Sync packages * Add team subscription cols to schema * WIP * Matches locks vite version to <3 * Removed subscriptionStatus * WIP * Fix warning * Query optimizations * WIP * Cleanup * Wip * WIP * Runtime error fixes * Cancellation fixes * Delete team fixes * Cleanup * Type fixes * Allows to check memebership in getTeamWithMembers * Adds team creation tests * Cleanup * Cleanup * Restored change * Updated copy * Moved component * Cleanup * Fix team members view * Cleanup * Adds failsafe for skipping publishing on update * Cleanup * Feedback * More feedback * Cleanup * Cleanup * Feedback * Feedback * Feedback * Adds edge-case for slug conflicts * Feedback * e2e fixes Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
252 lines
6.6 KiB
JSON
252 lines
6.6 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"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_PREMIUM_NEW_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_IS_PREMIUM_NEW_PLAN",
|
|
"$STRIPE_PRO_PLAN_PRODUCT_ID",
|
|
"$STRIPE_PREMIUM_PLAN_PRODUCT_ID",
|
|
"$STRIPE_FREE_PLAN_PRODUCT_ID",
|
|
"$STRIPE_TEAM_MONTHLY_PRICE_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_PREMIUM_NEW_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",
|
|
"$NEXT_PUBLIC_IS_PREMIUM_NEW_PLAN",
|
|
"$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"]
|
|
},
|
|
"@calcom/prisma#post-install": {
|
|
"cache": false
|
|
},
|
|
"start": {},
|
|
"embed-tests": {
|
|
"cache": false
|
|
},
|
|
"embed-tests-quick": {
|
|
"cache": false
|
|
},
|
|
"type-check": {
|
|
"cache": false,
|
|
"outputs": []
|
|
},
|
|
"@calcom/prisma#db-reset": {
|
|
"cache": false
|
|
},
|
|
"@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"
|
|
]
|
|
},
|
|
"//#env-check:common": {
|
|
"cache": false,
|
|
"inputs": ["./.env.example", "./.env"],
|
|
"outputs": ["./.env"]
|
|
},
|
|
"//#env-check:app-store": {
|
|
"cache": false,
|
|
"inputs": ["./.env.appStore.example", "./.env.appStore"],
|
|
"outputs": ["./.env.appStore"]
|
|
},
|
|
"//#test": {
|
|
"cache": false,
|
|
"outputs": []
|
|
}
|
|
},
|
|
"globalDependencies": [
|
|
"$ANALYZE",
|
|
"$API_KEY_PREFIX",
|
|
"$APP_USER_NAME",
|
|
"$CALCOM_LICENSE_KEY",
|
|
"$CALCOM_TELEMETRY_DISABLED",
|
|
"$CALENDSO_ENCRYPTION_KEY",
|
|
"$SEND_FEEDBACK_EMAIL",
|
|
"$CI",
|
|
"$CLOSECOM_API_KEY",
|
|
"$SENDGRID_API_KEY",
|
|
"$SENDGRID_SYNC_API_KEY",
|
|
"$SENDGRID_EMAIL",
|
|
"$CRON_API_KEY",
|
|
"$DAILY_API_KEY",
|
|
"$DAILY_SCALE_PLAN",
|
|
"$DEBUG",
|
|
"$EMAIL_FROM",
|
|
"$EMAIL_SERVER_HOST",
|
|
"$EMAIL_SERVER_PASSWORD",
|
|
"$EMAIL_SERVER_PORT",
|
|
"$EMAIL_SERVER_USER",
|
|
"$EMAIL_SERVER",
|
|
"$EXCHANGE_DEFAULT_EWS_URL",
|
|
"$GIPHY_API_KEY",
|
|
"$GOOGLE_API_CREDENTIALS",
|
|
"$GOOGLE_LOGIN_ENABLED",
|
|
"$MS_GRAPH_CLIENT_ID",
|
|
"$MS_GRAPH_CLIENT_SECRET",
|
|
"$LARK_OPEN_APP_ID",
|
|
"$LARK_OPEN_APP_SECRET",
|
|
"$LARK_OPEN_VERIFICATION_TOKEN",
|
|
"$TANDEM_CLIENT_ID",
|
|
"$TANDEM_CLIENT_SECRET",
|
|
"$TANDEM_BASE_URL",
|
|
"$ZOOM_CLIENT_ID",
|
|
"$ZOOM_CLIENT_SECRET",
|
|
"$HEROKU_APP_NAME",
|
|
"$HOSTED_CAL_FEATURES",
|
|
"$HUBSPOT_CLIENT_ID",
|
|
"$HUBSPOT_CLIENT_SECRET",
|
|
"$INTEGRATION_TEST_MODE",
|
|
"$IP_BANLIST",
|
|
"$NEXT_PUBLIC_CONSOLE_URL",
|
|
"$NEXT_PUBLIC_DEBUG",
|
|
"$NEXT_PUBLIC_EMBED_LIB_URL",
|
|
"$NEXT_PUBLIC_SWAGGER_DOCS_URL",
|
|
"$NEXT_PUBLIC_TEAM_IMPERSONATION",
|
|
"$NEXTAUTH_COOKIE_DOMAIN",
|
|
"$NEXTAUTH_SECRET",
|
|
"$NEXTAUTH_URL",
|
|
"$NODE_ENV",
|
|
"$PLAYWRIGHT_HEADLESS",
|
|
"$PLAYWRIGHT_TEST_BASE_URL",
|
|
"$QUICK",
|
|
"$RAILWAY_STATIC_URL",
|
|
"$SAML_ADMINS",
|
|
"$SAML_DATABASE_URL",
|
|
"$SEND_FEEDBACK_EMAIL",
|
|
"$SLACK_CLIENT_ID",
|
|
"$SLACK_CLIENT_SECRET",
|
|
"$SLACK_SIGNING_SECRET",
|
|
"$STRIPE_CLIENT_ID",
|
|
"$STRIPE_PRIVATE_KEY",
|
|
"$STRIPE_WEBHOOK_SECRET",
|
|
"$TELEMETRY_DEBUG",
|
|
"$VERCEL_ENV",
|
|
"$VERCEL_URL",
|
|
"$VITAL_API_KEY",
|
|
"$VITAL_WEBHOOK_SECRET",
|
|
"$VITAL_DEVELOPMENT_MODE",
|
|
"$VITAL_REGION",
|
|
"$ZAPIER_INVITE_LINK",
|
|
"$ALCHEMY_API_KEY",
|
|
"$INFURA_API_KEY",
|
|
"yarn.lock"
|
|
]
|
|
}
|