@nebula-rn/cli 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +65 -0
  2. package/dist/create.js +12 -3
  3. package/package.json +20 -7
  4. package/templates/host/.eslintrc.js +7 -0
  5. package/templates/host/App.tsx +118 -0
  6. package/templates/host/Gemfile +16 -0
  7. package/templates/host/__tests__/App.test.tsx +13 -0
  8. package/templates/host/android/app/build.gradle +55 -0
  9. package/templates/host/android/app/debug.keystore +0 -0
  10. package/templates/host/android/app/proguard-rules.pro +10 -0
  11. package/templates/host/android/app/src/main/AndroidManifest.xml +54 -0
  12. package/templates/host/android/app/src/main/java/com/SuperApp/MainActivity.kt +28 -0
  13. package/templates/host/android/app/src/main/java/com/SuperApp/MainApplication.kt +35 -0
  14. package/templates/host/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  15. package/templates/host/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  16. package/templates/host/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  17. package/templates/host/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  18. package/templates/host/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  19. package/templates/host/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  20. package/templates/host/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  21. package/templates/host/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  22. package/templates/host/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  23. package/templates/host/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  24. package/templates/host/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  25. package/templates/host/android/app/src/main/res/values/strings.xml +3 -0
  26. package/templates/host/android/app/src/main/res/values/styles.xml +16 -0
  27. package/templates/host/android/build.gradle +21 -0
  28. package/templates/host/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  29. package/templates/host/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  30. package/templates/host/android/gradle.properties +44 -0
  31. package/templates/host/android/gradlew +251 -0
  32. package/templates/host/android/gradlew.bat +99 -0
  33. package/templates/host/android/settings.gradle +6 -0
  34. package/templates/host/app.json +4 -0
  35. package/templates/host/babel.config.js +4 -0
  36. package/templates/host/index.js +9 -0
  37. package/templates/host/ios/.xcode.env +11 -0
  38. package/templates/host/ios/Podfile +38 -0
  39. package/templates/host/ios/SuperApp/AppDelegate.swift +95 -0
  40. package/templates/host/ios/SuperApp/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  41. package/templates/host/ios/SuperApp/Images.xcassets/Contents.json +6 -0
  42. package/templates/host/ios/SuperApp/Info.plist +76 -0
  43. package/templates/host/ios/SuperApp/LaunchScreen.storyboard +47 -0
  44. package/templates/host/ios/SuperApp/PrivacyInfo.xcprivacy +48 -0
  45. package/templates/host/ios/SuperApp/SceneDelegate.swift +47 -0
  46. package/templates/host/ios/SuperApp/SuperApp-Bridging-Header.h +18 -0
  47. package/templates/host/ios/SuperApp-Bridging-Header.h +21 -0
  48. package/templates/host/ios/SuperApp.xcodeproj/project.pbxproj +500 -0
  49. package/templates/host/ios/SuperApp.xcodeproj/xcshareddata/xcschemes/RNTest.xcscheme +88 -0
  50. package/templates/host/jest.config.js +3 -0
  51. package/templates/host/metro.config.js +49 -0
  52. package/templates/host/package.json +66 -0
  53. package/templates/host/tsconfig.json +8 -0
  54. package/templates/miniapp/.watchmanconfig +1 -0
  55. package/templates/miniapp/app.json +12 -0
  56. package/templates/miniapp/babel.config.js +3 -0
  57. package/templates/miniapp/package.json +34 -0
  58. package/templates/miniapp/src/pages/home/index.tsx +122 -0
  59. package/templates/miniapp/src/pages/home/page.config.ts +10 -0
  60. package/templates/miniapp/tsconfig.json +11 -0
  61. package/templates/runner/.eslintrc.js +7 -0
  62. package/templates/runner/App.tsx +515 -0
  63. package/templates/runner/Gemfile +16 -0
  64. package/templates/runner/__tests__/App.test.tsx +13 -0
  65. package/templates/runner/android/app/build.gradle +55 -0
  66. package/templates/runner/android/app/debug.keystore +0 -0
  67. package/templates/runner/android/app/proguard-rules.pro +10 -0
  68. package/templates/runner/android/app/src/main/AndroidManifest.xml +60 -0
  69. package/templates/runner/android/app/src/main/java/com/devrunner/MainActivity.kt +14 -0
  70. package/templates/runner/android/app/src/main/java/com/devrunner/MainApplication.kt +35 -0
  71. package/templates/runner/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  72. package/templates/runner/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  73. package/templates/runner/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  74. package/templates/runner/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  75. package/templates/runner/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  76. package/templates/runner/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  77. package/templates/runner/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  78. package/templates/runner/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  79. package/templates/runner/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  80. package/templates/runner/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  81. package/templates/runner/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  82. package/templates/runner/android/app/src/main/res/values/strings.xml +3 -0
  83. package/templates/runner/android/app/src/main/res/values/styles.xml +16 -0
  84. package/templates/runner/android/build.gradle +21 -0
  85. package/templates/runner/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  86. package/templates/runner/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  87. package/templates/runner/android/gradle.properties +44 -0
  88. package/templates/runner/android/gradlew +251 -0
  89. package/templates/runner/android/gradlew.bat +99 -0
  90. package/templates/runner/android/settings.gradle +6 -0
  91. package/templates/runner/app.json +4 -0
  92. package/templates/runner/babel.config.js +4 -0
  93. package/templates/runner/index.js +9 -0
  94. package/templates/runner/ios/.xcode.env +11 -0
  95. package/templates/runner/ios/DevRunner/AppDelegate.swift +53 -0
  96. package/templates/runner/ios/DevRunner/DevRunner-Bridging-Header.h +19 -0
  97. package/templates/runner/ios/DevRunner/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  98. package/templates/runner/ios/DevRunner/Images.xcassets/Contents.json +6 -0
  99. package/templates/runner/ios/DevRunner/Info.plist +51 -0
  100. package/templates/runner/ios/DevRunner/LaunchScreen.storyboard +47 -0
  101. package/templates/runner/ios/DevRunner/PrivacyInfo.xcprivacy +48 -0
  102. package/templates/runner/ios/DevRunner/SceneDelegate.swift +21 -0
  103. package/templates/runner/ios/DevRunner-Bridging-Header.h +22 -0
  104. package/templates/runner/ios/DevRunner.xcodeproj/project.pbxproj +500 -0
  105. package/templates/runner/ios/DevRunner.xcodeproj/xcshareddata/xcschemes/DevRunner.xcscheme +88 -0
  106. package/templates/runner/ios/Podfile +38 -0
  107. package/templates/runner/jest.config.js +3 -0
  108. package/templates/runner/metro.config.js +3 -0
  109. package/templates/runner/package.json +38 -0
  110. package/templates/runner/src/RunnerHomeScreen.tsx +499 -0
  111. package/templates/runner/src/assets/icon_close.png +0 -0
  112. package/templates/runner/src/assets/icon_pic.png +0 -0
  113. package/templates/runner/src/runnerTypes.ts +31 -0
  114. package/templates/runner/tsconfig.json +8 -0
  115. package/templates/versions.json +6 -0
