Compare commits

...
Author SHA1 Message Date
emrysal f2f10a06d9 chore: release v5.6.12
Post release / release (push) Canceled after 0s
2025-09-03 01:05:22 +00:00
Keith WilliamsandDevin AI e1def884f3 perf: fix Turborepo caching for app-store CLI build (#23515)
* feat: fix Turborepo caching for app-store CLI build

- Fix incorrect output paths from app-store/ to packages/app-store/
- Fix incorrect input paths to match actual file locations
- Remove cache: false to enable caching
- Add all 11 generated files to outputs array
- Add NEXT_PUBLIC_IS_E2E env var for proper cache invalidation
- Add specific input patterns to avoid cache invalidation from generated files
- Improves local dev experience with cache hits vs ~3.1s cache misses

Performance improvement: builds go from ~3.1 seconds (cache miss) to
instant cache hits when inputs haven't changed.

Co-Authored-By: keith@cal.com <keithwillcode@gmail.com>

* Use new turbo command so it uses cache

* Made the output more flexible

* Added back a .tsx output

* fixed file path

* Removed global IS_E2E var that Devin added

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-09-03 00:51:12 +00:00
4 changed files with 12 additions and 5 deletions
View File
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@calcom/web", "name": "@calcom/web",
"version": "5.6.11", "version": "5.6.12",
"private": true, "private": true,
"scripts": { "scripts": {
"analyze": "ANALYZE=true next build", "analyze": "ANALYZE=true next build",
+1 -1
View File
@@ -15,7 +15,7 @@
], ],
"scripts": { "scripts": {
"app-store-cli": "yarn workspace @calcom/app-store-cli", "app-store-cli": "yarn workspace @calcom/app-store-cli",
"app-store:build": "yarn app-store-cli build", "app-store:build": "yarn turbo build --filter=@calcom/app-store-cli",
"app-store:watch": "yarn app-store-cli watch", "app-store:watch": "yarn app-store-cli watch",
"app-store": "yarn app-store-cli cli", "app-store": "yarn app-store-cli cli",
"create-app": "yarn app-store create", "create-app": "yarn app-store create",
+10 -3
View File
@@ -467,9 +467,16 @@
"outputs": ["dist/**", "build/**"] "outputs": ["dist/**", "build/**"]
}, },
"@calcom/app-store-cli#build": { "@calcom/app-store-cli#build": {
"cache": false, "inputs": [
"inputs": ["../../app-store/**"], "../../packages/app-store/**/package.json",
"outputs": ["../../app-store/apps.server.generated.ts", "../../app-store/apps.browser.generated.tsx"] "../../packages/app-store/**/config.json",
"../../packages/app-store/**/api/**",
"../../packages/app-store/**/components/**",
"../../packages/app-store/**/lib/**",
"../../packages/app-store/**/pages/**",
"../../packages/app-store-cli/src/**"
],
"outputs": ["../../packages/app-store/*.generated.ts", "../../packages/app-store/*.generated.tsx"]
}, },
"@calcom/embed-react#type-check": { "@calcom/embed-react#type-check": {
"dependsOn": ["@calcom/embed-core#build", "@calcom/embed-snippet#build"], "dependsOn": ["@calcom/embed-core#build", "@calcom/embed-snippet#build"],