You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

471 lines
11 KiB

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
BaseMods: true,
AndroidConfig: true,
IOSConfig: true,
XML: true,
History: true,
WarningAggregator: true,
Updates: true,
withPlugins: true,
withRunOnce: true,
createRunOncePlugin: true,
withDangerousMod: true,
withMod: true,
withBaseMod: true,
withAppDelegate: true,
withInfoPlist: true,
withEntitlementsPlist: true,
withExpoPlist: true,
withXcodeProject: true,
withPodfileProperties: true,
withAndroidManifest: true,
withStringsXml: true,
withAndroidColors: true,
withAndroidColorsNight: true,
withAndroidStyles: true,
withMainActivity: true,
withMainApplication: true,
withProjectBuildGradle: true,
withAppBuildGradle: true,
withSettingsGradle: true,
withGradleProperties: true,
withStaticPlugin: true,
compileModsAsync: true,
withDefaultBaseMods: true,
evalModsAsync: true,
PluginError: true
};
exports.IOSConfig = exports.History = exports.BaseMods = exports.AndroidConfig = void 0;
Object.defineProperty(exports, "PluginError", {
enumerable: true,
get: function () {
return _errors().PluginError;
}
});
exports.XML = exports.WarningAggregator = exports.Updates = void 0;
Object.defineProperty(exports, "compileModsAsync", {
enumerable: true,
get: function () {
return _modCompiler().compileModsAsync;
}
});
Object.defineProperty(exports, "createRunOncePlugin", {
enumerable: true,
get: function () {
return _withRunOnce().createRunOncePlugin;
}
});
Object.defineProperty(exports, "evalModsAsync", {
enumerable: true,
get: function () {
return _modCompiler().evalModsAsync;
}
});
Object.defineProperty(exports, "withAndroidColors", {
enumerable: true,
get: function () {
return _androidPlugins().withAndroidColors;
}
});
Object.defineProperty(exports, "withAndroidColorsNight", {
enumerable: true,
get: function () {
return _androidPlugins().withAndroidColorsNight;
}
});
Object.defineProperty(exports, "withAndroidManifest", {
enumerable: true,
get: function () {
return _androidPlugins().withAndroidManifest;
}
});
Object.defineProperty(exports, "withAndroidStyles", {
enumerable: true,
get: function () {
return _androidPlugins().withAndroidStyles;
}
});
Object.defineProperty(exports, "withAppBuildGradle", {
enumerable: true,
get: function () {
return _androidPlugins().withAppBuildGradle;
}
});
Object.defineProperty(exports, "withAppDelegate", {
enumerable: true,
get: function () {
return _iosPlugins().withAppDelegate;
}
});
Object.defineProperty(exports, "withBaseMod", {
enumerable: true,
get: function () {
return _withMod().withBaseMod;
}
});
Object.defineProperty(exports, "withDangerousMod", {
enumerable: true,
get: function () {
return _withDangerousMod().withDangerousMod;
}
});
Object.defineProperty(exports, "withDefaultBaseMods", {
enumerable: true,
get: function () {
return _modCompiler().withDefaultBaseMods;
}
});
Object.defineProperty(exports, "withEntitlementsPlist", {
enumerable: true,
get: function () {
return _iosPlugins().withEntitlementsPlist;
}
});
Object.defineProperty(exports, "withExpoPlist", {
enumerable: true,
get: function () {
return _iosPlugins().withExpoPlist;
}
});
Object.defineProperty(exports, "withGradleProperties", {
enumerable: true,
get: function () {
return _androidPlugins().withGradleProperties;
}
});
Object.defineProperty(exports, "withInfoPlist", {
enumerable: true,
get: function () {
return _iosPlugins().withInfoPlist;
}
});
Object.defineProperty(exports, "withMainActivity", {
enumerable: true,
get: function () {
return _androidPlugins().withMainActivity;
}
});
Object.defineProperty(exports, "withMainApplication", {
enumerable: true,
get: function () {
return _androidPlugins().withMainApplication;
}
});
Object.defineProperty(exports, "withMod", {
enumerable: true,
get: function () {
return _withMod().withMod;
}
});
Object.defineProperty(exports, "withPlugins", {
enumerable: true,
get: function () {
return _withPlugins().withPlugins;
}
});
Object.defineProperty(exports, "withPodfileProperties", {
enumerable: true,
get: function () {
return _iosPlugins().withPodfileProperties;
}
});
Object.defineProperty(exports, "withProjectBuildGradle", {
enumerable: true,
get: function () {
return _androidPlugins().withProjectBuildGradle;
}
});
Object.defineProperty(exports, "withRunOnce", {
enumerable: true,
get: function () {
return _withRunOnce().withRunOnce;
}
});
Object.defineProperty(exports, "withSettingsGradle", {
enumerable: true,
get: function () {
return _androidPlugins().withSettingsGradle;
}
});
Object.defineProperty(exports, "withStaticPlugin", {
enumerable: true,
get: function () {
return _withStaticPlugin().withStaticPlugin;
}
});
Object.defineProperty(exports, "withStringsXml", {
enumerable: true,
get: function () {
return _androidPlugins().withStringsXml;
}
});
Object.defineProperty(exports, "withXcodeProject", {
enumerable: true,
get: function () {
return _iosPlugins().withXcodeProject;
}
});
function AndroidConfig() {
const data = _interopRequireWildcard(require("./android"));
AndroidConfig = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "AndroidConfig", {
enumerable: true,
get: function () {
return AndroidConfig();
}
});
function IOSConfig() {
const data = _interopRequireWildcard(require("./ios"));
IOSConfig = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "IOSConfig", {
enumerable: true,
get: function () {
return IOSConfig();
}
});
function _createBaseMod() {
const data = require("./plugins/createBaseMod");
_createBaseMod = function () {
return data;
};
return data;
}
function _withAndroidBaseMods() {
const data = require("./plugins/withAndroidBaseMods");
_withAndroidBaseMods = function () {
return data;
};
return data;
}
function _withIosBaseMods() {
const data = require("./plugins/withIosBaseMods");
_withIosBaseMods = function () {
return data;
};
return data;
}
function XML() {
const data = _interopRequireWildcard(require("./utils/XML"));
XML = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "XML", {
enumerable: true,
get: function () {
return XML();
}
});
function History() {
const data = _interopRequireWildcard(require("./utils/history"));
History = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "History", {
enumerable: true,
get: function () {
return History();
}
});
function WarningAggregator() {
const data = _interopRequireWildcard(require("./utils/warnings"));
WarningAggregator = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "WarningAggregator", {
enumerable: true,
get: function () {
return WarningAggregator();
}
});
function _Updates() {
const data = _interopRequireWildcard(require("./utils/Updates"));
_Updates = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "Updates", {
enumerable: true,
get: function () {
return _Updates();
}
});
var _Plugin = require("./Plugin.types");
Object.keys(_Plugin).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _Plugin[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _Plugin[key];
}
});
});
function _withPlugins() {
const data = require("./plugins/withPlugins");
_withPlugins = function () {
return data;
};
return data;
}
function _withRunOnce() {
const data = require("./plugins/withRunOnce");
_withRunOnce = function () {
return data;
};
return data;
}
function _withDangerousMod() {
const data = require("./plugins/withDangerousMod");
_withDangerousMod = function () {
return data;
};
return data;
}
function _withMod() {
const data = require("./plugins/withMod");
_withMod = function () {
return data;
};
return data;
}
function _iosPlugins() {
const data = require("./plugins/ios-plugins");
_iosPlugins = function () {
return data;
};
return data;
}
function _androidPlugins() {
const data = require("./plugins/android-plugins");
_androidPlugins = function () {
return data;
};
return data;
}
function _withStaticPlugin() {
const data = require("./plugins/withStaticPlugin");
_withStaticPlugin = function () {
return data;
};
return data;
}
function _modCompiler() {
const data = require("./plugins/mod-compiler");
_modCompiler = function () {
return data;
};
return data;
}
function _errors() {
const data = require("./utils/errors");
_errors = function () {
return data;
};
return data;
}
function _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); }
function _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; }
/**
* For internal use in Expo CLI
*/
// TODO: Remove
/**
* These are the "config-plugins"
*/
const BaseMods = {
withGeneratedBaseMods: _createBaseMod().withGeneratedBaseMods,
provider: _createBaseMod().provider,
withAndroidBaseMods: _withAndroidBaseMods().withAndroidBaseMods,
getAndroidModFileProviders: _withAndroidBaseMods().getAndroidModFileProviders,
withIosBaseMods: _withIosBaseMods().withIosBaseMods,
getIosModFileProviders: _withIosBaseMods().getIosModFileProviders
};
exports.BaseMods = BaseMods;
//# sourceMappingURL=index.js.map