@@ -0,0 +1,500 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 54;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 0C80B921A6F3F58F76C31292 /* libPods-SuperApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-SuperApp.a */; };
11
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
13
+ A1B2C3D4E5F60718293A4B5C /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1C2D3E4F5061728394A5B6C /* SceneDelegate.swift */; };
14
+ 7C2A91A7F45EEB304E10764A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
15
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
16
+ /* End PBXBuildFile section */
17
+
18
+ /* Begin PBXFileReference section */
19
+ 13B07F961A680F5B00A75B9A /* SuperApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SuperApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
20
+ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SuperApp/Images.xcassets; sourceTree = "<group>"; };
21
+ 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SuperApp/Info.plist; sourceTree = "<group>"; };
22
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = SuperApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
23
+ 3B4392A12AC88292D35C810B /* Pods-SuperApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SuperApp.debug.xcconfig"; path = "Target Support Files/Pods-SuperApp/Pods-SuperApp.debug.xcconfig"; sourceTree = "<group>"; };
24
+ 5709B34CF0A7D63546082F79 /* Pods-SuperApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SuperApp.release.xcconfig"; path = "Target Support Files/Pods-SuperApp/Pods-SuperApp.release.xcconfig"; sourceTree = "<group>"; };
25
+ 5DCACB8F33CDC322A6C60F78 /* libPods-SuperApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SuperApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
26
+ 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = SuperApp/AppDelegate.swift; sourceTree = "<group>"; };
27
+ B1C2D3E4F5061728394A5B6C /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SceneDelegate.swift; path = SuperApp/SceneDelegate.swift; sourceTree = "<group>"; };
28
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = SuperApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
29
+ CBB4FC382F5EEABF004C9D32 /* SuperApp-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SuperApp-Bridging-Header.h"; sourceTree = "<group>"; };
30
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
31
+ /* End PBXFileReference section */
32
+
33
+ /* Begin PBXFrameworksBuildPhase section */
34
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
35
+ isa = PBXFrameworksBuildPhase;
36
+ buildActionMask = 2147483647;
37
+ files = (
38
+ 0C80B921A6F3F58F76C31292 /* libPods-SuperApp.a in Frameworks */,
39
+ );
40
+ runOnlyForDeploymentPostprocessing = 0;
41
+ };
42
+ /* End PBXFrameworksBuildPhase section */
43
+
44
+ /* Begin PBXGroup section */
45
+ 13B07FAE1A68108700A75B9A /* SuperApp */ = {
46
+ isa = PBXGroup;
47
+ children = (
48
+ CBB4FC382F5EEABF004C9D32 /* SuperApp-Bridging-Header.h */,
49
+ 13B07FB51A68108700A75B9A /* Images.xcassets */,
50
+ 761780EC2CA45674006654EE /* AppDelegate.swift */,
51
+ B1C2D3E4F5061728394A5B6C /* SceneDelegate.swift */,
52
+ 13B07FB61A68108700A75B9A /* Info.plist */,
53
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
54
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
55
+ );
56
+ name = SuperApp;
57
+ sourceTree = "<group>";
58
+ };
59
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
60
+ isa = PBXGroup;
61
+ children = (
62
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
63
+ 5DCACB8F33CDC322A6C60F78 /* libPods-SuperApp.a */,
64
+ );
65
+ name = Frameworks;
66
+ sourceTree = "<group>";
67
+ };
68
+ 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
69
+ isa = PBXGroup;
70
+ children = (
71
+ );
72
+ name = Libraries;
73
+ sourceTree = "<group>";
74
+ };
75
+ 83CBB9F61A601CBA00E9B192 = {
76
+ isa = PBXGroup;
77
+ children = (
78
+ 13B07FAE1A68108700A75B9A /* SuperApp */,
79
+ 832341AE1AAA6A7D00B99B32 /* Libraries */,
80
+ 83CBBA001A601CBA00E9B192 /* Products */,
81
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */,
82
+ BBD78D7AC51CEA395F1C20DB /* Pods */,
83
+ );
84
+ indentWidth = 2;
85
+ sourceTree = "<group>";
86
+ tabWidth = 2;
87
+ usesTabs = 0;
88
+ };
89
+ 83CBBA001A601CBA00E9B192 /* Products */ = {
90
+ isa = PBXGroup;
91
+ children = (
92
+ 13B07F961A680F5B00A75B9A /* SuperApp.app */,
93
+ );
94
+ name = Products;
95
+ sourceTree = "<group>";
96
+ };
97
+ BBD78D7AC51CEA395F1C20DB /* Pods */ = {
98
+ isa = PBXGroup;
99
+ children = (
100
+ 3B4392A12AC88292D35C810B /* Pods-SuperApp.debug.xcconfig */,
101
+ 5709B34CF0A7D63546082F79 /* Pods-SuperApp.release.xcconfig */,
102
+ );
103
+ path = Pods;
104
+ sourceTree = "<group>";
105
+ };
106
+ /* End PBXGroup section */
107
+
108
+ /* Begin PBXNativeTarget section */
109
+ 13B07F861A680F5B00A75B9A /* SuperApp */ = {
110
+ isa = PBXNativeTarget;
111
+ buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SuperApp" */;
112
+ buildPhases = (
113
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
114
+ 13B07F871A680F5B00A75B9A /* Sources */,
115
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */,
116
+ 13B07F8E1A680F5B00A75B9A /* Resources */,
117
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
118
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
119
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
120
+ );
121
+ buildRules = (
122
+ );
123
+ dependencies = (
124
+ );
125
+ name = SuperApp;
126
+ productName = SuperApp;
127
+ productReference = 13B07F961A680F5B00A75B9A /* SuperApp.app */;
128
+ productType = "com.apple.product-type.application";
129
+ };
130
+ /* End PBXNativeTarget section */
131
+
132
+ /* Begin PBXProject section */
133
+ 83CBB9F71A601CBA00E9B192 /* Project object */ = {
134
+ isa = PBXProject;
135
+ attributes = {
136
+ LastUpgradeCheck = 1210;
137
+ TargetAttributes = {
138
+ 13B07F861A680F5B00A75B9A = {
139
+ LastSwiftMigration = 1120;
140
+ };
141
+ };
142
+ };
143
+ buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "SuperApp" */;
144
+ compatibilityVersion = "Xcode 12.0";
145
+ developmentRegion = en;
146
+ hasScannedForEncodings = 0;
147
+ knownRegions = (
148
+ en,
149
+ Base,
150
+ );
151
+ mainGroup = 83CBB9F61A601CBA00E9B192;
152
+ productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
153
+ projectDirPath = "";
154
+ projectRoot = "";
155
+ targets = (
156
+ 13B07F861A680F5B00A75B9A /* SuperApp */,
157
+ );
158
+ };
159
+ /* End PBXProject section */
160
+
161
+ /* Begin PBXResourcesBuildPhase section */
162
+ 13B07F8E1A680F5B00A75B9A /* Resources */ = {
163
+ isa = PBXResourcesBuildPhase;
164
+ buildActionMask = 2147483647;
165
+ files = (
166
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
167
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
168
+ 7C2A91A7F45EEB304E10764A /* PrivacyInfo.xcprivacy in Resources */,
169
+ );
170
+ runOnlyForDeploymentPostprocessing = 0;
171
+ };
172
+ /* End PBXResourcesBuildPhase section */
173
+
174
+ /* Begin PBXShellScriptBuildPhase section */
175
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
176
+ isa = PBXShellScriptBuildPhase;
177
+ buildActionMask = 2147483647;
178
+ files = (
179
+ );
180
+ inputPaths = (
181
+ "$(SRCROOT)/.xcode.env.local",
182
+ "$(SRCROOT)/.xcode.env",
183
+ "$(SRCROOT)/../.react-native.config",
184
+ );
185
+ name = "Bundle React Native code and images";
186
+ outputPaths = (
187
+ );
188
+ runOnlyForDeploymentPostprocessing = 0;
189
+ shellPath = /bin/sh;
190
+ shellScript = "set -e\n\nexport CONFIG_JSON=$(sed -e \"s|HELLOWORLD_PATH|$(realpath \"${SRCROOT}/../\")|g\" \"${SRCROOT}/../.react-native.config\")\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
191
+ };
192
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
193
+ isa = PBXShellScriptBuildPhase;
194
+ buildActionMask = 2147483647;
195
+ files = (
196
+ );
197
+ inputFileListPaths = (
198
+ "${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
199
+ );
200
+ name = "[CP] Embed Pods Frameworks";
201
+ outputFileListPaths = (
202
+ "${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
203
+ );
204
+ runOnlyForDeploymentPostprocessing = 0;
205
+ shellPath = /bin/sh;
206
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-frameworks.sh\"\n";
207
+ showEnvVarsInLog = 0;
208
+ };
209
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
210
+ isa = PBXShellScriptBuildPhase;
211
+ buildActionMask = 2147483647;
212
+ files = (
213
+ );
214
+ inputFileListPaths = (
215
+ );
216
+ inputPaths = (
217
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
218
+ "${PODS_ROOT}/Manifest.lock",
219
+ );
220
+ name = "[CP] Check Pods Manifest.lock";
221
+ outputFileListPaths = (
222
+ );
223
+ outputPaths = (
224
+ "$(DERIVED_FILE_DIR)/Pods-SuperApp-checkManifestLockResult.txt",
225
+ );
226
+ runOnlyForDeploymentPostprocessing = 0;
227
+ shellPath = /bin/sh;
228
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
229
+ showEnvVarsInLog = 0;
230
+ };
231
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
232
+ isa = PBXShellScriptBuildPhase;
233
+ buildActionMask = 2147483647;
234
+ files = (
235
+ );
236
+ inputFileListPaths = (
237
+ "${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-resources-${CONFIGURATION}-input-files.xcfilelist",
238
+ );
239
+ name = "[CP] Copy Pods Resources";
240
+ outputFileListPaths = (
241
+ "${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-resources-${CONFIGURATION}-output-files.xcfilelist",
242
+ );
243
+ runOnlyForDeploymentPostprocessing = 0;
244
+ shellPath = /bin/sh;
245
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SuperApp/Pods-SuperApp-resources.sh\"\n";
246
+ showEnvVarsInLog = 0;
247
+ };
248
+ /* End PBXShellScriptBuildPhase section */
249
+
250
+ /* Begin PBXSourcesBuildPhase section */
251
+ 13B07F871A680F5B00A75B9A /* Sources */ = {
252
+ isa = PBXSourcesBuildPhase;
253
+ buildActionMask = 2147483647;
254
+ files = (
255
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */,
256
+ A1B2C3D4E5F60718293A4B5C /* SceneDelegate.swift in Sources */,
257
+ );
258
+ runOnlyForDeploymentPostprocessing = 0;
259
+ };
260
+ /* End PBXSourcesBuildPhase section */
261
+
262
+ /* Begin XCBuildConfiguration section */
263
+ 13B07F941A680F5B00A75B9A /* Debug */ = {
264
+ isa = XCBuildConfiguration;
265
+ baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-SuperApp.debug.xcconfig */;
266
+ buildSettings = {
267
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
268
+ CLANG_ENABLE_MODULES = YES;
269
+ CURRENT_PROJECT_VERSION = 1;
270
+ DEVELOPMENT_TEAM = 69BV75J53K;
271
+ ENABLE_BITCODE = NO;
272
+ INFOPLIST_FILE = SuperApp/Info.plist;
273
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
274
+ LD_RUNPATH_SEARCH_PATHS = (
275
+ "$(inherited)",
276
+ "@executable_path/Frameworks",
277
+ );
278
+ MARKETING_VERSION = 1.0;
279
+ NEBULA_URL_SCHEME = nebula;
280
+ OTHER_LDFLAGS = (
281
+ "$(inherited)",
282
+ "-ObjC",
283
+ "-lc++",
284
+ );
285
+ OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
286
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
287
+ "PRODUCT_BUNDLE_IDENTIFIER[sdk=iphoneos*]" = __BUNDLE_ID__;
288
+ PRODUCT_NAME = SuperApp;
289
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
290
+ SWIFT_OBJC_BRIDGING_HEADER = "SuperApp/SuperApp-Bridging-Header.h";
291
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
292
+ SWIFT_VERSION = 5.0;
293
+ VERSIONING_SYSTEM = "apple-generic";
294
+ };
295
+ name = Debug;
296
+ };
297
+ 13B07F951A680F5B00A75B9A /* Release */ = {
298
+ isa = XCBuildConfiguration;
299
+ baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-SuperApp.release.xcconfig */;
300
+ buildSettings = {
301
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
302
+ CLANG_ENABLE_MODULES = YES;
303
+ CURRENT_PROJECT_VERSION = 1;
304
+ DEVELOPMENT_TEAM = 69BV75J53K;
305
+ INFOPLIST_FILE = SuperApp/Info.plist;
306
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
307
+ LD_RUNPATH_SEARCH_PATHS = (
308
+ "$(inherited)",
309
+ "@executable_path/Frameworks",
310
+ );
311
+ MARKETING_VERSION = 1.0;
312
+ NEBULA_URL_SCHEME = nebula;
313
+ OTHER_LDFLAGS = (
314
+ "$(inherited)",
315
+ "-ObjC",
316
+ "-lc++",
317
+ );
318
+ OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
319
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
320
+ PRODUCT_NAME = SuperApp;
321
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
322
+ SWIFT_OBJC_BRIDGING_HEADER = "SuperApp/SuperApp-Bridging-Header.h";
323
+ SWIFT_VERSION = 5.0;
324
+ VERSIONING_SYSTEM = "apple-generic";
325
+ };
326
+ name = Release;
327
+ };
328
+ 83CBBA201A601CBA00E9B192 /* Debug */ = {
329
+ isa = XCBuildConfiguration;
330
+ buildSettings = {
331
+ ALWAYS_SEARCH_USER_PATHS = NO;
332
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
333
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
334
+ CLANG_CXX_LIBRARY = "libc++";
335
+ CLANG_ENABLE_MODULES = YES;
336
+ CLANG_ENABLE_OBJC_ARC = YES;
337
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
338
+ CLANG_WARN_BOOL_CONVERSION = YES;
339
+ CLANG_WARN_COMMA = YES;
340
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
341
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
342
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
343
+ CLANG_WARN_EMPTY_BODY = YES;
344
+ CLANG_WARN_ENUM_CONVERSION = YES;
345
+ CLANG_WARN_INFINITE_RECURSION = YES;
346
+ CLANG_WARN_INT_CONVERSION = YES;
347
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
348
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
349
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
350
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
351
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
352
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
353
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
354
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
355
+ CLANG_WARN_UNREACHABLE_CODE = YES;
356
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
357
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
358
+ COPY_PHASE_STRIP = NO;
359
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
360
+ ENABLE_TESTABILITY = YES;
361
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
362
+ GCC_C_LANGUAGE_STANDARD = gnu99;
363
+ GCC_DYNAMIC_NO_PIC = NO;
364
+ GCC_NO_COMMON_BLOCKS = YES;
365
+ GCC_OPTIMIZATION_LEVEL = 0;
366
+ GCC_PREPROCESSOR_DEFINITIONS = (
367
+ "DEBUG=1",
368
+ "$(inherited)",
369
+ );
370
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
371
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
372
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
373
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
374
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
375
+ GCC_WARN_UNUSED_FUNCTION = YES;
376
+ GCC_WARN_UNUSED_VARIABLE = YES;
377
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
378
+ LD_RUNPATH_SEARCH_PATHS = (
379
+ /usr/lib/swift,
380
+ "$(inherited)",
381
+ );
382
+ LIBRARY_SEARCH_PATHS = (
383
+ "\"$(SDKROOT)/usr/lib/swift\"",
384
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
385
+ "\"$(inherited)\"",
386
+ );
387
+ MTL_ENABLE_DEBUG_INFO = YES;
388
+ ONLY_ACTIVE_ARCH = YES;
389
+ OTHER_CFLAGS = "$(inherited)";
390
+ OTHER_CPLUSPLUSFLAGS = (
391
+ "$(OTHER_CFLAGS)",
392
+ "-DFOLLY_NO_CONFIG",
393
+ "-DFOLLY_MOBILE=1",
394
+ "-DFOLLY_USE_LIBCPP=1",
395
+ "-DFOLLY_CFG_NO_COROUTINES=1",
396
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
397
+ );
398
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
399
+ SDKROOT = iphoneos;
400
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
401
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
402
+ USE_HERMES = true;
403
+ };
404
+ name = Debug;
405
+ };
406
+ 83CBBA211A601CBA00E9B192 /* Release */ = {
407
+ isa = XCBuildConfiguration;
408
+ buildSettings = {
409
+ ALWAYS_SEARCH_USER_PATHS = NO;
410
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
411
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
412
+ CLANG_CXX_LIBRARY = "libc++";
413
+ CLANG_ENABLE_MODULES = YES;
414
+ CLANG_ENABLE_OBJC_ARC = YES;
415
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
416
+ CLANG_WARN_BOOL_CONVERSION = YES;
417
+ CLANG_WARN_COMMA = YES;
418
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
419
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
420
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
421
+ CLANG_WARN_EMPTY_BODY = YES;
422
+ CLANG_WARN_ENUM_CONVERSION = YES;
423
+ CLANG_WARN_INFINITE_RECURSION = YES;
424
+ CLANG_WARN_INT_CONVERSION = YES;
425
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
426
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
427
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
428
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
429
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
430
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
431
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
432
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
433
+ CLANG_WARN_UNREACHABLE_CODE = YES;
434
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
435
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
436
+ COPY_PHASE_STRIP = YES;
437
+ ENABLE_NS_ASSERTIONS = NO;
438
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
439
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
440
+ GCC_C_LANGUAGE_STANDARD = gnu99;
441
+ GCC_NO_COMMON_BLOCKS = YES;
442
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
443
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
444
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
445
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
446
+ GCC_WARN_UNUSED_FUNCTION = YES;
447
+ GCC_WARN_UNUSED_VARIABLE = YES;
448
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
449
+ LD_RUNPATH_SEARCH_PATHS = (
450
+ /usr/lib/swift,
451
+ "$(inherited)",
452
+ );
453
+ LIBRARY_SEARCH_PATHS = (
454
+ "\"$(SDKROOT)/usr/lib/swift\"",
455
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
456
+ "\"$(inherited)\"",
457
+ );
458
+ MTL_ENABLE_DEBUG_INFO = NO;
459
+ OTHER_CFLAGS = "$(inherited)";
460
+ OTHER_CPLUSPLUSFLAGS = (
461
+ "$(OTHER_CFLAGS)",
462
+ "-DFOLLY_NO_CONFIG",
463
+ "-DFOLLY_MOBILE=1",
464
+ "-DFOLLY_USE_LIBCPP=1",
465
+ "-DFOLLY_CFG_NO_COROUTINES=1",
466
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
467
+ );
468
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
469
+ SDKROOT = iphoneos;
470
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
471
+ USE_HERMES = true;
472
+ VALIDATE_PRODUCT = YES;
473
+ };
474
+ name = Release;
475
+ };
476
+ /* End XCBuildConfiguration section */
477
+
478
+ /* Begin XCConfigurationList section */
479
+ 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SuperApp" */ = {
480
+ isa = XCConfigurationList;
481
+ buildConfigurations = (
482
+ 13B07F941A680F5B00A75B9A /* Debug */,
483
+ 13B07F951A680F5B00A75B9A /* Release */,
484
+ );
485
+ defaultConfigurationIsVisible = 0;
486
+ defaultConfigurationName = Release;
487
+ };
488
+ 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "SuperApp" */ = {
489
+ isa = XCConfigurationList;
490
+ buildConfigurations = (
491
+ 83CBBA201A601CBA00E9B192 /* Debug */,
492
+ 83CBBA211A601CBA00E9B192 /* Release */,
493
+ );
494
+ defaultConfigurationIsVisible = 0;
495
+ defaultConfigurationName = Release;
496
+ };
497
+ /* End XCConfigurationList section */
498
+ };
499
+ rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
500
+ }
@@ -0,0 +1,88 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1210"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
+ BuildableName = "SuperApp.app"
19
+ BlueprintName = "SuperApp"
20
+ ReferencedContainer = "container:SuperApp.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ shouldUseLaunchSchemeArgsEnv = "YES">
30
+ <Testables>
31
+ <TestableReference
32
+ skipped = "NO">
33
+ <BuildableReference
34
+ BuildableIdentifier = "primary"
35
+ BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36
+ BuildableName = "SuperAppTests.xctest"
37
+ BlueprintName = "SuperAppTests"
38
+ ReferencedContainer = "container:SuperApp.xcodeproj">
39
+ </BuildableReference>
40
+ </TestableReference>
41
+ </Testables>
42
+ </TestAction>
43
+ <LaunchAction
44
+ buildConfiguration = "Debug"
45
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
+ launchStyle = "0"
48
+ useCustomWorkingDirectory = "NO"
49
+ ignoresPersistentStateOnLaunch = "NO"
50
+ debugDocumentVersioning = "YES"
51
+ debugServiceExtension = "internal"
52
+ allowLocationSimulation = "YES">
53
+ <BuildableProductRunnable
54
+ runnableDebuggingMode = "0">
55
+ <BuildableReference
56
+ BuildableIdentifier = "primary"
57
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58
+ BuildableName = "SuperApp.app"
59
+ BlueprintName = "SuperApp"
60
+ ReferencedContainer = "container:SuperApp.xcodeproj">
61
+ </BuildableReference>
62
+ </BuildableProductRunnable>
63
+ </LaunchAction>
64
+ <ProfileAction
65
+ buildConfiguration = "Release"
66
+ shouldUseLaunchSchemeArgsEnv = "YES"
67
+ savedToolIdentifier = ""
68
+ useCustomWorkingDirectory = "NO"
69
+ debugDocumentVersioning = "YES">
70
+ <BuildableProductRunnable
71
+ runnableDebuggingMode = "0">
72
+ <BuildableReference
73
+ BuildableIdentifier = "primary"
74
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75
+ BuildableName = "SuperApp.app"
76
+ BlueprintName = "SuperApp"
77
+ ReferencedContainer = "container:SuperApp.xcodeproj">
78
+ </BuildableReference>
79
+ </BuildableProductRunnable>
80
+ </ProfileAction>
81
+ <AnalyzeAction
82
+ buildConfiguration = "Debug">
83
+ </AnalyzeAction>
84
+ <ArchiveAction
85
+ buildConfiguration = "Release"
86
+ revealArchiveInOrganizer = "YES">
87
+ </ArchiveAction>
88
+ </Scheme>
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ preset: 'react-native',
3
+ };
@@ -0,0 +1,49 @@
1
+ const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
2
+ const path = require('path');
3
+ const fs = require('fs');
4
+
5
+ const projectRoot = __dirname;
6
+
7
+ function findWorkspaceRoot(startDir) {
8
+ let currentDir = startDir;
9
+
10
+ while (true) {
11
+ const packageJsonPath = path.join(currentDir, 'package.json');
12
+ if (fs.existsSync(packageJsonPath)) {
13
+ try {
14
+ const packageJson = JSON.parse(
15
+ fs.readFileSync(packageJsonPath, 'utf8'),
16
+ );
17
+ if (packageJson.workspaces) {
18
+ return currentDir;
19
+ }
20
+ } catch {
21
+ // Ignore invalid package.json files while walking up the tree.
22
+ }
23
+ }
24
+
25
+ const parentDir = path.dirname(currentDir);
26
+ if (parentDir === currentDir) {
27
+ return projectRoot;
28
+ }
29
+ currentDir = parentDir;
30
+ }
31
+ }
32
+
33
+ const workspaceRoot = findWorkspaceRoot(projectRoot);
34
+
35
+ /** @type {import('@react-native/metro-config').MetroConfig} */
36
+ const config = {
37
+ projectRoot,
38
+ watchFolders: workspaceRoot === projectRoot ? [] : [workspaceRoot],
39
+ resolver: {
40
+ nodeModulesPaths: [
41
+ path.join(projectRoot, 'node_modules'),
42
+ ...(workspaceRoot === projectRoot
43
+ ? []
44
+ : [path.join(workspaceRoot, 'node_modules')]),
45
+ ],
46
+ },
47
+ };
48
+
49
+ module.exports = mergeConfig(getDefaultConfig(projectRoot), config);