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: [email protected] <[email protected]> * 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>
This commit is contained in:
1 parent
fd61c00ad1
commit
e1def884f3
2 files changed
+11
-4
No files matched your search
+1
-1
@@ -15,7 +15,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"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": "yarn app-store-cli cli",
|
||||
"create-app": "yarn app-store create",
|
||||
|
||||
Reference in new issue
Block a user