cal/turbo.json

252 lines
6.6 KiB
JSON
Raw Normal View History

2022-02-09 19:17:10 -03:00
{
"$schema": "https://turborepo.org/schema.json",
2022-02-09 19:17:10 -03:00
"pipeline": {
2022-05-26 14:44:23 -03:00
"@calcom/prisma#build": {
"cache": false,
"dependsOn": ["post-install", "db-deploy"],
"outputs": []
2022-05-26 14:44:23 -03:00
},
"@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,
2022-06-27 20:58:59 -03:00
"dependsOn": ["@calcom/prisma#db-migrate"],
"outputs": []
2022-02-10 15:30:32 -03:00
},
"@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",
feature/settings-username-update (#2306) * WIP feature/settings-username-update * WIP username change * WIP downgrade stripe * stripe downgrade and prorate preview * new UI for username premium component * Fix server side props * Remove migration, changed field to metadata user * WIP for update subscriptions * WIP intent username table * WIP saving and updating username via hooks * WIP saving working username sub update * WIP, update html to work with tests * Added stripe test for username update go to stripe * WIP username change test * Working test for username change * Fix timeout for flaky test * Review changes, remove logs * Move input username as a self contained component * Self review changes * Removing unnecesary arrow function * Removed intentUsername table and now using user metadata * Update website * Update turbo.json * Update e2e.yml * Update yarn.lock * Fixes for self host username update * Revert yarn lock from main branch * E2E fixes * Centralizes username check * Improvements * WIP separate logic between premium and save username button * WIP refactor username premium update * Saving WIP * WIP redo of username check * WIP obtain action normal, update or downgrade * Update username change components * Fix test for change-username self host or cal server * Fix user type for premiumTextfield * Using now a global unique const to know if is selfhosted, css fixes * Remove unused import * Using dynamic import for username textfield, prevent submit on enter Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-06 16:31:07 -03:00
"$STRIPE_PRO_PLAN_PRODUCT_ID",
"$STRIPE_PREMIUM_PLAN_PRODUCT_ID",
"$STRIPE_FREE_PLAN_PRODUCT_ID",
Team billing (#5453) * 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>
2022-11-10 17:23:56 -03:00
"$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": []
},
2022-03-02 17:28:57 -03:00
"@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",
feature/settings-username-update (#2306) * WIP feature/settings-username-update * WIP username change * WIP downgrade stripe * stripe downgrade and prorate preview * new UI for username premium component * Fix server side props * Remove migration, changed field to metadata user * WIP for update subscriptions * WIP intent username table * WIP saving and updating username via hooks * WIP saving working username sub update * WIP, update html to work with tests * Added stripe test for username update go to stripe * WIP username change test * Working test for username change * Fix timeout for flaky test * Review changes, remove logs * Move input username as a self contained component * Self review changes * Removing unnecesary arrow function * Removed intentUsername table and now using user metadata * Update website * Update turbo.json * Update e2e.yml * Update yarn.lock * Fixes for self host username update * Revert yarn lock from main branch * E2E fixes * Centralizes username check * Improvements * WIP separate logic between premium and save username button * WIP refactor username premium update * Saving WIP * WIP redo of username check * WIP obtain action normal, update or downgrade * Update username change components * Fix test for change-username self host or cal server * Fix user type for premiumTextfield * Using now a global unique const to know if is selfhosted, css fixes * Remove unused import * Using dynamic import for username textfield, prevent submit on enter Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-06 16:31:07 -03:00
"$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"
],
2022-03-02 17:28:57 -03:00
"outputs": [".next/**"]
},
2022-02-09 19:17:10 -03:00
"build": {
"dependsOn": ["^build"],
2022-02-09 19:17:10 -03:00
"outputs": ["dist/**", ".next/**"]
},
"db-deploy": {
"cache": false,
"inputs": ["./migrations/**/*.sql", "./prisma/migrations/**/*.sql"],
"outputs": []
},
"db-seed": { "outputs": [] },
2022-02-09 20:59:34 -03:00
"deploy": {
"cache": false,
"dependsOn": ["@calcom/web#build"],
"outputs": []
2022-02-09 20:59:34 -03:00
},
2022-02-09 19:17:10 -03:00
"clean": {
"cache": false
},
"dev": {
"dependsOn": ["//#env-check:common", "//#env-check:app-store"],
"outputs": [],
2022-02-09 19:17:10 -03:00
"cache": false
2022-02-09 19:37:50 -03:00
},
"dx": {
"cache": false,
"outputs": []
2022-02-09 19:37:50 -03:00
},
"lint": {
"cache": false,
2022-02-09 19:37:50 -03:00
"outputs": []
2022-02-09 19:45:25 -03:00
},
2022-07-12 11:32:27 -03:00
"lint:fix": {
"cache": false,
"outputs": []
},
"lint:report": {
"cache": false,
"outputs": ["lint-results"]
},
2022-05-27 16:49:13 -03:00
"post-install": {
"dependsOn": ["$PRISMA_GENERATE_DATAPROXY"],
"outputs": ["../../node_modules/@prisma/client/**", "../../node_modules/@prisma/admin-client/**"],
"inputs": ["./schema.prisma", "./prisma/schema.prisma"]
2022-05-27 16:49:13 -03:00
},
"@calcom/prisma#post-install": {
"cache": false
},
2022-02-10 15:51:25 -03:00
"start": {},
"embed-tests": {
"cache": false
},
"embed-tests-quick": {
"cache": false
},
2022-02-09 19:45:25 -03:00
"type-check": {
"cache": false,
2022-02-09 19:45:25 -03:00
"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"]
},
2022-06-22 18:10:49 -03:00
"@calcom/embed-core#build": {
"cache": false,
"outputs": ["../../../apps/web/public/embed/**"]
},
"embed-tests-update-snapshots:ci": {
Routing Forms (#2785) * Add Routing logic to Query builder * Make a working redirect * Make it an app * Move pages and components to App * Integrate all pages in the app * Integrate prisma everywhere * Fix Routing Link * Add routing preview * Fixes * Get deplouyed on preview with ts disabled * Fix case * add reordering for routes * Move away from react DnD * Add sidebar * Add sidebar support and select support * Various fixes and improvements * Ignore eslint temporarly * Route might be falsy * Make CalNumber support required validation * Loader improvements * Add SSR support * Fix few typescript issues * More typesafety, download csv, bug fiees * Add seo friendly link * Avoid seding credebtials to frontend * Self review fixes * Improvements in app-store * Cahnge Form layout * Add scaffolding for app tests * Add playwright tests and add user check in serving data * Add CI tests * Add route builder test * Styling * Apply suggestions from code review Co-authored-by: Agusti Fernandez Pardo <6601142+agustif@users.noreply.github.com> * Changes as per loom feedback * Increase time for tests * Fix PR suggestions * Import CSS only in the module * Fix codacy issues * Move the codebbase to ee and add PRO and license check * Add Badge * Avoid lodash import * Fix TS error * Fix lint errors * Fix bug to merge conflicts resolution - me query shouldnt cause the Shell to go in loading state Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: zomars <zomars@me.com> Co-authored-by: Agusti Fernandez Pardo <6601142+agustif@users.noreply.github.com>
2022-07-14 09:40:53 -03:00
"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": {
2022-07-29 22:30:02 -03:00
"cache": false,
2022-06-24 10:30:36 -03:00
"inputs": ["./.env.example", "./.env"],
"outputs": ["./.env"]
},
"//#env-check:app-store": {
2022-07-29 22:30:02 -03:00
"cache": false,
2022-06-24 10:30:36 -03:00
"inputs": ["./.env.appStore.example", "./.env.appStore"],
"outputs": ["./.env.appStore"]
},
"//#test": {
"cache": false,
"outputs": []
2022-02-10 16:00:12 -03:00
}
},
"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"
]
2022-02-09 19:17:10 -03:00
}