Skip to content

Commit 8cfb48d

Browse files
committed
remove generated files, add gitignore, refactor
1 parent 737c8a9 commit 8cfb48d

File tree

12 files changed

+10
-34
lines changed

12 files changed

+10
-34
lines changed

apps/bare-expo/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ gen-external-apklibs
8181
# Java class files
8282

8383
# Generated files
84+
app/src/main/java/local/
8485

8586
# Gradle files
8687
.gradle

apps/bare-expo/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,4 @@ gradle.projectsEvaluated {
221221
)
222222
}.standardOutput.asText.get()
223223
}
224-
}
224+
}

apps/bare-expo/android/app/src/main/java/local/modules/ExpoLocalModulesList.java

Lines changed: 0 additions & 22 deletions
This file was deleted.

apps/bare-expo/android/app/src/main/java/local/modules/localModulesExamples/simpleModule.kt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/bare-expo/android/app/src/main/java/local/modules/localModulesExamples/testView.kt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/bare-expo/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ subprojects { project ->
6363
}
6464

6565
apply plugin: "expo-root-project"
66-
apply plugin: "com.facebook.react.rootproject"
66+
apply plugin: "com.facebook.react.rootproject"

apps/bare-expo/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ EXPO_ALLOW_GLIDE_LOGS=true
6666
android.enableMinifyInReleaseBuilds=true
6767

6868
localModules.enabled=true
69-
localModules.watchedDirs={"watchedDirs":["localModulesExamples"]}
69+
localModules.watchedDirs={"watchedDirs":["localModulesExamples"]}

apps/bare-expo/ios/Podfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ ENV['RCT_NEW_ARCH_ENABLED'] ||= '0' if podfile_properties['newArchEnabled'] == '
88
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] ||= podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
99
ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
1010
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
11-
ENV['LOCAL_MODULES_ENABLED'] = '0'
12-
ENV['LOCAL_MODULES_ENABLED'] = '1' if podfile_properties['localModules.enabled'] == 'true'
11+
ENV['LOCAL_MODULES_ENABLED'] = podfile_properties['localModules.enabled'] == 'true' ? '1' : '0'
1312
if ENV['LOCAL_MODULES_ENABLED'] == '1' then
1413
ENV['LOCAL_MODULES_WATCHED_DIRS'] = JSON.generate(podfile_properties['localModules.watchedDirs'])[1..-2]
1514
else

apps/bare-expo/localModulesExamples/simpleModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ public class simpleModule : Module() {
99
"Kotlin constant 1 new localModulesProvider"
1010
}
1111
}
12-
}
12+
}

apps/bare-expo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"ThemeProvider": ["../common/ThemeProvider"],
88
"benchmarking": ["./modules/benchmarking"]
99
},
10-
"rootDirs": ["./", ".expo/localModules/types"]
10+
"rootDirs": ["./"]
1111
}
1212
}

0 commit comments

Comments
 (0)