react-native-kookit 0.1.7 → 0.1.9

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 (1188) hide show
  1. package/package.json +14 -2
  2. package/.eslintrc.js +0 -5
  3. package/app.json +0 -5
  4. package/package-with-plugin.json +0 -51
  5. package/plugin/node_modules/.package-lock.json +0 -752
  6. package/plugin/node_modules/@babel/code-frame/LICENSE +0 -22
  7. package/plugin/node_modules/@babel/code-frame/README.md +0 -19
  8. package/plugin/node_modules/@babel/code-frame/lib/index.js +0 -167
  9. package/plugin/node_modules/@babel/code-frame/package.json +0 -25
  10. package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  11. package/plugin/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  12. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  13. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  14. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  15. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  16. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  17. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  18. package/plugin/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  19. package/plugin/node_modules/@babel/highlight/LICENSE +0 -22
  20. package/plugin/node_modules/@babel/highlight/README.md +0 -19
  21. package/plugin/node_modules/@babel/highlight/lib/index.js +0 -119
  22. package/plugin/node_modules/@babel/highlight/lib/index.js.map +0 -1
  23. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
  24. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
  25. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
  26. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
  27. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
  28. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
  29. package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
  30. package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
  31. package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
  32. package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
  33. package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
  34. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
  35. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
  36. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
  37. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
  38. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
  39. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
  40. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
  41. package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
  42. package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
  43. package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
  44. package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
  45. package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
  46. package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
  47. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +0 -8
  48. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +0 -9
  49. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +0 -44
  50. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +0 -70
  51. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +0 -5
  52. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +0 -131
  53. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +0 -9
  54. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +0 -53
  55. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +0 -66
  56. package/plugin/node_modules/@babel/highlight/package.json +0 -30
  57. package/plugin/node_modules/@expo/config-plugins/LICENSE +0 -22
  58. package/plugin/node_modules/@expo/config-plugins/README.md +0 -34
  59. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +0 -177
  60. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +0 -51
  61. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +0 -1
  62. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +0 -6
  63. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +0 -45
  64. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +0 -1
  65. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +0 -28
  66. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +0 -93
  67. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +0 -1
  68. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +0 -29
  69. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +0 -106
  70. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +0 -1
  71. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +0 -3
  72. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +0 -67
  73. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +0 -1
  74. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +0 -2
  75. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +0 -82
  76. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +0 -1
  77. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +0 -5
  78. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +0 -46
  79. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +0 -1
  80. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +0 -17
  81. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +0 -138
  82. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +0 -1
  83. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +0 -8
  84. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +0 -83
  85. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +0 -1
  86. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +0 -157
  87. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +0 -221
  88. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +0 -1
  89. package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +0 -20
  90. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +0 -91
  91. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +0 -1
  92. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +0 -6
  93. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +0 -39
  94. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +0 -1
  95. package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +0 -23
  96. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +0 -323
  97. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +0 -1
  98. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +0 -30
  99. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +0 -154
  100. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +0 -1
  101. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +0 -20
  102. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +0 -207
  103. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +0 -1
  104. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +0 -6
  105. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +0 -62
  106. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +0 -1
  107. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +0 -12
  108. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +0 -55
  109. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +0 -1
  110. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +0 -87
  111. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +0 -150
  112. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +0 -1
  113. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +0 -20
  114. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +0 -217
  115. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +0 -1
  116. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +0 -16
  117. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +0 -112
  118. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +0 -1
  119. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +0 -6
  120. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +0 -54
  121. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +0 -1
  122. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +0 -61
  123. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +0 -169
  124. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +0 -1
  125. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +0 -21
  126. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +0 -159
  127. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +0 -1
  128. package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +0 -16
  129. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +0 -87
  130. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +0 -1
  131. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +0 -6
  132. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +0 -48
  133. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +0 -1
  134. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +0 -20
  135. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +0 -93
  136. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +0 -1
  137. package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +0 -25
  138. package/plugin/node_modules/@expo/config-plugins/build/android/index.js +0 -308
  139. package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +0 -1
  140. package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +0 -36
  141. package/plugin/node_modules/@expo/config-plugins/build/index.js +0 -428
  142. package/plugin/node_modules/@expo/config-plugins/build/index.js.map +0 -1
  143. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +0 -33
  144. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +0 -110
  145. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +0 -1
  146. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +0 -27
  147. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +0 -67
  148. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +0 -1
  149. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +0 -10
  150. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +0 -112
  151. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +0 -1
  152. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +0 -50
  153. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +0 -241
  154. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +0 -1
  155. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +0 -19
  156. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +0 -92
  157. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +0 -1
  158. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +0 -9
  159. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +0 -132
  160. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +0 -1
  161. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +0 -14
  162. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +0 -139
  163. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +0 -1
  164. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +0 -48
  165. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +0 -2
  166. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +0 -1
  167. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +0 -14
  168. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +0 -132
  169. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +0 -1
  170. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +0 -17
  171. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +0 -211
  172. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +0 -1
  173. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +0 -20
  174. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +0 -111
  175. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +0 -1
  176. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +0 -7
  177. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +0 -42
  178. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +0 -1
  179. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +0 -38
  180. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +0 -311
  181. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +0 -1
  182. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +0 -9
  183. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +0 -58
  184. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +0 -1
  185. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +0 -20
  186. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +0 -129
  187. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +0 -1
  188. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +0 -8
  189. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +0 -67
  190. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +0 -1
  191. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +0 -5
  192. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +0 -101
  193. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +0 -1
  194. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +0 -11
  195. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +0 -111
  196. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +0 -1
  197. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +0 -34
  198. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +0 -196
  199. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +0 -1
  200. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +0 -27
  201. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +0 -136
  202. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +0 -1
  203. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +0 -17
  204. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +0 -121
  205. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +0 -1
  206. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +0 -5
  207. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +0 -38
  208. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +0 -1
  209. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +0 -8
  210. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +0 -44
  211. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +0 -1
  212. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +0 -31
  213. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +0 -99
  214. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +0 -1
  215. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +0 -81
  216. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +0 -264
  217. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +0 -1
  218. package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +0 -27
  219. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +0 -342
  220. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +0 -1
  221. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +0 -93
  222. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +0 -484
  223. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +0 -1
  224. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +0 -12
  225. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +0 -49
  226. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +0 -1
  227. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +0 -1
  228. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +0 -10
  229. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +0 -1
  230. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +0 -89
  231. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +0 -210
  232. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +0 -1
  233. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +0 -31
  234. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +0 -129
  235. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +0 -1
  236. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +0 -77
  237. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +0 -205
  238. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +0 -1
  239. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +0 -39
  240. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +0 -226
  241. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +0 -1
  242. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +0 -40
  243. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +0 -510
  244. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +0 -1
  245. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +0 -10
  246. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +0 -30
  247. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +0 -1
  248. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +0 -10
  249. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +0 -30
  250. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +0 -1
  251. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +0 -33
  252. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +0 -442
  253. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +0 -1
  254. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +0 -46
  255. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +0 -208
  256. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +0 -1
  257. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +0 -8
  258. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +0 -35
  259. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +0 -1
  260. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +0 -20
  261. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +0 -55
  262. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +0 -1
  263. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +0 -17
  264. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +0 -138
  265. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +0 -1
  266. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +0 -25
  267. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +0 -2
  268. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +0 -1
  269. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +0 -29
  270. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +0 -217
  271. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +0 -1
  272. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +0 -27
  273. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +0 -161
  274. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +0 -1
  275. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +0 -32
  276. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +0 -63
  277. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +0 -1
  278. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +0 -15
  279. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +0 -27
  280. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +0 -1
  281. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +0 -4
  282. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +0 -45
  283. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +0 -1
  284. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +0 -36
  285. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +0 -128
  286. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +0 -1
  287. package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +0 -11
  288. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +0 -24
  289. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +0 -1
  290. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +0 -7
  291. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +0 -65
  292. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +0 -1
  293. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +0 -3
  294. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +0 -42
  295. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +0 -1
  296. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +0 -2
  297. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +0 -20
  298. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +0 -1
  299. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +0 -33
  300. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +0 -218
  301. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +0 -1
  302. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +0 -4
  303. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +0 -42
  304. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +0 -1
  305. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +0 -3
  306. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +0 -42
  307. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +0 -1
  308. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +0 -26
  309. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +0 -52
  310. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +0 -1
  311. package/plugin/node_modules/@expo/config-plugins/package.json +0 -62
  312. package/plugin/node_modules/@expo/config-types/LICENSE +0 -22
  313. package/plugin/node_modules/@expo/config-types/README.md +0 -38
  314. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +0 -878
  315. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +0 -6
  316. package/plugin/node_modules/@expo/config-types/package.json +0 -48
  317. package/plugin/node_modules/@expo/json-file/LICENSE +0 -22
  318. package/plugin/node_modules/@expo/json-file/README.md +0 -29
  319. package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +0 -61
  320. package/plugin/node_modules/@expo/json-file/build/JsonFile.js +0 -283
  321. package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +0 -1
  322. package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +0 -13
  323. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +0 -35
  324. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +0 -1
  325. package/plugin/node_modules/@expo/json-file/package.json +0 -47
  326. package/plugin/node_modules/@expo/plist/README.md +0 -8
  327. package/plugin/node_modules/@expo/plist/build/build.d.ts +0 -11
  328. package/plugin/node_modules/@expo/plist/build/build.js +0 -152
  329. package/plugin/node_modules/@expo/plist/build/build.js.map +0 -1
  330. package/plugin/node_modules/@expo/plist/build/index.d.ts +0 -16
  331. package/plugin/node_modules/@expo/plist/build/index.js +0 -6
  332. package/plugin/node_modules/@expo/plist/build/index.js.map +0 -1
  333. package/plugin/node_modules/@expo/plist/build/parse.d.ts +0 -8
  334. package/plugin/node_modules/@expo/plist/build/parse.js +0 -201
  335. package/plugin/node_modules/@expo/plist/build/parse.js.map +0 -1
  336. package/plugin/node_modules/@expo/plist/package.json +0 -45
  337. package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +0 -5
  338. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +0 -4
  339. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +0 -21
  340. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +0 -1
  341. package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +0 -29
  342. package/plugin/node_modules/@types/node/LICENSE +0 -21
  343. package/plugin/node_modules/@types/node/README.md +0 -15
  344. package/plugin/node_modules/@types/node/assert/strict.d.ts +0 -8
  345. package/plugin/node_modules/@types/node/assert.d.ts +0 -1044
  346. package/plugin/node_modules/@types/node/async_hooks.d.ts +0 -605
  347. package/plugin/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  348. package/plugin/node_modules/@types/node/buffer.d.ts +0 -1932
  349. package/plugin/node_modules/@types/node/child_process.d.ts +0 -1548
  350. package/plugin/node_modules/@types/node/cluster.d.ts +0 -578
  351. package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  352. package/plugin/node_modules/@types/node/compatibility/index.d.ts +0 -9
  353. package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  354. package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  355. package/plugin/node_modules/@types/node/console.d.ts +0 -452
  356. package/plugin/node_modules/@types/node/constants.d.ts +0 -21
  357. package/plugin/node_modules/@types/node/crypto.d.ts +0 -4570
  358. package/plugin/node_modules/@types/node/dgram.d.ts +0 -596
  359. package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  360. package/plugin/node_modules/@types/node/dns/promises.d.ts +0 -479
  361. package/plugin/node_modules/@types/node/dns.d.ts +0 -871
  362. package/plugin/node_modules/@types/node/dom-events.d.ts +0 -99
  363. package/plugin/node_modules/@types/node/domain.d.ts +0 -170
  364. package/plugin/node_modules/@types/node/events.d.ts +0 -931
  365. package/plugin/node_modules/@types/node/fs/promises.d.ts +0 -1248
  366. package/plugin/node_modules/@types/node/fs.d.ts +0 -4362
  367. package/plugin/node_modules/@types/node/globals.d.ts +0 -335
  368. package/plugin/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  369. package/plugin/node_modules/@types/node/http.d.ts +0 -2031
  370. package/plugin/node_modules/@types/node/http2.d.ts +0 -2623
  371. package/plugin/node_modules/@types/node/https.d.ts +0 -544
  372. package/plugin/node_modules/@types/node/index.d.ts +0 -91
  373. package/plugin/node_modules/@types/node/inspector.d.ts +0 -3966
  374. package/plugin/node_modules/@types/node/module.d.ts +0 -539
  375. package/plugin/node_modules/@types/node/net.d.ts +0 -1011
  376. package/plugin/node_modules/@types/node/os.d.ts +0 -495
  377. package/plugin/node_modules/@types/node/package.json +0 -140
  378. package/plugin/node_modules/@types/node/path.d.ts +0 -200
  379. package/plugin/node_modules/@types/node/perf_hooks.d.ts +0 -963
  380. package/plugin/node_modules/@types/node/process.d.ts +0 -1956
  381. package/plugin/node_modules/@types/node/punycode.d.ts +0 -117
  382. package/plugin/node_modules/@types/node/querystring.d.ts +0 -152
  383. package/plugin/node_modules/@types/node/readline/promises.d.ts +0 -162
  384. package/plugin/node_modules/@types/node/readline.d.ts +0 -589
  385. package/plugin/node_modules/@types/node/repl.d.ts +0 -430
  386. package/plugin/node_modules/@types/node/sea.d.ts +0 -153
  387. package/plugin/node_modules/@types/node/stream/consumers.d.ts +0 -38
  388. package/plugin/node_modules/@types/node/stream/promises.d.ts +0 -90
  389. package/plugin/node_modules/@types/node/stream/web.d.ts +0 -533
  390. package/plugin/node_modules/@types/node/stream.d.ts +0 -1668
  391. package/plugin/node_modules/@types/node/string_decoder.d.ts +0 -67
  392. package/plugin/node_modules/@types/node/test.d.ts +0 -1807
  393. package/plugin/node_modules/@types/node/timers/promises.d.ts +0 -108
  394. package/plugin/node_modules/@types/node/timers.d.ts +0 -286
  395. package/plugin/node_modules/@types/node/tls.d.ts +0 -1231
  396. package/plugin/node_modules/@types/node/trace_events.d.ts +0 -197
  397. package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  398. package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  399. package/plugin/node_modules/@types/node/ts5.6/index.d.ts +0 -91
  400. package/plugin/node_modules/@types/node/tty.d.ts +0 -208
  401. package/plugin/node_modules/@types/node/url.d.ts +0 -964
  402. package/plugin/node_modules/@types/node/util.d.ts +0 -2331
  403. package/plugin/node_modules/@types/node/v8.d.ts +0 -808
  404. package/plugin/node_modules/@types/node/vm.d.ts +0 -1030
  405. package/plugin/node_modules/@types/node/wasi.d.ts +0 -181
  406. package/plugin/node_modules/@types/node/worker_threads.d.ts +0 -724
  407. package/plugin/node_modules/@types/node/zlib.d.ts +0 -539
  408. package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -401
  409. package/plugin/node_modules/@xmldom/xmldom/LICENSE +0 -8
  410. package/plugin/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  411. package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  412. package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +0 -177
  413. package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -268
  414. package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +0 -1808
  415. package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  416. package/plugin/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  417. package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +0 -656
  418. package/plugin/node_modules/@xmldom/xmldom/package.json +0 -60
  419. package/plugin/node_modules/@xmldom/xmldom/readme.md +0 -338
  420. package/plugin/node_modules/ansi-styles/index.d.ts +0 -345
  421. package/plugin/node_modules/ansi-styles/index.js +0 -163
  422. package/plugin/node_modules/ansi-styles/license +0 -9
  423. package/plugin/node_modules/ansi-styles/package.json +0 -56
  424. package/plugin/node_modules/ansi-styles/readme.md +0 -152
  425. package/plugin/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  426. package/plugin/node_modules/balanced-match/LICENSE.md +0 -21
  427. package/plugin/node_modules/balanced-match/README.md +0 -97
  428. package/plugin/node_modules/balanced-match/index.js +0 -62
  429. package/plugin/node_modules/balanced-match/package.json +0 -48
  430. package/plugin/node_modules/base64-js/LICENSE +0 -21
  431. package/plugin/node_modules/base64-js/README.md +0 -34
  432. package/plugin/node_modules/base64-js/base64js.min.js +0 -1
  433. package/plugin/node_modules/base64-js/index.d.ts +0 -3
  434. package/plugin/node_modules/base64-js/index.js +0 -150
  435. package/plugin/node_modules/base64-js/package.json +0 -47
  436. package/plugin/node_modules/big-integer/BigInteger.d.ts +0 -2393
  437. package/plugin/node_modules/big-integer/BigInteger.js +0 -1453
  438. package/plugin/node_modules/big-integer/BigInteger.min.js +0 -1
  439. package/plugin/node_modules/big-integer/LICENSE +0 -24
  440. package/plugin/node_modules/big-integer/README.md +0 -589
  441. package/plugin/node_modules/big-integer/bower.json +0 -29
  442. package/plugin/node_modules/big-integer/package.json +0 -48
  443. package/plugin/node_modules/big-integer/tsconfig.json +0 -24
  444. package/plugin/node_modules/bplist-creator/LICENSE +0 -18
  445. package/plugin/node_modules/bplist-creator/README.md +0 -64
  446. package/plugin/node_modules/bplist-creator/bplistCreator.js +0 -460
  447. package/plugin/node_modules/bplist-creator/package.json +0 -28
  448. package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
  449. package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  450. package/plugin/node_modules/bplist-creator/test/creatorTest.js +0 -211
  451. package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  452. package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
  453. package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
  454. package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
  455. package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
  456. package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
  457. package/plugin/node_modules/bplist-parser/.editorconfig +0 -12
  458. package/plugin/node_modules/bplist-parser/.eslintignore +0 -1
  459. package/plugin/node_modules/bplist-parser/.eslintrc.js +0 -295
  460. package/plugin/node_modules/bplist-parser/README.md +0 -48
  461. package/plugin/node_modules/bplist-parser/bplistParser.d.ts +0 -6
  462. package/plugin/node_modules/bplist-parser/bplistParser.js +0 -366
  463. package/plugin/node_modules/bplist-parser/package.json +0 -35
  464. package/plugin/node_modules/brace-expansion/LICENSE +0 -21
  465. package/plugin/node_modules/brace-expansion/README.md +0 -129
  466. package/plugin/node_modules/brace-expansion/index.js +0 -201
  467. package/plugin/node_modules/brace-expansion/package.json +0 -50
  468. package/plugin/node_modules/chalk/index.d.ts +0 -415
  469. package/plugin/node_modules/chalk/license +0 -9
  470. package/plugin/node_modules/chalk/package.json +0 -68
  471. package/plugin/node_modules/chalk/readme.md +0 -341
  472. package/plugin/node_modules/chalk/source/index.js +0 -229
  473. package/plugin/node_modules/chalk/source/templates.js +0 -134
  474. package/plugin/node_modules/chalk/source/util.js +0 -39
  475. package/plugin/node_modules/color-convert/CHANGELOG.md +0 -54
  476. package/plugin/node_modules/color-convert/LICENSE +0 -21
  477. package/plugin/node_modules/color-convert/README.md +0 -68
  478. package/plugin/node_modules/color-convert/conversions.js +0 -839
  479. package/plugin/node_modules/color-convert/index.js +0 -81
  480. package/plugin/node_modules/color-convert/package.json +0 -48
  481. package/plugin/node_modules/color-convert/route.js +0 -97
  482. package/plugin/node_modules/color-name/LICENSE +0 -8
  483. package/plugin/node_modules/color-name/README.md +0 -11
  484. package/plugin/node_modules/color-name/index.js +0 -152
  485. package/plugin/node_modules/color-name/package.json +0 -28
  486. package/plugin/node_modules/concat-map/.travis.yml +0 -4
  487. package/plugin/node_modules/concat-map/LICENSE +0 -18
  488. package/plugin/node_modules/concat-map/README.markdown +0 -62
  489. package/plugin/node_modules/concat-map/example/map.js +0 -6
  490. package/plugin/node_modules/concat-map/index.js +0 -13
  491. package/plugin/node_modules/concat-map/package.json +0 -43
  492. package/plugin/node_modules/concat-map/test/map.js +0 -39
  493. package/plugin/node_modules/debug/LICENSE +0 -20
  494. package/plugin/node_modules/debug/README.md +0 -481
  495. package/plugin/node_modules/debug/package.json +0 -64
  496. package/plugin/node_modules/debug/src/browser.js +0 -272
  497. package/plugin/node_modules/debug/src/common.js +0 -292
  498. package/plugin/node_modules/debug/src/index.js +0 -10
  499. package/plugin/node_modules/debug/src/node.js +0 -263
  500. package/plugin/node_modules/escape-string-regexp/index.js +0 -11
  501. package/plugin/node_modules/escape-string-regexp/license +0 -21
  502. package/plugin/node_modules/escape-string-regexp/package.json +0 -41
  503. package/plugin/node_modules/escape-string-regexp/readme.md +0 -27
  504. package/plugin/node_modules/find-up/index.d.ts +0 -138
  505. package/plugin/node_modules/find-up/index.js +0 -89
  506. package/plugin/node_modules/find-up/license +0 -9
  507. package/plugin/node_modules/find-up/package.json +0 -54
  508. package/plugin/node_modules/find-up/readme.md +0 -151
  509. package/plugin/node_modules/fs.realpath/LICENSE +0 -43
  510. package/plugin/node_modules/fs.realpath/README.md +0 -33
  511. package/plugin/node_modules/fs.realpath/index.js +0 -66
  512. package/plugin/node_modules/fs.realpath/old.js +0 -303
  513. package/plugin/node_modules/fs.realpath/package.json +0 -26
  514. package/plugin/node_modules/getenv/LICENSE.md +0 -20
  515. package/plugin/node_modules/getenv/README.md +0 -197
  516. package/plugin/node_modules/getenv/index.js +0 -150
  517. package/plugin/node_modules/getenv/package.json +0 -38
  518. package/plugin/node_modules/glob/LICENSE +0 -21
  519. package/plugin/node_modules/glob/README.md +0 -375
  520. package/plugin/node_modules/glob/changelog.md +0 -67
  521. package/plugin/node_modules/glob/common.js +0 -240
  522. package/plugin/node_modules/glob/glob.js +0 -790
  523. package/plugin/node_modules/glob/package.json +0 -46
  524. package/plugin/node_modules/glob/sync.js +0 -486
  525. package/plugin/node_modules/graceful-fs/LICENSE +0 -15
  526. package/plugin/node_modules/graceful-fs/README.md +0 -143
  527. package/plugin/node_modules/graceful-fs/clone.js +0 -23
  528. package/plugin/node_modules/graceful-fs/graceful-fs.js +0 -448
  529. package/plugin/node_modules/graceful-fs/legacy-streams.js +0 -118
  530. package/plugin/node_modules/graceful-fs/package.json +0 -53
  531. package/plugin/node_modules/graceful-fs/polyfills.js +0 -355
  532. package/plugin/node_modules/has-flag/index.d.ts +0 -39
  533. package/plugin/node_modules/has-flag/index.js +0 -8
  534. package/plugin/node_modules/has-flag/license +0 -9
  535. package/plugin/node_modules/has-flag/package.json +0 -46
  536. package/plugin/node_modules/has-flag/readme.md +0 -89
  537. package/plugin/node_modules/imurmurhash/README.md +0 -122
  538. package/plugin/node_modules/imurmurhash/imurmurhash.js +0 -138
  539. package/plugin/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  540. package/plugin/node_modules/imurmurhash/package.json +0 -40
  541. package/plugin/node_modules/inflight/LICENSE +0 -15
  542. package/plugin/node_modules/inflight/README.md +0 -37
  543. package/plugin/node_modules/inflight/inflight.js +0 -54
  544. package/plugin/node_modules/inflight/package.json +0 -29
  545. package/plugin/node_modules/inherits/LICENSE +0 -16
  546. package/plugin/node_modules/inherits/README.md +0 -42
  547. package/plugin/node_modules/inherits/inherits.js +0 -9
  548. package/plugin/node_modules/inherits/inherits_browser.js +0 -27
  549. package/plugin/node_modules/inherits/package.json +0 -29
  550. package/plugin/node_modules/js-tokens/CHANGELOG.md +0 -151
  551. package/plugin/node_modules/js-tokens/LICENSE +0 -21
  552. package/plugin/node_modules/js-tokens/README.md +0 -240
  553. package/plugin/node_modules/js-tokens/index.js +0 -23
  554. package/plugin/node_modules/js-tokens/package.json +0 -30
  555. package/plugin/node_modules/json5/LICENSE.md +0 -23
  556. package/plugin/node_modules/json5/README.md +0 -282
  557. package/plugin/node_modules/json5/dist/index.js +0 -1737
  558. package/plugin/node_modules/json5/dist/index.min.js +0 -1
  559. package/plugin/node_modules/json5/dist/index.min.mjs +0 -1
  560. package/plugin/node_modules/json5/dist/index.mjs +0 -1426
  561. package/plugin/node_modules/json5/lib/cli.js +0 -152
  562. package/plugin/node_modules/json5/lib/index.d.ts +0 -4
  563. package/plugin/node_modules/json5/lib/index.js +0 -9
  564. package/plugin/node_modules/json5/lib/parse.d.ts +0 -15
  565. package/plugin/node_modules/json5/lib/parse.js +0 -1114
  566. package/plugin/node_modules/json5/lib/register.js +0 -13
  567. package/plugin/node_modules/json5/lib/require.js +0 -4
  568. package/plugin/node_modules/json5/lib/stringify.d.ts +0 -89
  569. package/plugin/node_modules/json5/lib/stringify.js +0 -261
  570. package/plugin/node_modules/json5/lib/unicode.d.ts +0 -3
  571. package/plugin/node_modules/json5/lib/unicode.js +0 -4
  572. package/plugin/node_modules/json5/lib/util.d.ts +0 -5
  573. package/plugin/node_modules/json5/lib/util.js +0 -35
  574. package/plugin/node_modules/json5/package.json +0 -72
  575. package/plugin/node_modules/locate-path/index.d.ts +0 -83
  576. package/plugin/node_modules/locate-path/index.js +0 -68
  577. package/plugin/node_modules/locate-path/license +0 -9
  578. package/plugin/node_modules/locate-path/package.json +0 -46
  579. package/plugin/node_modules/locate-path/readme.md +0 -125
  580. package/plugin/node_modules/minimatch/LICENSE +0 -15
  581. package/plugin/node_modules/minimatch/README.md +0 -230
  582. package/plugin/node_modules/minimatch/minimatch.js +0 -947
  583. package/plugin/node_modules/minimatch/package.json +0 -33
  584. package/plugin/node_modules/ms/index.js +0 -162
  585. package/plugin/node_modules/ms/license.md +0 -21
  586. package/plugin/node_modules/ms/package.json +0 -38
  587. package/plugin/node_modules/ms/readme.md +0 -59
  588. package/plugin/node_modules/once/LICENSE +0 -15
  589. package/plugin/node_modules/once/README.md +0 -79
  590. package/plugin/node_modules/once/once.js +0 -42
  591. package/plugin/node_modules/once/package.json +0 -33
  592. package/plugin/node_modules/p-limit/index.d.ts +0 -42
  593. package/plugin/node_modules/p-limit/index.js +0 -71
  594. package/plugin/node_modules/p-limit/license +0 -9
  595. package/plugin/node_modules/p-limit/package.json +0 -52
  596. package/plugin/node_modules/p-limit/readme.md +0 -101
  597. package/plugin/node_modules/p-locate/index.d.ts +0 -53
  598. package/plugin/node_modules/p-locate/index.js +0 -50
  599. package/plugin/node_modules/p-locate/license +0 -9
  600. package/plugin/node_modules/p-locate/package.json +0 -54
  601. package/plugin/node_modules/p-locate/readme.md +0 -93
  602. package/plugin/node_modules/path-exists/index.d.ts +0 -28
  603. package/plugin/node_modules/path-exists/index.js +0 -23
  604. package/plugin/node_modules/path-exists/license +0 -9
  605. package/plugin/node_modules/path-exists/package.json +0 -39
  606. package/plugin/node_modules/path-exists/readme.md +0 -52
  607. package/plugin/node_modules/path-is-absolute/index.js +0 -20
  608. package/plugin/node_modules/path-is-absolute/license +0 -21
  609. package/plugin/node_modules/path-is-absolute/package.json +0 -43
  610. package/plugin/node_modules/path-is-absolute/readme.md +0 -59
  611. package/plugin/node_modules/picocolors/LICENSE +0 -15
  612. package/plugin/node_modules/picocolors/README.md +0 -21
  613. package/plugin/node_modules/picocolors/package.json +0 -25
  614. package/plugin/node_modules/picocolors/picocolors.browser.js +0 -4
  615. package/plugin/node_modules/picocolors/picocolors.d.ts +0 -5
  616. package/plugin/node_modules/picocolors/picocolors.js +0 -75
  617. package/plugin/node_modules/picocolors/types.d.ts +0 -51
  618. package/plugin/node_modules/plist/.github/workflows/ci.yml +0 -24
  619. package/plugin/node_modules/plist/.jshintrc +0 -4
  620. package/plugin/node_modules/plist/History.md +0 -196
  621. package/plugin/node_modules/plist/LICENSE +0 -24
  622. package/plugin/node_modules/plist/Makefile +0 -75
  623. package/plugin/node_modules/plist/README.md +0 -146
  624. package/plugin/node_modules/plist/dist/plist-build.js +0 -5348
  625. package/plugin/node_modules/plist/dist/plist-parse.js +0 -7456
  626. package/plugin/node_modules/plist/dist/plist.js +0 -9888
  627. package/plugin/node_modules/plist/examples/browser/index.html +0 -14
  628. package/plugin/node_modules/plist/index.js +0 -13
  629. package/plugin/node_modules/plist/lib/build.js +0 -143
  630. package/plugin/node_modules/plist/lib/parse.js +0 -227
  631. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -459
  632. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +0 -8
  633. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
  634. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  635. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  636. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
  637. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
  638. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +0 -1840
  639. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  640. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  641. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
  642. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +0 -71
  643. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +0 -356
  644. package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +0 -6
  645. package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +0 -23
  646. package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +0 -593
  647. package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +0 -21
  648. package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +0 -103
  649. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  650. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  651. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  652. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  653. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +0 -88
  654. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  655. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  656. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  657. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  658. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  659. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  660. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  661. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  662. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  663. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  664. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  665. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  666. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  667. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  668. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  669. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  670. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  671. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  672. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  673. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  674. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  675. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  676. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  677. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  678. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  679. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  680. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  681. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  682. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -291
  683. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  684. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  685. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  686. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  687. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +0 -120
  688. package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +0 -51
  689. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  690. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  691. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +0 -161
  692. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +0 -11
  693. package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +0 -1771
  694. package/plugin/node_modules/plist/package.json +0 -44
  695. package/plugin/node_modules/resolve-from/index.d.ts +0 -31
  696. package/plugin/node_modules/resolve-from/index.js +0 -47
  697. package/plugin/node_modules/resolve-from/license +0 -9
  698. package/plugin/node_modules/resolve-from/package.json +0 -36
  699. package/plugin/node_modules/resolve-from/readme.md +0 -72
  700. package/plugin/node_modules/sax/LICENSE +0 -41
  701. package/plugin/node_modules/sax/README.md +0 -228
  702. package/plugin/node_modules/sax/lib/sax.js +0 -1597
  703. package/plugin/node_modules/sax/package.json +0 -29
  704. package/plugin/node_modules/semver/LICENSE +0 -15
  705. package/plugin/node_modules/semver/README.md +0 -664
  706. package/plugin/node_modules/semver/bin/semver.js +0 -191
  707. package/plugin/node_modules/semver/classes/comparator.js +0 -143
  708. package/plugin/node_modules/semver/classes/index.js +0 -7
  709. package/plugin/node_modules/semver/classes/range.js +0 -556
  710. package/plugin/node_modules/semver/classes/semver.js +0 -319
  711. package/plugin/node_modules/semver/functions/clean.js +0 -8
  712. package/plugin/node_modules/semver/functions/cmp.js +0 -54
  713. package/plugin/node_modules/semver/functions/coerce.js +0 -62
  714. package/plugin/node_modules/semver/functions/compare-build.js +0 -9
  715. package/plugin/node_modules/semver/functions/compare-loose.js +0 -5
  716. package/plugin/node_modules/semver/functions/compare.js +0 -7
  717. package/plugin/node_modules/semver/functions/diff.js +0 -60
  718. package/plugin/node_modules/semver/functions/eq.js +0 -5
  719. package/plugin/node_modules/semver/functions/gt.js +0 -5
  720. package/plugin/node_modules/semver/functions/gte.js +0 -5
  721. package/plugin/node_modules/semver/functions/inc.js +0 -21
  722. package/plugin/node_modules/semver/functions/lt.js +0 -5
  723. package/plugin/node_modules/semver/functions/lte.js +0 -5
  724. package/plugin/node_modules/semver/functions/major.js +0 -5
  725. package/plugin/node_modules/semver/functions/minor.js +0 -5
  726. package/plugin/node_modules/semver/functions/neq.js +0 -5
  727. package/plugin/node_modules/semver/functions/parse.js +0 -18
  728. package/plugin/node_modules/semver/functions/patch.js +0 -5
  729. package/plugin/node_modules/semver/functions/prerelease.js +0 -8
  730. package/plugin/node_modules/semver/functions/rcompare.js +0 -5
  731. package/plugin/node_modules/semver/functions/rsort.js +0 -5
  732. package/plugin/node_modules/semver/functions/satisfies.js +0 -12
  733. package/plugin/node_modules/semver/functions/sort.js +0 -5
  734. package/plugin/node_modules/semver/functions/valid.js +0 -8
  735. package/plugin/node_modules/semver/index.js +0 -91
  736. package/plugin/node_modules/semver/internal/constants.js +0 -37
  737. package/plugin/node_modules/semver/internal/debug.js +0 -11
  738. package/plugin/node_modules/semver/internal/identifiers.js +0 -25
  739. package/plugin/node_modules/semver/internal/lrucache.js +0 -42
  740. package/plugin/node_modules/semver/internal/parse-options.js +0 -17
  741. package/plugin/node_modules/semver/internal/re.js +0 -223
  742. package/plugin/node_modules/semver/package.json +0 -78
  743. package/plugin/node_modules/semver/preload.js +0 -4
  744. package/plugin/node_modules/semver/range.bnf +0 -16
  745. package/plugin/node_modules/semver/ranges/gtr.js +0 -6
  746. package/plugin/node_modules/semver/ranges/intersects.js +0 -9
  747. package/plugin/node_modules/semver/ranges/ltr.js +0 -6
  748. package/plugin/node_modules/semver/ranges/max-satisfying.js +0 -27
  749. package/plugin/node_modules/semver/ranges/min-satisfying.js +0 -26
  750. package/plugin/node_modules/semver/ranges/min-version.js +0 -63
  751. package/plugin/node_modules/semver/ranges/outside.js +0 -82
  752. package/plugin/node_modules/semver/ranges/simplify.js +0 -49
  753. package/plugin/node_modules/semver/ranges/subset.js +0 -249
  754. package/plugin/node_modules/semver/ranges/to-comparators.js +0 -10
  755. package/plugin/node_modules/semver/ranges/valid.js +0 -13
  756. package/plugin/node_modules/signal-exit/LICENSE.txt +0 -16
  757. package/plugin/node_modules/signal-exit/README.md +0 -39
  758. package/plugin/node_modules/signal-exit/index.js +0 -202
  759. package/plugin/node_modules/signal-exit/package.json +0 -38
  760. package/plugin/node_modules/signal-exit/signals.js +0 -53
  761. package/plugin/node_modules/simple-plist/LICENSE +0 -20
  762. package/plugin/node_modules/simple-plist/README.md +0 -130
  763. package/plugin/node_modules/simple-plist/dist/index.d.ts +0 -24
  764. package/plugin/node_modules/simple-plist/dist/index.js +0 -41
  765. package/plugin/node_modules/simple-plist/dist/parse.d.ts +0 -8
  766. package/plugin/node_modules/simple-plist/dist/parse.js +0 -45
  767. package/plugin/node_modules/simple-plist/dist/readFile.d.ts +0 -4
  768. package/plugin/node_modules/simple-plist/dist/readFile.js +0 -36
  769. package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +0 -3
  770. package/plugin/node_modules/simple-plist/dist/readFileSync.js +0 -26
  771. package/plugin/node_modules/simple-plist/dist/stringify.d.ts +0 -2
  772. package/plugin/node_modules/simple-plist/dist/stringify.js +0 -21
  773. package/plugin/node_modules/simple-plist/dist/types.d.ts +0 -4
  774. package/plugin/node_modules/simple-plist/dist/types.js +0 -12
  775. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +0 -5
  776. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +0 -30
  777. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +0 -4
  778. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +0 -22
  779. package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +0 -5
  780. package/plugin/node_modules/simple-plist/dist/writeFile.js +0 -30
  781. package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +0 -4
  782. package/plugin/node_modules/simple-plist/dist/writeFileSync.js +0 -23
  783. package/plugin/node_modules/simple-plist/package.json +0 -53
  784. package/plugin/node_modules/slash/index.d.ts +0 -25
  785. package/plugin/node_modules/slash/index.js +0 -11
  786. package/plugin/node_modules/slash/license +0 -9
  787. package/plugin/node_modules/slash/package.json +0 -35
  788. package/plugin/node_modules/slash/readme.md +0 -44
  789. package/plugin/node_modules/slugify/CHANGELOG.md +0 -94
  790. package/plugin/node_modules/slugify/LICENSE +0 -21
  791. package/plugin/node_modules/slugify/README.md +0 -98
  792. package/plugin/node_modules/slugify/package.json +0 -42
  793. package/plugin/node_modules/slugify/slugify.d.ts +0 -24
  794. package/plugin/node_modules/slugify/slugify.js +0 -69
  795. package/plugin/node_modules/stream-buffers/.mailmap +0 -2
  796. package/plugin/node_modules/stream-buffers/.travis.yml +0 -28
  797. package/plugin/node_modules/stream-buffers/README.md +0 -157
  798. package/plugin/node_modules/stream-buffers/UNLICENSE +0 -24
  799. package/plugin/node_modules/stream-buffers/coverage/coverage.json +0 -1
  800. package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
  801. package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
  802. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
  803. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
  804. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
  805. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
  806. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
  807. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
  808. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
  809. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  810. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
  811. package/plugin/node_modules/stream-buffers/coverage/lcov.info +0 -305
  812. package/plugin/node_modules/stream-buffers/lib/constants.js +0 -6
  813. package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -136
  814. package/plugin/node_modules/stream-buffers/lib/streambuffer.js +0 -3
  815. package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -97
  816. package/plugin/node_modules/stream-buffers/package.json +0 -28
  817. package/plugin/node_modules/supports-color/browser.js +0 -5
  818. package/plugin/node_modules/supports-color/index.js +0 -135
  819. package/plugin/node_modules/supports-color/license +0 -9
  820. package/plugin/node_modules/supports-color/package.json +0 -53
  821. package/plugin/node_modules/supports-color/readme.md +0 -76
  822. package/plugin/node_modules/typescript/LICENSE.txt +0 -55
  823. package/plugin/node_modules/typescript/README.md +0 -50
  824. package/plugin/node_modules/typescript/SECURITY.md +0 -41
  825. package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  826. package/plugin/node_modules/typescript/bin/tsc +0 -2
  827. package/plugin/node_modules/typescript/bin/tsserver +0 -2
  828. package/plugin/node_modules/typescript/lib/_tsc.js +0 -133792
  829. package/plugin/node_modules/typescript/lib/_tsserver.js +0 -659
  830. package/plugin/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  831. package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  832. package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  833. package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  834. package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  835. package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  836. package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  837. package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  838. package/plugin/node_modules/typescript/lib/lib.d.ts +0 -22
  839. package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  840. package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  841. package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  842. package/plugin/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  843. package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  844. package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  845. package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  846. package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  847. package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  848. package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  849. package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  850. package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  851. package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  852. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  853. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  854. package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  855. package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  856. package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  857. package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  858. package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  859. package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  860. package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  861. package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  862. package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  863. package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  864. package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  865. package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  866. package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  867. package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  868. package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  869. package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  870. package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  871. package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  872. package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  873. package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  874. package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  875. package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  876. package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  877. package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  878. package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  879. package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  880. package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  881. package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  882. package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  883. package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  884. package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  885. package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  886. package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  887. package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  888. package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  889. package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  890. package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  891. package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  892. package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  893. package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  894. package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  895. package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  896. package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  897. package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  898. package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  899. package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  900. package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  901. package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  902. package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  903. package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  904. package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  905. package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  906. package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  907. package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  908. package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  909. package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  910. package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  911. package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  912. package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  913. package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  914. package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  915. package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  916. package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  917. package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  918. package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  919. package/plugin/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  920. package/plugin/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  921. package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  922. package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  923. package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  924. package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  925. package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  926. package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  927. package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  928. package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  929. package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  930. package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  931. package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  932. package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  933. package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  934. package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  935. package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  936. package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  937. package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  938. package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  939. package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  940. package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  941. package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  942. package/plugin/node_modules/typescript/lib/tsc.js +0 -8
  943. package/plugin/node_modules/typescript/lib/tsserver.js +0 -8
  944. package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  945. package/plugin/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  946. package/plugin/node_modules/typescript/lib/typesMap.json +0 -497
  947. package/plugin/node_modules/typescript/lib/typescript.d.ts +0 -11438
  948. package/plugin/node_modules/typescript/lib/typescript.js +0 -200253
  949. package/plugin/node_modules/typescript/lib/typingsInstaller.js +0 -8
  950. package/plugin/node_modules/typescript/lib/watchGuard.js +0 -53
  951. package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  952. package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  953. package/plugin/node_modules/typescript/package.json +0 -120
  954. package/plugin/node_modules/undici-types/LICENSE +0 -21
  955. package/plugin/node_modules/undici-types/README.md +0 -6
  956. package/plugin/node_modules/undici-types/agent.d.ts +0 -31
  957. package/plugin/node_modules/undici-types/api.d.ts +0 -43
  958. package/plugin/node_modules/undici-types/balanced-pool.d.ts +0 -29
  959. package/plugin/node_modules/undici-types/cache.d.ts +0 -36
  960. package/plugin/node_modules/undici-types/client.d.ts +0 -108
  961. package/plugin/node_modules/undici-types/connector.d.ts +0 -34
  962. package/plugin/node_modules/undici-types/content-type.d.ts +0 -21
  963. package/plugin/node_modules/undici-types/cookies.d.ts +0 -28
  964. package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  965. package/plugin/node_modules/undici-types/dispatcher.d.ts +0 -256
  966. package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  967. package/plugin/node_modules/undici-types/errors.d.ts +0 -149
  968. package/plugin/node_modules/undici-types/eventsource.d.ts +0 -61
  969. package/plugin/node_modules/undici-types/fetch.d.ts +0 -209
  970. package/plugin/node_modules/undici-types/file.d.ts +0 -39
  971. package/plugin/node_modules/undici-types/filereader.d.ts +0 -54
  972. package/plugin/node_modules/undici-types/formdata.d.ts +0 -108
  973. package/plugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  974. package/plugin/node_modules/undici-types/global-origin.d.ts +0 -7
  975. package/plugin/node_modules/undici-types/handlers.d.ts +0 -15
  976. package/plugin/node_modules/undici-types/header.d.ts +0 -4
  977. package/plugin/node_modules/undici-types/index.d.ts +0 -71
  978. package/plugin/node_modules/undici-types/interceptors.d.ts +0 -17
  979. package/plugin/node_modules/undici-types/mock-agent.d.ts +0 -50
  980. package/plugin/node_modules/undici-types/mock-client.d.ts +0 -25
  981. package/plugin/node_modules/undici-types/mock-errors.d.ts +0 -12
  982. package/plugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  983. package/plugin/node_modules/undici-types/mock-pool.d.ts +0 -25
  984. package/plugin/node_modules/undici-types/package.json +0 -55
  985. package/plugin/node_modules/undici-types/patch.d.ts +0 -33
  986. package/plugin/node_modules/undici-types/pool-stats.d.ts +0 -19
  987. package/plugin/node_modules/undici-types/pool.d.ts +0 -39
  988. package/plugin/node_modules/undici-types/proxy-agent.d.ts +0 -28
  989. package/plugin/node_modules/undici-types/readable.d.ts +0 -65
  990. package/plugin/node_modules/undici-types/retry-agent.d.ts +0 -8
  991. package/plugin/node_modules/undici-types/retry-handler.d.ts +0 -116
  992. package/plugin/node_modules/undici-types/util.d.ts +0 -18
  993. package/plugin/node_modules/undici-types/webidl.d.ts +0 -228
  994. package/plugin/node_modules/undici-types/websocket.d.ts +0 -150
  995. package/plugin/node_modules/uuid/CHANGELOG.md +0 -156
  996. package/plugin/node_modules/uuid/CONTRIBUTING.md +0 -20
  997. package/plugin/node_modules/uuid/LICENSE.md +0 -21
  998. package/plugin/node_modules/uuid/README.md +0 -406
  999. package/plugin/node_modules/uuid/deprecate.js +0 -20
  1000. package/plugin/node_modules/uuid/dist/bin/uuid +0 -2
  1001. package/plugin/node_modules/uuid/dist/bytesToUuid.js +0 -27
  1002. package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +0 -18
  1003. package/plugin/node_modules/uuid/dist/esm-browser/index.js +0 -4
  1004. package/plugin/node_modules/uuid/dist/esm-browser/md5.js +0 -218
  1005. package/plugin/node_modules/uuid/dist/esm-browser/rng.js +0 -15
  1006. package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +0 -91
  1007. package/plugin/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  1008. package/plugin/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  1009. package/plugin/node_modules/uuid/dist/esm-browser/v35.js +0 -56
  1010. package/plugin/node_modules/uuid/dist/esm-browser/v4.js +0 -27
  1011. package/plugin/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  1012. package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +0 -18
  1013. package/plugin/node_modules/uuid/dist/esm-node/index.js +0 -4
  1014. package/plugin/node_modules/uuid/dist/esm-node/md5.js +0 -13
  1015. package/plugin/node_modules/uuid/dist/esm-node/rng.js +0 -4
  1016. package/plugin/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  1017. package/plugin/node_modules/uuid/dist/esm-node/v1.js +0 -95
  1018. package/plugin/node_modules/uuid/dist/esm-node/v3.js +0 -4
  1019. package/plugin/node_modules/uuid/dist/esm-node/v35.js +0 -56
  1020. package/plugin/node_modules/uuid/dist/esm-node/v4.js +0 -27
  1021. package/plugin/node_modules/uuid/dist/esm-node/v5.js +0 -4
  1022. package/plugin/node_modules/uuid/dist/index.js +0 -39
  1023. package/plugin/node_modules/uuid/dist/md5-browser.js +0 -225
  1024. package/plugin/node_modules/uuid/dist/md5.js +0 -24
  1025. package/plugin/node_modules/uuid/dist/rng-browser.js +0 -23
  1026. package/plugin/node_modules/uuid/dist/rng.js +0 -16
  1027. package/plugin/node_modules/uuid/dist/sha1-browser.js +0 -96
  1028. package/plugin/node_modules/uuid/dist/sha1.js +0 -24
  1029. package/plugin/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  1030. package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  1031. package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  1032. package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  1033. package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  1034. package/plugin/node_modules/uuid/dist/uuid-bin.js +0 -67
  1035. package/plugin/node_modules/uuid/dist/v1.js +0 -108
  1036. package/plugin/node_modules/uuid/dist/v3.js +0 -17
  1037. package/plugin/node_modules/uuid/dist/v35.js +0 -69
  1038. package/plugin/node_modules/uuid/dist/v4.js +0 -41
  1039. package/plugin/node_modules/uuid/dist/v5.js +0 -17
  1040. package/plugin/node_modules/uuid/package.json +0 -115
  1041. package/plugin/node_modules/uuid/v1.js +0 -8
  1042. package/plugin/node_modules/uuid/v3.js +0 -8
  1043. package/plugin/node_modules/uuid/v4.js +0 -8
  1044. package/plugin/node_modules/uuid/v5.js +0 -8
  1045. package/plugin/node_modules/wrappy/LICENSE +0 -15
  1046. package/plugin/node_modules/wrappy/README.md +0 -36
  1047. package/plugin/node_modules/wrappy/package.json +0 -29
  1048. package/plugin/node_modules/wrappy/wrappy.js +0 -33
  1049. package/plugin/node_modules/write-file-atomic/CHANGELOG.md +0 -25
  1050. package/plugin/node_modules/write-file-atomic/LICENSE +0 -6
  1051. package/plugin/node_modules/write-file-atomic/README.md +0 -56
  1052. package/plugin/node_modules/write-file-atomic/index.js +0 -238
  1053. package/plugin/node_modules/write-file-atomic/package.json +0 -41
  1054. package/plugin/node_modules/xcode/AUTHORS +0 -6
  1055. package/plugin/node_modules/xcode/CONTRIBUTING.md +0 -37
  1056. package/plugin/node_modules/xcode/LICENSE +0 -202
  1057. package/plugin/node_modules/xcode/Makefile +0 -24
  1058. package/plugin/node_modules/xcode/NOTICE +0 -5
  1059. package/plugin/node_modules/xcode/README.md +0 -72
  1060. package/plugin/node_modules/xcode/RELEASENOTES.md +0 -77
  1061. package/plugin/node_modules/xcode/index.js +0 -18
  1062. package/plugin/node_modules/xcode/lib/parseJob.js +0 -32
  1063. package/plugin/node_modules/xcode/lib/parser/pbxproj.js +0 -1904
  1064. package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +0 -280
  1065. package/plugin/node_modules/xcode/lib/pbxFile.js +0 -233
  1066. package/plugin/node_modules/xcode/lib/pbxProject.js +0 -2201
  1067. package/plugin/node_modules/xcode/lib/pbxWriter.js +0 -309
  1068. package/plugin/node_modules/xcode/package.json +0 -61
  1069. package/plugin/node_modules/xml2js/LICENSE +0 -19
  1070. package/plugin/node_modules/xml2js/README.md +0 -507
  1071. package/plugin/node_modules/xml2js/lib/bom.js +0 -12
  1072. package/plugin/node_modules/xml2js/lib/builder.js +0 -127
  1073. package/plugin/node_modules/xml2js/lib/defaults.js +0 -72
  1074. package/plugin/node_modules/xml2js/lib/parser.js +0 -396
  1075. package/plugin/node_modules/xml2js/lib/processors.js +0 -34
  1076. package/plugin/node_modules/xml2js/lib/xml2js.js +0 -39
  1077. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
  1078. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
  1079. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
  1080. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
  1081. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1082. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1083. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
  1084. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1085. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
  1086. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1087. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
  1088. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
  1089. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
  1090. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
  1091. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
  1092. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
  1093. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
  1094. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
  1095. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
  1096. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
  1097. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
  1098. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
  1099. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
  1100. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
  1101. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
  1102. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
  1103. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
  1104. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
  1105. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
  1106. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
  1107. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
  1108. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
  1109. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
  1110. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
  1111. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
  1112. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
  1113. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
  1114. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
  1115. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
  1116. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
  1117. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
  1118. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
  1119. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
  1120. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
  1121. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
  1122. package/plugin/node_modules/xml2js/package.json +0 -93
  1123. package/plugin/node_modules/xmlbuilder/.nycrc +0 -6
  1124. package/plugin/node_modules/xmlbuilder/CHANGELOG.md +0 -568
  1125. package/plugin/node_modules/xmlbuilder/LICENSE +0 -21
  1126. package/plugin/node_modules/xmlbuilder/README.md +0 -103
  1127. package/plugin/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1128. package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1129. package/plugin/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  1130. package/plugin/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1131. package/plugin/node_modules/xmlbuilder/lib/Utility.js +0 -88
  1132. package/plugin/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1133. package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  1134. package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  1135. package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  1136. package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  1137. package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  1138. package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  1139. package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  1140. package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  1141. package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  1142. package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  1143. package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  1144. package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  1145. package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  1146. package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  1147. package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  1148. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  1149. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  1150. package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  1151. package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  1152. package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  1153. package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  1154. package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  1155. package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  1156. package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  1157. package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  1158. package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  1159. package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  1160. package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -287
  1161. package/plugin/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  1162. package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  1163. package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  1164. package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  1165. package/plugin/node_modules/xmlbuilder/lib/index.js +0 -120
  1166. package/plugin/node_modules/xmlbuilder/package.json +0 -51
  1167. package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  1168. package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  1169. package/plugin/node_modules/xmlbuilder/perf/index.coffee +0 -161
  1170. package/plugin/node_modules/xmlbuilder/perf/perf.list +0 -11
  1171. package/plugin/node_modules/xmlbuilder/typings/index.d.ts +0 -1761
  1172. package/plugin/node_modules/yocto-queue/index.d.ts +0 -56
  1173. package/plugin/node_modules/yocto-queue/index.js +0 -68
  1174. package/plugin/node_modules/yocto-queue/license +0 -9
  1175. package/plugin/node_modules/yocto-queue/package.json +0 -43
  1176. package/plugin/node_modules/yocto-queue/readme.md +0 -64
  1177. package/plugin/package-lock.json +0 -763
  1178. package/plugin/src/withVolumeKeyIntercept.ts +0 -184
  1179. package/plugin/tsconfig.json +0 -18
  1180. package/plugin/tsconfig.tsbuildinfo +0 -1
  1181. package/src/ReactNativeKookit.types.ts +0 -24
  1182. package/src/ReactNativeKookitModule.ts +0 -36
  1183. package/src/ReactNativeKookitModule.web.ts +0 -48
  1184. package/src/ReactNativeKookitView.tsx +0 -11
  1185. package/src/ReactNativeKookitView.web.tsx +0 -15
  1186. package/src/index.ts +0 -5
  1187. package/test-volume-keys.sh +0 -25
  1188. package/tsconfig.json +0 -9
