react-native-kookit 0.1.0 → 0.1.3

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 (1194) hide show
  1. package/ANDROID_SETUP.md +188 -0
  2. package/EXPO_PLUGIN_README.md +136 -0
  3. package/README.md +219 -3
  4. package/README_NEW.md +133 -0
  5. package/android/src/main/java/expo/modules/kookit/ReactNativeKookitModule.kt +12 -1
  6. package/android/src/main/java/expo/modules/kookit/VolumeKeyReflectionHandler.kt +54 -0
  7. package/app.plugin.js +1 -0
  8. package/build/ReactNativeKookitModule.d.ts +16 -0
  9. package/build/ReactNativeKookitModule.d.ts.map +1 -1
  10. package/build/ReactNativeKookitModule.js.map +1 -1
  11. package/package-with-plugin.json +51 -0
  12. package/package.json +14 -3
  13. package/plugin/build/withVolumeKeyIntercept.d.ts +7 -0
  14. package/plugin/build/withVolumeKeyIntercept.d.ts.map +1 -0
  15. package/plugin/build/withVolumeKeyIntercept.js +143 -0
  16. package/plugin/build/withVolumeKeyIntercept.js.map +1 -0
  17. package/plugin/node_modules/.package-lock.json +752 -0
  18. package/plugin/node_modules/@babel/code-frame/LICENSE +22 -0
  19. package/plugin/node_modules/@babel/code-frame/README.md +19 -0
  20. package/plugin/node_modules/@babel/code-frame/lib/index.js +167 -0
  21. package/plugin/node_modules/@babel/code-frame/package.json +25 -0
  22. package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  23. package/plugin/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  24. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  25. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  26. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  27. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  28. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  29. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  30. package/plugin/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  31. package/plugin/node_modules/@babel/highlight/LICENSE +22 -0
  32. package/plugin/node_modules/@babel/highlight/README.md +19 -0
  33. package/plugin/node_modules/@babel/highlight/lib/index.js +119 -0
  34. package/plugin/node_modules/@babel/highlight/lib/index.js.map +1 -0
  35. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
  36. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
  37. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
  38. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
  39. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
  40. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
  41. package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
  42. package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
  43. package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
  44. package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
  45. package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
  46. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
  47. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
  48. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
  49. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
  50. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
  51. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
  52. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
  53. package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
  54. package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
  55. package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
  56. package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
  57. package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
  58. package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
  59. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +8 -0
  60. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +9 -0
  61. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +44 -0
  62. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +70 -0
  63. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +5 -0
  64. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +131 -0
  65. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +9 -0
  66. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +53 -0
  67. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +66 -0
  68. package/plugin/node_modules/@babel/highlight/package.json +30 -0
  69. package/plugin/node_modules/@expo/config-plugins/LICENSE +22 -0
  70. package/plugin/node_modules/@expo/config-plugins/README.md +34 -0
  71. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +177 -0
  72. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +51 -0
  73. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +1 -0
  74. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +6 -0
  75. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +45 -0
  76. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +1 -0
  77. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +28 -0
  78. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +93 -0
  79. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +1 -0
  80. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +29 -0
  81. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +106 -0
  82. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +1 -0
  83. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +3 -0
  84. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +67 -0
  85. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +1 -0
  86. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +2 -0
  87. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +82 -0
  88. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +1 -0
  89. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +5 -0
  90. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +46 -0
  91. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +1 -0
  92. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +17 -0
  93. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +138 -0
  94. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +1 -0
  95. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +8 -0
  96. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +83 -0
  97. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +1 -0
  98. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +157 -0
  99. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +221 -0
  100. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +1 -0
  101. package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +20 -0
  102. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +91 -0
  103. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +1 -0
  104. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +6 -0
  105. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +39 -0
  106. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +1 -0
  107. package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +23 -0
  108. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +323 -0
  109. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +1 -0
  110. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +30 -0
  111. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +154 -0
  112. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +1 -0
  113. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +20 -0
  114. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +207 -0
  115. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +1 -0
  116. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +6 -0
  117. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +62 -0
  118. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +1 -0
  119. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +12 -0
  120. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +55 -0
  121. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +1 -0
  122. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +87 -0
  123. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +150 -0
  124. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +1 -0
  125. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +20 -0
  126. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +217 -0
  127. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +1 -0
  128. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +16 -0
  129. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +112 -0
  130. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +1 -0
  131. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +6 -0
  132. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +54 -0
  133. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +1 -0
  134. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +61 -0
  135. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +169 -0
  136. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +1 -0
  137. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +21 -0
  138. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +159 -0
  139. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +1 -0
  140. package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +16 -0
  141. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +87 -0
  142. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +1 -0
  143. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +6 -0
  144. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +48 -0
  145. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +1 -0
  146. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +20 -0
  147. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +93 -0
  148. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +1 -0
  149. package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +25 -0
  150. package/plugin/node_modules/@expo/config-plugins/build/android/index.js +308 -0
  151. package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +1 -0
  152. package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +36 -0
  153. package/plugin/node_modules/@expo/config-plugins/build/index.js +428 -0
  154. package/plugin/node_modules/@expo/config-plugins/build/index.js.map +1 -0
  155. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +33 -0
  156. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +110 -0
  157. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +1 -0
  158. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +27 -0
  159. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +67 -0
  160. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +1 -0
  161. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +10 -0
  162. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +112 -0
  163. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +1 -0
  164. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +50 -0
  165. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +241 -0
  166. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +1 -0
  167. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +19 -0
  168. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +92 -0
  169. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +1 -0
  170. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +9 -0
  171. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +132 -0
  172. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +1 -0
  173. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +14 -0
  174. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +139 -0
  175. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +1 -0
  176. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +48 -0
  177. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +2 -0
  178. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +1 -0
  179. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +14 -0
  180. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +132 -0
  181. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +1 -0
  182. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +17 -0
  183. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +211 -0
  184. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +1 -0
  185. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +20 -0
  186. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +111 -0
  187. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +1 -0
  188. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +7 -0
  189. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +42 -0
  190. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +1 -0
  191. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +38 -0
  192. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +311 -0
  193. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +1 -0
  194. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +9 -0
  195. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +58 -0
  196. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +1 -0
  197. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +20 -0
  198. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +129 -0
  199. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +1 -0
  200. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +8 -0
  201. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +67 -0
  202. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +1 -0
  203. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +5 -0
  204. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +101 -0
  205. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +1 -0
  206. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +11 -0
  207. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +111 -0
  208. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +1 -0
  209. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +34 -0
  210. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +196 -0
  211. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +1 -0
  212. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +27 -0
  213. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +136 -0
  214. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +1 -0
  215. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +17 -0
  216. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +121 -0
  217. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +1 -0
  218. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +5 -0
  219. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +38 -0
  220. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +1 -0
  221. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +8 -0
  222. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +44 -0
  223. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +1 -0
  224. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +31 -0
  225. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +99 -0
  226. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +1 -0
  227. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +81 -0
  228. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +264 -0
  229. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +1 -0
  230. package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +27 -0
  231. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +342 -0
  232. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +1 -0
  233. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +93 -0
  234. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +484 -0
  235. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +1 -0
  236. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +12 -0
  237. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +49 -0
  238. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +1 -0
  239. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +1 -0
  240. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +10 -0
  241. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +1 -0
  242. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +89 -0
  243. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +210 -0
  244. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +1 -0
  245. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +31 -0
  246. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +129 -0
  247. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +1 -0
  248. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +77 -0
  249. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +205 -0
  250. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +1 -0
  251. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +39 -0
  252. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +226 -0
  253. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +1 -0
  254. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +40 -0
  255. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +510 -0
  256. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +1 -0
  257. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +10 -0
  258. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +30 -0
  259. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +1 -0
  260. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +10 -0
  261. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +30 -0
  262. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +1 -0
  263. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +33 -0
  264. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +442 -0
  265. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +1 -0
  266. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +46 -0
  267. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +208 -0
  268. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +1 -0
  269. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +8 -0
  270. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +35 -0
  271. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +1 -0
  272. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +20 -0
  273. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +55 -0
  274. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +1 -0
  275. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +17 -0
  276. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +138 -0
  277. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +1 -0
  278. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +25 -0
  279. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +2 -0
  280. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +1 -0
  281. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +29 -0
  282. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +217 -0
  283. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +1 -0
  284. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +27 -0
  285. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +161 -0
  286. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +1 -0
  287. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +32 -0
  288. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +63 -0
  289. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +1 -0
  290. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +15 -0
  291. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +27 -0
  292. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +1 -0
  293. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +4 -0
  294. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +45 -0
  295. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +1 -0
  296. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +36 -0
  297. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +128 -0
  298. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +1 -0
  299. package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +11 -0
  300. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +24 -0
  301. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +1 -0
  302. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +7 -0
  303. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +65 -0
  304. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +1 -0
  305. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +3 -0
  306. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +42 -0
  307. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +1 -0
  308. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +2 -0
  309. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +20 -0
  310. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +1 -0
  311. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +33 -0
  312. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +218 -0
  313. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +1 -0
  314. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +4 -0
  315. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +42 -0
  316. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +1 -0
  317. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +3 -0
  318. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +42 -0
  319. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +1 -0
  320. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +26 -0
  321. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +52 -0
  322. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +1 -0
  323. package/plugin/node_modules/@expo/config-plugins/package.json +62 -0
  324. package/plugin/node_modules/@expo/config-types/LICENSE +22 -0
  325. package/plugin/node_modules/@expo/config-types/README.md +38 -0
  326. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +878 -0
  327. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +6 -0
  328. package/plugin/node_modules/@expo/config-types/package.json +48 -0
  329. package/plugin/node_modules/@expo/json-file/LICENSE +22 -0
  330. package/plugin/node_modules/@expo/json-file/README.md +29 -0
  331. package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +61 -0
  332. package/plugin/node_modules/@expo/json-file/build/JsonFile.js +283 -0
  333. package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +1 -0
  334. package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +13 -0
  335. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +35 -0
  336. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +1 -0
  337. package/plugin/node_modules/@expo/json-file/package.json +47 -0
  338. package/plugin/node_modules/@expo/plist/README.md +8 -0
  339. package/plugin/node_modules/@expo/plist/build/build.d.ts +11 -0
  340. package/plugin/node_modules/@expo/plist/build/build.js +152 -0
  341. package/plugin/node_modules/@expo/plist/build/build.js.map +1 -0
  342. package/plugin/node_modules/@expo/plist/build/index.d.ts +16 -0
  343. package/plugin/node_modules/@expo/plist/build/index.js +6 -0
  344. package/plugin/node_modules/@expo/plist/build/index.js.map +1 -0
  345. package/plugin/node_modules/@expo/plist/build/parse.d.ts +8 -0
  346. package/plugin/node_modules/@expo/plist/build/parse.js +201 -0
  347. package/plugin/node_modules/@expo/plist/build/parse.js.map +1 -0
  348. package/plugin/node_modules/@expo/plist/package.json +45 -0
  349. package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +5 -0
  350. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +4 -0
  351. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +21 -0
  352. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +1 -0
  353. package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +29 -0
  354. package/plugin/node_modules/@types/node/LICENSE +21 -0
  355. package/plugin/node_modules/@types/node/README.md +15 -0
  356. package/plugin/node_modules/@types/node/assert/strict.d.ts +8 -0
  357. package/plugin/node_modules/@types/node/assert.d.ts +1044 -0
  358. package/plugin/node_modules/@types/node/async_hooks.d.ts +605 -0
  359. package/plugin/node_modules/@types/node/buffer.buffer.d.ts +462 -0
  360. package/plugin/node_modules/@types/node/buffer.d.ts +1932 -0
  361. package/plugin/node_modules/@types/node/child_process.d.ts +1548 -0
  362. package/plugin/node_modules/@types/node/cluster.d.ts +578 -0
  363. package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  364. package/plugin/node_modules/@types/node/compatibility/index.d.ts +9 -0
  365. package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  366. package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  367. package/plugin/node_modules/@types/node/console.d.ts +452 -0
  368. package/plugin/node_modules/@types/node/constants.d.ts +21 -0
  369. package/plugin/node_modules/@types/node/crypto.d.ts +4570 -0
  370. package/plugin/node_modules/@types/node/dgram.d.ts +596 -0
  371. package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  372. package/plugin/node_modules/@types/node/dns/promises.d.ts +479 -0
  373. package/plugin/node_modules/@types/node/dns.d.ts +871 -0
  374. package/plugin/node_modules/@types/node/dom-events.d.ts +99 -0
  375. package/plugin/node_modules/@types/node/domain.d.ts +170 -0
  376. package/plugin/node_modules/@types/node/events.d.ts +931 -0
  377. package/plugin/node_modules/@types/node/fs/promises.d.ts +1248 -0
  378. package/plugin/node_modules/@types/node/fs.d.ts +4362 -0
  379. package/plugin/node_modules/@types/node/globals.d.ts +335 -0
  380. package/plugin/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  381. package/plugin/node_modules/@types/node/http.d.ts +2031 -0
  382. package/plugin/node_modules/@types/node/http2.d.ts +2623 -0
  383. package/plugin/node_modules/@types/node/https.d.ts +544 -0
  384. package/plugin/node_modules/@types/node/index.d.ts +91 -0
  385. package/plugin/node_modules/@types/node/inspector.d.ts +3966 -0
  386. package/plugin/node_modules/@types/node/module.d.ts +539 -0
  387. package/plugin/node_modules/@types/node/net.d.ts +1011 -0
  388. package/plugin/node_modules/@types/node/os.d.ts +495 -0
  389. package/plugin/node_modules/@types/node/package.json +140 -0
  390. package/plugin/node_modules/@types/node/path.d.ts +200 -0
  391. package/plugin/node_modules/@types/node/perf_hooks.d.ts +963 -0
  392. package/plugin/node_modules/@types/node/process.d.ts +1956 -0
  393. package/plugin/node_modules/@types/node/punycode.d.ts +117 -0
  394. package/plugin/node_modules/@types/node/querystring.d.ts +152 -0
  395. package/plugin/node_modules/@types/node/readline/promises.d.ts +162 -0
  396. package/plugin/node_modules/@types/node/readline.d.ts +589 -0
  397. package/plugin/node_modules/@types/node/repl.d.ts +430 -0
  398. package/plugin/node_modules/@types/node/sea.d.ts +153 -0
  399. package/plugin/node_modules/@types/node/stream/consumers.d.ts +38 -0
  400. package/plugin/node_modules/@types/node/stream/promises.d.ts +90 -0
  401. package/plugin/node_modules/@types/node/stream/web.d.ts +533 -0
  402. package/plugin/node_modules/@types/node/stream.d.ts +1668 -0
  403. package/plugin/node_modules/@types/node/string_decoder.d.ts +67 -0
  404. package/plugin/node_modules/@types/node/test.d.ts +1807 -0
  405. package/plugin/node_modules/@types/node/timers/promises.d.ts +108 -0
  406. package/plugin/node_modules/@types/node/timers.d.ts +286 -0
  407. package/plugin/node_modules/@types/node/tls.d.ts +1231 -0
  408. package/plugin/node_modules/@types/node/trace_events.d.ts +197 -0
  409. package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
  410. package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  411. package/plugin/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  412. package/plugin/node_modules/@types/node/tty.d.ts +208 -0
  413. package/plugin/node_modules/@types/node/url.d.ts +964 -0
  414. package/plugin/node_modules/@types/node/util.d.ts +2331 -0
  415. package/plugin/node_modules/@types/node/v8.d.ts +808 -0
  416. package/plugin/node_modules/@types/node/vm.d.ts +1030 -0
  417. package/plugin/node_modules/@types/node/wasi.d.ts +181 -0
  418. package/plugin/node_modules/@types/node/worker_threads.d.ts +724 -0
  419. package/plugin/node_modules/@types/node/zlib.d.ts +539 -0
  420. package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +401 -0
  421. package/plugin/node_modules/@xmldom/xmldom/LICENSE +8 -0
  422. package/plugin/node_modules/@xmldom/xmldom/index.d.ts +43 -0
  423. package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
  424. package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +177 -0
  425. package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +268 -0
  426. package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +1808 -0
  427. package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
  428. package/plugin/node_modules/@xmldom/xmldom/lib/index.js +4 -0
  429. package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +656 -0
  430. package/plugin/node_modules/@xmldom/xmldom/package.json +60 -0
  431. package/plugin/node_modules/@xmldom/xmldom/readme.md +338 -0
  432. package/plugin/node_modules/ansi-styles/index.d.ts +345 -0
  433. package/plugin/node_modules/ansi-styles/index.js +163 -0
  434. package/plugin/node_modules/ansi-styles/license +9 -0
  435. package/plugin/node_modules/ansi-styles/package.json +56 -0
  436. package/plugin/node_modules/ansi-styles/readme.md +152 -0
  437. package/plugin/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  438. package/plugin/node_modules/balanced-match/LICENSE.md +21 -0
  439. package/plugin/node_modules/balanced-match/README.md +97 -0
  440. package/plugin/node_modules/balanced-match/index.js +62 -0
  441. package/plugin/node_modules/balanced-match/package.json +48 -0
  442. package/plugin/node_modules/base64-js/LICENSE +21 -0
  443. package/plugin/node_modules/base64-js/README.md +34 -0
  444. package/plugin/node_modules/base64-js/base64js.min.js +1 -0
  445. package/plugin/node_modules/base64-js/index.d.ts +3 -0
  446. package/plugin/node_modules/base64-js/index.js +150 -0
  447. package/plugin/node_modules/base64-js/package.json +47 -0
  448. package/plugin/node_modules/big-integer/BigInteger.d.ts +2393 -0
  449. package/plugin/node_modules/big-integer/BigInteger.js +1453 -0
  450. package/plugin/node_modules/big-integer/BigInteger.min.js +1 -0
  451. package/plugin/node_modules/big-integer/LICENSE +24 -0
  452. package/plugin/node_modules/big-integer/README.md +589 -0
  453. package/plugin/node_modules/big-integer/bower.json +29 -0
  454. package/plugin/node_modules/big-integer/package.json +48 -0
  455. package/plugin/node_modules/big-integer/tsconfig.json +24 -0
  456. package/plugin/node_modules/bplist-creator/LICENSE +18 -0
  457. package/plugin/node_modules/bplist-creator/README.md +64 -0
  458. package/plugin/node_modules/bplist-creator/bplistCreator.js +460 -0
  459. package/plugin/node_modules/bplist-creator/package.json +28 -0
  460. package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
  461. package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  462. package/plugin/node_modules/bplist-creator/test/creatorTest.js +211 -0
  463. package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  464. package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
  465. package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
  466. package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
  467. package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
  468. package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
  469. package/plugin/node_modules/bplist-parser/.editorconfig +12 -0
  470. package/plugin/node_modules/bplist-parser/.eslintignore +1 -0
  471. package/plugin/node_modules/bplist-parser/.eslintrc.js +295 -0
  472. package/plugin/node_modules/bplist-parser/README.md +48 -0
  473. package/plugin/node_modules/bplist-parser/bplistParser.d.ts +6 -0
  474. package/plugin/node_modules/bplist-parser/bplistParser.js +366 -0
  475. package/plugin/node_modules/bplist-parser/package.json +35 -0
  476. package/plugin/node_modules/brace-expansion/LICENSE +21 -0
  477. package/plugin/node_modules/brace-expansion/README.md +129 -0
  478. package/plugin/node_modules/brace-expansion/index.js +201 -0
  479. package/plugin/node_modules/brace-expansion/package.json +50 -0
  480. package/plugin/node_modules/chalk/index.d.ts +415 -0
  481. package/plugin/node_modules/chalk/license +9 -0
  482. package/plugin/node_modules/chalk/package.json +68 -0
  483. package/plugin/node_modules/chalk/readme.md +341 -0
  484. package/plugin/node_modules/chalk/source/index.js +229 -0
  485. package/plugin/node_modules/chalk/source/templates.js +134 -0
  486. package/plugin/node_modules/chalk/source/util.js +39 -0
  487. package/plugin/node_modules/color-convert/CHANGELOG.md +54 -0
  488. package/plugin/node_modules/color-convert/LICENSE +21 -0
  489. package/plugin/node_modules/color-convert/README.md +68 -0
  490. package/plugin/node_modules/color-convert/conversions.js +839 -0
  491. package/plugin/node_modules/color-convert/index.js +81 -0
  492. package/plugin/node_modules/color-convert/package.json +48 -0
  493. package/plugin/node_modules/color-convert/route.js +97 -0
  494. package/plugin/node_modules/color-name/LICENSE +8 -0
  495. package/plugin/node_modules/color-name/README.md +11 -0
  496. package/plugin/node_modules/color-name/index.js +152 -0
  497. package/plugin/node_modules/color-name/package.json +28 -0
  498. package/plugin/node_modules/concat-map/.travis.yml +4 -0
  499. package/plugin/node_modules/concat-map/LICENSE +18 -0
  500. package/plugin/node_modules/concat-map/README.markdown +62 -0
  501. package/plugin/node_modules/concat-map/example/map.js +6 -0
  502. package/plugin/node_modules/concat-map/index.js +13 -0
  503. package/plugin/node_modules/concat-map/package.json +43 -0
  504. package/plugin/node_modules/concat-map/test/map.js +39 -0
  505. package/plugin/node_modules/debug/LICENSE +20 -0
  506. package/plugin/node_modules/debug/README.md +481 -0
  507. package/plugin/node_modules/debug/package.json +64 -0
  508. package/plugin/node_modules/debug/src/browser.js +272 -0
  509. package/plugin/node_modules/debug/src/common.js +292 -0
  510. package/plugin/node_modules/debug/src/index.js +10 -0
  511. package/plugin/node_modules/debug/src/node.js +263 -0
  512. package/plugin/node_modules/escape-string-regexp/index.js +11 -0
  513. package/plugin/node_modules/escape-string-regexp/license +21 -0
  514. package/plugin/node_modules/escape-string-regexp/package.json +41 -0
  515. package/plugin/node_modules/escape-string-regexp/readme.md +27 -0
  516. package/plugin/node_modules/find-up/index.d.ts +138 -0
  517. package/plugin/node_modules/find-up/index.js +89 -0
  518. package/plugin/node_modules/find-up/license +9 -0
  519. package/plugin/node_modules/find-up/package.json +54 -0
  520. package/plugin/node_modules/find-up/readme.md +151 -0
  521. package/plugin/node_modules/fs.realpath/LICENSE +43 -0
  522. package/plugin/node_modules/fs.realpath/README.md +33 -0
  523. package/plugin/node_modules/fs.realpath/index.js +66 -0
  524. package/plugin/node_modules/fs.realpath/old.js +303 -0
  525. package/plugin/node_modules/fs.realpath/package.json +26 -0
  526. package/plugin/node_modules/getenv/LICENSE.md +20 -0
  527. package/plugin/node_modules/getenv/README.md +197 -0
  528. package/plugin/node_modules/getenv/index.js +150 -0
  529. package/plugin/node_modules/getenv/package.json +38 -0
  530. package/plugin/node_modules/glob/LICENSE +21 -0
  531. package/plugin/node_modules/glob/README.md +375 -0
  532. package/plugin/node_modules/glob/changelog.md +67 -0
  533. package/plugin/node_modules/glob/common.js +240 -0
  534. package/plugin/node_modules/glob/glob.js +790 -0
  535. package/plugin/node_modules/glob/package.json +46 -0
  536. package/plugin/node_modules/glob/sync.js +486 -0
  537. package/plugin/node_modules/graceful-fs/LICENSE +15 -0
  538. package/plugin/node_modules/graceful-fs/README.md +143 -0
  539. package/plugin/node_modules/graceful-fs/clone.js +23 -0
  540. package/plugin/node_modules/graceful-fs/graceful-fs.js +448 -0
  541. package/plugin/node_modules/graceful-fs/legacy-streams.js +118 -0
  542. package/plugin/node_modules/graceful-fs/package.json +53 -0
  543. package/plugin/node_modules/graceful-fs/polyfills.js +355 -0
  544. package/plugin/node_modules/has-flag/index.d.ts +39 -0
  545. package/plugin/node_modules/has-flag/index.js +8 -0
  546. package/plugin/node_modules/has-flag/license +9 -0
  547. package/plugin/node_modules/has-flag/package.json +46 -0
  548. package/plugin/node_modules/has-flag/readme.md +89 -0
  549. package/plugin/node_modules/imurmurhash/README.md +122 -0
  550. package/plugin/node_modules/imurmurhash/imurmurhash.js +138 -0
  551. package/plugin/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  552. package/plugin/node_modules/imurmurhash/package.json +40 -0
  553. package/plugin/node_modules/inflight/LICENSE +15 -0
  554. package/plugin/node_modules/inflight/README.md +37 -0
  555. package/plugin/node_modules/inflight/inflight.js +54 -0
  556. package/plugin/node_modules/inflight/package.json +29 -0
  557. package/plugin/node_modules/inherits/LICENSE +16 -0
  558. package/plugin/node_modules/inherits/README.md +42 -0
  559. package/plugin/node_modules/inherits/inherits.js +9 -0
  560. package/plugin/node_modules/inherits/inherits_browser.js +27 -0
  561. package/plugin/node_modules/inherits/package.json +29 -0
  562. package/plugin/node_modules/js-tokens/CHANGELOG.md +151 -0
  563. package/plugin/node_modules/js-tokens/LICENSE +21 -0
  564. package/plugin/node_modules/js-tokens/README.md +240 -0
  565. package/plugin/node_modules/js-tokens/index.js +23 -0
  566. package/plugin/node_modules/js-tokens/package.json +30 -0
  567. package/plugin/node_modules/json5/LICENSE.md +23 -0
  568. package/plugin/node_modules/json5/README.md +282 -0
  569. package/plugin/node_modules/json5/dist/index.js +1737 -0
  570. package/plugin/node_modules/json5/dist/index.min.js +1 -0
  571. package/plugin/node_modules/json5/dist/index.min.mjs +1 -0
  572. package/plugin/node_modules/json5/dist/index.mjs +1426 -0
  573. package/plugin/node_modules/json5/lib/cli.js +152 -0
  574. package/plugin/node_modules/json5/lib/index.d.ts +4 -0
  575. package/plugin/node_modules/json5/lib/index.js +9 -0
  576. package/plugin/node_modules/json5/lib/parse.d.ts +15 -0
  577. package/plugin/node_modules/json5/lib/parse.js +1114 -0
  578. package/plugin/node_modules/json5/lib/register.js +13 -0
  579. package/plugin/node_modules/json5/lib/require.js +4 -0
  580. package/plugin/node_modules/json5/lib/stringify.d.ts +89 -0
  581. package/plugin/node_modules/json5/lib/stringify.js +261 -0
  582. package/plugin/node_modules/json5/lib/unicode.d.ts +3 -0
  583. package/plugin/node_modules/json5/lib/unicode.js +4 -0
  584. package/plugin/node_modules/json5/lib/util.d.ts +5 -0
  585. package/plugin/node_modules/json5/lib/util.js +35 -0
  586. package/plugin/node_modules/json5/package.json +72 -0
  587. package/plugin/node_modules/locate-path/index.d.ts +83 -0
  588. package/plugin/node_modules/locate-path/index.js +68 -0
  589. package/plugin/node_modules/locate-path/license +9 -0
  590. package/plugin/node_modules/locate-path/package.json +46 -0
  591. package/plugin/node_modules/locate-path/readme.md +125 -0
  592. package/plugin/node_modules/minimatch/LICENSE +15 -0
  593. package/plugin/node_modules/minimatch/README.md +230 -0
  594. package/plugin/node_modules/minimatch/minimatch.js +947 -0
  595. package/plugin/node_modules/minimatch/package.json +33 -0
  596. package/plugin/node_modules/ms/index.js +162 -0
  597. package/plugin/node_modules/ms/license.md +21 -0
  598. package/plugin/node_modules/ms/package.json +38 -0
  599. package/plugin/node_modules/ms/readme.md +59 -0
  600. package/plugin/node_modules/once/LICENSE +15 -0
  601. package/plugin/node_modules/once/README.md +79 -0
  602. package/plugin/node_modules/once/once.js +42 -0
  603. package/plugin/node_modules/once/package.json +33 -0
  604. package/plugin/node_modules/p-limit/index.d.ts +42 -0
  605. package/plugin/node_modules/p-limit/index.js +71 -0
  606. package/plugin/node_modules/p-limit/license +9 -0
  607. package/plugin/node_modules/p-limit/package.json +52 -0
  608. package/plugin/node_modules/p-limit/readme.md +101 -0
  609. package/plugin/node_modules/p-locate/index.d.ts +53 -0
  610. package/plugin/node_modules/p-locate/index.js +50 -0
  611. package/plugin/node_modules/p-locate/license +9 -0
  612. package/plugin/node_modules/p-locate/package.json +54 -0
  613. package/plugin/node_modules/p-locate/readme.md +93 -0
  614. package/plugin/node_modules/path-exists/index.d.ts +28 -0
  615. package/plugin/node_modules/path-exists/index.js +23 -0
  616. package/plugin/node_modules/path-exists/license +9 -0
  617. package/plugin/node_modules/path-exists/package.json +39 -0
  618. package/plugin/node_modules/path-exists/readme.md +52 -0
  619. package/plugin/node_modules/path-is-absolute/index.js +20 -0
  620. package/plugin/node_modules/path-is-absolute/license +21 -0
  621. package/plugin/node_modules/path-is-absolute/package.json +43 -0
  622. package/plugin/node_modules/path-is-absolute/readme.md +59 -0
  623. package/plugin/node_modules/picocolors/LICENSE +15 -0
  624. package/plugin/node_modules/picocolors/README.md +21 -0
  625. package/plugin/node_modules/picocolors/package.json +25 -0
  626. package/plugin/node_modules/picocolors/picocolors.browser.js +4 -0
  627. package/plugin/node_modules/picocolors/picocolors.d.ts +5 -0
  628. package/plugin/node_modules/picocolors/picocolors.js +75 -0
  629. package/plugin/node_modules/picocolors/types.d.ts +51 -0
  630. package/plugin/node_modules/plist/.github/workflows/ci.yml +24 -0
  631. package/plugin/node_modules/plist/.jshintrc +4 -0
  632. package/plugin/node_modules/plist/History.md +196 -0
  633. package/plugin/node_modules/plist/LICENSE +24 -0
  634. package/plugin/node_modules/plist/Makefile +75 -0
  635. package/plugin/node_modules/plist/README.md +146 -0
  636. package/plugin/node_modules/plist/dist/plist-build.js +5348 -0
  637. package/plugin/node_modules/plist/dist/plist-parse.js +7456 -0
  638. package/plugin/node_modules/plist/dist/plist.js +9888 -0
  639. package/plugin/node_modules/plist/examples/browser/index.html +14 -0
  640. package/plugin/node_modules/plist/index.js +13 -0
  641. package/plugin/node_modules/plist/lib/build.js +143 -0
  642. package/plugin/node_modules/plist/lib/parse.js +227 -0
  643. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +459 -0
  644. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +8 -0
  645. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
  646. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +43 -0
  647. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
  648. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
  649. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
  650. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +1840 -0
  651. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
  652. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +4 -0
  653. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
  654. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +71 -0
  655. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +356 -0
  656. package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +6 -0
  657. package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +23 -0
  658. package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +593 -0
  659. package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +21 -0
  660. package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +103 -0
  661. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  662. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  663. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +25 -0
  664. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  665. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +88 -0
  666. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  667. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
  668. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
  669. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
  670. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
  671. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
  672. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
  673. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
  674. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
  675. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
  676. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
  677. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
  678. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
  679. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
  680. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
  681. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
  682. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
  683. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
  684. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
  685. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
  686. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
  687. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
  688. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
  689. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
  690. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
  691. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
  692. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
  693. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
  694. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +291 -0
  695. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +82 -0
  696. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
  697. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
  698. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
  699. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +120 -0
  700. package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +51 -0
  701. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
  702. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
  703. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +161 -0
  704. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +11 -0
  705. package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +1771 -0
  706. package/plugin/node_modules/plist/package.json +44 -0
  707. package/plugin/node_modules/resolve-from/index.d.ts +31 -0
  708. package/plugin/node_modules/resolve-from/index.js +47 -0
  709. package/plugin/node_modules/resolve-from/license +9 -0
  710. package/plugin/node_modules/resolve-from/package.json +36 -0
  711. package/plugin/node_modules/resolve-from/readme.md +72 -0
  712. package/plugin/node_modules/sax/LICENSE +41 -0
  713. package/plugin/node_modules/sax/README.md +228 -0
  714. package/plugin/node_modules/sax/lib/sax.js +1597 -0
  715. package/plugin/node_modules/sax/package.json +29 -0
  716. package/plugin/node_modules/semver/LICENSE +15 -0
  717. package/plugin/node_modules/semver/README.md +664 -0
  718. package/plugin/node_modules/semver/bin/semver.js +191 -0
  719. package/plugin/node_modules/semver/classes/comparator.js +143 -0
  720. package/plugin/node_modules/semver/classes/index.js +7 -0
  721. package/plugin/node_modules/semver/classes/range.js +556 -0
  722. package/plugin/node_modules/semver/classes/semver.js +319 -0
  723. package/plugin/node_modules/semver/functions/clean.js +8 -0
  724. package/plugin/node_modules/semver/functions/cmp.js +54 -0
  725. package/plugin/node_modules/semver/functions/coerce.js +62 -0
  726. package/plugin/node_modules/semver/functions/compare-build.js +9 -0
  727. package/plugin/node_modules/semver/functions/compare-loose.js +5 -0
  728. package/plugin/node_modules/semver/functions/compare.js +7 -0
  729. package/plugin/node_modules/semver/functions/diff.js +60 -0
  730. package/plugin/node_modules/semver/functions/eq.js +5 -0
  731. package/plugin/node_modules/semver/functions/gt.js +5 -0
  732. package/plugin/node_modules/semver/functions/gte.js +5 -0
  733. package/plugin/node_modules/semver/functions/inc.js +21 -0
  734. package/plugin/node_modules/semver/functions/lt.js +5 -0
  735. package/plugin/node_modules/semver/functions/lte.js +5 -0
  736. package/plugin/node_modules/semver/functions/major.js +5 -0
  737. package/plugin/node_modules/semver/functions/minor.js +5 -0
  738. package/plugin/node_modules/semver/functions/neq.js +5 -0
  739. package/plugin/node_modules/semver/functions/parse.js +18 -0
  740. package/plugin/node_modules/semver/functions/patch.js +5 -0
  741. package/plugin/node_modules/semver/functions/prerelease.js +8 -0
  742. package/plugin/node_modules/semver/functions/rcompare.js +5 -0
  743. package/plugin/node_modules/semver/functions/rsort.js +5 -0
  744. package/plugin/node_modules/semver/functions/satisfies.js +12 -0
  745. package/plugin/node_modules/semver/functions/sort.js +5 -0
  746. package/plugin/node_modules/semver/functions/valid.js +8 -0
  747. package/plugin/node_modules/semver/index.js +91 -0
  748. package/plugin/node_modules/semver/internal/constants.js +37 -0
  749. package/plugin/node_modules/semver/internal/debug.js +11 -0
  750. package/plugin/node_modules/semver/internal/identifiers.js +25 -0
  751. package/plugin/node_modules/semver/internal/lrucache.js +42 -0
  752. package/plugin/node_modules/semver/internal/parse-options.js +17 -0
  753. package/plugin/node_modules/semver/internal/re.js +223 -0
  754. package/plugin/node_modules/semver/package.json +78 -0
  755. package/plugin/node_modules/semver/preload.js +4 -0
  756. package/plugin/node_modules/semver/range.bnf +16 -0
  757. package/plugin/node_modules/semver/ranges/gtr.js +6 -0
  758. package/plugin/node_modules/semver/ranges/intersects.js +9 -0
  759. package/plugin/node_modules/semver/ranges/ltr.js +6 -0
  760. package/plugin/node_modules/semver/ranges/max-satisfying.js +27 -0
  761. package/plugin/node_modules/semver/ranges/min-satisfying.js +26 -0
  762. package/plugin/node_modules/semver/ranges/min-version.js +63 -0
  763. package/plugin/node_modules/semver/ranges/outside.js +82 -0
  764. package/plugin/node_modules/semver/ranges/simplify.js +49 -0
  765. package/plugin/node_modules/semver/ranges/subset.js +249 -0
  766. package/plugin/node_modules/semver/ranges/to-comparators.js +10 -0
  767. package/plugin/node_modules/semver/ranges/valid.js +13 -0
  768. package/plugin/node_modules/signal-exit/LICENSE.txt +16 -0
  769. package/plugin/node_modules/signal-exit/README.md +39 -0
  770. package/plugin/node_modules/signal-exit/index.js +202 -0
  771. package/plugin/node_modules/signal-exit/package.json +38 -0
  772. package/plugin/node_modules/signal-exit/signals.js +53 -0
  773. package/plugin/node_modules/simple-plist/LICENSE +20 -0
  774. package/plugin/node_modules/simple-plist/README.md +130 -0
  775. package/plugin/node_modules/simple-plist/dist/index.d.ts +24 -0
  776. package/plugin/node_modules/simple-plist/dist/index.js +41 -0
  777. package/plugin/node_modules/simple-plist/dist/parse.d.ts +8 -0
  778. package/plugin/node_modules/simple-plist/dist/parse.js +45 -0
  779. package/plugin/node_modules/simple-plist/dist/readFile.d.ts +4 -0
  780. package/plugin/node_modules/simple-plist/dist/readFile.js +36 -0
  781. package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +3 -0
  782. package/plugin/node_modules/simple-plist/dist/readFileSync.js +26 -0
  783. package/plugin/node_modules/simple-plist/dist/stringify.d.ts +2 -0
  784. package/plugin/node_modules/simple-plist/dist/stringify.js +21 -0
  785. package/plugin/node_modules/simple-plist/dist/types.d.ts +4 -0
  786. package/plugin/node_modules/simple-plist/dist/types.js +12 -0
  787. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +5 -0
  788. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +30 -0
  789. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +4 -0
  790. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +22 -0
  791. package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +5 -0
  792. package/plugin/node_modules/simple-plist/dist/writeFile.js +30 -0
  793. package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +4 -0
  794. package/plugin/node_modules/simple-plist/dist/writeFileSync.js +23 -0
  795. package/plugin/node_modules/simple-plist/package.json +53 -0
  796. package/plugin/node_modules/slash/index.d.ts +25 -0
  797. package/plugin/node_modules/slash/index.js +11 -0
  798. package/plugin/node_modules/slash/license +9 -0
  799. package/plugin/node_modules/slash/package.json +35 -0
  800. package/plugin/node_modules/slash/readme.md +44 -0
  801. package/plugin/node_modules/slugify/CHANGELOG.md +94 -0
  802. package/plugin/node_modules/slugify/LICENSE +21 -0
  803. package/plugin/node_modules/slugify/README.md +98 -0
  804. package/plugin/node_modules/slugify/package.json +42 -0
  805. package/plugin/node_modules/slugify/slugify.d.ts +24 -0
  806. package/plugin/node_modules/slugify/slugify.js +69 -0
  807. package/plugin/node_modules/stream-buffers/.mailmap +2 -0
  808. package/plugin/node_modules/stream-buffers/.travis.yml +28 -0
  809. package/plugin/node_modules/stream-buffers/README.md +157 -0
  810. package/plugin/node_modules/stream-buffers/UNLICENSE +24 -0
  811. package/plugin/node_modules/stream-buffers/coverage/coverage.json +1 -0
  812. package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +182 -0
  813. package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +73 -0
  814. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +63 -0
  815. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +112 -0
  816. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +453 -0
  817. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +54 -0
  818. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +336 -0
  819. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +1 -0
  820. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +1 -0
  821. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  822. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +156 -0
  823. package/plugin/node_modules/stream-buffers/coverage/lcov.info +305 -0
  824. package/plugin/node_modules/stream-buffers/lib/constants.js +6 -0
  825. package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +136 -0
  826. package/plugin/node_modules/stream-buffers/lib/streambuffer.js +3 -0
  827. package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +97 -0
  828. package/plugin/node_modules/stream-buffers/package.json +28 -0
  829. package/plugin/node_modules/supports-color/browser.js +5 -0
  830. package/plugin/node_modules/supports-color/index.js +135 -0
  831. package/plugin/node_modules/supports-color/license +9 -0
  832. package/plugin/node_modules/supports-color/package.json +53 -0
  833. package/plugin/node_modules/supports-color/readme.md +76 -0
  834. package/plugin/node_modules/typescript/LICENSE.txt +55 -0
  835. package/plugin/node_modules/typescript/README.md +50 -0
  836. package/plugin/node_modules/typescript/SECURITY.md +41 -0
  837. package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  838. package/plugin/node_modules/typescript/bin/tsc +2 -0
  839. package/plugin/node_modules/typescript/bin/tsserver +2 -0
  840. package/plugin/node_modules/typescript/lib/_tsc.js +133792 -0
  841. package/plugin/node_modules/typescript/lib/_tsserver.js +659 -0
  842. package/plugin/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  843. package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  844. package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  845. package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  846. package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  847. package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  848. package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  849. package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  850. package/plugin/node_modules/typescript/lib/lib.d.ts +22 -0
  851. package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  852. package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  853. package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  854. package/plugin/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  855. package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  856. package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  857. package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  858. package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  859. package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  860. package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  861. package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  862. package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  863. package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  864. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  865. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  866. package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  867. package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  868. package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  869. package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  870. package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  871. package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  872. package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  873. package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  874. package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  875. package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  876. package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  877. package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  878. package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  879. package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  880. package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  881. package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  882. package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  883. package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  884. package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  885. package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  886. package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  887. package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  888. package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  889. package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  890. package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  891. package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  892. package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  893. package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  894. package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  895. package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  896. package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  897. package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  898. package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  899. package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  900. package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  901. package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  902. package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  903. package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  904. package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  905. package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  906. package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  907. package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  908. package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  909. package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  910. package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  911. package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  912. package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  913. package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  914. package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  915. package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  916. package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  917. package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  918. package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  919. package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  920. package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  921. package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  922. package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  923. package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  924. package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  925. package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  926. package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  927. package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  928. package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  929. package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  930. package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  931. package/plugin/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  932. package/plugin/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  933. package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  934. package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  935. package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  936. package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  937. package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  938. package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  939. package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  940. package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  941. package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  942. package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  943. package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  944. package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  945. package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  946. package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  947. package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  948. package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  949. package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  950. package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  951. package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  952. package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  953. package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  954. package/plugin/node_modules/typescript/lib/tsc.js +8 -0
  955. package/plugin/node_modules/typescript/lib/tsserver.js +8 -0
  956. package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  957. package/plugin/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  958. package/plugin/node_modules/typescript/lib/typesMap.json +497 -0
  959. package/plugin/node_modules/typescript/lib/typescript.d.ts +11438 -0
  960. package/plugin/node_modules/typescript/lib/typescript.js +200253 -0
  961. package/plugin/node_modules/typescript/lib/typingsInstaller.js +8 -0
  962. package/plugin/node_modules/typescript/lib/watchGuard.js +53 -0
  963. package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  964. package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  965. package/plugin/node_modules/typescript/package.json +120 -0
  966. package/plugin/node_modules/undici-types/LICENSE +21 -0
  967. package/plugin/node_modules/undici-types/README.md +6 -0
  968. package/plugin/node_modules/undici-types/agent.d.ts +31 -0
  969. package/plugin/node_modules/undici-types/api.d.ts +43 -0
  970. package/plugin/node_modules/undici-types/balanced-pool.d.ts +29 -0
  971. package/plugin/node_modules/undici-types/cache.d.ts +36 -0
  972. package/plugin/node_modules/undici-types/client.d.ts +108 -0
  973. package/plugin/node_modules/undici-types/connector.d.ts +34 -0
  974. package/plugin/node_modules/undici-types/content-type.d.ts +21 -0
  975. package/plugin/node_modules/undici-types/cookies.d.ts +28 -0
  976. package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  977. package/plugin/node_modules/undici-types/dispatcher.d.ts +256 -0
  978. package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  979. package/plugin/node_modules/undici-types/errors.d.ts +149 -0
  980. package/plugin/node_modules/undici-types/eventsource.d.ts +61 -0
  981. package/plugin/node_modules/undici-types/fetch.d.ts +209 -0
  982. package/plugin/node_modules/undici-types/file.d.ts +39 -0
  983. package/plugin/node_modules/undici-types/filereader.d.ts +54 -0
  984. package/plugin/node_modules/undici-types/formdata.d.ts +108 -0
  985. package/plugin/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  986. package/plugin/node_modules/undici-types/global-origin.d.ts +7 -0
  987. package/plugin/node_modules/undici-types/handlers.d.ts +15 -0
  988. package/plugin/node_modules/undici-types/header.d.ts +4 -0
  989. package/plugin/node_modules/undici-types/index.d.ts +71 -0
  990. package/plugin/node_modules/undici-types/interceptors.d.ts +17 -0
  991. package/plugin/node_modules/undici-types/mock-agent.d.ts +50 -0
  992. package/plugin/node_modules/undici-types/mock-client.d.ts +25 -0
  993. package/plugin/node_modules/undici-types/mock-errors.d.ts +12 -0
  994. package/plugin/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  995. package/plugin/node_modules/undici-types/mock-pool.d.ts +25 -0
  996. package/plugin/node_modules/undici-types/package.json +55 -0
  997. package/plugin/node_modules/undici-types/patch.d.ts +33 -0
  998. package/plugin/node_modules/undici-types/pool-stats.d.ts +19 -0
  999. package/plugin/node_modules/undici-types/pool.d.ts +39 -0
  1000. package/plugin/node_modules/undici-types/proxy-agent.d.ts +28 -0
  1001. package/plugin/node_modules/undici-types/readable.d.ts +65 -0
  1002. package/plugin/node_modules/undici-types/retry-agent.d.ts +8 -0
  1003. package/plugin/node_modules/undici-types/retry-handler.d.ts +116 -0
  1004. package/plugin/node_modules/undici-types/util.d.ts +18 -0
  1005. package/plugin/node_modules/undici-types/webidl.d.ts +228 -0
  1006. package/plugin/node_modules/undici-types/websocket.d.ts +150 -0
  1007. package/plugin/node_modules/uuid/CHANGELOG.md +156 -0
  1008. package/plugin/node_modules/uuid/CONTRIBUTING.md +20 -0
  1009. package/plugin/node_modules/uuid/LICENSE.md +21 -0
  1010. package/plugin/node_modules/uuid/README.md +406 -0
  1011. package/plugin/node_modules/uuid/deprecate.js +20 -0
  1012. package/plugin/node_modules/uuid/dist/bin/uuid +2 -0
  1013. package/plugin/node_modules/uuid/dist/bytesToUuid.js +27 -0
  1014. package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +18 -0
  1015. package/plugin/node_modules/uuid/dist/esm-browser/index.js +4 -0
  1016. package/plugin/node_modules/uuid/dist/esm-browser/md5.js +218 -0
  1017. package/plugin/node_modules/uuid/dist/esm-browser/rng.js +15 -0
  1018. package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +91 -0
  1019. package/plugin/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  1020. package/plugin/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  1021. package/plugin/node_modules/uuid/dist/esm-browser/v35.js +56 -0
  1022. package/plugin/node_modules/uuid/dist/esm-browser/v4.js +27 -0
  1023. package/plugin/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  1024. package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +18 -0
  1025. package/plugin/node_modules/uuid/dist/esm-node/index.js +4 -0
  1026. package/plugin/node_modules/uuid/dist/esm-node/md5.js +13 -0
  1027. package/plugin/node_modules/uuid/dist/esm-node/rng.js +4 -0
  1028. package/plugin/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  1029. package/plugin/node_modules/uuid/dist/esm-node/v1.js +95 -0
  1030. package/plugin/node_modules/uuid/dist/esm-node/v3.js +4 -0
  1031. package/plugin/node_modules/uuid/dist/esm-node/v35.js +56 -0
  1032. package/plugin/node_modules/uuid/dist/esm-node/v4.js +27 -0
  1033. package/plugin/node_modules/uuid/dist/esm-node/v5.js +4 -0
  1034. package/plugin/node_modules/uuid/dist/index.js +39 -0
  1035. package/plugin/node_modules/uuid/dist/md5-browser.js +225 -0
  1036. package/plugin/node_modules/uuid/dist/md5.js +24 -0
  1037. package/plugin/node_modules/uuid/dist/rng-browser.js +23 -0
  1038. package/plugin/node_modules/uuid/dist/rng.js +16 -0
  1039. package/plugin/node_modules/uuid/dist/sha1-browser.js +96 -0
  1040. package/plugin/node_modules/uuid/dist/sha1.js +24 -0
  1041. package/plugin/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  1042. package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  1043. package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  1044. package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  1045. package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  1046. package/plugin/node_modules/uuid/dist/uuid-bin.js +67 -0
  1047. package/plugin/node_modules/uuid/dist/v1.js +108 -0
  1048. package/plugin/node_modules/uuid/dist/v3.js +17 -0
  1049. package/plugin/node_modules/uuid/dist/v35.js +69 -0
  1050. package/plugin/node_modules/uuid/dist/v4.js +41 -0
  1051. package/plugin/node_modules/uuid/dist/v5.js +17 -0
  1052. package/plugin/node_modules/uuid/package.json +115 -0
  1053. package/plugin/node_modules/uuid/v1.js +8 -0
  1054. package/plugin/node_modules/uuid/v3.js +8 -0
  1055. package/plugin/node_modules/uuid/v4.js +8 -0
  1056. package/plugin/node_modules/uuid/v5.js +8 -0
  1057. package/plugin/node_modules/wrappy/LICENSE +15 -0
  1058. package/plugin/node_modules/wrappy/README.md +36 -0
  1059. package/plugin/node_modules/wrappy/package.json +29 -0
  1060. package/plugin/node_modules/wrappy/wrappy.js +33 -0
  1061. package/plugin/node_modules/write-file-atomic/CHANGELOG.md +25 -0
  1062. package/plugin/node_modules/write-file-atomic/LICENSE +6 -0
  1063. package/plugin/node_modules/write-file-atomic/README.md +56 -0
  1064. package/plugin/node_modules/write-file-atomic/index.js +238 -0
  1065. package/plugin/node_modules/write-file-atomic/package.json +41 -0
  1066. package/plugin/node_modules/xcode/AUTHORS +6 -0
  1067. package/plugin/node_modules/xcode/CONTRIBUTING.md +37 -0
  1068. package/plugin/node_modules/xcode/LICENSE +202 -0
  1069. package/plugin/node_modules/xcode/Makefile +24 -0
  1070. package/plugin/node_modules/xcode/NOTICE +5 -0
  1071. package/plugin/node_modules/xcode/README.md +72 -0
  1072. package/plugin/node_modules/xcode/RELEASENOTES.md +77 -0
  1073. package/plugin/node_modules/xcode/index.js +18 -0
  1074. package/plugin/node_modules/xcode/lib/parseJob.js +32 -0
  1075. package/plugin/node_modules/xcode/lib/parser/pbxproj.js +1904 -0
  1076. package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +280 -0
  1077. package/plugin/node_modules/xcode/lib/pbxFile.js +233 -0
  1078. package/plugin/node_modules/xcode/lib/pbxProject.js +2201 -0
  1079. package/plugin/node_modules/xcode/lib/pbxWriter.js +309 -0
  1080. package/plugin/node_modules/xcode/package.json +61 -0
  1081. package/plugin/node_modules/xml2js/LICENSE +19 -0
  1082. package/plugin/node_modules/xml2js/README.md +507 -0
  1083. package/plugin/node_modules/xml2js/lib/bom.js +12 -0
  1084. package/plugin/node_modules/xml2js/lib/builder.js +127 -0
  1085. package/plugin/node_modules/xml2js/lib/defaults.js +72 -0
  1086. package/plugin/node_modules/xml2js/lib/parser.js +396 -0
  1087. package/plugin/node_modules/xml2js/lib/processors.js +34 -0
  1088. package/plugin/node_modules/xml2js/lib/xml2js.js +39 -0
  1089. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +470 -0
  1090. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -0
  1091. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -0
  1092. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
  1093. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  1094. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  1095. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
  1096. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  1097. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +83 -0
  1098. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  1099. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
  1100. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
  1101. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
  1102. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
  1103. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
  1104. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
  1105. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
  1106. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
  1107. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
  1108. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
  1109. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
  1110. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
  1111. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
  1112. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
  1113. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
  1114. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
  1115. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
  1116. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
  1117. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
  1118. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
  1119. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
  1120. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
  1121. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
  1122. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
  1123. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
  1124. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
  1125. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
  1126. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
  1127. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +69 -0
  1128. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
  1129. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
  1130. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
  1131. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +65 -0
  1132. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +39 -0
  1133. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
  1134. package/plugin/node_modules/xml2js/package.json +93 -0
  1135. package/plugin/node_modules/xmlbuilder/.nycrc +6 -0
  1136. package/plugin/node_modules/xmlbuilder/CHANGELOG.md +568 -0
  1137. package/plugin/node_modules/xmlbuilder/LICENSE +21 -0
  1138. package/plugin/node_modules/xmlbuilder/README.md +103 -0
  1139. package/plugin/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  1140. package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  1141. package/plugin/node_modules/xmlbuilder/lib/NodeType.js +25 -0
  1142. package/plugin/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  1143. package/plugin/node_modules/xmlbuilder/lib/Utility.js +88 -0
  1144. package/plugin/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  1145. package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
  1146. package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
  1147. package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
  1148. package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
  1149. package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
  1150. package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
  1151. package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
  1152. package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
  1153. package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
  1154. package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
  1155. package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
  1156. package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
  1157. package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
  1158. package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
  1159. package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
  1160. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
  1161. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
  1162. package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
  1163. package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
  1164. package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
  1165. package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
  1166. package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
  1167. package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
  1168. package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
  1169. package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
  1170. package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
  1171. package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
  1172. package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +287 -0
  1173. package/plugin/node_modules/xmlbuilder/lib/XMLText.js +82 -0
  1174. package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
  1175. package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
  1176. package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
  1177. package/plugin/node_modules/xmlbuilder/lib/index.js +120 -0
  1178. package/plugin/node_modules/xmlbuilder/package.json +51 -0
  1179. package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
  1180. package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
  1181. package/plugin/node_modules/xmlbuilder/perf/index.coffee +161 -0
  1182. package/plugin/node_modules/xmlbuilder/perf/perf.list +11 -0
  1183. package/plugin/node_modules/xmlbuilder/typings/index.d.ts +1761 -0
  1184. package/plugin/node_modules/yocto-queue/index.d.ts +56 -0
  1185. package/plugin/node_modules/yocto-queue/index.js +68 -0
  1186. package/plugin/node_modules/yocto-queue/license +9 -0
  1187. package/plugin/node_modules/yocto-queue/package.json +43 -0
  1188. package/plugin/node_modules/yocto-queue/readme.md +64 -0
  1189. package/plugin/package-lock.json +763 -0
  1190. package/plugin/package.json +16 -0
  1191. package/plugin/src/withVolumeKeyIntercept.ts +184 -0
  1192. package/plugin/tsconfig.json +18 -0
  1193. package/plugin/tsconfig.tsbuildinfo +1 -0
  1194. package/src/ReactNativeKookitModule.ts +20 -0
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.setProvisioningProfileForPbxproj = setProvisioningProfileForPbxproj;
7
+ function _fs() {
8
+ const data = _interopRequireDefault(require("fs"));
9
+ _fs = function () {
10
+ return data;
11
+ };
12
+ return data;
13
+ }
14
+ function _Target() {
15
+ const data = require("./Target");
16
+ _Target = function () {
17
+ return data;
18
+ };
19
+ return data;
20
+ }
21
+ function _Xcodeproj() {
22
+ const data = require("./utils/Xcodeproj");
23
+ _Xcodeproj = function () {
24
+ return data;
25
+ };
26
+ return data;
27
+ }
28
+ function _string() {
29
+ const data = require("./utils/string");
30
+ _string = function () {
31
+ return data;
32
+ };
33
+ return data;
34
+ }
35
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36
+ function setProvisioningProfileForPbxproj(projectRoot, {
37
+ targetName,
38
+ profileName,
39
+ appleTeamId,
40
+ buildConfiguration = 'Release'
41
+ }) {
42
+ const project = (0, _Xcodeproj().getPbxproj)(projectRoot);
43
+ const nativeTargetEntry = targetName ? (0, _Target().findNativeTargetByName)(project, targetName) : (0, _Target().findFirstNativeTarget)(project);
44
+ const [nativeTargetId, nativeTarget] = nativeTargetEntry;
45
+ const quotedAppleTeamId = ensureQuotes(appleTeamId);
46
+ (0, _Xcodeproj().getBuildConfigurationsForListId)(project, nativeTarget.buildConfigurationList).filter(([, item]) => (0, _string().trimQuotes)(item.name) === buildConfiguration).forEach(([, item]) => {
47
+ item.buildSettings.PROVISIONING_PROFILE_SPECIFIER = `"${profileName}"`;
48
+ item.buildSettings.DEVELOPMENT_TEAM = quotedAppleTeamId;
49
+ item.buildSettings.CODE_SIGN_IDENTITY = '"iPhone Distribution"';
50
+ item.buildSettings.CODE_SIGN_STYLE = 'Manual';
51
+ });
52
+ Object.entries((0, _Xcodeproj().getProjectSection)(project)).filter(_Xcodeproj().isNotComment).forEach(([, item]) => {
53
+ if (!item.attributes.TargetAttributes[nativeTargetId]) {
54
+ item.attributes.TargetAttributes[nativeTargetId] = {};
55
+ }
56
+ item.attributes.TargetAttributes[nativeTargetId].DevelopmentTeam = quotedAppleTeamId;
57
+ item.attributes.TargetAttributes[nativeTargetId].ProvisioningStyle = 'Manual';
58
+ });
59
+ _fs().default.writeFileSync(project.filepath, project.writeSync());
60
+ }
61
+ const ensureQuotes = value => {
62
+ if (!value.match(/^['"]/)) {
63
+ return `"${value}"`;
64
+ }
65
+ return value;
66
+ };
67
+ //# sourceMappingURL=ProvisioningProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProvisioningProfile.js","names":["_fs","data","_interopRequireDefault","require","_Target","_Xcodeproj","_string","obj","__esModule","default","setProvisioningProfileForPbxproj","projectRoot","targetName","profileName","appleTeamId","buildConfiguration","project","getPbxproj","nativeTargetEntry","findNativeTargetByName","findFirstNativeTarget","nativeTargetId","nativeTarget","quotedAppleTeamId","ensureQuotes","getBuildConfigurationsForListId","buildConfigurationList","filter","item","trimQuotes","name","forEach","buildSettings","PROVISIONING_PROFILE_SPECIFIER","DEVELOPMENT_TEAM","CODE_SIGN_IDENTITY","CODE_SIGN_STYLE","Object","entries","getProjectSection","isNotComment","attributes","TargetAttributes","DevelopmentTeam","ProvisioningStyle","fs","writeFileSync","filepath","writeSync","value","match"],"sources":["../../src/ios/ProvisioningProfile.ts"],"sourcesContent":["import fs from 'fs';\n\nimport { findFirstNativeTarget, findNativeTargetByName } from './Target';\nimport {\n ConfigurationSectionEntry,\n getBuildConfigurationsForListId,\n getPbxproj,\n getProjectSection,\n isNotComment,\n ProjectSectionEntry,\n} from './utils/Xcodeproj';\nimport { trimQuotes } from './utils/string';\n\ntype ProvisioningProfileSettings = {\n targetName?: string;\n appleTeamId: string;\n profileName: string;\n buildConfiguration?: string;\n};\n\nexport function setProvisioningProfileForPbxproj(\n projectRoot: string,\n {\n targetName,\n profileName,\n appleTeamId,\n buildConfiguration = 'Release',\n }: ProvisioningProfileSettings\n): void {\n const project = getPbxproj(projectRoot);\n\n const nativeTargetEntry = targetName\n ? findNativeTargetByName(project, targetName)\n : findFirstNativeTarget(project);\n const [nativeTargetId, nativeTarget] = nativeTargetEntry;\n\n const quotedAppleTeamId = ensureQuotes(appleTeamId);\n\n getBuildConfigurationsForListId(project, nativeTarget.buildConfigurationList)\n .filter(([, item]: ConfigurationSectionEntry) => trimQuotes(item.name) === buildConfiguration)\n .forEach(([, item]: ConfigurationSectionEntry) => {\n item.buildSettings.PROVISIONING_PROFILE_SPECIFIER = `\"${profileName}\"`;\n item.buildSettings.DEVELOPMENT_TEAM = quotedAppleTeamId;\n item.buildSettings.CODE_SIGN_IDENTITY = '\"iPhone Distribution\"';\n item.buildSettings.CODE_SIGN_STYLE = 'Manual';\n });\n\n Object.entries(getProjectSection(project))\n .filter(isNotComment)\n .forEach(([, item]: ProjectSectionEntry) => {\n if (!item.attributes.TargetAttributes[nativeTargetId]) {\n item.attributes.TargetAttributes[nativeTargetId] = {};\n }\n item.attributes.TargetAttributes[nativeTargetId].DevelopmentTeam = quotedAppleTeamId;\n item.attributes.TargetAttributes[nativeTargetId].ProvisioningStyle = 'Manual';\n });\n\n fs.writeFileSync(project.filepath, project.writeSync());\n}\n\nconst ensureQuotes = (value: string) => {\n if (!value.match(/^['\"]/)) {\n return `\"${value}\"`;\n }\n return value;\n};\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,WAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA4C,SAAAC,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AASrC,SAASG,gCAAgCA,CAC9CC,WAAmB,EACnB;EACEC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,kBAAkB,GAAG;AACM,CAAC,EACxB;EACN,MAAMC,OAAO,GAAG,IAAAC,uBAAU,EAACN,WAAW,CAAC;EAEvC,MAAMO,iBAAiB,GAAGN,UAAU,GAChC,IAAAO,gCAAsB,EAACH,OAAO,EAAEJ,UAAU,CAAC,GAC3C,IAAAQ,+BAAqB,EAACJ,OAAO,CAAC;EAClC,MAAM,CAACK,cAAc,EAAEC,YAAY,CAAC,GAAGJ,iBAAiB;EAExD,MAAMK,iBAAiB,GAAGC,YAAY,CAACV,WAAW,CAAC;EAEnD,IAAAW,4CAA+B,EAACT,OAAO,EAAEM,YAAY,CAACI,sBAAsB,CAAC,CAC1EC,MAAM,CAAC,CAAC,GAAGC,IAAI,CAA4B,KAAK,IAAAC,oBAAU,EAACD,IAAI,CAACE,IAAI,CAAC,KAAKf,kBAAkB,CAAC,CAC7FgB,OAAO,CAAC,CAAC,GAAGH,IAAI,CAA4B,KAAK;IAChDA,IAAI,CAACI,aAAa,CAACC,8BAA8B,GAAG,IAAIpB,WAAW,GAAG;IACtEe,IAAI,CAACI,aAAa,CAACE,gBAAgB,GAAGX,iBAAiB;IACvDK,IAAI,CAACI,aAAa,CAACG,kBAAkB,GAAG,uBAAuB;IAC/DP,IAAI,CAACI,aAAa,CAACI,eAAe,GAAG,QAAQ;EAC/C,CAAC,CAAC;EAEJC,MAAM,CAACC,OAAO,CAAC,IAAAC,8BAAiB,EAACvB,OAAO,CAAC,CAAC,CACvCW,MAAM,CAACa,yBAAY,CAAC,CACpBT,OAAO,CAAC,CAAC,GAAGH,IAAI,CAAsB,KAAK;IAC1C,IAAI,CAACA,IAAI,CAACa,UAAU,CAACC,gBAAgB,CAACrB,cAAc,CAAC,EAAE;MACrDO,IAAI,CAACa,UAAU,CAACC,gBAAgB,CAACrB,cAAc,CAAC,GAAG,CAAC,CAAC;IACvD;IACAO,IAAI,CAACa,UAAU,CAACC,gBAAgB,CAACrB,cAAc,CAAC,CAACsB,eAAe,GAAGpB,iBAAiB;IACpFK,IAAI,CAACa,UAAU,CAACC,gBAAgB,CAACrB,cAAc,CAAC,CAACuB,iBAAiB,GAAG,QAAQ;EAC/E,CAAC,CAAC;EAEJC,aAAE,CAACC,aAAa,CAAC9B,OAAO,CAAC+B,QAAQ,EAAE/B,OAAO,CAACgC,SAAS,CAAC,CAAC,CAAC;AACzD;AAEA,MAAMxB,YAAY,GAAIyB,KAAa,IAAK;EACtC,IAAI,CAACA,KAAK,CAACC,KAAK,CAAC,OAAO,CAAC,EAAE;IACzB,OAAO,IAAID,KAAK,GAAG;EACrB;EACA,OAAOA,KAAK;AACd,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import { ExpoConfig } from '@expo/config-types';
2
+ import { InfoPlist } from './IosConfig.types';
3
+ export declare const withRequiresFullScreen: import("..").ConfigPlugin;
4
+ export declare function getRequiresFullScreen(config: Pick<ExpoConfig, 'ios' | 'sdkVersion'>): boolean;
5
+ export declare function setRequiresFullScreen(config: Pick<ExpoConfig, 'ios'>, infoPlist: InfoPlist): InfoPlist;
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getRequiresFullScreen = getRequiresFullScreen;
7
+ exports.setRequiresFullScreen = setRequiresFullScreen;
8
+ exports.withRequiresFullScreen = void 0;
9
+ function _iosPlugins() {
10
+ const data = require("../plugins/ios-plugins");
11
+ _iosPlugins = function () {
12
+ return data;
13
+ };
14
+ return data;
15
+ }
16
+ function _versions() {
17
+ const data = require("../utils/versions");
18
+ _versions = function () {
19
+ return data;
20
+ };
21
+ return data;
22
+ }
23
+ function _warnings() {
24
+ const data = require("../utils/warnings");
25
+ _warnings = function () {
26
+ return data;
27
+ };
28
+ return data;
29
+ }
30
+ const withRequiresFullScreen = exports.withRequiresFullScreen = (0, _iosPlugins().createInfoPlistPlugin)(setRequiresFullScreen, 'withRequiresFullScreen');
31
+
32
+ // NOTES: This is defaulted to `true` for now to match the behavior prior to SDK
33
+ // 34, but will change to `false` in SDK +43.
34
+ function getRequiresFullScreen(config) {
35
+ // Yes, the property is called ios.requireFullScreen, without the s - not "requires"
36
+ // This is confusing indeed because the actual property name does have the s
37
+ if (config.ios?.hasOwnProperty('requireFullScreen')) {
38
+ return !!config.ios.requireFullScreen;
39
+ } else {
40
+ // In SDK 43, the `requireFullScreen` default has been changed to false.
41
+ if ((0, _versions().gteSdkVersion)(config, '43.0.0')
42
+ // TODO: Uncomment after SDK 43 is released.
43
+ // || !config.sdkVersion
44
+ ) {
45
+ return false;
46
+ }
47
+ return true;
48
+ }
49
+ }
50
+ const iPadInterfaceKey = 'UISupportedInterfaceOrientations~ipad';
51
+ const requiredIPadInterface = ['UIInterfaceOrientationPortrait', 'UIInterfaceOrientationPortraitUpsideDown', 'UIInterfaceOrientationLandscapeLeft', 'UIInterfaceOrientationLandscapeRight'];
52
+ function isStringArray(value) {
53
+ return Array.isArray(value) && value.every(value => typeof value === 'string');
54
+ }
55
+ function hasMinimumOrientations(masks) {
56
+ return requiredIPadInterface.every(mask => masks.includes(mask));
57
+ }
58
+
59
+ /**
60
+ * Require full screen being disabled requires all ipad interfaces to to be added,
61
+ * otherwise submissions to the iOS App Store will fail.
62
+ *
63
+ * ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.bacon.app'."
64
+ *
65
+ * @param interfaceOrientations
66
+ * @returns
67
+ */
68
+ function resolveExistingIpadInterfaceOrientations(interfaceOrientations) {
69
+ if (
70
+ // Ensure type.
71
+ isStringArray(interfaceOrientations) &&
72
+ // Don't warn if it's an empty array, this is invalid regardless.
73
+ interfaceOrientations.length &&
74
+ // Check if the minimum requirements are met.
75
+ !hasMinimumOrientations(interfaceOrientations)) {
76
+ const existingList = interfaceOrientations.join(', ');
77
+ (0, _warnings().addWarningIOS)('ios.requireFullScreen', `iPad multitasking requires all \`${iPadInterfaceKey}\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${existingList}`);
78
+ return interfaceOrientations;
79
+ }
80
+ return [];
81
+ }
82
+
83
+ // Whether requires full screen on iPad
84
+ function setRequiresFullScreen(config, infoPlist) {
85
+ const requiresFullScreen = getRequiresFullScreen(config);
86
+ if (!requiresFullScreen) {
87
+ const existing = resolveExistingIpadInterfaceOrientations(infoPlist[iPadInterfaceKey]);
88
+
89
+ // There currently exists no mechanism to safely undo this feature besides `npx expo prebuild --clear`,
90
+ // this seems ok though because anyone using `UISupportedInterfaceOrientations~ipad` probably
91
+ // wants them to be defined to this value anyways. This is also the default value used in the Xcode iOS template.
92
+
93
+ // Merge any previous interfaces with the required interfaces.
94
+ infoPlist[iPadInterfaceKey] = [...new Set(existing.concat(requiredIPadInterface))];
95
+ }
96
+ return {
97
+ ...infoPlist,
98
+ UIRequiresFullScreen: requiresFullScreen
99
+ };
100
+ }
101
+ //# sourceMappingURL=RequiresFullScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiresFullScreen.js","names":["_iosPlugins","data","require","_versions","_warnings","withRequiresFullScreen","exports","createInfoPlistPlugin","setRequiresFullScreen","getRequiresFullScreen","config","ios","hasOwnProperty","requireFullScreen","gteSdkVersion","iPadInterfaceKey","requiredIPadInterface","isStringArray","value","Array","isArray","every","hasMinimumOrientations","masks","mask","includes","resolveExistingIpadInterfaceOrientations","interfaceOrientations","length","existingList","join","addWarningIOS","infoPlist","requiresFullScreen","existing","Set","concat","UIRequiresFullScreen"],"sources":["../../src/ios/RequiresFullScreen.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { InfoPlist } from './IosConfig.types';\nimport { createInfoPlistPlugin } from '../plugins/ios-plugins';\nimport { gteSdkVersion } from '../utils/versions';\nimport { addWarningIOS } from '../utils/warnings';\n\nexport const withRequiresFullScreen = createInfoPlistPlugin(\n setRequiresFullScreen,\n 'withRequiresFullScreen'\n);\n\n// NOTES: This is defaulted to `true` for now to match the behavior prior to SDK\n// 34, but will change to `false` in SDK +43.\nexport function getRequiresFullScreen(config: Pick<ExpoConfig, 'ios' | 'sdkVersion'>) {\n // Yes, the property is called ios.requireFullScreen, without the s - not \"requires\"\n // This is confusing indeed because the actual property name does have the s\n if (config.ios?.hasOwnProperty('requireFullScreen')) {\n return !!config.ios.requireFullScreen;\n } else {\n // In SDK 43, the `requireFullScreen` default has been changed to false.\n if (\n gteSdkVersion(config, '43.0.0')\n // TODO: Uncomment after SDK 43 is released.\n // || !config.sdkVersion\n ) {\n return false;\n }\n return true;\n }\n}\n\nconst iPadInterfaceKey = 'UISupportedInterfaceOrientations~ipad';\n\nconst requiredIPadInterface = [\n 'UIInterfaceOrientationPortrait',\n 'UIInterfaceOrientationPortraitUpsideDown',\n 'UIInterfaceOrientationLandscapeLeft',\n 'UIInterfaceOrientationLandscapeRight',\n];\n\nfunction isStringArray(value: any): value is string[] {\n return Array.isArray(value) && value.every((value) => typeof value === 'string');\n}\n\nfunction hasMinimumOrientations(masks: string[]): boolean {\n return requiredIPadInterface.every((mask) => masks.includes(mask));\n}\n\n/**\n * Require full screen being disabled requires all ipad interfaces to to be added,\n * otherwise submissions to the iOS App Store will fail.\n *\n * ERROR ITMS-90474: \"Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.bacon.app'.\"\n *\n * @param interfaceOrientations\n * @returns\n */\nfunction resolveExistingIpadInterfaceOrientations(interfaceOrientations: any): string[] {\n if (\n // Ensure type.\n isStringArray(interfaceOrientations) &&\n // Don't warn if it's an empty array, this is invalid regardless.\n interfaceOrientations.length &&\n // Check if the minimum requirements are met.\n !hasMinimumOrientations(interfaceOrientations)\n ) {\n const existingList = interfaceOrientations!.join(', ');\n addWarningIOS(\n 'ios.requireFullScreen',\n `iPad multitasking requires all \\`${iPadInterfaceKey}\\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${existingList}`\n );\n return interfaceOrientations;\n }\n return [];\n}\n\n// Whether requires full screen on iPad\nexport function setRequiresFullScreen(\n config: Pick<ExpoConfig, 'ios'>,\n infoPlist: InfoPlist\n): InfoPlist {\n const requiresFullScreen = getRequiresFullScreen(config);\n if (!requiresFullScreen) {\n const existing = resolveExistingIpadInterfaceOrientations(infoPlist[iPadInterfaceKey]);\n\n // There currently exists no mechanism to safely undo this feature besides `npx expo prebuild --clear`,\n // this seems ok though because anyone using `UISupportedInterfaceOrientations~ipad` probably\n // wants them to be defined to this value anyways. This is also the default value used in the Xcode iOS template.\n\n // Merge any previous interfaces with the required interfaces.\n infoPlist[iPadInterfaceKey] = [...new Set(existing.concat(requiredIPadInterface))];\n }\n\n return {\n ...infoPlist,\n UIRequiresFullScreen: requiresFullScreen,\n };\n}\n"],"mappings":";;;;;;;;AAGA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,UAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,SAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMI,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,GAAG,IAAAE,mCAAqB,EACzDC,qBAAqB,EACrB,wBACF,CAAC;;AAED;AACA;AACO,SAASC,qBAAqBA,CAACC,MAA8C,EAAE;EACpF;EACA;EACA,IAAIA,MAAM,CAACC,GAAG,EAAEC,cAAc,CAAC,mBAAmB,CAAC,EAAE;IACnD,OAAO,CAAC,CAACF,MAAM,CAACC,GAAG,CAACE,iBAAiB;EACvC,CAAC,MAAM;IACL;IACA,IACE,IAAAC,yBAAa,EAACJ,MAAM,EAAE,QAAQ;IAC9B;IACA;IAAA,EACA;MACA,OAAO,KAAK;IACd;IACA,OAAO,IAAI;EACb;AACF;AAEA,MAAMK,gBAAgB,GAAG,uCAAuC;AAEhE,MAAMC,qBAAqB,GAAG,CAC5B,gCAAgC,EAChC,0CAA0C,EAC1C,qCAAqC,EACrC,sCAAsC,CACvC;AAED,SAASC,aAAaA,CAACC,KAAU,EAAqB;EACpD,OAAOC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,IAAIA,KAAK,CAACG,KAAK,CAAEH,KAAK,IAAK,OAAOA,KAAK,KAAK,QAAQ,CAAC;AAClF;AAEA,SAASI,sBAAsBA,CAACC,KAAe,EAAW;EACxD,OAAOP,qBAAqB,CAACK,KAAK,CAAEG,IAAI,IAAKD,KAAK,CAACE,QAAQ,CAACD,IAAI,CAAC,CAAC;AACpE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,wCAAwCA,CAACC,qBAA0B,EAAY;EACtF;EACE;EACAV,aAAa,CAACU,qBAAqB,CAAC;EACpC;EACAA,qBAAqB,CAACC,MAAM;EAC5B;EACA,CAACN,sBAAsB,CAACK,qBAAqB,CAAC,EAC9C;IACA,MAAME,YAAY,GAAGF,qBAAqB,CAAEG,IAAI,CAAC,IAAI,CAAC;IACtD,IAAAC,yBAAa,EACX,uBAAuB,EACvB,oCAAoChB,gBAAgB,wMAAwMc,YAAY,EAC1Q,CAAC;IACD,OAAOF,qBAAqB;EAC9B;EACA,OAAO,EAAE;AACX;;AAEA;AACO,SAASnB,qBAAqBA,CACnCE,MAA+B,EAC/BsB,SAAoB,EACT;EACX,MAAMC,kBAAkB,GAAGxB,qBAAqB,CAACC,MAAM,CAAC;EACxD,IAAI,CAACuB,kBAAkB,EAAE;IACvB,MAAMC,QAAQ,GAAGR,wCAAwC,CAACM,SAAS,CAACjB,gBAAgB,CAAC,CAAC;;IAEtF;IACA;IACA;;IAEA;IACAiB,SAAS,CAACjB,gBAAgB,CAAC,GAAG,CAAC,GAAG,IAAIoB,GAAG,CAACD,QAAQ,CAACE,MAAM,CAACpB,qBAAqB,CAAC,CAAC,CAAC;EACpF;EAEA,OAAO;IACL,GAAGgB,SAAS;IACZK,oBAAoB,EAAEJ;EACxB,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import { ExpoConfig } from '@expo/config-types';
2
+ import { InfoPlist } from './IosConfig.types';
3
+ export declare const withScheme: import("..").ConfigPlugin;
4
+ export declare function getScheme(config: {
5
+ scheme?: string | string[];
6
+ }): string[];
7
+ export declare function setScheme(config: Partial<Pick<ExpoConfig, 'scheme' | 'ios'>>, infoPlist: InfoPlist): InfoPlist;
8
+ export declare function appendScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist;
9
+ export declare function removeScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist;
10
+ export declare function hasScheme(scheme: string, infoPlist: InfoPlist): boolean;
11
+ export declare function getSchemesFromPlist(infoPlist: InfoPlist): string[];
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.appendScheme = appendScheme;
7
+ exports.getScheme = getScheme;
8
+ exports.getSchemesFromPlist = getSchemesFromPlist;
9
+ exports.hasScheme = hasScheme;
10
+ exports.removeScheme = removeScheme;
11
+ exports.setScheme = setScheme;
12
+ exports.withScheme = void 0;
13
+ function _iosPlugins() {
14
+ const data = require("../plugins/ios-plugins");
15
+ _iosPlugins = function () {
16
+ return data;
17
+ };
18
+ return data;
19
+ }
20
+ const withScheme = exports.withScheme = (0, _iosPlugins().createInfoPlistPluginWithPropertyGuard)(setScheme, {
21
+ infoPlistProperty: 'CFBundleURLTypes',
22
+ expoConfigProperty: 'scheme'
23
+ }, 'withScheme');
24
+ function getScheme(config) {
25
+ if (Array.isArray(config.scheme)) {
26
+ const validate = value => {
27
+ return typeof value === 'string';
28
+ };
29
+ return config.scheme.filter(validate);
30
+ } else if (typeof config.scheme === 'string') {
31
+ return [config.scheme];
32
+ }
33
+ return [];
34
+ }
35
+ function setScheme(config, infoPlist) {
36
+ const scheme = [...getScheme(config),
37
+ // @ts-ignore: TODO: ios.scheme is an unreleased -- harder to add to turtle v1.
38
+ ...getScheme(config.ios ?? {})];
39
+ // Add the bundle identifier to the list of schemes for easier Google auth and parity with Turtle v1.
40
+ if (config.ios?.bundleIdentifier) {
41
+ scheme.push(config.ios.bundleIdentifier);
42
+ }
43
+ if (scheme.length === 0) {
44
+ return infoPlist;
45
+ }
46
+ return {
47
+ ...infoPlist,
48
+ CFBundleURLTypes: [{
49
+ CFBundleURLSchemes: scheme
50
+ }]
51
+ };
52
+ }
53
+ function appendScheme(scheme, infoPlist) {
54
+ if (!scheme) {
55
+ return infoPlist;
56
+ }
57
+ const existingSchemes = infoPlist.CFBundleURLTypes ?? [];
58
+ if (existingSchemes?.some(({
59
+ CFBundleURLSchemes
60
+ }) => CFBundleURLSchemes.includes(scheme))) {
61
+ return infoPlist;
62
+ }
63
+ return {
64
+ ...infoPlist,
65
+ CFBundleURLTypes: [...existingSchemes, {
66
+ CFBundleURLSchemes: [scheme]
67
+ }]
68
+ };
69
+ }
70
+ function removeScheme(scheme, infoPlist) {
71
+ if (!scheme) {
72
+ return infoPlist;
73
+ }
74
+
75
+ // No need to remove if we don't have any
76
+ if (!infoPlist.CFBundleURLTypes) {
77
+ return infoPlist;
78
+ }
79
+ infoPlist.CFBundleURLTypes = infoPlist.CFBundleURLTypes.map(bundleUrlType => {
80
+ const index = bundleUrlType.CFBundleURLSchemes.indexOf(scheme);
81
+ if (index > -1) {
82
+ bundleUrlType.CFBundleURLSchemes.splice(index, 1);
83
+ if (bundleUrlType.CFBundleURLSchemes.length === 0) {
84
+ return undefined;
85
+ }
86
+ }
87
+ return bundleUrlType;
88
+ }).filter(Boolean);
89
+ return infoPlist;
90
+ }
91
+ function hasScheme(scheme, infoPlist) {
92
+ const existingSchemes = infoPlist.CFBundleURLTypes;
93
+ if (!Array.isArray(existingSchemes)) return false;
94
+ return existingSchemes?.some(({
95
+ CFBundleURLSchemes: schemes
96
+ }) => Array.isArray(schemes) ? schemes.includes(scheme) : false);
97
+ }
98
+ function getSchemesFromPlist(infoPlist) {
99
+ if (Array.isArray(infoPlist.CFBundleURLTypes)) {
100
+ return infoPlist.CFBundleURLTypes.reduce((schemes, {
101
+ CFBundleURLSchemes
102
+ }) => {
103
+ if (Array.isArray(CFBundleURLSchemes)) {
104
+ return [...schemes, ...CFBundleURLSchemes];
105
+ }
106
+ return schemes;
107
+ }, []);
108
+ }
109
+ return [];
110
+ }
111
+ //# sourceMappingURL=Scheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scheme.js","names":["_iosPlugins","data","require","withScheme","exports","createInfoPlistPluginWithPropertyGuard","setScheme","infoPlistProperty","expoConfigProperty","getScheme","config","Array","isArray","scheme","validate","value","filter","infoPlist","ios","bundleIdentifier","push","length","CFBundleURLTypes","CFBundleURLSchemes","appendScheme","existingSchemes","some","includes","removeScheme","map","bundleUrlType","index","indexOf","splice","undefined","Boolean","hasScheme","schemes","getSchemesFromPlist","reduce"],"sources":["../../src/ios/Scheme.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { InfoPlist, URLScheme } from './IosConfig.types';\nimport { createInfoPlistPluginWithPropertyGuard } from '../plugins/ios-plugins';\n\nexport const withScheme = createInfoPlistPluginWithPropertyGuard(\n setScheme,\n {\n infoPlistProperty: 'CFBundleURLTypes',\n expoConfigProperty: 'scheme',\n },\n 'withScheme'\n);\n\nexport function getScheme(config: { scheme?: string | string[] }): string[] {\n if (Array.isArray(config.scheme)) {\n const validate = (value: any): value is string => {\n return typeof value === 'string';\n };\n return config.scheme.filter<string>(validate);\n } else if (typeof config.scheme === 'string') {\n return [config.scheme];\n }\n return [];\n}\n\nexport function setScheme(\n config: Partial<Pick<ExpoConfig, 'scheme' | 'ios'>>,\n infoPlist: InfoPlist\n): InfoPlist {\n const scheme = [\n ...getScheme(config),\n // @ts-ignore: TODO: ios.scheme is an unreleased -- harder to add to turtle v1.\n ...getScheme(config.ios ?? {}),\n ];\n // Add the bundle identifier to the list of schemes for easier Google auth and parity with Turtle v1.\n if (config.ios?.bundleIdentifier) {\n scheme.push(config.ios.bundleIdentifier);\n }\n if (scheme.length === 0) {\n return infoPlist;\n }\n\n return {\n ...infoPlist,\n CFBundleURLTypes: [{ CFBundleURLSchemes: scheme }],\n };\n}\n\nexport function appendScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist {\n if (!scheme) {\n return infoPlist;\n }\n\n const existingSchemes = infoPlist.CFBundleURLTypes ?? [];\n if (existingSchemes?.some(({ CFBundleURLSchemes }) => CFBundleURLSchemes.includes(scheme))) {\n return infoPlist;\n }\n\n return {\n ...infoPlist,\n CFBundleURLTypes: [\n ...existingSchemes,\n {\n CFBundleURLSchemes: [scheme],\n },\n ],\n };\n}\n\nexport function removeScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist {\n if (!scheme) {\n return infoPlist;\n }\n\n // No need to remove if we don't have any\n if (!infoPlist.CFBundleURLTypes) {\n return infoPlist;\n }\n\n infoPlist.CFBundleURLTypes = infoPlist.CFBundleURLTypes.map((bundleUrlType) => {\n const index = bundleUrlType.CFBundleURLSchemes.indexOf(scheme);\n if (index > -1) {\n bundleUrlType.CFBundleURLSchemes.splice(index, 1);\n if (bundleUrlType.CFBundleURLSchemes.length === 0) {\n return undefined;\n }\n }\n return bundleUrlType;\n }).filter(Boolean) as URLScheme[];\n\n return infoPlist;\n}\n\nexport function hasScheme(scheme: string, infoPlist: InfoPlist): boolean {\n const existingSchemes = infoPlist.CFBundleURLTypes;\n\n if (!Array.isArray(existingSchemes)) return false;\n\n return existingSchemes?.some(({ CFBundleURLSchemes: schemes }: any) =>\n Array.isArray(schemes) ? schemes.includes(scheme) : false\n );\n}\n\nexport function getSchemesFromPlist(infoPlist: InfoPlist): string[] {\n if (Array.isArray(infoPlist.CFBundleURLTypes)) {\n return infoPlist.CFBundleURLTypes.reduce<string[]>((schemes, { CFBundleURLSchemes }) => {\n if (Array.isArray(CFBundleURLSchemes)) {\n return [...schemes, ...CFBundleURLSchemes];\n }\n return schemes;\n }, []);\n }\n return [];\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ /// <reference types="xcode" />
2
+ import { ConfigPlugin, XcodeProject } from '../Plugin.types';
3
+ /**
4
+ * Ensure a Swift bridging header is created for the project.
5
+ * This helps fix problems related to using modules that are written in Swift (lottie, FBSDK).
6
+ *
7
+ * 1. Ensures the file exists given the project path.
8
+ * 2. Writes the file and links to Xcode as a resource file.
9
+ * 3. Sets the build configuration `SWIFT_OBJC_BRIDGING_HEADER = [PROJECT_NAME]-Bridging-Header.h`
10
+ */
11
+ export declare const withSwiftBridgingHeader: ConfigPlugin;
12
+ export declare function ensureSwiftBridgingHeaderSetup({ projectRoot, project, }: {
13
+ projectRoot: string;
14
+ project: XcodeProject;
15
+ }): XcodeProject;
16
+ export declare function getDesignatedSwiftBridgingHeaderFileReference({ project, }: {
17
+ project: XcodeProject;
18
+ }): string | null;
19
+ /**
20
+ *
21
+ * @param bridgingHeader The bridging header filename ex: `ExpoAPIs-Bridging-Header.h`
22
+ * @returns
23
+ */
24
+ export declare function linkBridgingHeaderFile({ project, bridgingHeader, }: {
25
+ project: XcodeProject;
26
+ bridgingHeader: string;
27
+ }): XcodeProject;
28
+ export declare function createBridgingHeaderFile({ projectRoot, projectName, project, bridgingHeader, }: {
29
+ project: XcodeProject;
30
+ projectName: string;
31
+ projectRoot: string;
32
+ bridgingHeader: string;
33
+ }): XcodeProject;
34
+ export declare const withNoopSwiftFile: ConfigPlugin;
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.createBridgingHeaderFile = createBridgingHeaderFile;
7
+ exports.ensureSwiftBridgingHeaderSetup = ensureSwiftBridgingHeaderSetup;
8
+ exports.getDesignatedSwiftBridgingHeaderFileReference = getDesignatedSwiftBridgingHeaderFileReference;
9
+ exports.linkBridgingHeaderFile = linkBridgingHeaderFile;
10
+ exports.withSwiftBridgingHeader = exports.withNoopSwiftFile = void 0;
11
+ function _fs() {
12
+ const data = _interopRequireDefault(require("fs"));
13
+ _fs = function () {
14
+ return data;
15
+ };
16
+ return data;
17
+ }
18
+ function _path() {
19
+ const data = _interopRequireDefault(require("path"));
20
+ _path = function () {
21
+ return data;
22
+ };
23
+ return data;
24
+ }
25
+ function _Paths() {
26
+ const data = require("./Paths");
27
+ _Paths = function () {
28
+ return data;
29
+ };
30
+ return data;
31
+ }
32
+ function _XcodeProjectFile() {
33
+ const data = require("./XcodeProjectFile");
34
+ _XcodeProjectFile = function () {
35
+ return data;
36
+ };
37
+ return data;
38
+ }
39
+ function _Xcodeproj() {
40
+ const data = require("./utils/Xcodeproj");
41
+ _Xcodeproj = function () {
42
+ return data;
43
+ };
44
+ return data;
45
+ }
46
+ function _iosPlugins() {
47
+ const data = require("../plugins/ios-plugins");
48
+ _iosPlugins = function () {
49
+ return data;
50
+ };
51
+ return data;
52
+ }
53
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
54
+ const templateBridgingHeader = `//
55
+ // Use this file to import your target's public headers that you would like to expose to Swift.
56
+ //
57
+ `;
58
+
59
+ /**
60
+ * Ensure a Swift bridging header is created for the project.
61
+ * This helps fix problems related to using modules that are written in Swift (lottie, FBSDK).
62
+ *
63
+ * 1. Ensures the file exists given the project path.
64
+ * 2. Writes the file and links to Xcode as a resource file.
65
+ * 3. Sets the build configuration `SWIFT_OBJC_BRIDGING_HEADER = [PROJECT_NAME]-Bridging-Header.h`
66
+ */
67
+ const withSwiftBridgingHeader = config => {
68
+ return (0, _iosPlugins().withXcodeProject)(config, config => {
69
+ config.modResults = ensureSwiftBridgingHeaderSetup({
70
+ project: config.modResults,
71
+ projectRoot: config.modRequest.projectRoot
72
+ });
73
+ return config;
74
+ });
75
+ };
76
+ exports.withSwiftBridgingHeader = withSwiftBridgingHeader;
77
+ function ensureSwiftBridgingHeaderSetup({
78
+ projectRoot,
79
+ project
80
+ }) {
81
+ // Only create a bridging header if using objective-c
82
+ if (shouldCreateSwiftBridgingHeader({
83
+ projectRoot,
84
+ project
85
+ })) {
86
+ const projectName = (0, _Xcodeproj().getProjectName)(projectRoot);
87
+ const bridgingHeader = createBridgingHeaderFileName(projectName);
88
+ // Ensure a bridging header is created in the Xcode project.
89
+ project = createBridgingHeaderFile({
90
+ project,
91
+ projectName,
92
+ projectRoot,
93
+ bridgingHeader
94
+ });
95
+ // Designate the newly created file as the Swift bridging header in the Xcode project.
96
+ project = linkBridgingHeaderFile({
97
+ project,
98
+ bridgingHeader: _path().default.join(projectName, bridgingHeader)
99
+ });
100
+ }
101
+ return project;
102
+ }
103
+ function shouldCreateSwiftBridgingHeader({
104
+ projectRoot,
105
+ project
106
+ }) {
107
+ // Only create a bridging header if the project is using in Objective C (AppDelegate is written in Objc).
108
+ const isObjc = (0, _Paths().getAppDelegate)(projectRoot).language !== 'swift';
109
+ return isObjc && !getDesignatedSwiftBridgingHeaderFileReference({
110
+ project
111
+ });
112
+ }
113
+
114
+ /**
115
+ * @returns String matching the default name used when Xcode automatically creates a bridging header file.
116
+ */
117
+ function createBridgingHeaderFileName(projectName) {
118
+ return `${projectName}-Bridging-Header.h`;
119
+ }
120
+ function getDesignatedSwiftBridgingHeaderFileReference({
121
+ project
122
+ }) {
123
+ const configurations = project.pbxXCBuildConfigurationSection();
124
+ // @ts-ignore
125
+ for (const {
126
+ buildSettings
127
+ } of Object.values(configurations || {})) {
128
+ // Guessing that this is the best way to emulate Xcode.
129
+ // Using `project.addToBuildSettings` modifies too many targets.
130
+ if (typeof buildSettings?.PRODUCT_NAME !== 'undefined') {
131
+ if (typeof buildSettings.SWIFT_OBJC_BRIDGING_HEADER === 'string' && buildSettings.SWIFT_OBJC_BRIDGING_HEADER) {
132
+ return buildSettings.SWIFT_OBJC_BRIDGING_HEADER;
133
+ }
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ *
141
+ * @param bridgingHeader The bridging header filename ex: `ExpoAPIs-Bridging-Header.h`
142
+ * @returns
143
+ */
144
+ function linkBridgingHeaderFile({
145
+ project,
146
+ bridgingHeader
147
+ }) {
148
+ const configurations = project.pbxXCBuildConfigurationSection();
149
+ // @ts-ignore
150
+ for (const {
151
+ buildSettings
152
+ } of Object.values(configurations || {})) {
153
+ // Guessing that this is the best way to emulate Xcode.
154
+ // Using `project.addToBuildSettings` modifies too many targets.
155
+ if (typeof buildSettings?.PRODUCT_NAME !== 'undefined') {
156
+ buildSettings.SWIFT_OBJC_BRIDGING_HEADER = bridgingHeader;
157
+ }
158
+ }
159
+ return project;
160
+ }
161
+ function createBridgingHeaderFile({
162
+ projectRoot,
163
+ projectName,
164
+ project,
165
+ bridgingHeader
166
+ }) {
167
+ const bridgingHeaderProjectPath = _path().default.join((0, _Paths().getSourceRoot)(projectRoot), bridgingHeader);
168
+ if (!_fs().default.existsSync(bridgingHeaderProjectPath)) {
169
+ // Create the file
170
+ _fs().default.writeFileSync(bridgingHeaderProjectPath, templateBridgingHeader, 'utf8');
171
+ }
172
+
173
+ // This is non-standard, Xcode generates the bridging header in `/ios` which is kinda annoying.
174
+ // Instead, this'll generate the default header in the application code folder `/ios/myproject/`.
175
+ const filePath = `${projectName}/${bridgingHeader}`;
176
+ // Ensure the file is linked with Xcode resource files
177
+ if (!project.hasFile(filePath)) {
178
+ project = (0, _Xcodeproj().addResourceFileToGroup)({
179
+ filepath: filePath,
180
+ groupName: projectName,
181
+ project,
182
+ // Not sure why, but this is how Xcode generates it.
183
+ isBuildFile: false,
184
+ verbose: false
185
+ });
186
+ }
187
+ return project;
188
+ }
189
+ const withNoopSwiftFile = config => {
190
+ return (0, _XcodeProjectFile().withBuildSourceFile)(config, {
191
+ filePath: 'noop-file.swift',
192
+ contents: ['//', '// @generated', '// A blank Swift file must be created for native modules with Swift files to work correctly.', '//', ''].join('\n')
193
+ });
194
+ };
195
+ exports.withNoopSwiftFile = withNoopSwiftFile;
196
+ //# sourceMappingURL=Swift.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Swift.js","names":["_fs","data","_interopRequireDefault","require","_path","_Paths","_XcodeProjectFile","_Xcodeproj","_iosPlugins","obj","__esModule","default","templateBridgingHeader","withSwiftBridgingHeader","config","withXcodeProject","modResults","ensureSwiftBridgingHeaderSetup","project","projectRoot","modRequest","exports","shouldCreateSwiftBridgingHeader","projectName","getProjectName","bridgingHeader","createBridgingHeaderFileName","createBridgingHeaderFile","linkBridgingHeaderFile","path","join","isObjc","getAppDelegate","language","getDesignatedSwiftBridgingHeaderFileReference","configurations","pbxXCBuildConfigurationSection","buildSettings","Object","values","PRODUCT_NAME","SWIFT_OBJC_BRIDGING_HEADER","bridgingHeaderProjectPath","getSourceRoot","fs","existsSync","writeFileSync","filePath","hasFile","addResourceFileToGroup","filepath","groupName","isBuildFile","verbose","withNoopSwiftFile","withBuildSourceFile","contents"],"sources":["../../src/ios/Swift.ts"],"sourcesContent":["import fs from 'fs';\nimport path from 'path';\n\nimport { getAppDelegate, getSourceRoot } from './Paths';\nimport { withBuildSourceFile } from './XcodeProjectFile';\nimport { addResourceFileToGroup, getProjectName } from './utils/Xcodeproj';\nimport { ConfigPlugin, XcodeProject } from '../Plugin.types';\nimport { withXcodeProject } from '../plugins/ios-plugins';\n\nconst templateBridgingHeader = `//\n// Use this file to import your target's public headers that you would like to expose to Swift.\n//\n`;\n\n/**\n * Ensure a Swift bridging header is created for the project.\n * This helps fix problems related to using modules that are written in Swift (lottie, FBSDK).\n *\n * 1. Ensures the file exists given the project path.\n * 2. Writes the file and links to Xcode as a resource file.\n * 3. Sets the build configuration `SWIFT_OBJC_BRIDGING_HEADER = [PROJECT_NAME]-Bridging-Header.h`\n */\nexport const withSwiftBridgingHeader: ConfigPlugin = (config) => {\n return withXcodeProject(config, (config) => {\n config.modResults = ensureSwiftBridgingHeaderSetup({\n project: config.modResults,\n projectRoot: config.modRequest.projectRoot,\n });\n return config;\n });\n};\n\nexport function ensureSwiftBridgingHeaderSetup({\n projectRoot,\n project,\n}: {\n projectRoot: string;\n project: XcodeProject;\n}) {\n // Only create a bridging header if using objective-c\n if (shouldCreateSwiftBridgingHeader({ projectRoot, project })) {\n const projectName = getProjectName(projectRoot);\n const bridgingHeader = createBridgingHeaderFileName(projectName);\n // Ensure a bridging header is created in the Xcode project.\n project = createBridgingHeaderFile({\n project,\n projectName,\n projectRoot,\n bridgingHeader,\n });\n // Designate the newly created file as the Swift bridging header in the Xcode project.\n project = linkBridgingHeaderFile({\n project,\n bridgingHeader: path.join(projectName, bridgingHeader),\n });\n }\n return project;\n}\n\nfunction shouldCreateSwiftBridgingHeader({\n projectRoot,\n project,\n}: {\n projectRoot: string;\n project: XcodeProject;\n}): boolean {\n // Only create a bridging header if the project is using in Objective C (AppDelegate is written in Objc).\n const isObjc = getAppDelegate(projectRoot).language !== 'swift';\n return isObjc && !getDesignatedSwiftBridgingHeaderFileReference({ project });\n}\n\n/**\n * @returns String matching the default name used when Xcode automatically creates a bridging header file.\n */\nfunction createBridgingHeaderFileName(projectName: string): string {\n return `${projectName}-Bridging-Header.h`;\n}\n\nexport function getDesignatedSwiftBridgingHeaderFileReference({\n project,\n}: {\n project: XcodeProject;\n}): string | null {\n const configurations = project.pbxXCBuildConfigurationSection();\n // @ts-ignore\n for (const { buildSettings } of Object.values(configurations || {})) {\n // Guessing that this is the best way to emulate Xcode.\n // Using `project.addToBuildSettings` modifies too many targets.\n if (typeof buildSettings?.PRODUCT_NAME !== 'undefined') {\n if (\n typeof buildSettings.SWIFT_OBJC_BRIDGING_HEADER === 'string' &&\n buildSettings.SWIFT_OBJC_BRIDGING_HEADER\n ) {\n return buildSettings.SWIFT_OBJC_BRIDGING_HEADER;\n }\n }\n }\n return null;\n}\n\n/**\n *\n * @param bridgingHeader The bridging header filename ex: `ExpoAPIs-Bridging-Header.h`\n * @returns\n */\nexport function linkBridgingHeaderFile({\n project,\n bridgingHeader,\n}: {\n project: XcodeProject;\n bridgingHeader: string;\n}): XcodeProject {\n const configurations = project.pbxXCBuildConfigurationSection();\n // @ts-ignore\n for (const { buildSettings } of Object.values(configurations || {})) {\n // Guessing that this is the best way to emulate Xcode.\n // Using `project.addToBuildSettings` modifies too many targets.\n if (typeof buildSettings?.PRODUCT_NAME !== 'undefined') {\n buildSettings.SWIFT_OBJC_BRIDGING_HEADER = bridgingHeader;\n }\n }\n\n return project;\n}\n\nexport function createBridgingHeaderFile({\n projectRoot,\n projectName,\n project,\n bridgingHeader,\n}: {\n project: XcodeProject;\n projectName: string;\n projectRoot: string;\n bridgingHeader: string;\n}): XcodeProject {\n const bridgingHeaderProjectPath = path.join(getSourceRoot(projectRoot), bridgingHeader);\n if (!fs.existsSync(bridgingHeaderProjectPath)) {\n // Create the file\n fs.writeFileSync(bridgingHeaderProjectPath, templateBridgingHeader, 'utf8');\n }\n\n // This is non-standard, Xcode generates the bridging header in `/ios` which is kinda annoying.\n // Instead, this'll generate the default header in the application code folder `/ios/myproject/`.\n const filePath = `${projectName}/${bridgingHeader}`;\n // Ensure the file is linked with Xcode resource files\n if (!project.hasFile(filePath)) {\n project = addResourceFileToGroup({\n filepath: filePath,\n groupName: projectName,\n project,\n // Not sure why, but this is how Xcode generates it.\n isBuildFile: false,\n verbose: false,\n });\n }\n return project;\n}\n\nexport const withNoopSwiftFile: ConfigPlugin = (config) => {\n return withBuildSourceFile(config, {\n filePath: 'noop-file.swift',\n contents: [\n '//',\n '// @generated',\n '// A blank Swift file must be created for native modules with Swift files to work correctly.',\n '//',\n '',\n ].join('\\n'),\n });\n};\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ import { PBXNativeTarget, XCBuildConfiguration, XcodeProject } from 'xcode';
2
+ import { NativeTargetSectionEntry } from './utils/Xcodeproj';
3
+ export declare enum TargetType {
4
+ APPLICATION = "com.apple.product-type.application",
5
+ EXTENSION = "com.apple.product-type.app-extension",
6
+ WATCH = "com.apple.product-type.application.watchapp",
7
+ APP_CLIP = "com.apple.product-type.application.on-demand-install-capable",
8
+ STICKER_PACK_EXTENSION = "com.apple.product-type.app-extension.messages-sticker-pack",
9
+ FRAMEWORK = "com.apple.product-type.framework",
10
+ OTHER = "other"
11
+ }
12
+ export interface Target {
13
+ name: string;
14
+ type: TargetType;
15
+ signable: boolean;
16
+ dependencies?: Target[];
17
+ }
18
+ export declare function getXCBuildConfigurationFromPbxproj(project: XcodeProject, { targetName, buildConfiguration, }?: {
19
+ targetName?: string;
20
+ buildConfiguration?: string;
21
+ }): XCBuildConfiguration | null;
22
+ export declare function findApplicationTargetWithDependenciesAsync(projectRoot: string, scheme: string): Promise<Target>;
23
+ export declare function isTargetOfType(target: PBXNativeTarget, targetType: TargetType): boolean;
24
+ export declare function getNativeTargets(project: XcodeProject): NativeTargetSectionEntry[];
25
+ export declare function findSignableTargets(project: XcodeProject): NativeTargetSectionEntry[];
26
+ export declare function findFirstNativeTarget(project: XcodeProject): NativeTargetSectionEntry;
27
+ export declare function findNativeTargetByName(project: XcodeProject, targetName: string): NativeTargetSectionEntry;