|
|
@@ -1,8 +1,8 @@
|
|
|
{
|
|
|
"$schema": "https://turbo.build/schema.json",
|
|
|
"globalDependencies": [
|
|
|
- ".nvmrc",
|
|
|
- ".yarnrc.yml"
|
|
|
+ ".yarnrc.yml",
|
|
|
+ ".nvmrc"
|
|
|
],
|
|
|
"globalEnv": [
|
|
|
"NODE_ENV"
|
|
|
@@ -10,81 +10,81 @@
|
|
|
"tasks": {
|
|
|
"build:android": {
|
|
|
"env": [
|
|
|
- "ANDROID_HOME",
|
|
|
- "ORG_GRADLE_PROJECT_newArchEnabled"
|
|
|
+ "ORG_GRADLE_PROJECT_newArchEnabled",
|
|
|
+ "ANDROID_HOME"
|
|
|
],
|
|
|
"inputs": [
|
|
|
- "package.json",
|
|
|
- "android",
|
|
|
- "!android/build",
|
|
|
- "src/*.ts",
|
|
|
- "src/*.tsx",
|
|
|
- "example/mobile/package.json",
|
|
|
- "example/mobile/android",
|
|
|
+ "!example/mobile/android/app/build",
|
|
|
"!example/mobile/android/.gradle",
|
|
|
"!example/mobile/android/build",
|
|
|
- "!example/mobile/android/app/build"
|
|
|
+ "example/mobile/package.json",
|
|
|
+ "example/mobile/android",
|
|
|
+ "!android/build",
|
|
|
+ "package.json",
|
|
|
+ "src/*.tsx",
|
|
|
+ "src/*.ts",
|
|
|
+ "android"
|
|
|
],
|
|
|
"outputs": [
|
|
|
- "example/web/package.json",
|
|
|
- "example/web/android",
|
|
|
+ "!example/web/android/app/build",
|
|
|
"!example/web/android/.gradle",
|
|
|
"!example/web/android/build",
|
|
|
- "!example/web/android/app/build"
|
|
|
+ "example/web/package.json",
|
|
|
+ "example/web/android"
|
|
|
]
|
|
|
},
|
|
|
"build:ios": {
|
|
|
"env": [
|
|
|
- "RCT_NEW_ARCH_ENABLED",
|
|
|
+ "RCT_USE_PREBUILT_RNCORE",
|
|
|
"RCT_REMOVE_LEGACY_ARCH",
|
|
|
- "RCT_USE_RN_DEP",
|
|
|
- "RCT_USE_PREBUILT_RNCORE"
|
|
|
+ "RCT_NEW_ARCH_ENABLED",
|
|
|
+ "RCT_USE_RN_DEP"
|
|
|
],
|
|
|
"inputs": [
|
|
|
+ "example/mobile/package.json",
|
|
|
+ "!example/mobile/ios/build",
|
|
|
+ "!example/mobile/ios/Pods",
|
|
|
+ "example/mobile/ios",
|
|
|
"package.json",
|
|
|
+ "src/*.tsx",
|
|
|
"*.podspec",
|
|
|
- "ios",
|
|
|
"src/*.ts",
|
|
|
- "src/*.tsx",
|
|
|
- "example/mobile/package.json",
|
|
|
- "example/mobile/ios",
|
|
|
- "!example/mobile/ios/build",
|
|
|
- "!example/mobile/ios/Pods"
|
|
|
+ "ios"
|
|
|
],
|
|
|
"outputs": [
|
|
|
"example/web/package.json",
|
|
|
- "example/web/ios",
|
|
|
"!example/web/ios/build",
|
|
|
- "!example/web/ios/Pods"
|
|
|
+ "!example/web/ios/Pods",
|
|
|
+ "example/web/ios"
|
|
|
]
|
|
|
},
|
|
|
"build:web": {
|
|
|
"inputs": [
|
|
|
- "package.json",
|
|
|
- "android",
|
|
|
- "!android/build",
|
|
|
- "src/*.ts",
|
|
|
- "src/*.tsx",
|
|
|
- "example/web/package.json",
|
|
|
- "example/web/android",
|
|
|
+ "!example/web/android/app/build",
|
|
|
"!example/web/android/.gradle",
|
|
|
"!example/web/android/build",
|
|
|
- "!example/web/android/app/build",
|
|
|
"example/web/package.json",
|
|
|
- "example/web/ios",
|
|
|
+ "example/web/package.json",
|
|
|
"!example/web/ios/build",
|
|
|
- "!example/web/ios/Pods"
|
|
|
+ "!example/web/ios/Pods",
|
|
|
+ "example/web/android",
|
|
|
+ "example/web/ios",
|
|
|
+ "!android/build",
|
|
|
+ "package.json",
|
|
|
+ "src/*.tsx",
|
|
|
+ "src/*.ts",
|
|
|
+ "android"
|
|
|
],
|
|
|
"outputs": [
|
|
|
- "example/mobile/package.json",
|
|
|
- "example/mobile/android",
|
|
|
+ "!example/mobile/android/app/build",
|
|
|
"!example/mobile/android/.gradle",
|
|
|
"!example/mobile/android/build",
|
|
|
- "!example/mobile/android/app/build",
|
|
|
"example/mobile/package.json",
|
|
|
- "example/mobile/ios",
|
|
|
+ "example/mobile/package.json",
|
|
|
"!example/mobile/ios/build",
|
|
|
- "!example/mobile/ios/Pods"
|
|
|
+ "!example/mobile/ios/Pods",
|
|
|
+ "example/mobile/android",
|
|
|
+ "example/mobile/ios"
|
|
|
]
|
|
|
}
|
|
|
}
|