@callstack/react-native-brownfield 2.2.0 → 3.0.0-rc.1

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 (223) hide show
  1. package/lib/commonjs/expo-config-plugin/android/constants.js +2 -0
  2. package/lib/commonjs/expo-config-plugin/android/constants.js.map +1 -0
  3. package/lib/commonjs/expo-config-plugin/android/gradleHelpers.js +2 -0
  4. package/lib/commonjs/expo-config-plugin/android/gradleHelpers.js.map +1 -0
  5. package/lib/commonjs/expo-config-plugin/android/index.js +2 -0
  6. package/lib/commonjs/expo-config-plugin/android/index.js.map +1 -0
  7. package/lib/commonjs/expo-config-plugin/android/withAndroidModuleFiles.js +2 -0
  8. package/lib/commonjs/expo-config-plugin/android/withAndroidModuleFiles.js.map +1 -0
  9. package/lib/commonjs/expo-config-plugin/android/withBrownfieldAndroid.js +2 -0
  10. package/lib/commonjs/expo-config-plugin/android/withBrownfieldAndroid.js.map +1 -0
  11. package/lib/commonjs/expo-config-plugin/app.plugin.js +2 -0
  12. package/lib/commonjs/expo-config-plugin/app.plugin.js.map +1 -0
  13. package/lib/commonjs/expo-config-plugin/errors/SourceModificationError.js +2 -0
  14. package/lib/commonjs/expo-config-plugin/errors/SourceModificationError.js.map +1 -0
  15. package/lib/commonjs/expo-config-plugin/index.js +2 -0
  16. package/lib/commonjs/expo-config-plugin/index.js.map +1 -0
  17. package/lib/commonjs/expo-config-plugin/ios/index.js +2 -0
  18. package/lib/commonjs/expo-config-plugin/ios/index.js.map +1 -0
  19. package/lib/commonjs/expo-config-plugin/ios/podfileHelpers.js +31 -0
  20. package/lib/commonjs/expo-config-plugin/ios/podfileHelpers.js.map +1 -0
  21. package/lib/commonjs/expo-config-plugin/ios/withBrownfieldIos.js +2 -0
  22. package/lib/commonjs/expo-config-plugin/ios/withBrownfieldIos.js.map +1 -0
  23. package/lib/commonjs/expo-config-plugin/ios/withIosFrameworkFiles.js +2 -0
  24. package/lib/commonjs/expo-config-plugin/ios/withIosFrameworkFiles.js.map +1 -0
  25. package/lib/commonjs/expo-config-plugin/ios/xcodeHelpers.js +2 -0
  26. package/lib/commonjs/expo-config-plugin/ios/xcodeHelpers.js.map +1 -0
  27. package/lib/commonjs/expo-config-plugin/logging.js +2 -0
  28. package/lib/commonjs/expo-config-plugin/logging.js.map +1 -0
  29. package/lib/commonjs/expo-config-plugin/template/android/AndroidManifest.xml +4 -0
  30. package/lib/commonjs/expo-config-plugin/template/android/ReactNativeHostManager.kt +54 -0
  31. package/lib/commonjs/expo-config-plugin/template/android/build.gradle.kts +90 -0
  32. package/lib/commonjs/expo-config-plugin/template/android/consumer-rules.pro +0 -0
  33. package/lib/commonjs/expo-config-plugin/template/android/gradle.properties +8 -0
  34. package/lib/commonjs/expo-config-plugin/template/android/proguard-rules.pro +21 -0
  35. package/lib/commonjs/expo-config-plugin/template/engine.js +2 -0
  36. package/lib/commonjs/expo-config-plugin/template/engine.js.map +1 -0
  37. package/lib/commonjs/expo-config-plugin/template/ios/FrameworkInterface.swift +8 -0
  38. package/lib/commonjs/expo-config-plugin/template/ios/Info.plist +22 -0
  39. package/lib/commonjs/expo-config-plugin/template/ios/PodfileTargetBlock.rb +4 -0
  40. package/lib/commonjs/expo-config-plugin/template/ios/ReactNativeHostManager.swift +63 -0
  41. package/lib/commonjs/expo-config-plugin/template/ios/patchExpoPre55.sh +20 -0
  42. package/lib/commonjs/expo-config-plugin/types/BrownfieldPluginConfig.js +2 -0
  43. package/lib/commonjs/expo-config-plugin/types/BrownfieldPluginConfig.js.map +1 -0
  44. package/lib/commonjs/expo-config-plugin/types/RenderedTemplateFile.js +2 -0
  45. package/lib/commonjs/expo-config-plugin/types/RenderedTemplateFile.js.map +1 -0
  46. package/lib/commonjs/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.js +2 -0
  47. package/lib/commonjs/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.js.map +1 -0
  48. package/lib/commonjs/expo-config-plugin/types/index.js +2 -0
  49. package/lib/commonjs/expo-config-plugin/types/index.js.map +1 -0
  50. package/lib/commonjs/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.js +2 -0
  51. package/lib/commonjs/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.js.map +1 -0
  52. package/lib/commonjs/expo-config-plugin/withBrownfield.js +2 -0
  53. package/lib/commonjs/expo-config-plugin/withBrownfield.js.map +1 -0
  54. package/lib/module/expo-config-plugin/android/constants.js +2 -0
  55. package/lib/module/expo-config-plugin/android/constants.js.map +1 -0
  56. package/lib/module/expo-config-plugin/android/gradleHelpers.js +2 -0
  57. package/lib/module/expo-config-plugin/android/gradleHelpers.js.map +1 -0
  58. package/lib/module/expo-config-plugin/android/index.js +2 -0
  59. package/lib/module/expo-config-plugin/android/index.js.map +1 -0
  60. package/lib/module/expo-config-plugin/android/withAndroidModuleFiles.js +2 -0
  61. package/lib/module/expo-config-plugin/android/withAndroidModuleFiles.js.map +1 -0
  62. package/lib/module/expo-config-plugin/android/withBrownfieldAndroid.js +2 -0
  63. package/lib/module/expo-config-plugin/android/withBrownfieldAndroid.js.map +1 -0
  64. package/lib/module/expo-config-plugin/app.plugin.js +2 -0
  65. package/lib/module/expo-config-plugin/app.plugin.js.map +1 -0
  66. package/lib/module/expo-config-plugin/errors/SourceModificationError.js +2 -0
  67. package/lib/module/expo-config-plugin/errors/SourceModificationError.js.map +1 -0
  68. package/lib/module/expo-config-plugin/index.js +2 -0
  69. package/lib/module/expo-config-plugin/index.js.map +1 -0
  70. package/lib/module/expo-config-plugin/ios/index.js +2 -0
  71. package/lib/module/expo-config-plugin/ios/index.js.map +1 -0
  72. package/lib/module/expo-config-plugin/ios/podfileHelpers.js +31 -0
  73. package/lib/module/expo-config-plugin/ios/podfileHelpers.js.map +1 -0
  74. package/lib/module/expo-config-plugin/ios/withBrownfieldIos.js +2 -0
  75. package/lib/module/expo-config-plugin/ios/withBrownfieldIos.js.map +1 -0
  76. package/lib/module/expo-config-plugin/ios/withIosFrameworkFiles.js +2 -0
  77. package/lib/module/expo-config-plugin/ios/withIosFrameworkFiles.js.map +1 -0
  78. package/lib/module/expo-config-plugin/ios/xcodeHelpers.js +2 -0
  79. package/lib/module/expo-config-plugin/ios/xcodeHelpers.js.map +1 -0
  80. package/lib/module/expo-config-plugin/logging.js +2 -0
  81. package/lib/module/expo-config-plugin/logging.js.map +1 -0
  82. package/lib/module/expo-config-plugin/template/android/AndroidManifest.xml +4 -0
  83. package/lib/module/expo-config-plugin/template/android/ReactNativeHostManager.kt +54 -0
  84. package/lib/module/expo-config-plugin/template/android/build.gradle.kts +90 -0
  85. package/lib/module/expo-config-plugin/template/android/consumer-rules.pro +0 -0
  86. package/lib/module/expo-config-plugin/template/android/gradle.properties +8 -0
  87. package/lib/module/expo-config-plugin/template/android/proguard-rules.pro +21 -0
  88. package/lib/module/expo-config-plugin/template/engine.js +2 -0
  89. package/lib/module/expo-config-plugin/template/engine.js.map +1 -0
  90. package/lib/module/expo-config-plugin/template/ios/FrameworkInterface.swift +8 -0
  91. package/lib/module/expo-config-plugin/template/ios/Info.plist +22 -0
  92. package/lib/module/expo-config-plugin/template/ios/PodfileTargetBlock.rb +4 -0
  93. package/lib/module/expo-config-plugin/template/ios/ReactNativeHostManager.swift +63 -0
  94. package/lib/module/expo-config-plugin/template/ios/patchExpoPre55.sh +20 -0
  95. package/lib/module/expo-config-plugin/types/BrownfieldPluginConfig.js +2 -0
  96. package/lib/module/expo-config-plugin/types/BrownfieldPluginConfig.js.map +1 -0
  97. package/lib/module/expo-config-plugin/types/RenderedTemplateFile.js +2 -0
  98. package/lib/module/expo-config-plugin/types/RenderedTemplateFile.js.map +1 -0
  99. package/lib/module/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.js +2 -0
  100. package/lib/module/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.js.map +1 -0
  101. package/lib/module/expo-config-plugin/types/index.js +2 -0
  102. package/lib/module/expo-config-plugin/types/index.js.map +1 -0
  103. package/lib/module/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.js +2 -0
  104. package/lib/module/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.js.map +1 -0
  105. package/lib/module/expo-config-plugin/withBrownfield.js +2 -0
  106. package/lib/module/expo-config-plugin/withBrownfield.js.map +1 -0
  107. package/lib/typescript/commonjs/src/expo-config-plugin/android/constants.d.ts +3 -0
  108. package/lib/typescript/commonjs/src/expo-config-plugin/android/constants.d.ts.map +1 -0
  109. package/lib/typescript/commonjs/src/expo-config-plugin/android/gradleHelpers.d.ts +14 -0
  110. package/lib/typescript/commonjs/src/expo-config-plugin/android/gradleHelpers.d.ts.map +1 -0
  111. package/lib/typescript/commonjs/src/expo-config-plugin/android/index.d.ts +4 -0
  112. package/lib/typescript/commonjs/src/expo-config-plugin/android/index.d.ts.map +1 -0
  113. package/lib/typescript/commonjs/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts +24 -0
  114. package/lib/typescript/commonjs/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts.map +1 -0
  115. package/lib/typescript/commonjs/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts +13 -0
  116. package/lib/typescript/commonjs/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts.map +1 -0
  117. package/lib/typescript/commonjs/src/expo-config-plugin/app.plugin.d.ts +9 -0
  118. package/lib/typescript/commonjs/src/expo-config-plugin/app.plugin.d.ts.map +1 -0
  119. package/lib/typescript/commonjs/src/expo-config-plugin/errors/SourceModificationError.d.ts +3 -0
  120. package/lib/typescript/commonjs/src/expo-config-plugin/errors/SourceModificationError.d.ts.map +1 -0
  121. package/lib/typescript/commonjs/src/expo-config-plugin/index.d.ts +7 -0
  122. package/lib/typescript/commonjs/src/expo-config-plugin/index.d.ts.map +1 -0
  123. package/lib/typescript/commonjs/src/expo-config-plugin/ios/index.d.ts +5 -0
  124. package/lib/typescript/commonjs/src/expo-config-plugin/ios/index.d.ts.map +1 -0
  125. package/lib/typescript/commonjs/src/expo-config-plugin/ios/podfileHelpers.d.ts +8 -0
  126. package/lib/typescript/commonjs/src/expo-config-plugin/ios/podfileHelpers.d.ts.map +1 -0
  127. package/lib/typescript/commonjs/src/expo-config-plugin/ios/withBrownfieldIos.d.ts +14 -0
  128. package/lib/typescript/commonjs/src/expo-config-plugin/ios/withBrownfieldIos.d.ts.map +1 -0
  129. package/lib/typescript/commonjs/src/expo-config-plugin/ios/withIosFrameworkFiles.d.ts +19 -0
  130. package/lib/typescript/commonjs/src/expo-config-plugin/ios/withIosFrameworkFiles.d.ts.map +1 -0
  131. package/lib/typescript/commonjs/src/expo-config-plugin/ios/xcodeHelpers.d.ts +33 -0
  132. package/lib/typescript/commonjs/src/expo-config-plugin/ios/xcodeHelpers.d.ts.map +1 -0
  133. package/lib/typescript/commonjs/src/expo-config-plugin/logging.d.ts +9 -0
  134. package/lib/typescript/commonjs/src/expo-config-plugin/logging.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/src/expo-config-plugin/template/engine.d.ts +9 -0
  136. package/lib/typescript/commonjs/src/expo-config-plugin/template/engine.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/expo-config-plugin/types/BrownfieldPluginConfig.d.ts +53 -0
  138. package/lib/typescript/commonjs/src/expo-config-plugin/types/BrownfieldPluginConfig.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/expo-config-plugin/types/RenderedTemplateFile.d.ts +5 -0
  140. package/lib/typescript/commonjs/src/expo-config-plugin/types/RenderedTemplateFile.d.ts.map +1 -0
  141. package/lib/typescript/commonjs/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.d.ts +50 -0
  142. package/lib/typescript/commonjs/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.d.ts.map +1 -0
  143. package/lib/typescript/commonjs/src/expo-config-plugin/types/index.d.ts +5 -0
  144. package/lib/typescript/commonjs/src/expo-config-plugin/types/index.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.d.ts +36 -0
  146. package/lib/typescript/commonjs/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/src/expo-config-plugin/withBrownfield.d.ts +5 -0
  148. package/lib/typescript/commonjs/src/expo-config-plugin/withBrownfield.d.ts.map +1 -0
  149. package/lib/typescript/module/src/expo-config-plugin/android/constants.d.ts +3 -0
  150. package/lib/typescript/module/src/expo-config-plugin/android/constants.d.ts.map +1 -0
  151. package/lib/typescript/module/src/expo-config-plugin/android/gradleHelpers.d.ts +14 -0
  152. package/lib/typescript/module/src/expo-config-plugin/android/gradleHelpers.d.ts.map +1 -0
  153. package/lib/typescript/module/src/expo-config-plugin/android/index.d.ts +4 -0
  154. package/lib/typescript/module/src/expo-config-plugin/android/index.d.ts.map +1 -0
  155. package/lib/typescript/module/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts +24 -0
  156. package/lib/typescript/module/src/expo-config-plugin/android/withAndroidModuleFiles.d.ts.map +1 -0
  157. package/lib/typescript/module/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts +13 -0
  158. package/lib/typescript/module/src/expo-config-plugin/android/withBrownfieldAndroid.d.ts.map +1 -0
  159. package/lib/typescript/module/src/expo-config-plugin/app.plugin.d.ts +9 -0
  160. package/lib/typescript/module/src/expo-config-plugin/app.plugin.d.ts.map +1 -0
  161. package/lib/typescript/module/src/expo-config-plugin/errors/SourceModificationError.d.ts +3 -0
  162. package/lib/typescript/module/src/expo-config-plugin/errors/SourceModificationError.d.ts.map +1 -0
  163. package/lib/typescript/module/src/expo-config-plugin/index.d.ts +7 -0
  164. package/lib/typescript/module/src/expo-config-plugin/index.d.ts.map +1 -0
  165. package/lib/typescript/module/src/expo-config-plugin/ios/index.d.ts +5 -0
  166. package/lib/typescript/module/src/expo-config-plugin/ios/index.d.ts.map +1 -0
  167. package/lib/typescript/module/src/expo-config-plugin/ios/podfileHelpers.d.ts +8 -0
  168. package/lib/typescript/module/src/expo-config-plugin/ios/podfileHelpers.d.ts.map +1 -0
  169. package/lib/typescript/module/src/expo-config-plugin/ios/withBrownfieldIos.d.ts +14 -0
  170. package/lib/typescript/module/src/expo-config-plugin/ios/withBrownfieldIos.d.ts.map +1 -0
  171. package/lib/typescript/module/src/expo-config-plugin/ios/withIosFrameworkFiles.d.ts +19 -0
  172. package/lib/typescript/module/src/expo-config-plugin/ios/withIosFrameworkFiles.d.ts.map +1 -0
  173. package/lib/typescript/module/src/expo-config-plugin/ios/xcodeHelpers.d.ts +33 -0
  174. package/lib/typescript/module/src/expo-config-plugin/ios/xcodeHelpers.d.ts.map +1 -0
  175. package/lib/typescript/module/src/expo-config-plugin/logging.d.ts +9 -0
  176. package/lib/typescript/module/src/expo-config-plugin/logging.d.ts.map +1 -0
  177. package/lib/typescript/module/src/expo-config-plugin/template/engine.d.ts +9 -0
  178. package/lib/typescript/module/src/expo-config-plugin/template/engine.d.ts.map +1 -0
  179. package/lib/typescript/module/src/expo-config-plugin/types/BrownfieldPluginConfig.d.ts +53 -0
  180. package/lib/typescript/module/src/expo-config-plugin/types/BrownfieldPluginConfig.d.ts.map +1 -0
  181. package/lib/typescript/module/src/expo-config-plugin/types/RenderedTemplateFile.d.ts +5 -0
  182. package/lib/typescript/module/src/expo-config-plugin/types/RenderedTemplateFile.d.ts.map +1 -0
  183. package/lib/typescript/module/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.d.ts +50 -0
  184. package/lib/typescript/module/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.d.ts.map +1 -0
  185. package/lib/typescript/module/src/expo-config-plugin/types/index.d.ts +5 -0
  186. package/lib/typescript/module/src/expo-config-plugin/types/index.d.ts.map +1 -0
  187. package/lib/typescript/module/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.d.ts +36 -0
  188. package/lib/typescript/module/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.d.ts.map +1 -0
  189. package/lib/typescript/module/src/expo-config-plugin/withBrownfield.d.ts +5 -0
  190. package/lib/typescript/module/src/expo-config-plugin/withBrownfield.d.ts.map +1 -0
  191. package/package.json +15 -3
  192. package/src/expo-config-plugin/android/constants.ts +2 -0
  193. package/src/expo-config-plugin/android/gradleHelpers.ts +72 -0
  194. package/src/expo-config-plugin/android/index.ts +6 -0
  195. package/src/expo-config-plugin/android/withAndroidModuleFiles.ts +139 -0
  196. package/src/expo-config-plugin/android/withBrownfieldAndroid.ts +48 -0
  197. package/src/expo-config-plugin/app.plugin.ts +10 -0
  198. package/src/expo-config-plugin/errors/SourceModificationError.ts +1 -0
  199. package/src/expo-config-plugin/index.ts +8 -0
  200. package/src/expo-config-plugin/ios/index.ts +7 -0
  201. package/src/expo-config-plugin/ios/podfileHelpers.ts +104 -0
  202. package/src/expo-config-plugin/ios/withBrownfieldIos.ts +95 -0
  203. package/src/expo-config-plugin/ios/withIosFrameworkFiles.ts +95 -0
  204. package/src/expo-config-plugin/ios/xcodeHelpers.ts +359 -0
  205. package/src/expo-config-plugin/logging.ts +29 -0
  206. package/src/expo-config-plugin/template/android/AndroidManifest.xml +4 -0
  207. package/src/expo-config-plugin/template/android/ReactNativeHostManager.kt +54 -0
  208. package/src/expo-config-plugin/template/android/build.gradle.kts +90 -0
  209. package/src/expo-config-plugin/template/android/consumer-rules.pro +0 -0
  210. package/src/expo-config-plugin/template/android/gradle.properties +8 -0
  211. package/src/expo-config-plugin/template/android/proguard-rules.pro +21 -0
  212. package/src/expo-config-plugin/template/engine.ts +26 -0
  213. package/src/expo-config-plugin/template/ios/FrameworkInterface.swift +8 -0
  214. package/src/expo-config-plugin/template/ios/Info.plist +22 -0
  215. package/src/expo-config-plugin/template/ios/PodfileTargetBlock.rb +4 -0
  216. package/src/expo-config-plugin/template/ios/ReactNativeHostManager.swift +63 -0
  217. package/src/expo-config-plugin/template/ios/patchExpoPre55.sh +20 -0
  218. package/src/expo-config-plugin/types/BrownfieldPluginConfig.ts +67 -0
  219. package/src/expo-config-plugin/types/RenderedTemplateFile.ts +4 -0
  220. package/src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.ts +58 -0
  221. package/src/expo-config-plugin/types/index.ts +6 -0
  222. package/src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.ts +41 -0
  223. package/src/expo-config-plugin/withBrownfield.ts +112 -0
