From 2b9a0c9c78aa4bef86939b67ce6b374054949938 Mon Sep 17 00:00:00 2001 From: mym0404 Date: Sat, 27 Apr 2024 15:06:47 +0900 Subject: [PATCH] ci: update turbo cache keys --- turbo.json | 56 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/turbo.json b/turbo.json index c8b32a0..d815428 100644 --- a/turbo.json +++ b/turbo.json @@ -6,13 +6,18 @@ "package.json", "android", "!android/build", - "src/*.ts", - "src/*.tsx", + "packages/**/*.ts", + "packages/**/*.tsx", + "packages/**/android", + "packages/**/package.json", + "packages/core/expo-config-plugin", "example/package.json", "example/android", "!example/android/.gradle", "!example/android/build", - "!example/android/app/build" + "!example/android/app/build", + "!packages/**/lib", + "!packages/**/android/build" ], "outputs": [] }, @@ -21,41 +26,60 @@ "package.json", "android", "!android/build", - "src/*.ts", - "src/*.tsx", + "packages/**/*.ts", + "packages/**/*.tsx", + "packages/**/android", + "packages/**/package.json", + "packages/core/expo-config-plugin", "example/package.json", "example/android", "!example/android/.gradle", "!example/android/build", - "!example/android/app/build" + "!example/android/app/build", + "!packages/**/lib", + "!packages/**/android/build" ], "outputs": [] }, "ci:ios:build:new": { "inputs": [ "package.json", - "*.podspec", - "ios", - "src/*.ts", - "src/*.tsx", + "packages/**/*.podspec", + "!android/build", + "packages/**/*.ts", + "packages/**/*.tsx", + "packages/**/ios", + "packages/**/package.json", + "packages/core/expo-config-plugin", "example/package.json", "example/ios", + "!example/android/.gradle", + "!example/android/build", + "!example/android/app/build", "!example/ios/build", - "!example/ios/Pods" + "!example/ios/Pods", + "!packages/**/lib" ], "outputs": [] }, "ci:ios:build:old": { "inputs": [ "package.json", - "*.podspec", - "ios", - "src/*.ts", - "src/*.tsx", + "packages/**/*.podspec", + "!android/build", + "packages/**/*.ts", + "packages/**/*.tsx", + "packages/**/ios", + "packages/**/package.json", + "packages/core/expo-config-plugin", "example/package.json", "example/ios", + "!example/android/.gradle", + "!example/android/build", + "!example/android/app/build", "!example/ios/build", - "!example/ios/Pods" + "!example/ios/Pods", + "!packages/**/lib" ], "outputs": [] }