@@ -1,6 +0,0 @@
1
- import { ResourceItemXML, ResourceKind, ResourceXML } from './Resources';
2
- export declare function getProjectStringsXMLPathAsync(projectRoot: string, { kind }?: {
3
- kind?: ResourceKind;
4
- }): Promise<string>;
5
- export declare function setStringItem(itemToAdd: ResourceItemXML[], stringFileContentsJSON: ResourceXML): ResourceXML;
6
- export declare function removeStringItem(named: string, stringFileContentsJSON: ResourceXML): ResourceXML;
@@ -1,54 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getProjectStringsXMLPathAsync = getProjectStringsXMLPathAsync;
7
- exports.removeStringItem = removeStringItem;
8
- exports.setStringItem = setStringItem;
9
- function _Paths() {
10
- const data = require("./Paths");
11
- _Paths = function () {
12
- return data;
13
- };
14
- return data;
15
- }
16
- async function getProjectStringsXMLPathAsync(projectRoot, {
17
- kind
18
- } = {}) {
19
- return (0, _Paths().getResourceXMLPathAsync)(projectRoot, {
20
- kind,
21
- name: 'strings'
22
- });
23
- }
24
- function setStringItem(itemToAdd, stringFileContentsJSON) {
25
- if (!stringFileContentsJSON?.resources?.string) {
26
- if (!stringFileContentsJSON.resources || typeof stringFileContentsJSON.resources === 'string') {
27
- // file was empty and JSON is `{resources : ''}`
28
- stringFileContentsJSON.resources = {};
29
- }
30
- stringFileContentsJSON.resources.string = itemToAdd;
31
- return stringFileContentsJSON;
32
- }
33
- for (const newItem of itemToAdd) {
34
- const stringNameExists = stringFileContentsJSON.resources.string.findIndex(e => e.$.name === newItem.$.name);
35
- if (stringNameExists > -1) {
36
- // replace the previous item
37
- stringFileContentsJSON.resources.string[stringNameExists] = newItem;
38
- } else {
39
- stringFileContentsJSON.resources.string = stringFileContentsJSON.resources.string.concat(newItem);
40
- }
41
- }
42
- return stringFileContentsJSON;
43
- }
44
- function removeStringItem(named, stringFileContentsJSON) {
45
- if (stringFileContentsJSON?.resources?.string) {
46
- const stringNameExists = stringFileContentsJSON.resources.string.findIndex(e => e.$.name === named);
47
- if (stringNameExists > -1) {
48
- // replace the previous value
49
- stringFileContentsJSON.resources.string.splice(stringNameExists, 1);
50
- }
51
- }
52
- return stringFileContentsJSON;
53
- }
54
- //# sourceMappingURL=Strings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Strings.js","names":["_Paths","data","require","getProjectStringsXMLPathAsync","projectRoot","kind","getResourceXMLPathAsync","name","setStringItem","itemToAdd","stringFileContentsJSON","resources","string","newItem","stringNameExists","findIndex","e","$","concat","removeStringItem","named","splice"],"sources":["../../src/android/Strings.ts"],"sourcesContent":["import { getResourceXMLPathAsync } from './Paths';\nimport { ResourceItemXML, ResourceKind, ResourceXML } from './Resources';\n\nexport async function getProjectStringsXMLPathAsync(\n projectRoot: string,\n { kind }: { kind?: ResourceKind } = {}\n): Promise<string> {\n return getResourceXMLPathAsync(projectRoot, { kind, name: 'strings' });\n}\n\nexport function setStringItem(\n itemToAdd: ResourceItemXML[],\n stringFileContentsJSON: ResourceXML\n): ResourceXML {\n if (!stringFileContentsJSON?.resources?.string) {\n if (!stringFileContentsJSON.resources || typeof stringFileContentsJSON.resources === 'string') {\n // file was empty and JSON is `{resources : ''}`\n stringFileContentsJSON.resources = {};\n }\n stringFileContentsJSON.resources.string = itemToAdd;\n return stringFileContentsJSON;\n }\n\n for (const newItem of itemToAdd) {\n const stringNameExists = stringFileContentsJSON.resources.string.findIndex(\n (e: ResourceItemXML) => e.$.name === newItem.$.name\n );\n if (stringNameExists > -1) {\n // replace the previous item\n stringFileContentsJSON.resources.string[stringNameExists] = newItem;\n } else {\n stringFileContentsJSON.resources.string =\n stringFileContentsJSON.resources.string.concat(newItem);\n }\n }\n return stringFileContentsJSON;\n}\n\nexport function removeStringItem(named: string, stringFileContentsJSON: ResourceXML): ResourceXML {\n if (stringFileContentsJSON?.resources?.string) {\n const stringNameExists = stringFileContentsJSON.resources.string.findIndex(\n (e: ResourceItemXML) => e.$.name === named\n );\n if (stringNameExists > -1) {\n // replace the previous value\n stringFileContentsJSON.resources.string.splice(stringNameExists, 1);\n }\n }\n return stringFileContentsJSON;\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGO,eAAeE,6BAA6BA,CACjDC,WAAmB,EACnB;EAAEC;AAA8B,CAAC,GAAG,CAAC,CAAC,EACrB;EACjB,OAAO,IAAAC,gCAAuB,EAACF,WAAW,EAAE;IAAEC,IAAI;IAAEE,IAAI,EAAE;EAAU,CAAC,CAAC;AACxE;AAEO,SAASC,aAAaA,CAC3BC,SAA4B,EAC5BC,sBAAmC,EACtB;EACb,IAAI,C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61 +0,0 @@
1
- import { ResourceGroupXML, ResourceItemXML, ResourceKind, ResourceXML } from './Resources';
2
- export declare function readStylesXMLAsync({ path, fallback, }: {
3
- path: string;
4
- fallback?: string | null;
5
- }): Promise<ResourceXML>;
6
- export declare function getProjectStylesXMLPathAsync(projectRoot: string, { kind }?: {
7
- kind?: ResourceKind;
8
- }): Promise<string>;
9
- export declare function getStyleParent(xml: ResourceXML, group: {
10
- name: string;
11
- parent?: string;
12
- }): ResourceGroupXML | null;
13
- export declare function getStylesItem({ name, xml, parent, }: {
14
- name: string;
15
- xml: ResourceXML;
16
- parent: {
17
- name: string;
18
- parent?: string;
19
- };
20
- }): ResourceItemXML | null;
21
- export declare function setStylesItem({ item, xml, parent, }: {
22
- item: ResourceItemXML;
23
- xml: ResourceXML;
24
- parent: {
25
- name: string;
26
- parent: string;
27
- };
28
- }): ResourceXML;
29
- export declare function removeStylesItem({ name, xml, parent, }: {
30
- name: string;
31
- xml: ResourceXML;
32
- parent: {
33
- name: string;
34
- parent: string;
35
- };
36
- }): ResourceXML;
37
- export declare function getAppThemeLightNoActionBarGroup(): {
38
- name: string;
39
- parent: string;
40
- };
41
- export declare function assignStylesValue(xml: ResourceXML, { add, value, targetApi, name, parent, }: {
42
- add: boolean;
43
- value: string;
44
- targetApi?: string;
45
- name: string;
46
- parent: {
47
- name: string;
48
- parent: string;
49
- };
50
- }): ResourceXML;
51
- /**
52
- * Helper to convert a styles.xml parent's children into a simple k/v pair.
53
- * Added for testing purposes.
54
- *
55
- * @param xml
56
- * @returns
57
- */
58
- export declare function getStylesGroupAsObject(xml: ResourceXML, group: {
59
- name: string;
60
- parent?: string;
61
- }): Record<string, string> | null;
@@ -1,169 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.assignStylesValue = assignStylesValue;
7
- exports.getAppThemeLightNoActionBarGroup = getAppThemeLightNoActionBarGroup;
8
- exports.getProjectStylesXMLPathAsync = getProjectStylesXMLPathAsync;
9
- exports.getStyleParent = getStyleParent;
10
- exports.getStylesGroupAsObject = getStylesGroupAsObject;
11
- exports.getStylesItem = getStylesItem;
12
- exports.readStylesXMLAsync = readStylesXMLAsync;
13
- exports.removeStylesItem = removeStylesItem;
14
- exports.setStylesItem = setStylesItem;
15
- function _Paths() {
16
- const data = require("./Paths");
17
- _Paths = function () {
18
- return data;
19
- };
20
- return data;
21
- }
22
- function _Resources() {
23
- const data = require("./Resources");
24
- _Resources = function () {
25
- return data;
26
- };
27
- return data;
28
- }
29
- // Adds support for `tools:x`
30
- const fallbackResourceString = `<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>`;
31
- async function readStylesXMLAsync({
32
- path,
33
- fallback = fallbackResourceString
34
- }) {
35
- return (0, _Resources().readResourcesXMLAsync)({
36
- path,
37
- fallback
38
- });
39
- }
40
- async function getProjectStylesXMLPathAsync(projectRoot, {
41
- kind
42
- } = {}) {
43
- return (0, _Paths().getResourceXMLPathAsync)(projectRoot, {
44
- kind,
45
- name: 'styles'
46
- });
47
- }
48
- function ensureDefaultStyleResourceXML(xml) {
49
- xml = (0, _Resources().ensureDefaultResourceXML)(xml);
50
- if (!Array.isArray(xml?.resources?.style)) {
51
- xml.resources.style = [];
52
- }
53
- return xml;
54
- }
55
- function getStyleParent(xml, group) {
56
- return (0, _Resources().findResourceGroup)(xml.resources.style, group);
57
- }
58
- function getStylesItem({
59
- name,
60
- xml,
61
- parent
62
- }) {
63
- xml = ensureDefaultStyleResourceXML(xml);
64
- const appTheme = getStyleParent(xml, parent);
65
- if (!appTheme) {
66
- return null;
67
- }
68
- if (appTheme.item) {
69
- const existingItem = appTheme.item.filter(({
70
- $: head
71
- }) => head.name === name)[0];
72
-
73
- // Don't want to 2 of the same item, so if one exists, we overwrite it
74
- if (existingItem) {
75
- return existingItem;
76
- }
77
- }
78
- return null;
79
- }
80
- function setStylesItem({
81
- item,
82
- xml,
83
- parent
84
- }) {
85
- xml = ensureDefaultStyleResourceXML(xml);
86
- let appTheme = getStyleParent(xml, parent);
87
- if (!appTheme) {
88
- appTheme = (0, _Resources().buildResourceGroup)(parent);
89
- xml.resources.style.push(appTheme);
90
- }
91
- if (appTheme.item) {
92
- const existingItem = appTheme.item.filter(({
93
- $: head
94
- }) => head.name === item.$.name)[0];
95
-
96
- // Don't want to 2 of the same item, so if one exists, we overwrite it
97
- if (existingItem) {
98
- existingItem._ = item._;
99
- existingItem.$ = item.$;
100
- } else {
101
- appTheme.item.push(item);
102
- }
103
- } else {
104
- appTheme.item = [item];
105
- }
106
- return xml;
107
- }
108
- function removeStylesItem({
109
- name,
110
- xml,
111
- parent
112
- }) {
113
- xml = ensureDefaultStyleResourceXML(xml);
114
- const appTheme = getStyleParent(xml, parent);
115
- if (appTheme?.item) {
116
- const index = appTheme.item.findIndex(({
117
- $: head
118
- }) => head.name === name);
119
- if (index > -1) {
120
- appTheme.item.splice(index, 1);
121
- }
122
- }
123
- return xml;
124
- }
125
-
126
- // This is a very common theme so make it reusable.
127
- function getAppThemeLightNoActionBarGroup() {
128
- return {
129
- name: 'AppTheme',
130
- parent: 'Theme.AppCompat.Light.NoActionBar'
131
- };
132
- }
133
- function assignStylesValue(xml, {
134
- add,
135
- value,
136
- targetApi,
137
- name,
138
- parent
139
- }) {
140
- if (add) {
141
- return setStylesItem({
142
- xml,
143
- parent,
144
- item: (0, _Resources().buildResourceItem)({
145
- name,
146
- targetApi,
147
- value
148
- })
149
- });
150
- }
151
- return removeStylesItem({
152
- xml,
153
- parent,
154
- name
155
- });
156
- }
157
-
158
- /**
159
- * Helper to convert a styles.xml parent's children into a simple k/v pair.
160
- * Added for testing purposes.
161
- *
162
- * @param xml
163
- * @returns
164
- */
165
- function getStylesGroupAsObject(xml, group) {
166
- const xmlGroup = getStyleParent(xml, group);
167
- return xmlGroup?.item ? (0, _Resources().getResourceItemsAsObject)(xmlGroup.item) : null;
168
- }
169
- //# sourceMappingURL=Styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Styles.js","names":["_Paths","data","require","_Resources","fallbackResourceString","readStylesXMLAsync","path","fallback","readResourcesXMLAsync","getProjectStylesXMLPathAsync","projectRoot","kind","getResourceXMLPathAsync","name","ensureDefaultStyleResourceXML","xml","ensureDefaultResourceXML","Array","isArray","resources","style","getStyleParent","group","findResourceGroup","getStylesItem","parent","appTheme","item","existingItem","filter","$","head","setStylesItem","buildResourceGroup","push","_","removeStylesItem","index","findIndex","splice","getAppThemeLightNoActionBarGroup","assignStylesValue","add","value","targetApi","buildResourceItem","getStylesGroupAsObject","xmlGroup","getResourceItemsAsObject"],"sources":["../../src/android/Styles.ts"],"sourcesContent":["import { getResourceXMLPathAsync } from './Paths';\nimport {\n buildResourceGroup,\n buildResourceItem,\n ensureDefaultResourceXML,\n findResourceGroup,\n getResourceItemsAsObject,\n readResourcesXMLAsync,\n ResourceGroupXML,\n ResourceItemXML,\n ResourceKind,\n ResourceXML,\n} from './Resources';\n\n// Adds support for `tools:x`\nconst fallbackResourceString = `<?xml version=\"1.0\" encoding=\"utf-8\"?><resources xmlns:tools=\"http://schemas.android.com/tools\"></resources>`;\n\nexport async function readStylesXMLAsync({\n path,\n fallback = fallbackResourceString,\n}: {\n path: string;\n fallback?: string | null;\n}): Promise<ResourceXML> {\n return readResourcesXMLAsync({ path, fallback });\n}\n\nexport async function getProjectStylesXMLPathAsync(\n projectRoot: string,\n { kind }: { kind?: ResourceKind } = {}\n): Promise<string> {\n return getResourceXMLPathAsync(projectRoot, { kind, name: 'styles' });\n}\n\nfunction ensureDefaultStyleResourceXML(xml: ResourceXML): ResourceXML {\n xml = ensureDefaultResourceXML(xml);\n if (!Array.isArray(xml?.resources?.style)) {\n xml.resources.style = [];\n }\n return xml;\n}\n\nexport function getStyleParent(\n xml: ResourceXML,\n group: { name: string; parent?: string }\n): ResourceGroupXML | null {\n return findResourceGroup(xml.resources.style, group);\n}\n\nexport function getStylesItem({\n name,\n xml,\n parent,\n}: {\n name: string;\n xml: ResourceXML;\n parent: { name: string; parent?: string };\n}): ResourceItemXML | null {\n xml = ensureDefaultStyleResourceXML(xml);\n\n const appTheme = getStyleParent(xml, parent);\n\n if (!appTheme) {\n return null;\n }\n\n if (appTheme.item) {\n const existingItem = appTheme.item.filter(({ $: head }) => head.name === name)[0];\n\n // Don't want to 2 of the same item, so if one exists, we overwrite it\n if (existingItem) {\n return existingItem;\n }\n }\n return null;\n}\n\nexport function setStylesItem({\n item,\n xml,\n parent,\n}: {\n item: ResourceItemXML;\n xml: ResourceXML;\n parent: { name: string; parent: string };\n}): ResourceXML {\n xml = ensureDefaultStyleResourceXML(xml);\n\n let appTheme = getStyleParent(xml, parent);\n\n if (!appTheme) {\n appTheme = buildResourceGroup(parent);\n xml.resources!.style!.push(appTheme);\n }\n\n if (appTheme.item) {\n const existingItem = appTheme.item.filter(({ $: head }) => head.name === item.$.name)[0];\n\n // Don't want to 2 of the same item, so if one exists, we overwrite it\n if (existingItem) {\n existingItem._ = item._;\n existingItem.$ = item.$;\n } else {\n appTheme.item.push(item);\n }\n } else {\n appTheme.item = [item];\n }\n return xml;\n}\n\nexport function removeStylesItem({\n name,\n xml,\n parent,\n}: {\n name: string;\n xml: ResourceXML;\n parent: { name: string; parent: string };\n}): ResourceXML {\n xml = ensureDefaultStyleResourceXML(xml);\n const appTheme = getStyleParent(xml, parent);\n if (appTheme?.item) {\n const index = appTheme.item.findIndex(({ $: head }: ResourceItemXML) => head.name === name);\n if (index > -1) {\n appTheme.item.splice(index, 1);\n }\n }\n return xml;\n}\n\n// This is a very common theme so make it reusable.\nexport function getAppThemeLightNoActionBarGroup() {\n return { name: 'AppTheme', parent: 'Theme.AppCompat.Light.NoActionBar' };\n}\n\nexport function assignStylesValue(\n xml: ResourceXML,\n {\n add,\n value,\n targetApi,\n name,\n parent,\n }: {\n add: boolean;\n value: string;\n targetApi?: string;\n name: string;\n parent: { name: string; parent: string };\n }\n): ResourceXML {\n if (add) {\n return setStylesItem({\n xml,\n parent,\n item: buildResourceItem({\n name,\n targetApi,\n value,\n }),\n });\n }\n return removeStylesItem({\n xml,\n parent,\n name,\n });\n}\n\n/**\n * Helper to convert a styles.xml parent's children into a simple k/v pair.\n * Added for testing purposes.\n *\n * @param xml\n * @returns\n */\nexport function getStylesGroupAsObject(\n xml: ResourceXML,\n group: { name: string; parent?: string }\n): Record<string, string> | null {\n const xmlGroup = getStyleParent(xml, group);\n return xmlGroup?.item ? getResourceItemsAsObject(xmlGroup.item) : null;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAaA;AACA,MAAMG,sBAAsB,GAAG,8GAA8G;AAEtI,eAAeC,kBAAkBA,CAAC;EACvCC,IAAI;EACJC,QAAQ,GAAGH;AAIb,CAAC,EAAwB;EACvB,OAAO,IAAAI,kCAAqB,EAAC;IAAEF,IAAI;IAAEC;EAAS,CAAC,CAAC;AAClD;AAEO,eAAeE,4BAA4BA,CAChDC,WAAmB,EACnB;EAAEC;AAA8B,CAAC,GAAG,CAAC,CAAC,EACrB;EACjB,OAAO,IAAAC,gCAAuB,EAACF,WAAW,EAAE;IAAEC,IAAI;IAAEE,IAAI,EAAE;EAAS,CAAC,CAAC;AACvE;AAEA,SAASC,6BAA6BA,CAACC,GAAgB,EAAe;EACpEA,GAAG,GAAG,IAAAC,qCAAwB,EAACD,GAAG,CAAC;EACnC,IAAI,CAACE,KAAK,CAACC,OAAO,CAACH,GAAG,EAAEI,SAAS,EAAEC,KAAK,CAAC,EAAE;IACzCL,GAAG,CAACI,SAAS,CAACC,KAAK,GAAG,EAAE;EAC1B;EACA,OAAOL,GAAG;AACZ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AAI;QACJ+B,SAAS;QACTD;MACF,CAAC;IACH,CAAC,CAAC;EACJ;EACA,OAAOP,gBAAgB,CAAC;IACtBrB,GAAG;IACHU,MAAM;IACNZ;EACF,CAAC,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASiC,sBAAsBA,CACpC/B,GAAgB,EAChBO,KAAwC,EACT;EAC/B,MAAMyB,QAAQ,GAAG1B,cAAc,CAACN,GAAG,EAAEO,KAAK,CAAC;EAC3C,OAAOyB,QAAQ,EAAEpB,IAAI,GAAG,IAAAqB,qCAAwB,EAACD,QAAQ,CAACpB,IAAI,CAAC,GAAG,IAAI;AACxE","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- import { Resources } from '.';
2
- import { AndroidManifest } from './Manifest';
3
- import { ResourceXML } from './Resources';
4
- import { ConfigPlugin, ExportedConfigWithProps } from '../Plugin.types';
5
- import { ExpoConfigUpdates } from '../utils/Updates';
6
- export declare enum Config {
7
- ENABLED = "expo.modules.updates.ENABLED",
8
- CHECK_ON_LAUNCH = "expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH",
9
- LAUNCH_WAIT_MS = "expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS",
10
- RUNTIME_VERSION = "expo.modules.updates.EXPO_RUNTIME_VERSION",
11
- UPDATE_URL = "expo.modules.updates.EXPO_UPDATE_URL",
12
- UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY = "expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY",
13
- UPDATES_HAS_EMBEDDED_UPDATE = "expo.modules.updates.HAS_EMBEDDED_UPDATE",
14
- CODE_SIGNING_CERTIFICATE = "expo.modules.updates.CODE_SIGNING_CERTIFICATE",
15
- CODE_SIGNING_METADATA = "expo.modules.updates.CODE_SIGNING_METADATA"
16
- }
17
- export declare const withUpdates: ConfigPlugin;
18
- export declare function applyRuntimeVersionFromConfigAsync(config: ExportedConfigWithProps<Resources.ResourceXML>, stringsJSON: ResourceXML): Promise<ResourceXML>;
19
- export declare function applyRuntimeVersionFromConfigForProjectRootAsync(projectRoot: string, config: ExpoConfigUpdates, stringsJSON: ResourceXML): Promise<ResourceXML>;
20
- export declare function setUpdatesConfigAsync(projectRoot: string, config: ExpoConfigUpdates, androidManifest: AndroidManifest, expoUpdatesPackageVersion?: string | null): Promise<AndroidManifest>;
21
- export declare function setVersionsConfigAsync(projectRoot: string, config: Pick<ExpoConfigUpdates, 'sdkVersion' | 'runtimeVersion'>, androidManifest: AndroidManifest): Promise<AndroidManifest>;
@@ -1,159 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Config = void 0;
7
- exports.applyRuntimeVersionFromConfigAsync = applyRuntimeVersionFromConfigAsync;
8
- exports.applyRuntimeVersionFromConfigForProjectRootAsync = applyRuntimeVersionFromConfigForProjectRootAsync;
9
- exports.setUpdatesConfigAsync = setUpdatesConfigAsync;
10
- exports.setVersionsConfigAsync = setVersionsConfigAsync;
11
- exports.withUpdates = void 0;
12
- function _Manifest() {
13
- const data = require("./Manifest");
14
- _Manifest = function () {
15
- return data;
16
- };
17
- return data;
18
- }
19
- function _Resources() {
20
- const data = require("./Resources");
21
- _Resources = function () {
22
- return data;
23
- };
24
- return data;
25
- }
26
- function _Strings() {
27
- const data = require("./Strings");
28
- _Strings = function () {
29
- return data;
30
- };
31
- return data;
32
- }
33
- function _androidPlugins() {
34
- const data = require("../plugins/android-plugins");
35
- _androidPlugins = function () {
36
- return data;
37
- };
38
- return data;
39
- }
40
- function _withPlugins() {
41
- const data = require("../plugins/withPlugins");
42
- _withPlugins = function () {
43
- return data;
44
- };
45
- return data;
46
- }
47
- function _Updates() {
48
- const data = require("../utils/Updates");
49
- _Updates = function () {
50
- return data;
51
- };
52
- return data;
53
- }
54
- function _warnings() {
55
- const data = require("../utils/warnings");
56
- _warnings = function () {
57
- return data;
58
- };
59
- return data;
60
- }
61
- let Config = exports.Config = /*#__PURE__*/function (Config) {
62
- Config["ENABLED"] = "expo.modules.updates.ENABLED";
63
- Config["CHECK_ON_LAUNCH"] = "expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH";
64
- Config["LAUNCH_WAIT_MS"] = "expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS";
65
- Config["RUNTIME_VERSION"] = "expo.modules.updates.EXPO_RUNTIME_VERSION";
66
- Config["UPDATE_URL"] = "expo.modules.updates.EXPO_UPDATE_URL";
67
- Config["UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY"] = "expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY";
68
- Config["UPDATES_HAS_EMBEDDED_UPDATE"] = "expo.modules.updates.HAS_EMBEDDED_UPDATE";
69
- Config["CODE_SIGNING_CERTIFICATE"] = "expo.modules.updates.CODE_SIGNING_CERTIFICATE";
70
- Config["CODE_SIGNING_METADATA"] = "expo.modules.updates.CODE_SIGNING_METADATA";
71
- return Config;
72
- }({}); // when making changes to this config plugin, ensure the same changes are also made in eas-cli and build-tools
73
- // Also ensure the docs are up-to-date: https://docs.expo.dev/bare/installing-updates/
74
- const withUpdates = config => {
75
- return (0, _withPlugins().withPlugins)(config, [withUpdatesManifest, withRuntimeVersionResource]);
76
- };
77
- exports.withUpdates = withUpdates;
78
- const withUpdatesManifest = config => {
79
- return (0, _androidPlugins().withAndroidManifest)(config, async config => {
80
- const projectRoot = config.modRequest.projectRoot;
81
- const expoUpdatesPackageVersion = (0, _Updates().getExpoUpdatesPackageVersion)(projectRoot);
82
- config.modResults = await setUpdatesConfigAsync(projectRoot, config, config.modResults, expoUpdatesPackageVersion);
83
- return config;
84
- });
85
- };
86
- const withRuntimeVersionResource = (0, _androidPlugins().createStringsXmlPlugin)(applyRuntimeVersionFromConfigAsync, 'withRuntimeVersionResource');
87
- async function applyRuntimeVersionFromConfigAsync(config, stringsJSON) {
88
- const projectRoot = config.modRequest.projectRoot;
89
- return await applyRuntimeVersionFromConfigForProjectRootAsync(projectRoot, config, stringsJSON);
90
- }
91
- async function applyRuntimeVersionFromConfigForProjectRootAsync(projectRoot, config, stringsJSON) {
92
- const runtimeVersion = await (0, _Updates().getRuntimeVersionNullableAsync)(projectRoot, config, 'android');
93
- if (runtimeVersion) {
94
- return (0, _Strings().setStringItem)([(0, _Resources().buildResourceItem)({
95
- name: 'expo_runtime_version',
96
- value: runtimeVersion
97
- })], stringsJSON);
98
- }
99
- return (0, _Strings().removeStringItem)('expo_runtime_version', stringsJSON);
100
- }
101
- async function setUpdatesConfigAsync(projectRoot, config, androidManifest, expoUpdatesPackageVersion) {
102
- const mainApplication = (0, _Manifest().getMainApplicationOrThrow)(androidManifest);
103
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.ENABLED, String((0, _Updates().getUpdatesEnabled)(config)));
104
- const checkOnLaunch = (0, _Updates().getUpdatesCheckOnLaunch)(config, expoUpdatesPackageVersion);
105
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.CHECK_ON_LAUNCH, checkOnLaunch);
106
- const timeout = (0, _Updates().getUpdatesTimeout)(config);
107
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.LAUNCH_WAIT_MS, String(timeout));
108
- const useEmbeddedUpdate = (0, _Updates().getUpdatesUseEmbeddedUpdate)(config);
109
- if (useEmbeddedUpdate) {
110
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.UPDATES_HAS_EMBEDDED_UPDATE);
111
- } else {
112
- // TODO: is there a better place for this validation?
113
- if (timeout === 0 && checkOnLaunch !== 'ALWAYS') {
114
- (0, _warnings().addWarningAndroid)('updates.useEmbeddedUpdate', `updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.`);
115
- }
116
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.UPDATES_HAS_EMBEDDED_UPDATE, 'false');
117
- }
118
- const updateUrl = (0, _Updates().getUpdateUrl)(config);
119
- if (updateUrl) {
120
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.UPDATE_URL, updateUrl);
121
- } else {
122
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.UPDATE_URL);
123
- }
124
- const codeSigningCertificate = (0, _Updates().getUpdatesCodeSigningCertificate)(projectRoot, config);
125
- if (codeSigningCertificate) {
126
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.CODE_SIGNING_CERTIFICATE, codeSigningCertificate);
127
- } else {
128
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.CODE_SIGNING_CERTIFICATE);
129
- }
130
- const codeSigningMetadata = (0, _Updates().getUpdatesCodeSigningMetadataStringified)(config);
131
- if (codeSigningMetadata) {
132
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.CODE_SIGNING_METADATA, codeSigningMetadata);
133
- } else {
134
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.CODE_SIGNING_METADATA);
135
- }
136
- const requestHeaders = (0, _Updates().getUpdatesRequestHeadersStringified)(config);
137
- if (requestHeaders) {
138
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY, requestHeaders);
139
- } else {
140
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY);
141
- }
142
- return await setVersionsConfigAsync(projectRoot, config, androidManifest);
143
- }
144
- async function setVersionsConfigAsync(projectRoot, config, androidManifest) {
145
- const mainApplication = (0, _Manifest().getMainApplicationOrThrow)(androidManifest);
146
- const runtimeVersion = await (0, _Updates().getRuntimeVersionNullableAsync)(projectRoot, config, 'android');
147
- if (!runtimeVersion && (0, _Manifest().findMetaDataItem)(mainApplication, Config.RUNTIME_VERSION) > -1) {
148
- throw new Error('A runtime version is set in your AndroidManifest.xml, but is missing from your app.json/app.config.js. Please either set runtimeVersion in your app.json/app.config.js or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.');
149
- }
150
- if (runtimeVersion) {
151
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, 'expo.modules.updates.EXPO_SDK_VERSION');
152
- (0, _Manifest().addMetaDataItemToMainApplication)(mainApplication, Config.RUNTIME_VERSION, '@string/expo_runtime_version');
153
- } else {
154
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, Config.RUNTIME_VERSION);
155
- (0, _Manifest().removeMetaDataItemFromMainApplication)(mainApplication, 'expo.modules.updates.EXPO_SDK_VERSION');
156
- }
157
- return androidManifest;
158
- }
159
- //# sourceMappingURL=Updates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Updates.js","names":["_Manifest","data","require","_Resources","_Strings","_androidPlugins","_withPlugins","_Updates","_warnings","Config","exports","withUpdates","config","withPlugins","withUpdatesManifest","withRuntimeVersionResource","withAndroidManifest","projectRoot","modRequest","expoUpdatesPackageVersion","getExpoUpdatesPackageVersion","modResults","setUpdatesConfigAsync","createStringsXmlPlugin","applyRuntimeVersionFromConfigAsync","stringsJSON","applyRuntimeVersionFromConfigForProjectRootAsync","runtimeVersion","getRuntimeVersionNullableAsync","setStringItem","buildResourceItem","name","value","removeStringItem","androidManifest","mainApplication","getMainApplicationOrThrow","addMetaDataItemToMainApplication","ENABLED","String","getUpdatesEnabled","checkOnLaunch","getUpdatesCheckOnLaunch","CHECK_ON_LAUNCH","timeout","getUpdatesTimeout","LAUNCH_WAIT_MS","useEmbeddedUpdate","getUpdatesUseEmbeddedUpdate","removeMetaDataItemFromMainApplication","UPDATES_HAS_EMBEDDED_UPDATE","addWarningAndroid","updateUrl","getUpdateUrl","UPDATE_URL","codeSigningCertificate","getUpdatesCodeSigningCertificate","CODE_SIGNING_CERTIFICATE","codeSigningMetadata","getUpdatesCodeSigningMetadataStringified","CODE_SIGNING_METADATA","requestHeaders","getUpdatesRequestHeadersStringified","UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY","setVersionsConfigAsync","findMetaDataItem","RUNTIME_VERSION","Error"],"sources":["../../src/android/Updates.ts"],"sourcesContent":["import { Resources } from '.';\nimport {\n addMetaDataItemToMainApplication,\n AndroidManifest,\n findMetaDataItem,\n getMainApplicationOrThrow,\n removeMetaDataItemFromMainApplication,\n} from './Manifest';\nimport { buildResourceItem, ResourceXML } from './Resources';\nimport { removeStringItem, setStringItem } from './Strings';\nimport { ConfigPlugin, ExportedConfigWithProps } from '../Plugin.types';\nimport { createStringsXmlPlugin, withAndroidManifest } from '../plugins/android-plugins';\nimport { withPlugins } from '../plugins/withPlugins';\nimport {\n ExpoConfigUpdates,\n getExpoUpdatesPackageVersion,\n getRuntimeVersionNullableAsync,\n getUpdatesCheckOnLaunch,\n getUpdatesCodeSigningCertificate,\n getUpdatesCodeSigningMetadataStringified,\n getUpdatesRequestHeadersStringified,\n getUpdatesEnabled,\n getUpdatesTimeout,\n getUpdateUrl,\n getUpdatesUseEmbeddedUpdate,\n} from '../utils/Updates';\nimport { addWarningAndroid } from '../utils/warnings';\n\nexport enum Config {\n ENABLED = 'expo.modules.updates.ENABLED',\n CHECK_ON_LAUNCH = 'expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH',\n LAUNCH_WAIT_MS = 'expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS',\n RUNTIME_VERSION = 'expo.modules.updates.EXPO_RUNTIME_VERSION',\n UPDATE_URL = 'expo.modules.updates.EXPO_UPDATE_URL',\n UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY = 'expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY',\n UPDATES_HAS_EMBEDDED_UPDATE = 'expo.modules.updates.HAS_EMBEDDED_UPDATE',\n CODE_SIGNING_CERTIFICATE = 'expo.modules.updates.CODE_SIGNING_CERTIFICATE',\n CODE_SIGNING_METADATA = 'expo.modules.updates.CODE_SIGNING_METADATA',\n}\n\n// when making changes to this config plugin, ensure the same changes are also made in eas-cli and build-tools\n// Also ensure the docs are up-to-date: https://docs.expo.dev/bare/installing-updates/\n\nexport const withUpdates: ConfigPlugin = (config) => {\n return withPlugins(config, [withUpdatesManifest, withRuntimeVersionResource]);\n};\n\nconst withUpdatesManifest: ConfigPlugin = (config) => {\n return withAndroidManifest(config, async (config) => {\n const projectRoot = config.modRequest.projectRoot;\n const expoUpdatesPackageVersion = getExpoUpdatesPackageVersion(projectRoot);\n config.modResults = await setUpdatesConfigAsync(\n projectRoot,\n config,\n config.modResults,\n expoUpdatesPackageVersion\n );\n return config;\n });\n};\n\nconst withRuntimeVersionResource = createStringsXmlPlugin(\n applyRuntimeVersionFromConfigAsync,\n 'withRuntimeVersionResource'\n);\n\nexport async function applyRuntimeVersionFromConfigAsync(\n config: ExportedConfigWithProps<Resources.ResourceXML>,\n stringsJSON: ResourceXML\n): Promise<ResourceXML> {\n const projectRoot = config.modRequest.projectRoot;\n return await applyRuntimeVersionFromConfigForProjectRootAsync(projectRoot, config, stringsJSON);\n}\n\nexport async function applyRuntimeVersionFromConfigForProjectRootAsync(\n projectRoot: string,\n config: ExpoConfigUpdates,\n stringsJSON: ResourceXML\n): Promise<ResourceXML> {\n const runtimeVersion = await getRuntimeVersionNullableAsync(projectRoot, config, 'android');\n if (runtimeVersion) {\n return setStringItem(\n [buildResourceItem({ name: 'expo_runtime_version', value: runtimeVersion })],\n stringsJSON\n );\n }\n return removeStringItem('expo_runtime_version', stringsJSON);\n}\n\nexport async function setUpdatesConfigAsync(\n projectRoot: string,\n config: ExpoConfigUpdates,\n androidManifest: AndroidManifest,\n expoUpdatesPackageVersion?: string | null\n): Promise<AndroidManifest> {\n const mainApplication = getMainApplicationOrThrow(androidManifest);\n\n addMetaDataItemToMainApplication(\n mainApplication,\n Config.ENABLED,\n String(getUpdatesEnabled(config))\n );\n const checkOnLaunch = getUpdatesCheckOnLaunch(config, expoUpdatesPackageVersion);\n addMetaDataItemToMainApplication(mainApplication, Config.CHECK_ON_LAUNCH, checkOnLaunch);\n\n const timeout = getUpdatesTimeout(config);\n addMetaDataItemToMainApplication(mainApplication, Config.LAUNCH_WAIT_MS, String(timeout));\n\n const useEmbeddedUpdate = getUpdatesUseEmbeddedUpdate(config);\n if (useEmbeddedUpdate) {\n removeMetaDataItemFromMainApplication(mainApplication, Config.UPDATES_HAS_EMBEDDED_UPDATE);\n } else {\n // TODO: is there a better place for this validation?\n if (timeout === 0 && checkOnLaunch !== 'ALWAYS') {\n addWarningAndroid(\n 'updates.useEmbeddedUpdate',\n `updates.checkOnLaunch should be set to \"ON_LOAD\" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.`\n );\n }\n addMetaDataItemToMainApplication(mainApplication, Config.UPDATES_HAS_EMBEDDED_UPDATE, 'false');\n }\n\n const updateUrl = getUpdateUrl(config);\n if (updateUrl) {\n addMetaDataItemToMainApplication(mainApplication, Config.UPDATE_URL, updateUrl);\n } else {\n removeMetaDataItemFromMainApplication(mainApplication, Config.UPDATE_URL);\n }\n\n const codeSigningCertificate = getUpdatesCodeSigningCertificate(projectRoot, config);\n if (codeSigningCertificate) {\n addMetaDataItemToMainApplication(\n mainApplication,\n Config.CODE_SIGNING_CERTIFICATE,\n codeSigningCertificate\n );\n } else {\n removeMetaDataItemFromMainApplication(mainApplication, Config.CODE_SIGNING_CERTIFICATE);\n }\n\n const codeSigningMetadata = getUpdatesCodeSigningMetadataStringified(config);\n if (codeSigningMetadata) {\n addMetaDataItemToMainApplication(\n mainApplication,\n Config.CODE_SIGNING_METADATA,\n codeSigningMetadata\n );\n } else {\n removeMetaDataItemFromMainApplication(mainApplication, Config.CODE_SIGNING_METADATA);\n }\n\n const requestHeaders = getUpdatesRequestHeadersStringified(config);\n if (requestHeaders) {\n addMetaDataItemToMainApplication(\n mainApplication,\n Config.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY,\n requestHeaders\n );\n } else {\n removeMetaDataItemFromMainApplication(\n mainApplication,\n Config.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY\n );\n }\n\n return await setVersionsConfigAsync(projectRoot, config, androidManifest);\n}\n\nexport async function setVersionsConfigAsync(\n projectRoot: string,\n config: Pick<ExpoConfigUpdates, 'sdkVersion' | 'runtimeVersion'>,\n androidManifest: AndroidManifest\n): Promise<AndroidManifest> {\n const mainApplication = getMainApplicationOrThrow(androidManifest);\n\n const runtimeVersion = await getRuntimeVersionNullableAsync(projectRoot, config, 'android');\n if (!runtimeVersion && findMetaDataItem(mainApplication, Config.RUNTIME_VERSION) > -1) {\n throw new Error(\n 'A runtime version is set in your AndroidManifest.xml, but is missing from your app.json/app.config.js. Please either set runtimeVersion in your app.json/app.config.js or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.'\n );\n }\n if (runtimeVersion) {\n removeMetaDataItemFromMainApplication(mainApplication, 'expo.modules.updates.EXPO_SDK_VERSION');\n addMetaDataItemToMainApplication(\n mainApplication,\n Config.RUNTIME_VERSION,\n '@string/expo_runtime_version'\n );\n } else {\n removeMetaDataItemFromMainApplication(mainApplication, Config.RUNTIME_VERSION);\n removeMetaDataItemFromMainApplication(mainApplication, 'expo.modules.updates.EXPO_SDK_VERSION');\n }\n\n return androidManifest;\n}\n"],"mappings":";;;;;;;;;;;AACA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAOA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,SAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,QAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;E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2
- import { ConfigPlugin } from '../Plugin.types';
3
- export declare const withVersion: ConfigPlugin;
4
- /** Sets a numeric version for a value in the project.gradle buildscript.ext object to be at least the provided props.minVersion, if the existing value is greater then no change will be made. */
5
- export declare const withBuildScriptExtMinimumVersion: ConfigPlugin<{
6
- name: string;
7
- minVersion: number;
8
- }>;
9
- export declare function setMinBuildScriptExtVersion(buildGradle: string, { name, minVersion }: {
10
- name: string;
11
- minVersion: number;
12
- }): string;
13
- export declare function getVersionName(config: Pick<ExpoConfig, 'version'>): string | null;
14
- export declare function setVersionName(config: Pick<ExpoConfig, 'version'>, buildGradle: string): string;
15
- export declare function getVersionCode(config: Pick<ExpoConfig, 'android'>): number;
16
- export declare function setVersionCode(config: Pick<ExpoConfig, 'android'>, buildGradle: string): string;
@@ -1,87 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getVersionCode = getVersionCode;
7
- exports.getVersionName = getVersionName;
8
- exports.setMinBuildScriptExtVersion = setMinBuildScriptExtVersion;
9
- exports.setVersionCode = setVersionCode;
10
- exports.setVersionName = setVersionName;
11
- exports.withVersion = exports.withBuildScriptExtMinimumVersion = void 0;
12
- function _androidPlugins() {
13
- const data = require("../plugins/android-plugins");
14
- _androidPlugins = function () {
15
- return data;
16
- };
17
- return data;
18
- }
19
- function _warnings() {
20
- const data = require("../utils/warnings");
21
- _warnings = function () {
22
- return data;
23
- };
24
- return data;
25
- }
26
- const withVersion = config => {
27
- return (0, _androidPlugins().withAppBuildGradle)(config, config => {
28
- if (config.modResults.language === 'groovy') {
29
- config.modResults.contents = setVersionCode(config, config.modResults.contents);
30
- config.modResults.contents = setVersionName(config, config.modResults.contents);
31
- } else {
32
- (0, _warnings().addWarningAndroid)('android.versionCode', `Cannot automatically configure app build.gradle if it's not groovy`);
33
- }
34
- return config;
35
- });
36
- };
37
-
38
- /** Sets a numeric version for a value in the project.gradle buildscript.ext object to be at least the provided props.minVersion, if the existing value is greater then no change will be made. */
39
- exports.withVersion = withVersion;
40
- const withBuildScriptExtMinimumVersion = (config, props) => {
41
- return (0, _androidPlugins().withProjectBuildGradle)(config, config => {
42
- if (config.modResults.language === 'groovy') {
43
- config.modResults.contents = setMinBuildScriptExtVersion(config.modResults.contents, props);
44
- } else {
45
- (0, _warnings().addWarningAndroid)('withBuildScriptExtVersion', `Cannot automatically configure project build.gradle if it's not groovy`);
46
- }
47
- return config;
48
- });
49
- };
50
- exports.withBuildScriptExtMinimumVersion = withBuildScriptExtMinimumVersion;
51
- function setMinBuildScriptExtVersion(buildGradle, {
52
- name,
53
- minVersion
54
- }) {
55
- const regex = new RegExp(`(${name}\\s?=\\s?)(\\d+(?:\\.\\d+)?)`);
56
- const currentVersion = buildGradle.match(regex)?.[2];
57
- if (!currentVersion) {
58
- (0, _warnings().addWarningAndroid)('withBuildScriptExtVersion', `Cannot set minimum buildscript.ext.${name} version because the property "${name}" cannot be found or does not have a numeric value.`);
59
- // TODO: Maybe just add the property...
60
- return buildGradle;
61
- }
62
- const currentVersionNum = Number(currentVersion);
63
- return buildGradle.replace(regex, `$1${Math.max(minVersion, currentVersionNum)}`);
64
- }
65
- function getVersionName(config) {
66
- return config.version ?? null;
67
- }
68
- function setVersionName(config, buildGradle) {
69
- const versionName = getVersionName(config);
70
- if (versionName === null) {
71
- return buildGradle;
72
- }
73
- const pattern = new RegExp(`versionName ".*"`);
74
- return buildGradle.replace(pattern, `versionName "${versionName}"`);
75
- }
76
- function getVersionCode(config) {
77
- return config.android?.versionCode ?? 1;
78
- }
79
- function setVersionCode(config, buildGradle) {
80
- const versionCode = getVersionCode(config);
81
- if (versionCode === null) {
82
- return buildGradle;
83
- }
84
- const pattern = new RegExp(`versionCode.*`);
85
- return buildGradle.replace(pattern, `versionCode ${versionCode}`);
86
- }
87
- //# sourceMappingURL=Version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Version.js","names":["_androidPlugins","data","require","_warnings","withVersion","config","withAppBuildGradle","modResults","language","contents","setVersionCode","setVersionName","addWarningAndroid","exports","withBuildScriptExtMinimumVersion","props","withProjectBuildGradle","setMinBuildScriptExtVersion","buildGradle","name","minVersion","regex","RegExp","currentVersion","match","currentVersionNum","Number","replace","Math","max","getVersionName","version","versionName","pattern","getVersionCode","android","versionCode"],"sources":["../../src/android/Version.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { ConfigPlugin } from '../Plugin.types';\nimport { withAppBuildGradle, withProjectBuildGradle } from '../plugins/android-plugins';\nimport { addWarningAndroid } from '../utils/warnings';\n\nexport const withVersion: ConfigPlugin = (config) => {\n return withAppBuildGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = setVersionCode(config, config.modResults.contents);\n config.modResults.contents = setVersionName(config, config.modResults.contents);\n } else {\n addWarningAndroid(\n 'android.versionCode',\n `Cannot automatically configure app build.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\n/** Sets a numeric version for a value in the project.gradle buildscript.ext object to be at least the provided props.minVersion, if the existing value is greater then no change will be made. */\nexport const withBuildScriptExtMinimumVersion: ConfigPlugin<{\n name: string;\n minVersion: number;\n}> = (config, props) => {\n return withProjectBuildGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = setMinBuildScriptExtVersion(config.modResults.contents, props);\n } else {\n addWarningAndroid(\n 'withBuildScriptExtVersion',\n `Cannot automatically configure project build.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\nexport function setMinBuildScriptExtVersion(\n buildGradle: string,\n { name, minVersion }: { name: string; minVersion: number }\n) {\n const regex = new RegExp(`(${name}\\\\s?=\\\\s?)(\\\\d+(?:\\\\.\\\\d+)?)`);\n const currentVersion = buildGradle.match(regex)?.[2];\n if (!currentVersion) {\n addWarningAndroid(\n 'withBuildScriptExtVersion',\n `Cannot set minimum buildscript.ext.${name} version because the property \"${name}\" cannot be found or does not have a numeric value.`\n );\n // TODO: Maybe just add the property...\n return buildGradle;\n }\n\n const currentVersionNum = Number(currentVersion);\n return buildGradle.replace(regex, `$1${Math.max(minVersion, currentVersionNum)}`);\n}\n\nexport function getVersionName(config: Pick<ExpoConfig, 'version'>) {\n return config.version ?? null;\n}\n\nexport function setVersionName(config: Pick<ExpoConfig, 'version'>, buildGradle: string) {\n const versionName = getVersionName(config);\n if (versionName === null) {\n return buildGradle;\n }\n\n const pattern = new RegExp(`versionName \".*\"`);\n return buildGradle.replace(pattern, `versionName \"${versionName}\"`);\n}\n\nexport function getVersionCode(config: Pick<ExpoConfig, 'android'>) {\n return config.android?.versionCode ?? 1;\n}\n\nexport function setVersionCode(config: Pick<ExpoConfig, 'android'>, buildGradle: string) {\n const versionCode = getVersionCode(config);\n if (versionCode === null) {\n return buildGradle;\n }\n\n const pattern = new RegExp(`versionCode.*`);\n return buildGradle.replace(pattern, `versionCode ${versionCode}`);\n}\n"],"mappings":";;;;;;;;;;;AAGA,SAAAA,gBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,eAAA,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;AAEO,MAAMG,WAAyB,GAAIC,MAAM,IAAK;EACnD,OAAO,IAAAC,oCAAkB,EAACD,MAAM,EAAGA,MAAM,IAAK;IAC5C,IAAIA,MAAM,CAACE,UAAU,CAACC,QAAQ,KAAK,QAAQ,EAAE;MAC3CH,MAAM,CAACE,UAAU,CAACE,QAAQ,GAAGC,cAAc,CAACL,MAAM,EAAEA,MAAM,CAACE,UAAU,CAACE,QAAQ,CAAC;MAC/EJ,MAAM,CAACE,UAAU,CAACE,QAAQ,GAAGE,cAAc,CAACN,MAAM,EAAEA,MAAM,CAACE,UAAU,CAACE,QAAQ,CAAC;IACjF,CAAC,MAAM;MACL,IAAAG,6BAA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