1"use strict"; 2 3Object.defineProperty(exports, "__esModule", { 4 value: true 5}); 6var _exportNames = { 7 BaseMods: true, 8 AndroidConfig: true, 9 IOSConfig: true, 10 XML: true, 11 History: true, 12 WarningAggregator: true, 13 Updates: true, 14 withPlugins: true, 15 withRunOnce: true, 16 createRunOncePlugin: true, 17 withDangerousMod: true, 18 withMod: true, 19 withBaseMod: true, 20 withAppDelegate: true, 21 withInfoPlist: true, 22 withEntitlementsPlist: true, 23 withExpoPlist: true, 24 withXcodeProject: true, 25 withPodfileProperties: true, 26 withAndroidManifest: true, 27 withStringsXml: true, 28 withAndroidColors: true, 29 withAndroidColorsNight: true, 30 withAndroidStyles: true, 31 withMainActivity: true, 32 withMainApplication: true, 33 withProjectBuildGradle: true, 34 withAppBuildGradle: true, 35 withSettingsGradle: true, 36 withGradleProperties: true, 37 withStaticPlugin: true, 38 compileModsAsync: true, 39 withDefaultBaseMods: true, 40 evalModsAsync: true, 41 PluginError: true 42}; 43exports.IOSConfig = exports.History = exports.BaseMods = exports.AndroidConfig = void 0; 44Object.defineProperty(exports, "PluginError", { 45 enumerable: true, 46 get: function () { 47 return _errors().PluginError; 48 } 49}); 50exports.XML = exports.WarningAggregator = exports.Updates = void 0; 51Object.defineProperty(exports, "compileModsAsync", { 52 enumerable: true, 53 get: function () { 54 return _modCompiler().compileModsAsync; 55 } 56}); 57Object.defineProperty(exports, "createRunOncePlugin", { 58 enumerable: true, 59 get: function () { 60 return _withRunOnce().createRunOncePlugin; 61 } 62}); 63Object.defineProperty(exports, "evalModsAsync", { 64 enumerable: true, 65 get: function () { 66 return _modCompiler().evalModsAsync; 67 } 68}); 69Object.defineProperty(exports, "withAndroidColors", { 70 enumerable: true, 71 get: function () { 72 return _androidPlugins().withAndroidColors; 73 } 74}); 75Object.defineProperty(exports, "withAndroidColorsNight", { 76 enumerable: true, 77 get: function () { 78 return _androidPlugins().withAndroidColorsNight; 79 } 80}); 81Object.defineProperty(exports, "withAndroidManifest", { 82 enumerable: true, 83 get: function () { 84 return _androidPlugins().withAndroidManifest; 85 } 86}); 87Object.defineProperty(exports, "withAndroidStyles", { 88 enumerable: true, 89 get: function () { 90 return _androidPlugins().withAndroidStyles; 91 } 92}); 93Object.defineProperty(exports, "withAppBuildGradle", { 94 enumerable: true, 95 get: function () { 96 return _androidPlugins().withAppBuildGradle; 97 } 98}); 99Object.defineProperty(exports, "withAppDelegate", { 100 enumerable: true, 101 get: function () { 102 return _iosPlugins().withAppDelegate; 103 } 104}); 105Object.defineProperty(exports, "withBaseMod", { 106 enumerable: true, 107 get: function () { 108 return _withMod().withBaseMod; 109 } 110}); 111Object.defineProperty(exports, "withDangerousMod", { 112 enumerable: true, 113 get: function () { 114 return _withDangerousMod().withDangerousMod; 115 } 116}); 117Object.defineProperty(exports, "withDefaultBaseMods", { 118 enumerable: true, 119 get: function () { 120 return _modCompiler().withDefaultBaseMods; 121 } 122}); 123Object.defineProperty(exports, "withEntitlementsPlist", { 124 enumerable: true, 125 get: function () { 126 return _iosPlugins().withEntitlementsPlist; 127 } 128}); 129Object.defineProperty(exports, "withExpoPlist", { 130 enumerable: true, 131 get: function () { 132 return _iosPlugins().withExpoPlist; 133 } 134}); 135Object.defineProperty(exports, "withGradleProperties", { 136 enumerable: true, 137 get: function () { 138 return _androidPlugins().withGradleProperties; 139 } 140}); 141Object.defineProperty(exports, "withInfoPlist", { 142 enumerable: true, 143 get: function () { 144 return _iosPlugins().withInfoPlist; 145 } 146}); 147Object.defineProperty(exports, "withMainActivity", { 148 enumerable: true, 149 get: function () { 150 return _androidPlugins().withMainActivity; 151 } 152}); 153Object.defineProperty(exports, "withMainApplication", { 154 enumerable: true, 155 get: function () { 156 return _androidPlugins().withMainApplication; 157 } 158}); 159Object.defineProperty(exports, "withMod", { 160 enumerable: true, 161 get: function () { 162 return _withMod().withMod; 163 } 164}); 165Object.defineProperty(exports, "withPlugins", { 166 enumerable: true, 167 get: function () { 168 return _withPlugins().withPlugins; 169 } 170}); 171Object.defineProperty(exports, "withPodfileProperties", { 172 enumerable: true, 173 get: function () { 174 return _iosPlugins().withPodfileProperties; 175 } 176}); 177Object.defineProperty(exports, "withProjectBuildGradle", { 178 enumerable: true, 179 get: function () { 180 return _androidPlugins().withProjectBuildGradle; 181 } 182}); 183Object.defineProperty(exports, "withRunOnce", { 184 enumerable: true, 185 get: function () { 186 return _withRunOnce().withRunOnce; 187 } 188}); 189Object.defineProperty(exports, "withSettingsGradle", { 190 enumerable: true, 191 get: function () { 192 return _androidPlugins().withSettingsGradle; 193 } 194}); 195Object.defineProperty(exports, "withStaticPlugin", { 196 enumerable: true, 197 get: function () { 198 return _withStaticPlugin().withStaticPlugin; 199 } 200}); 201Object.defineProperty(exports, "withStringsXml", { 202 enumerable: true, 203 get: function () { 204 return _androidPlugins().withStringsXml; 205 } 206}); 207Object.defineProperty(exports, "withXcodeProject", { 208 enumerable: true, 209 get: function () { 210 return _iosPlugins().withXcodeProject; 211 } 212}); 213function AndroidConfig() { 214 const data = _interopRequireWildcard(require("./android")); 215 AndroidConfig = function () { 216 return data; 217 }; 218 return data; 219} 220Object.defineProperty(exports, "AndroidConfig", { 221 enumerable: true, 222 get: function () { 223 return AndroidConfig(); 224 } 225}); 226function IOSConfig() { 227 const data = _interopRequireWildcard(require("./ios")); 228 IOSConfig = function () { 229 return data; 230 }; 231 return data; 232} 233Object.defineProperty(exports, "IOSConfig", { 234 enumerable: true, 235 get: function () { 236 return IOSConfig(); 237 } 238}); 239function _createBaseMod() { 240 const data = require("./plugins/createBaseMod"); 241 _createBaseMod = function () { 242 return data; 243 }; 244 return data; 245} 246function _withAndroidBaseMods() { 247 const data = require("./plugins/withAndroidBaseMods"); 248 _withAndroidBaseMods = function () { 249 return data; 250 }; 251 return data; 252} 253function _withIosBaseMods() { 254 const data = require("./plugins/withIosBaseMods"); 255 _withIosBaseMods = function () { 256 return data; 257 }; 258 return data; 259} 260function XML() { 261 const data = _interopRequireWildcard(require("./utils/XML")); 262 XML = function () { 263 return data; 264 }; 265 return data; 266} 267Object.defineProperty(exports, "XML", { 268 enumerable: true, 269 get: function () { 270 return XML(); 271 } 272}); 273function History() { 274 const data = _interopRequireWildcard(require("./utils/history")); 275 History = function () { 276 return data; 277 }; 278 return data; 279} 280Object.defineProperty(exports, "History", { 281 enumerable: true, 282 get: function () { 283 return History(); 284 } 285}); 286function WarningAggregator() { 287 const data = _interopRequireWildcard(require("./utils/warnings")); 288 WarningAggregator = function () { 289 return data; 290 }; 291 return data; 292} 293Object.defineProperty(exports, "WarningAggregator", { 294 enumerable: true, 295 get: function () { 296 return WarningAggregator(); 297 } 298}); 299function _Updates() { 300 const data = _interopRequireWildcard(require("./utils/Updates")); 301 _Updates = function () { 302 return data; 303 }; 304 return data; 305} 306Object.defineProperty(exports, "Updates", { 307 enumerable: true, 308 get: function () { 309 return _Updates(); 310 } 311}); 312var _Plugin = require("./Plugin.types"); 313Object.keys(_Plugin).forEach(function (key) { 314 if (key === "default" || key === "__esModule") return; 315 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; 316 if (key in exports && exports[key] === _Plugin[key]) return; 317 Object.defineProperty(exports, key, { 318 enumerable: true, 319 get: function () { 320 return _Plugin[key]; 321 } 322 }); 323}); 324function _withPlugins() { 325 const data = require("./plugins/withPlugins"); 326 _withPlugins = function () { 327 return data; 328 }; 329 return data; 330} 331function _withRunOnce() { 332 const data = require("./plugins/withRunOnce"); 333 _withRunOnce = function () { 334 return data; 335 }; 336 return data; 337} 338function _withDangerousMod() { 339 const data = require("./plugins/withDangerousMod"); 340 _withDangerousMod = function () { 341 return data; 342 }; 343 return data; 344} 345function _withMod() { 346 const data = require("./plugins/withMod"); 347 _withMod = function () { 348 return data; 349 }; 350 return data; 351} 352function _iosPlugins() { 353 const data = require("./plugins/ios-plugins"); 354 _iosPlugins = function () { 355 return data; 356 }; 357 return data; 358} 359function _androidPlugins() { 360 const data = require("./plugins/android-plugins"); 361 _androidPlugins = function () { 362 return data; 363 }; 364 return data; 365} 366function _withStaticPlugin() { 367 const data = require("./plugins/withStaticPlugin"); 368 _withStaticPlugin = function () { 369 return data; 370 }; 371 return data; 372} 373function _modCompiler() { 374 const data = require("./plugins/mod-compiler"); 375 _modCompiler = function () { 376 return data; 377 }; 378 return data; 379} 380function _errors() { 381 const data = require("./utils/errors"); 382 _errors = function () { 383 return data; 384 }; 385 return data; 386} 387function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } 388function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } 389/** 390 * For internal use in Expo CLI 391 */ 392 393// TODO: Remove 394 395/** 396 * These are the "config-plugins" 397 */ 398 399const BaseMods = { 400 withGeneratedBaseMods: _createBaseMod().withGeneratedBaseMods, 401 provider: _createBaseMod().provider, 402 withAndroidBaseMods: _withAndroidBaseMods().withAndroidBaseMods, 403 getAndroidModFileProviders: _withAndroidBaseMods().getAndroidModFileProviders, 404 withIosBaseMods: _withIosBaseMods().withIosBaseMods, 405 getIosModFileProviders: _withIosBaseMods().getIosModFileProviders 406}; 407exports.BaseMods = BaseMods; 408//# sourceMappingURL=index.js.map