@@ -0,0 +1,20 @@
1
+ # Patch by @hurali97, source: https://github.com/callstackincubator/rock/issues/492#issuecomment-3225109837
2
+ # Applicable only to Expo SDK versions prior to 55, which made ExpoModulesProvider internal by default: https://github.com/expo/expo/pull/42317
3
+ # Path to ExpoModulesProvider.swift
4
+ FILE="${SRCROOT}/Pods/Target Support Files/Pods-ExpoApp-{{FRAMEWORK_NAME}}/ExpoModulesProvider.swift"
5
+
6
+ if [ -f "$FILE" ]; then
7
+ echo "Patching $FILE to hide Expo from public interface"
8
+
9
+ # 1. Replace imports with internal imports
10
+ sed -i '' 's/^import EX/internal import EX/' "$FILE"
11
+
12
+ sed -i '' 's/^import Ex/internal import Ex/' "$FILE"
13
+
14
+ # 2. Replace class visibility
15
+ sed -i '' 's/public class ExpoModulesProvider/internal class ExpoModulesProvider/' "$FILE"
16
+
17
+ echo "Patched $FILE to hide Expo from public interface"
18
+ echo "Contents of $FILE:"
19
+ cat "$FILE"
20
+ fi
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,"__esModule",{value:true});
2
+ //# sourceMappingURL=BrownfieldPluginConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["expo-config-plugin/types/BrownfieldPluginConfig.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=RenderedTemplateFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["expo-config-plugin/types/RenderedTemplateFile.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=BrownfieldPluginAndroidConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["expo-config-plugin/types/index.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=BrownfieldPluginIosConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["expo-config-plugin/types/ios/BrownfieldPluginIosConfig.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _configPlugins=require("@expo/config-plugins");var _withBrownfieldIos=require("./ios/withBrownfieldIos");var _withBrownfieldAndroid=require("./android/withBrownfieldAndroid");var _logging=require("./logging");function resolveConfig(){var _config$debug,_expoConfig$android,_config$android$modul,_config$android,_config$ios$framework,_config$ios,_config$ios$bundleIde,_config$ios2,_config$ios$buildSett,_config$ios3,_config$ios$deploymen,_config$ios4,_config$ios$framework2,_config$ios5,_config$android$packa,_config$android2,_config$android$minSd,_config$android3,_config$android$targe,_config$android4,_config$android$compi,_config$android5,_config$android$group,_config$android6,_config$android$artif,_config$android7,_config$android$versi,_config$android8,_config$debug2;var config=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var expoConfig=arguments.length>1?arguments[1]:undefined;_logging.Logger.setIsDebug((_config$debug=config.debug)!=null?_config$debug:false);var androidPackage=(_expoConfig$android=expoConfig.android)==null?void 0:_expoConfig$android.package;var androidModuleName=(_config$android$modul=(_config$android=config.android)==null?void 0:_config$android.moduleName)!=null?_config$android$modul:'brownfieldlib';return{ios:expoConfig.ios?{frameworkName:(_config$ios$framework=(_config$ios=config.ios)==null?void 0:_config$ios.frameworkName)!=null?_config$ios$framework:'BrownfieldLib',bundleIdentifier:(_config$ios$bundleIde=(_config$ios2=config.ios)==null?void 0:_config$ios2.bundleIdentifier)!=null?_config$ios$bundleIde:`${expoConfig.ios.bundleIdentifier}.brownfield`,buildSettings:(_config$ios$buildSett=(_config$ios3=config.ios)==null?void 0:_config$ios3.buildSettings)!=null?_config$ios$buildSett:{},deploymentTarget:(_config$ios$deploymen=(_config$ios4=config.ios)==null?void 0:_config$ios4.deploymentTarget)!=null?_config$ios$deploymen:'15.0',frameworkVersion:(_config$ios$framework2=(_config$ios5=config.ios)==null?void 0:_config$ios5.frameworkVersion)!=null?_config$ios$framework2:'1'}:null,android:androidPackage?{moduleName:androidModuleName,packageName:(_config$android$packa=(_config$android2=config.android)==null?void 0:_config$android2.packageName)!=null?_config$android$packa:androidPackage,minSdkVersion:(_config$android$minSd=(_config$android3=config.android)==null?void 0:_config$android3.minSdkVersion)!=null?_config$android$minSd:24,targetSdkVersion:(_config$android$targe=(_config$android4=config.android)==null?void 0:_config$android4.targetSdkVersion)!=null?_config$android$targe:35,compileSdkVersion:(_config$android$compi=(_config$android5=config.android)==null?void 0:_config$android5.compileSdkVersion)!=null?_config$android$compi:35,groupId:(_config$android$group=(_config$android6=config.android)==null?void 0:_config$android6.groupId)!=null?_config$android$group:androidPackage,artifactId:(_config$android$artif=(_config$android7=config.android)==null?void 0:_config$android7.artifactId)!=null?_config$android$artif:androidModuleName,version:(_config$android$versi=(_config$android8=config.android)==null?void 0:_config$android8.version)!=null?_config$android$versi:'0.0.1-SNAPSHOT'}:null,debug:(_config$debug2=config.debug)!=null?_config$debug2:false};}var withBrownfield=function withBrownfield(config){var props=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var resolvedConfig=resolveConfig(props!=null?props:{},config);var plugins=[];if(resolvedConfig.ios){plugins.push([_withBrownfieldIos.withBrownfieldIos,resolvedConfig]);}if(resolvedConfig.android){plugins.push([_withBrownfieldAndroid.withBrownfieldAndroid,resolvedConfig]);}return(0,_configPlugins.withPlugins)(config,plugins);};var _default=exports.default=(0,_configPlugins.createRunOncePlugin)(withBrownfield,process.env.npm_package_name,process.env.npm_package_version);
2
+ //# sourceMappingURL=withBrownfield.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_configPlugins","require","_withBrownfieldIos","_withBrownfieldAndroid","_logging","resolveConfig","_config$debug","_expoConfig$android","_config$android$modul","_config$android","_config$ios$framework","_config$ios","_config$ios$bundleIde","_config$ios2","_config$ios$buildSett","_config$ios3","_config$ios$deploymen","_config$ios4","_config$ios$framework2","_config$ios5","_config$android$packa","_config$android2","_config$android$minSd","_config$android3","_config$android$targe","_config$android4","_config$android$compi","_config$android5","_config$android$group","_config$android6","_config$android$artif","_config$android7","_config$android$versi","_config$android8","_config$debug2","config","arguments","length","undefined","expoConfig","Logger","setIsDebug","debug","androidPackage","android","package","androidModuleName","moduleName","ios","frameworkName","bundleIdentifier","buildSettings","deploymentTarget","frameworkVersion","packageName","minSdkVersion","targetSdkVersion","compileSdkVersion","groupId","artifactId","version","withBrownfield","props","resolvedConfig","plugins","push","withBrownfieldIos","withBrownfieldAndroid","withPlugins","_default","exports","default","createRunOncePlugin","process","env","npm_package_name","npm_package_version"],"sourceRoot":"../../../src","sources":["expo-config-plugin/withBrownfield.ts"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ export declare const BROWNFIELD_PLUGIN_VERSION = "0.7.3";
2
+ export declare const brownfieldGradlePluginDependency = "classpath(\"com.callstack.react:brownfield-gradle-plugin:0.7.3\")";
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,UAAU,CAAC;AACjD,eAAO,MAAM,gCAAgC,sEAA2F,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Modifies the root build.gradle to add the Brownfield Gradle plugin dependency
3
+ * @param contents The original build.gradle content
4
+ * @returns The modified build.gradle content
5
+ */
6
+ export declare function modifyRootBuildGradle(contents: string): string;
7
+ /**
8
+ * Modifies settings.gradle to include the Brownfield module
9
+ * @param contents The original settings.gradle content
10
+ * @param moduleName The name of the Brownfield module to include
11
+ * @returns The modified settings.gradle content
12
+ */
13
+ export declare function modifySettingsGradle(contents: string, moduleName: string): string;
14
+ //# sourceMappingURL=gradleHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradleHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/gradleHelpers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA+B9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,MAAM,CAqBR"}
@@ -0,0 +1,4 @@
1
+ export { withBrownfieldAndroid } from './withBrownfieldAndroid';
2
+ export { withAndroidModuleFiles, createAndroidModule, } from './withAndroidModuleFiles';
3
+ export { modifyRootBuildGradle, modifySettingsGradle } from './gradleHelpers';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { ResolvedBrownfieldPluginConfigWithAndroid } from '../types';
3
+ /**
4
+ * Creates the Android library module directory structure and files
5
+ */
6
+ export declare function createAndroidModule({ androidDir, config, rnVersion, }: {
7
+ /**
8
+ * The root Android directory path
9
+ */
10
+ androidDir: string;
11
+ /**
12
+ * The resolved RN version
13
+ */
14
+ rnVersion: string;
15
+ /**
16
+ * The resolved Brownfield plugin configuration
17
+ */
18
+ config: ResolvedBrownfieldPluginConfigWithAndroid;
19
+ }): void;
20
+ /**
21
+ * Dangerous mod that creates the Android module directory and files
22
+ */
23
+ export declare const withAndroidModuleFiles: ConfigPlugin<ResolvedBrownfieldPluginConfigWithAndroid>;
24
+ //# sourceMappingURL=withAndroidModuleFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withAndroidModuleFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/withAndroidModuleFiles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,KAAK,EAEV,yCAAyC,EAC1C,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,MAAM,EACN,SAAS,GACV,EAAE;IACD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,yCAAyC,CAAC;CACnD,GAAG,IAAI,CA8DP;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAC/C,yCAAyC,CAoC1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { ResolvedBrownfieldPluginConfigWithAndroid } from '../types';
3
+ /**
4
+ * Android Config Plugin for integration with @callstack/react-native-brownfield.
5
+ *
6
+ * This plugin:
7
+ * 1. Creates a new Android Library module for the Brownfield AAR
8
+ * 3. Modifies settings.gradle to include the new module
9
+ * 4. Modifies root build.gradle to add Brownfield Gradle plugin
10
+ * 5. Generates the ReactNativeHostManager class inside the module
11
+ */
12
+ export declare const withBrownfieldAndroid: ConfigPlugin<ResolvedBrownfieldPluginConfigWithAndroid>;
13
+ //# sourceMappingURL=withBrownfieldAndroid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBrownfieldAndroid.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/withBrownfieldAndroid.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,UAAU,CAAC;AAE1E;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAC9C,yCAAyC,CA2B1C,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Expo config plugin entry point
3
+ *
4
+ * This file is the entry point for the Expo config plugin.
5
+ * It's referenced in the package.json under "./app.plugin" export.
6
+ */
7
+ import withBrownfield from './withBrownfield';
8
+ export default withBrownfield;
9
+ //# sourceMappingURL=app.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.plugin.d.ts","sourceRoot":"","sources":["../../../../../src/expo-config-plugin/app.plugin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare class SourceModificationError extends Error {
2
+ }
3
+ //# sourceMappingURL=SourceModificationError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceModificationError.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/errors/SourceModificationError.ts"],"names":[],"mappings":"AAAA,qBAAa,uBAAwB,SAAQ,KAAK;CAAG"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Expo Config Plugin for integration with @callstack/react-native-brownfield.
3
+ * This plugin configures your Expo project to be packaged as an AAR (Android) or XCFramework (iOS).
4
+ */
5
+ import withBrownfield from './withBrownfield';
6
+ export default withBrownfield;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/expo-config-plugin/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { withBrownfieldIos } from './withBrownfieldIos';
2
+ export { withIosFrameworkFiles, createIosFramework, } from './withIosFrameworkFiles';
3
+ export { addFrameworkTarget } from './xcodeHelpers';
4
+ export { modifyPodfile } from './podfileHelpers';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/ios/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Modifies the Podfile to include the Brownfield framework target
3
+ * @param podfile The original Podfile content
4
+ * @param frameworkName The name of the framework target to add
5
+ * @returns The modified Podfile content
6
+ */
7
+ export declare function modifyPodfile(podfile: string, frameworkName: string, isExpoPre55: boolean): string;
8
+ //# sourceMappingURL=podfileHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"podfileHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/ios/podfileHelpers.ts"],"names":[],"mappings":"AAgDA;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,OAAO,GACnB,MAAM,CA6CR"}
@@ -0,0 +1,14 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { ResolvedBrownfieldPluginConfigWithIos } from '../types';
3
+ /**
4
+ * iOS Config Plugin for integration with @callstack/react-native-brownfield.
5
+ *
6
+ * This plugin:
7
+ * 1. Creates a new Framework target in the Xcode project
8
+ * 2. Configures the Podfile to include the framework target
9
+ * 3. Adds necessary build configuration
10
+ * 4. Adds script phase to patch `ExpoModulesProvider.swift`
11
+ * 5. Adds the "Bundle React Native code and images" phase of Expo app target to the framework target
12
+ */
13
+ export declare const withBrownfieldIos: ConfigPlugin<ResolvedBrownfieldPluginConfigWithIos>;
14
+ //# sourceMappingURL=withBrownfieldIos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBrownfieldIos.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/ios/withBrownfieldIos.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAU9B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,UAAU,CAAC;AAGtE;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAC1C,qCAAqC,CAkEtC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { RenderedTemplateFile, ResolvedBrownfieldPluginConfigWithIos } from '../types';
3
+ /**
4
+ * Returns rendered source files for the iOS framework
5
+ * @param ios The iOS Brownfield plugin configuration
6
+ * @returns The list of framework source files
7
+ */
8
+ export declare function getFrameworkSourceFiles(ios: ResolvedBrownfieldPluginConfigWithIos['ios']): RenderedTemplateFile[];
9
+ /**
10
+ * Creates the iOS framework directory structure and files
11
+ * @param iosDir The root iOS directory path
12
+ * @param config The resolved Brownfield plugin configuration
13
+ */
14
+ export declare function createIosFramework(iosDir: string, config: ResolvedBrownfieldPluginConfigWithIos): void;
15
+ /**
16
+ * Dangerous mod that creates the iOS framework directory and files
17
+ */
18
+ export declare const withIosFrameworkFiles: ConfigPlugin<ResolvedBrownfieldPluginConfigWithIos>;
19
+ //# sourceMappingURL=withIosFrameworkFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withIosFrameworkFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/ios/withIosFrameworkFiles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,KAAK,EACV,oBAAoB,EACpB,qCAAqC,EACtC,MAAM,UAAU,CAAC;AAIlB;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,qCAAqC,CAAC,KAAK,CAAC,GAChD,oBAAoB,EAAE,CAiBxB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,qCAAqC,QA+B9C;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAC9C,qCAAqC,CAYtC,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { ModProps, XcodeProject } from '@expo/config-plugins';
2
+ import type { ResolvedBrownfieldPluginIosConfig } from '../types';
3
+ /**
4
+ * Adds a new Framework target to the Xcode project for Brownfield packaging
5
+ * @throws If target creation fails
6
+ * @param project The Xcode project to modify
7
+ * @param options Framework target options
8
+ */
9
+ export declare function addFrameworkTarget(project: XcodeProject, modRequest: ModProps<XcodeProject>, options: ResolvedBrownfieldPluginIosConfig): {
10
+ frameworkTargetUUID: string;
11
+ targetAlreadyExists: boolean;
12
+ };
13
+ export declare function addSourceFilesBuildPhase(project: XcodeProject, frameworkTargetUUID: string, options: ResolvedBrownfieldPluginIosConfig): void;
14
+ /**
15
+ * Finds the "Bundle React Native code and images" build phase from the main app target
16
+ * and adds it to the framework target's build phases
17
+ * @param project The Xcode project
18
+ * @param targetUuid The UUID of the framework target
19
+ */
20
+ export declare function copyBundleReactNativePhase(project: XcodeProject, targetUuid: string): void;
21
+ export declare function addExpoPre55ShellPatchScriptPhase(project: XcodeProject, { frameworkName, frameworkTargetUUID, }: {
22
+ frameworkName: string;
23
+ frameworkTargetUUID: string;
24
+ }): void;
25
+ /**
26
+ * Makes sure the patch expo modules provider phase is after the expo configure phase,
27
+ * otherwise the patched file would be overwritten by the expo configure phase
28
+ * @param project The Xcode project
29
+ * @param frameworkTargetUUID The UUID of the framework target
30
+ * @returns True if the build phases were modified, false otherwise
31
+ */
32
+ export declare function ensureExpoPre55ShellPatchScriptPhaseIsOrdered(project: XcodeProject, frameworkTargetUUID: string): boolean;
33
+ //# sourceMappingURL=xcodeHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xcodeHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/ios/xcodeHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGnE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAKlE;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,QAAQ,CAAC,YAAY,CAAC,EAClC,OAAO,EAAE,iCAAiC,GACzC;IACD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAoIA;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,YAAY,EACrB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,EAAE,iCAAiC,QAkB3C;AAgDD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,MAAM,GACjB,IAAI,CAmDN;AAED,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,YAAY,EACrB,EACE,aAAa,EACb,mBAAmB,GACpB,EAAE;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,QAgBF;AAED;;;;;;GAMG;AACH,wBAAgB,6CAA6C,CAC3D,OAAO,EAAE,YAAY,EACrB,mBAAmB,EAAE,MAAM,WAmC5B"}
@@ -0,0 +1,9 @@
1
+ export declare class Logger {
2
+ private static debug;
3
+ static setIsDebug(enabled: boolean): void;
4
+ static logInfo(message: string, ...args: any[]): void;
5
+ static logDebug(message: string, ...args: any[]): void;
6
+ static logWarning(message: string, ...args: any[]): void;
7
+ static logError(message: string, ...args: any[]): void;
8
+ }
9
+ //# sourceMappingURL=logging.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../../../src/expo-config-plugin/logging.ts"],"names":[],"mappings":"AAEA,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAkB;IAEtC,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO;IAIlC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;IAI9C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;IAQ/C,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;IAIjD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE;CAGhD"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Renders a template file for the specified platform with given parameters
3
+ * @param platform The platform name (specifies the subdirectory of template/)
4
+ * @param name The template file name (with extension)
5
+ * @param params The params to be replaced in the template
6
+ * @returns The rendered template content
7
+ */
8
+ export declare function renderTemplate(platform: 'ios' | 'android', name: string, params?: Record<`{{${string}}}`, unknown>): string;
9
+ //# sourceMappingURL=engine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/template/engine.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,KAAK,GAAG,SAAS,EAC3B,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,IAAI,EAAE,OAAO,CAAC,GACxC,MAAM,CAWR"}
@@ -0,0 +1,53 @@
1
+ import type { BrownfieldPluginAndroidConfig, ResolvedBrownfieldPluginAndroidConfig } from './android/BrownfieldPluginAndroidConfig';
2
+ import type { BrownfieldPluginIosConfig, ResolvedBrownfieldPluginIosConfig } from './ios/BrownfieldPluginIosConfig';
3
+ /**
4
+ * Main configuration for the Brownfield Expo config plugin
5
+ */
6
+ export interface BrownfieldPluginConfig {
7
+ /**
8
+ * iOS-specific configuration
9
+ */
10
+ ios?: BrownfieldPluginIosConfig;
11
+ /**
12
+ * Android-specific configuration
13
+ */
14
+ android?: BrownfieldPluginAndroidConfig;
15
+ /**
16
+ * Whether to enable debug logging during plugin execution
17
+ * @default false
18
+ */
19
+ debug?: boolean;
20
+ }
21
+ /**
22
+ * Internal configuration with resolved defaults
23
+ * Note that the platform-specific configs can be null if the platform is not configured
24
+ */
25
+ export interface ResolvedBrownfieldPluginConfig extends Required<Omit<BrownfieldPluginConfig, 'ios' | 'android'>> {
26
+ /**
27
+ * iOS-specific configuration
28
+ */
29
+ ios: ResolvedBrownfieldPluginIosConfig | null;
30
+ /**
31
+ * Android-specific configuration
32
+ */
33
+ android: ResolvedBrownfieldPluginAndroidConfig | null;
34
+ }
35
+ /**
36
+ * Resolved Brownfield configuration including Android config
37
+ */
38
+ export interface ResolvedBrownfieldPluginConfigWithAndroid extends ResolvedBrownfieldPluginConfig {
39
+ /**
40
+ * Android-specific configuration
41
+ */
42
+ android: ResolvedBrownfieldPluginAndroidConfig;
43
+ }
44
+ /**
45
+ * Resolved Brownfield configuration including iOS config
46
+ */
47
+ export interface ResolvedBrownfieldPluginConfigWithIos extends ResolvedBrownfieldPluginConfig {
48
+ /**
49
+ * iOS-specific configuration
50
+ */
51
+ ios: ResolvedBrownfieldPluginIosConfig;
52
+ }
53
+ //# sourceMappingURL=BrownfieldPluginConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrownfieldPluginConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/types/BrownfieldPluginConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,qCAAqC,EACtC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EACV,yBAAyB,EACzB,iCAAiC,EAClC,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,GAAG,CAAC,EAAE,yBAAyB,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IAExC;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA+B,SAAQ,QAAQ,CAC9D,IAAI,CAAC,sBAAsB,EAAE,KAAK,GAAG,SAAS,CAAC,CAChD;IACC;;OAEG;IACH,GAAG,EAAE,iCAAiC,GAAG,IAAI,CAAC;IAE9C;;OAEG;IACH,OAAO,EAAE,qCAAqC,GAAG,IAAI,CAAC;CACvD;AAED;;GAEG;AACH,MAAM,WAAW,yCAA0C,SAAQ,8BAA8B;IAC/F;;OAEG;IACH,OAAO,EAAE,qCAAqC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,8BAA8B;IAC3F;;OAEG;IACH,GAAG,EAAE,iCAAiC,CAAC;CACxC"}
@@ -0,0 +1,5 @@
1
+ export interface RenderedTemplateFile {
2
+ relativePath: string;
3
+ content: string;
4
+ }
5
+ //# sourceMappingURL=RenderedTemplateFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderedTemplateFile.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/types/RenderedTemplateFile.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Android-specific configuration for Brownfield config plugin
3
+ */
4
+ export interface BrownfieldPluginAndroidConfig {
5
+ /**
6
+ * The name of the Android library module to create
7
+ * @default "brownfieldlib"
8
+ */
9
+ moduleName?: string;
10
+ /**
11
+ * The package name for the Android library module
12
+ * @default app's package name
13
+ */
14
+ packageName?: string;
15
+ /**
16
+ * Minimum SDK version for the Android library
17
+ * @default 24
18
+ */
19
+ minSdkVersion?: number;
20
+ /**
21
+ * Target SDK version for the Android library
22
+ * @default 35
23
+ */
24
+ targetSdkVersion?: number;
25
+ /**
26
+ * Compile SDK version for the Android library
27
+ * @default 35
28
+ */
29
+ compileSdkVersion?: number;
30
+ /**
31
+ * Group ID for Maven publishing
32
+ * @default package name
33
+ */
34
+ groupId?: string;
35
+ /**
36
+ * Artifact ID for Maven publishing
37
+ * @default module name
38
+ */
39
+ artifactId?: string;
40
+ /**
41
+ * Version string for Maven publishing
42
+ * @default "0.0.1-SNAPSHOT"
43
+ */
44
+ version?: string;
45
+ }
46
+ /**
47
+ * Android configuration with resolved defaults (all fields required)
48
+ */
49
+ export type ResolvedBrownfieldPluginAndroidConfig = Required<BrownfieldPluginAndroidConfig>;
50
+ //# sourceMappingURL=BrownfieldPluginAndroidConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrownfieldPluginAndroidConfig.d.ts","sourceRoot":"","sources":["../../../../../../../src/expo-config-plugin/types/android/BrownfieldPluginAndroidConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAC/C,QAAQ,CAAC,6BAA6B,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type * from './android/BrownfieldPluginAndroidConfig';
2
+ export type * from './ios/BrownfieldPluginIosConfig';
3
+ export type * from './BrownfieldPluginConfig';
4
+ export type * from './RenderedTemplateFile';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,yCAAyC,CAAC;AAC7D,mBAAmB,iCAAiC,CAAC;AAErD,mBAAmB,0BAA0B,CAAC;AAE9C,mBAAmB,wBAAwB,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * iOS-specific configuration for Brownfield config plugin
3
+ */
4
+ export interface BrownfieldPluginIosConfig {
5
+ /**
6
+ * The name of the framework to create
7
+ * This will be used as the XCFramework name
8
+ * @default "BrownfieldLib"
9
+ */
10
+ frameworkName?: string;
11
+ /**
12
+ * The bundle identifier for the framework
13
+ * @default app's bundle identifier with ".brownfield" suffix
14
+ */
15
+ bundleIdentifier?: string;
16
+ /**
17
+ * Custom build settings to apply to the framework build
18
+ */
19
+ buildSettings?: Record<string, string | boolean | number>;
20
+ /**
21
+ * Minimum iOS deployment target
22
+ * @default "15.0"
23
+ */
24
+ deploymentTarget?: string;
25
+ /**
26
+ * The version of the framework, must be an integer or floating point (e.g. 1, or 2.1)
27
+ * @default 1
28
+ * @see https://developer.apple.com/documentation/xcode/build-settings-reference#Current-Project-Version
29
+ */
30
+ frameworkVersion?: string;
31
+ }
32
+ /**
33
+ * iOS configuration with resolved defaults (all fields required)
34
+ */
35
+ export type ResolvedBrownfieldPluginIosConfig = Required<BrownfieldPluginIosConfig>;
36
+ //# sourceMappingURL=BrownfieldPluginIosConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrownfieldPluginIosConfig.d.ts","sourceRoot":"","sources":["../../../../../../../src/expo-config-plugin/types/ios/BrownfieldPluginIosConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAE1D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAC3C,QAAQ,CAAC,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { BrownfieldPluginConfig } from './types';
3
+ declare const _default: ConfigPlugin<void | BrownfieldPluginConfig>;
4
+ export default _default;
5
+ //# sourceMappingURL=withBrownfield.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBrownfield.d.ts","sourceRoot":"","sources":["../../../../../src/expo-config-plugin/withBrownfield.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EACV,sBAAsB,EAEvB,MAAM,SAAS,CAAC;;AA8FjB,wBAIE"}
@@ -0,0 +1,3 @@
1
+ export declare const BROWNFIELD_PLUGIN_VERSION = "0.7.3";
2
+ export declare const brownfieldGradlePluginDependency = "classpath(\"com.callstack.react:brownfield-gradle-plugin:0.7.3\")";
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,UAAU,CAAC;AACjD,eAAO,MAAM,gCAAgC,sEAA2F,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Modifies the root build.gradle to add the Brownfield Gradle plugin dependency
3
+ * @param contents The original build.gradle content
4
+ * @returns The modified build.gradle content
5
+ */
6
+ export declare function modifyRootBuildGradle(contents: string): string;
7
+ /**
8
+ * Modifies settings.gradle to include the Brownfield module
9
+ * @param contents The original settings.gradle content
10
+ * @param moduleName The name of the Brownfield module to include
11
+ * @returns The modified settings.gradle content
12
+ */
13
+ export declare function modifySettingsGradle(contents: string, moduleName: string): string;
14
+ //# sourceMappingURL=gradleHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradleHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/gradleHelpers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA+B9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,MAAM,CAqBR"}
@@ -0,0 +1,4 @@
1
+ export { withBrownfieldAndroid } from './withBrownfieldAndroid';
2
+ export { withAndroidModuleFiles, createAndroidModule, } from './withAndroidModuleFiles';
3
+ export { modifyRootBuildGradle, modifySettingsGradle } from './gradleHelpers';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
2
+ import type { ResolvedBrownfieldPluginConfigWithAndroid } from '../types';
3
+ /**
4
+ * Creates the Android library module directory structure and files
5
+ */
6
+ export declare function createAndroidModule({ androidDir, config, rnVersion, }: {
7
+ /**
8
+ * The root Android directory path
9
+ */
10
+ androidDir: string;
11
+ /**
12
+ * The resolved RN version
13
+ */
14
+ rnVersion: string;
15
+ /**
16
+ * The resolved Brownfield plugin configuration
17
+ */
18
+ config: ResolvedBrownfieldPluginConfigWithAndroid;
19
+ }): void;
20
+ /**
21
+ * Dangerous mod that creates the Android module directory and files
22
+ */
23
+ export declare const withAndroidModuleFiles: ConfigPlugin<ResolvedBrownfieldPluginConfigWithAndroid>;
24
+ //# sourceMappingURL=withAndroidModuleFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withAndroidModuleFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/expo-config-plugin/android/withAndroidModuleFiles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,KAAK,EAEV,yCAAyC,EAC1C,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,MAAM,EACN,SAAS,GACV,EAAE;IACD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,yCAAyC,CAAC;CACnD,GAAG,IAAI,CA8DP;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAC/C,yCAAyC,CAoC1C,CAAC"}