@devlander/expo-app-config 0.0.80 → 0.0.83
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/typings/apply-relative-paths-to-config.d.ts +0 -1
- package/dist/cjs/typings/create-bundle.d.ts +0 -1
- package/dist/cjs/typings/create-names-for-package.d.ts +0 -1
- package/dist/cjs/typings/format-assets-path.d.ts +0 -1
- package/dist/cjs/typings/get-app-images.d.ts +0 -1
- package/dist/cjs/typings/get-colors-for-environment.d.ts +0 -1
- package/dist/cjs/typings/get-images-for-config.d.ts +0 -1
- package/dist/cjs/typings/get-versions.d.ts +0 -1
- package/dist/cjs/typings/index.d.ts +0 -6
- package/dist/cjs/typings/setup-config.types.d.ts +0 -1
- package/dist/cjs/typings/tools.d.ts +0 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/typings/apply-relative-paths-to-config.d.ts +0 -1
- package/dist/esm/typings/create-bundle.d.ts +0 -1
- package/dist/esm/typings/create-names-for-package.d.ts +0 -1
- package/dist/esm/typings/format-assets-path.d.ts +0 -1
- package/dist/esm/typings/get-app-images.d.ts +0 -1
- package/dist/esm/typings/get-colors-for-environment.d.ts +0 -1
- package/dist/esm/typings/get-images-for-config.d.ts +0 -1
- package/dist/esm/typings/get-versions.d.ts +0 -1
- package/dist/esm/typings/index.d.ts +0 -6
- package/dist/esm/typings/setup-config.types.d.ts +0 -1
- package/dist/esm/typings/tools.d.ts +0 -1
- package/dist/umd/index.js +1 -2
- package/dist/umd/typings/apply-relative-paths-to-config.d.ts +0 -1
- package/dist/umd/typings/create-bundle.d.ts +0 -1
- package/dist/umd/typings/create-names-for-package.d.ts +0 -1
- package/dist/umd/typings/format-assets-path.d.ts +0 -1
- package/dist/umd/typings/get-app-images.d.ts +0 -1
- package/dist/umd/typings/get-colors-for-environment.d.ts +0 -1
- package/dist/umd/typings/get-images-for-config.d.ts +0 -1
- package/dist/umd/typings/get-versions.d.ts +0 -1
- package/dist/umd/typings/index.d.ts +0 -6
- package/dist/umd/typings/setup-config.types.d.ts +0 -1
- package/dist/umd/typings/tools.d.ts +0 -1
- package/package.json +1 -1
- package/typings/apply-relative-paths-to-config.d.ts +0 -1
- package/typings/create-bundle.d.ts +0 -1
- package/typings/create-names-for-package.d.ts +0 -1
- package/typings/format-assets-path.d.ts +0 -1
- package/typings/get-app-images.d.ts +0 -1
- package/typings/get-colors-for-environment.d.ts +0 -1
- package/typings/get-images-for-config.d.ts +0 -1
- package/typings/get-versions.d.ts +0 -1
- package/typings/index.d.ts +0 -6
- package/typings/setup-config.types.d.ts +0 -1
- package/typings/tools.d.ts +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/typings/__tests__/apply-relative-paths-to-config.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/apply-relative-paths-to-config.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/create-bundle.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/create-bundle.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/format-assets-path.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/format-assets-path.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/get-colors-for-environment.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/get-colors-for-environment.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/get-images-for-config.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/get-images-for-config.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/get-versions.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/get-versions.test.d.ts.map +0 -1
- package/dist/cjs/typings/__tests__/tools.test.d.ts +0 -2
- package/dist/cjs/typings/__tests__/tools.test.d.ts.map +0 -1
- package/dist/cjs/typings/apply-relative-paths-to-config.d.ts.map +0 -1
- package/dist/cjs/typings/create-bundle.d.ts.map +0 -1
- package/dist/cjs/typings/create-names-for-package.d.ts.map +0 -1
- package/dist/cjs/typings/format-assets-path.d.ts.map +0 -1
- package/dist/cjs/typings/get-app-images.d.ts.map +0 -1
- package/dist/cjs/typings/get-colors-for-environment.d.ts.map +0 -1
- package/dist/cjs/typings/get-images-for-config.d.ts.map +0 -1
- package/dist/cjs/typings/get-versions.d.ts.map +0 -1
- package/dist/cjs/typings/index.d.ts.map +0 -1
- package/dist/cjs/typings/setup-config.types.d.ts.map +0 -1
- package/dist/cjs/typings/tools.d.ts.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/typings/__tests__/apply-relative-paths-to-config.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/apply-relative-paths-to-config.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/create-bundle.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/create-bundle.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/format-assets-path.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/format-assets-path.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/get-colors-for-environment.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/get-colors-for-environment.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/get-images-for-config.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/get-images-for-config.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/get-versions.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/get-versions.test.d.ts.map +0 -1
- package/dist/esm/typings/__tests__/tools.test.d.ts +0 -2
- package/dist/esm/typings/__tests__/tools.test.d.ts.map +0 -1
- package/dist/esm/typings/apply-relative-paths-to-config.d.ts.map +0 -1
- package/dist/esm/typings/create-bundle.d.ts.map +0 -1
- package/dist/esm/typings/create-names-for-package.d.ts.map +0 -1
- package/dist/esm/typings/format-assets-path.d.ts.map +0 -1
- package/dist/esm/typings/get-app-images.d.ts.map +0 -1
- package/dist/esm/typings/get-colors-for-environment.d.ts.map +0 -1
- package/dist/esm/typings/get-images-for-config.d.ts.map +0 -1
- package/dist/esm/typings/get-versions.d.ts.map +0 -1
- package/dist/esm/typings/index.d.ts.map +0 -1
- package/dist/esm/typings/setup-config.types.d.ts.map +0 -1
- package/dist/esm/typings/tools.d.ts.map +0 -1
- package/dist/umd/index.js.map +0 -1
- package/dist/umd/typings/__tests__/apply-relative-paths-to-config.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/apply-relative-paths-to-config.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/create-bundle.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/create-bundle.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/format-assets-path.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/format-assets-path.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/get-colors-for-environment.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/get-colors-for-environment.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/get-images-for-config.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/get-images-for-config.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/get-versions.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/get-versions.test.d.ts.map +0 -1
- package/dist/umd/typings/__tests__/tools.test.d.ts +0 -2
- package/dist/umd/typings/__tests__/tools.test.d.ts.map +0 -1
- package/dist/umd/typings/apply-relative-paths-to-config.d.ts.map +0 -1
- package/dist/umd/typings/create-bundle.d.ts.map +0 -1
- package/dist/umd/typings/create-names-for-package.d.ts.map +0 -1
- package/dist/umd/typings/format-assets-path.d.ts.map +0 -1
- package/dist/umd/typings/get-app-images.d.ts.map +0 -1
- package/dist/umd/typings/get-colors-for-environment.d.ts.map +0 -1
- package/dist/umd/typings/get-images-for-config.d.ts.map +0 -1
- package/dist/umd/typings/get-versions.d.ts.map +0 -1
- package/dist/umd/typings/index.d.ts.map +0 -1
- package/dist/umd/typings/setup-config.types.d.ts.map +0 -1
- package/dist/umd/typings/tools.d.ts.map +0 -1
- package/typings/__tests__/apply-relative-paths-to-config.test.d.ts +0 -2
- package/typings/__tests__/apply-relative-paths-to-config.test.d.ts.map +0 -1
- package/typings/__tests__/create-bundle.test.d.ts +0 -2
- package/typings/__tests__/create-bundle.test.d.ts.map +0 -1
- package/typings/__tests__/format-assets-path.test.d.ts +0 -2
- package/typings/__tests__/format-assets-path.test.d.ts.map +0 -1
- package/typings/__tests__/get-colors-for-environment.test.d.ts +0 -2
- package/typings/__tests__/get-colors-for-environment.test.d.ts.map +0 -1
- package/typings/__tests__/get-images-for-config.test.d.ts +0 -2
- package/typings/__tests__/get-images-for-config.test.d.ts.map +0 -1
- package/typings/__tests__/get-versions.test.d.ts +0 -2
- package/typings/__tests__/get-versions.test.d.ts.map +0 -1
- package/typings/__tests__/tools.test.d.ts +0 -2
- package/typings/__tests__/tools.test.d.ts.map +0 -1
- package/typings/apply-relative-paths-to-config.d.ts.map +0 -1
- package/typings/create-bundle.d.ts.map +0 -1
- package/typings/create-names-for-package.d.ts.map +0 -1
- package/typings/format-assets-path.d.ts.map +0 -1
- package/typings/get-app-images.d.ts.map +0 -1
- package/typings/get-colors-for-environment.d.ts.map +0 -1
- package/typings/get-images-for-config.d.ts.map +0 -1
- package/typings/get-versions.d.ts.map +0 -1
- package/typings/index.d.ts.map +0 -1
- package/typings/setup-config.types.d.ts.map +0 -1
- package/typings/tools.d.ts.map +0 -1
package/dist/cjs/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),
|
2
|
-
//# sourceMappingURL=index.js.map
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("path"),r=require("fs"),o=require("@devlander/utils");function t(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function n(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(r){s(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function a(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var t=o.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,r,o){return(r=a(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}var i,l={splashFileName:"app-splash",iconFileName:"app-icon",adaptiveFileName:"app-adaptive-icon",faviconFileName:"favicon"};exports.EnvEumFromPackage=void 0,(i=exports.EnvEumFromPackage||(exports.EnvEumFromPackage={})).production="production",i.staging="staging",i.development="development",i.local="local";function u(r){var t=r,n=(t=t.replace(/\/\//g,"/")).indexOf("/assets");-1!==n&&(t=t.substring(n)),t.startsWith("/assets")||(t="/assets/"+t);var a=process.cwd(),c=e.join(a,t),s="./"+e.relative(a,c).replace(/\\/g,"/");s=o.removeSpacesFromString(s),(s=o.removeNewLinesFromString(s)).includes("assets/assets")&&(s=s.replace("assets/assets","assets"));var i=s.split("/");if("assets"!==i[0]||"assets"===i[1])return"."===i[0]&&"assets"===i[1]?s:".."===i[0]&&"assets"===i[1]?"./"+s:u(s);s="./"+s}var p=function(e){return u(e)||e};function m(e){Object.keys(e).forEach((function(r){var o=e[r];"string"==typeof o&&o.includes("/assets")?e[r]=p(o):"object"!==c(o)||null===o||Array.isArray(o)||m(o)}))}var v=function(e,r){var o=r.splash.backgroundColor.light;return{image:e.splashImage,backgroundColor:o,resizeMode:"contain"}},f=function(e){return e.iconImage},g=function(e){return e.splash.backgroundColor.light};function d(e,r){var o=n({},e);return Object.keys(r).forEach((function(e){"object"!==c(r[e])||null===r[e]||Array.isArray(r[e])||!o[e]||"object"!==c(o[e])||Array.isArray(o[e])?o[e]=r[e]:o[e]=d(o[e],r[e])})),o}exports.default=function(o,t){var a=t.envVariables,c=a.environment,s=function(e,r,o){try{r||(r="../assets/images"),o||(o=l);var t=require("path"),n=e.toLowerCase();return{splashImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.splashFileName,".png")),iconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.iconFileName,".png")),adaptiveIconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.adaptiveFileName,".png")),faviconImage:t.resolve("".concat(r,"/").concat(n,"-").concat(o.faviconFileName,".png"))}}catch(r){throw new Error("Error getting images for environment: ".concat(e))}}(c,t.imagesPath),i=function(o,t){if(!t)throw new Error("Path for colors is not defined");var a=e.resolve("".concat(t,"/").concat(o,".colors.json")),c=e.resolve("".concat(t,"/shared.colors.json"));try{var s=r.readFileSync(a,"utf8"),i=r.readFileSync(c,"utf8");return n(n({},JSON.parse(i)),JSON.parse(s))}catch(e){throw new Error("Error reading color files: ".concat(e))}}(c,t.colorsPath),u=function(e,r){var o={name:"",slug:"",identifier:"",shortName:"",scheme:""},t="",n="";return e===exports.EnvEumFromPackage.development?(t=" Dev",n="Development".toLowerCase()):e===exports.EnvEumFromPackage.staging?(t=" Staging",n="Staging".toLowerCase()):e===exports.EnvEumFromPackage.local?(t=" Local",n="Local".toLowerCase()):(t="",n="Production".toLowerCase()),o.name="".concat(r).concat(t),o.slug="".concat(r.toLowerCase()).replace(" ",""),o.slug=o.slug.replace(/\s/g,""),o.identifier="com.".concat(o.slug,".").concat(e.toLowerCase()),o.shortName="".concat(r).concat(t).replace("The","").substring(0,12),o.scheme=n,o}(c,o.name),p=u.name,b=u.slug,h=u.shortName,y=u.scheme,w=u.identifier,j=function(o,t){try{if(!t)throw new Error("Path for versions is not defined");var n=e.resolve(t),a=r.readFileSync(n,"utf8"),c=JSON.parse(a),s=c[o];return s||(s=c.production),{android:{versionCode:s.android.versionCode},ios:{buildNumber:s.ios.buildNumber},app:{version:s.app.version}}}catch(e){throw new Error("Error getting versions for environment: ".concat(o," - ").concat(e.message))}}(c,t.versionsPath),E=j.ios,O=j.android,P=d(o,{name:p,slug:b,scheme:y,version:j.app.version,icon:f(s),android:{package:w,versionCode:O.versionCode,backgroundColor:g(i),splash:v(s,i),adaptiveIcon:{foregroundImage:s.adaptiveIconImage},icon:f(s)},web:{backgroundColor:g(i),splash:v(s,i),shortName:h,favicon:s.faviconImage,themeColor:i.themeColor},ios:{backgroundColor:i.splash.backgroundColor.light,buildNumber:E.buildNumber,bundleIdentifier:w,splash:v(s,i),icon:f(s)},extra:{env:a,eas:{projectId:t.projectId}}});return m(P),P};
|
@@ -6,4 +6,3 @@ export declare const getSplash: (images: ImagesForEnvironment, colors: ColorsFro
|
|
6
6
|
};
|
7
7
|
export declare const getAppIcon: (images: ImagesForEnvironment) => string;
|
8
8
|
export declare const getAppBackgroundColor: (colors: ColorsFromAssets) => string;
|
9
|
-
//# sourceMappingURL=get-app-images.d.ts.map
|
@@ -1,10 +1,4 @@
|
|
1
1
|
import { createBundle } from "./create-bundle";
|
2
|
-
export { createBundle } from "./create-bundle";
|
3
|
-
export { createNamesForPackage } from "./create-names-for-package";
|
4
|
-
export { getColorsForEnvironment } from "./get-colors-for-environment";
|
5
|
-
export { getImagesForEnvironment } from "./get-images-for-config";
|
6
2
|
export type { ImagesForEnvironment } from "./get-images-for-config";
|
7
|
-
export { getVersions } from "./get-versions";
|
8
3
|
export { AppConfigFromEnv, ColorsFromAssets, EnvEumFromPackage, ColorMode, BundleConfig, EnvType, ColorAppConfig, PieceOfConfig, AndroidVersion, SplashConfig, EnvironmentConfig, IOSVersion, } from "./setup-config.types";
|
9
4
|
export default createBundle;
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
//# sourceMappingURL=index.js.map
|
1
|
+
import e from"path";import r from"fs";import{removeSpacesFromString as o,removeNewLinesFromString as t}from"@devlander/utils";function n(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function a(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){s(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function c(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var t=o.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,r,o){return(r=c(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}var l,u={splashFileName:"app-splash",iconFileName:"app-icon",adaptiveFileName:"app-adaptive-icon",faviconFileName:"favicon"};!function(e){e.production="production",e.staging="staging",e.development="development",e.local="local"}(l||(l={}));function p(r){var n=r,a=(n=n.replace(/\/\//g,"/")).indexOf("/assets");-1!==a&&(n=n.substring(a)),n.startsWith("/assets")||(n="/assets/"+n);var c=process.cwd(),i=e.join(c,n),s="./"+e.relative(c,i).replace(/\\/g,"/");s=o(s),(s=t(s)).includes("assets/assets")&&(s=s.replace("assets/assets","assets"));var l=s.split("/");if("assets"!==l[0]||"assets"===l[1])return"."===l[0]&&"assets"===l[1]?s:".."===l[0]&&"assets"===l[1]?"./"+s:p(s);s="./"+s}var f=function(e){return p(e)||e};function m(e){Object.keys(e).forEach((function(r){var o=e[r];"string"==typeof o&&o.includes("/assets")?e[r]=f(o):"object"!==i(o)||null===o||Array.isArray(o)||m(o)}))}var v=function(e,r){var o=r.splash.backgroundColor.light;return{image:e.splashImage,backgroundColor:o,resizeMode:"contain"}},g=function(e){return e.iconImage},d=function(e){return e.splash.backgroundColor.light};function b(e,r){var o=a({},e);return Object.keys(r).forEach((function(e){"object"!==i(r[e])||null===r[e]||Array.isArray(r[e])||!o[e]||"object"!==i(o[e])||Array.isArray(o[e])?o[e]=r[e]:o[e]=b(o[e],r[e])})),o}var h=function(o,t){var n=t.envVariables,c=n.environment,i=function(e,r,o){try{r||(r="../assets/images"),o||(o=u);var t=require("path"),n=e.toLowerCase();return{splashImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.splashFileName,".png")),iconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.iconFileName,".png")),adaptiveIconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.adaptiveFileName,".png")),faviconImage:t.resolve("".concat(r,"/").concat(n,"-").concat(o.faviconFileName,".png"))}}catch(r){throw new Error("Error getting images for environment: ".concat(e))}}(c,t.imagesPath),s=function(o,t){if(!t)throw new Error("Path for colors is not defined");var n=e.resolve("".concat(t,"/").concat(o,".colors.json")),c=e.resolve("".concat(t,"/shared.colors.json"));try{var i=r.readFileSync(n,"utf8"),s=r.readFileSync(c,"utf8");return a(a({},JSON.parse(s)),JSON.parse(i))}catch(e){throw new Error("Error reading color files: ".concat(e))}}(c,t.colorsPath),p=function(e,r){var o={name:"",slug:"",identifier:"",shortName:"",scheme:""},t="",n="";return e===l.development?(t=" Dev",n="Development".toLowerCase()):e===l.staging?(t=" Staging",n="Staging".toLowerCase()):e===l.local?(t=" Local",n="Local".toLowerCase()):(t="",n="Production".toLowerCase()),o.name="".concat(r).concat(t),o.slug="".concat(r.toLowerCase()).replace(" ",""),o.slug=o.slug.replace(/\s/g,""),o.identifier="com.".concat(o.slug,".").concat(e.toLowerCase()),o.shortName="".concat(r).concat(t).replace("The","").substring(0,12),o.scheme=n,o}(c,o.name),f=p.name,h=p.slug,y=p.shortName,w=p.scheme,j=p.identifier,O=function(o,t){try{if(!t)throw new Error("Path for versions is not defined");var n=e.resolve(t),a=r.readFileSync(n,"utf8"),c=JSON.parse(a),i=c[o];return i||(i=c.production),{android:{versionCode:i.android.versionCode},ios:{buildNumber:i.ios.buildNumber},app:{version:i.app.version}}}catch(e){throw new Error("Error getting versions for environment: ".concat(o," - ").concat(e.message))}}(c,t.versionsPath),C=O.ios,N=O.android,S=b(o,{name:f,slug:h,scheme:w,version:O.app.version,icon:g(i),android:{package:j,versionCode:N.versionCode,backgroundColor:d(s),splash:v(i,s),adaptiveIcon:{foregroundImage:i.adaptiveIconImage},icon:g(i)},web:{backgroundColor:d(s),splash:v(i,s),shortName:y,favicon:i.faviconImage,themeColor:s.themeColor},ios:{backgroundColor:s.splash.backgroundColor.light,buildNumber:C.buildNumber,bundleIdentifier:j,splash:v(i,s),icon:g(i)},extra:{env:n,eas:{projectId:t.projectId}}});return m(S),S};export{l as EnvEumFromPackage,h as default};
|
@@ -6,4 +6,3 @@ export declare const getSplash: (images: ImagesForEnvironment, colors: ColorsFro
|
|
6
6
|
};
|
7
7
|
export declare const getAppIcon: (images: ImagesForEnvironment) => string;
|
8
8
|
export declare const getAppBackgroundColor: (colors: ColorsFromAssets) => string;
|
9
|
-
//# sourceMappingURL=get-app-images.d.ts.map
|
@@ -1,10 +1,4 @@
|
|
1
1
|
import { createBundle } from "./create-bundle";
|
2
|
-
export { createBundle } from "./create-bundle";
|
3
|
-
export { createNamesForPackage } from "./create-names-for-package";
|
4
|
-
export { getColorsForEnvironment } from "./get-colors-for-environment";
|
5
|
-
export { getImagesForEnvironment } from "./get-images-for-config";
|
6
2
|
export type { ImagesForEnvironment } from "./get-images-for-config";
|
7
|
-
export { getVersions } from "./get-versions";
|
8
3
|
export { AppConfigFromEnv, ColorsFromAssets, EnvEumFromPackage, ColorMode, BundleConfig, EnvType, ColorAppConfig, PieceOfConfig, AndroidVersion, SplashConfig, EnvironmentConfig, IOSVersion, } from "./setup-config.types";
|
9
4
|
export default createBundle;
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/umd/index.js
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(
|
2
|
-
//# sourceMappingURL=index.js.map
|
1
|
+
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("path"),require("fs"),require("@devlander/utils")):"function"==typeof define&&define.amd?define(["exports","path","fs","@devlander/utils"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).DevlanderExpoConfig={},e.path,e.fs,e.utils)}(this,(function(e,r,o,t){"use strict";function n(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function a(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){s(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function i(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var t=o.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,r,o){return(r=i(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}var l,u={splashFileName:"app-splash",iconFileName:"app-icon",adaptiveFileName:"app-adaptive-icon",faviconFileName:"favicon"};e.EnvEumFromPackage=void 0,(l=e.EnvEumFromPackage||(e.EnvEumFromPackage={})).production="production",l.staging="staging",l.development="development",l.local="local";function p(e){var o=e,n=(o=o.replace(/\/\//g,"/")).indexOf("/assets");-1!==n&&(o=o.substring(n)),o.startsWith("/assets")||(o="/assets/"+o);var a=process.cwd(),i=r.join(a,o),c="./"+r.relative(a,i).replace(/\\/g,"/");c=t.removeSpacesFromString(c),(c=t.removeNewLinesFromString(c)).includes("assets/assets")&&(c=c.replace("assets/assets","assets"));var s=c.split("/");if("assets"!==s[0]||"assets"===s[1])return"."===s[0]&&"assets"===s[1]?c:".."===s[0]&&"assets"===s[1]?"./"+c:p(c);c="./"+c}var f=function(e){return p(e)||e};function m(e){Object.keys(e).forEach((function(r){var o=e[r];"string"==typeof o&&o.includes("/assets")?e[r]=f(o):"object"!==c(o)||null===o||Array.isArray(o)||m(o)}))}var v=function(e,r){var o=r.splash.backgroundColor.light;return{image:e.splashImage,backgroundColor:o,resizeMode:"contain"}},d=function(e){return e.iconImage},g=function(e){return e.splash.backgroundColor.light};function b(e,r){var o=a({},e);return Object.keys(r).forEach((function(e){"object"!==c(r[e])||null===r[e]||Array.isArray(r[e])||!o[e]||"object"!==c(o[e])||Array.isArray(o[e])?o[e]=r[e]:o[e]=b(o[e],r[e])})),o}e.default=function(t,n){var i=n.envVariables,c=i.environment,s=function(e,r,o){try{r||(r="../assets/images"),o||(o=u);var t=require("path"),n=e.toLowerCase();return{splashImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.splashFileName,".png")),iconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.iconFileName,".png")),adaptiveIconImage:t.resolve("".concat(r,"/\n ").concat(n,"-").concat(o.adaptiveFileName,".png")),faviconImage:t.resolve("".concat(r,"/").concat(n,"-").concat(o.faviconFileName,".png"))}}catch(r){throw new Error("Error getting images for environment: ".concat(e))}}(c,n.imagesPath),l=function(e,t){if(!t)throw new Error("Path for colors is not defined");var n=r.resolve("".concat(t,"/").concat(e,".colors.json")),i=r.resolve("".concat(t,"/shared.colors.json"));try{var c=o.readFileSync(n,"utf8"),s=o.readFileSync(i,"utf8");return a(a({},JSON.parse(s)),JSON.parse(c))}catch(e){throw new Error("Error reading color files: ".concat(e))}}(c,n.colorsPath),p=function(r,o){var t={name:"",slug:"",identifier:"",shortName:"",scheme:""},n="",a="";return r===e.EnvEumFromPackage.development?(n=" Dev",a="Development".toLowerCase()):r===e.EnvEumFromPackage.staging?(n=" Staging",a="Staging".toLowerCase()):r===e.EnvEumFromPackage.local?(n=" Local",a="Local".toLowerCase()):(n="",a="Production".toLowerCase()),t.name="".concat(o).concat(n),t.slug="".concat(o.toLowerCase()).replace(" ",""),t.slug=t.slug.replace(/\s/g,""),t.identifier="com.".concat(t.slug,".").concat(r.toLowerCase()),t.shortName="".concat(o).concat(n).replace("The","").substring(0,12),t.scheme=a,t}(c,t.name),f=p.name,h=p.slug,y=p.shortName,w=p.scheme,j=p.identifier,E=function(e,t){try{if(!t)throw new Error("Path for versions is not defined");var n=r.resolve(t),a=o.readFileSync(n,"utf8"),i=JSON.parse(a),c=i[e];return c||(c=i.production),{android:{versionCode:c.android.versionCode},ios:{buildNumber:c.ios.buildNumber},app:{version:c.app.version}}}catch(r){throw new Error("Error getting versions for environment: ".concat(e," - ").concat(r.message))}}(c,n.versionsPath),O=E.ios,P=E.android,C=b(t,{name:f,slug:h,scheme:w,version:E.app.version,icon:d(s),android:{package:j,versionCode:P.versionCode,backgroundColor:g(l),splash:v(s,l),adaptiveIcon:{foregroundImage:s.adaptiveIconImage},icon:d(s)},web:{backgroundColor:g(l),splash:v(s,l),shortName:y,favicon:s.faviconImage,themeColor:l.themeColor},ios:{backgroundColor:l.splash.backgroundColor.light,buildNumber:O.buildNumber,bundleIdentifier:j,splash:v(s,l),icon:d(s)},extra:{env:i,eas:{projectId:n.projectId}}});return m(C),C},Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -6,4 +6,3 @@ export declare const getSplash: (images: ImagesForEnvironment, colors: ColorsFro
|
|
6
6
|
};
|
7
7
|
export declare const getAppIcon: (images: ImagesForEnvironment) => string;
|
8
8
|
export declare const getAppBackgroundColor: (colors: ColorsFromAssets) => string;
|
9
|
-
//# sourceMappingURL=get-app-images.d.ts.map
|
@@ -1,10 +1,4 @@
|
|
1
1
|
import { createBundle } from "./create-bundle";
|
2
|
-
export { createBundle } from "./create-bundle";
|
3
|
-
export { createNamesForPackage } from "./create-names-for-package";
|
4
|
-
export { getColorsForEnvironment } from "./get-colors-for-environment";
|
5
|
-
export { getImagesForEnvironment } from "./get-images-for-config";
|
6
2
|
export type { ImagesForEnvironment } from "./get-images-for-config";
|
7
|
-
export { getVersions } from "./get-versions";
|
8
3
|
export { AppConfigFromEnv, ColorsFromAssets, EnvEumFromPackage, ColorMode, BundleConfig, EnvType, ColorAppConfig, PieceOfConfig, AndroidVersion, SplashConfig, EnvironmentConfig, IOSVersion, } from "./setup-config.types";
|
9
4
|
export default createBundle;
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
@@ -6,4 +6,3 @@ export declare const getSplash: (images: ImagesForEnvironment, colors: ColorsFro
|
|
6
6
|
};
|
7
7
|
export declare const getAppIcon: (images: ImagesForEnvironment) => string;
|
8
8
|
export declare const getAppBackgroundColor: (colors: ColorsFromAssets) => string;
|
9
|
-
//# sourceMappingURL=get-app-images.d.ts.map
|
package/typings/index.d.ts
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
import { createBundle } from "./create-bundle";
|
2
|
-
export { createBundle } from "./create-bundle";
|
3
|
-
export { createNamesForPackage } from "./create-names-for-package";
|
4
|
-
export { getColorsForEnvironment } from "./get-colors-for-environment";
|
5
|
-
export { getImagesForEnvironment } from "./get-images-for-config";
|
6
2
|
export type { ImagesForEnvironment } from "./get-images-for-config";
|
7
|
-
export { getVersions } from "./get-versions";
|
8
3
|
export { AppConfigFromEnv, ColorsFromAssets, EnvEumFromPackage, ColorMode, BundleConfig, EnvType, ColorAppConfig, PieceOfConfig, AndroidVersion, SplashConfig, EnvironmentConfig, IOSVersion, } from "./setup-config.types";
|
9
4
|
export default createBundle;
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/typings/tools.d.ts
CHANGED
package/dist/cjs/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { createBundle } from \"./create-bundle\";\n\nexport { createBundle } from \"./create-bundle\";\nexport { createNamesForPackage } from \"./create-names-for-package\";\nexport { getColorsForEnvironment } from \"./get-colors-for-environment\";\nexport { getImagesForEnvironment } from \"./get-images-for-config\";\nexport type { ImagesForEnvironment } from \"./get-images-for-config\";\nexport { getVersions } from \"./get-versions\";\nexport {\n AppConfigFromEnv,\n ColorsFromAssets,\n EnvEumFromPackage,\n ColorMode,\n BundleConfig,\n EnvType,\n ColorAppConfig,\n PieceOfConfig,\n AndroidVersion,\n SplashConfig,\n EnvironmentConfig,\n IOSVersion,\n} from \"./setup-config.types\";\n\nexport default createBundle;\n"],"names":["create_bundle_1","require","create_bundle_2","Object","defineProperty","exports","enumerable","get","createBundle","create_names_for_package_1","createNamesForPackage","get_colors_for_environment_1","getColorsForEnvironment","get_images_for_config_1","getImagesForEnvironment","get_versions_1","getVersions","setup_config_types_1","EnvEumFromPackage"],"mappings":"4OAAA,IAA+CA,EAAAC,QAAA,mBAEAC,EAAAD,QAAA,mBAAtCE,OAAAC,eAAAC,QAAA,eAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAL,EAAAM,YAAY,IACrB,IAAmEC,EAAAR,QAAA,8BAA1DE,OAAAC,eAAAC,QAAA,wBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAE,EAAAC,qBAAqB,IAC9B,IAAuEC,EAAAV,QAAA,gCAA9DE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAI,EAAAC,uBAAuB,IAChC,IAAkEC,EAAAZ,QAAA,2BAAzDE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAM,EAAAC,uBAAuB,IAEhC,IAA6CC,EAAAd,QAAA,kBAApCE,OAAAC,eAAAC,QAAA,cAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAQ,EAAAC,WAAW,IACpB,IAa8BC,EAAAhB,QAAA,wBAV5BE,OAAAC,eAAAC,QAAA,oBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAU,EAAAC,iBAAiB,IAYnBb,QAAA,QAAeL"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apply-relative-paths-to-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/create-bundle.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/format-assets-path.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-colors-for-environment.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-images-for-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-versions.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tools.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/tools.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.d.ts","sourceRoot":"","sources":["../src/apply-relative-paths-to-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,SAAK,QAoBpE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.d.ts","sourceRoot":"","sources":["../src/create-bundle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACd,MAAM,sBAAsB,CAAC;AAM9B,UAAU,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAgCD,eAAO,MAAM,YAAY,mBACP,aAAa,gBACf,YAAY,KACzB,aAAa,GAAG,GAoElB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-names-for-package.d.ts","sourceRoot":"","sources":["../src/create-names-for-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,qBAAqB,oBACf,OAAO,WACf,MAAM;UAET,MAAM;eACD,MAAM;YACT,MAAM;gBACF,MAAM;UACZ,MAAM;CAmCb,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.d.ts","sourceRoot":"","sources":["../src/format-assets-path.ts"],"names":[],"mappings":"AAMA,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAyCrE;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,MAGhD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-app-images.d.ts","sourceRoot":"","sources":["../src/get-app-images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAE3D,eAAO,MAAM,SAAS,WACZ,oBAAoB,UACpB,gBAAgB,KACvB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAYlC,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,oBAAoB,KAAG,MAEzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,gBAAgB,KAAG,MAEhE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.d.ts","sourceRoot":"","sources":["../src/get-colors-for-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIzE,eAAO,MAAM,uBAAuB,QAC7B,OAAO,iBACG,MAAM,KACpB,gBA2BF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.d.ts","sourceRoot":"","sources":["../src/get-images-for-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AASD,eAAO,MAAM,uBAAuB,QAC7B,OAAO,gBACE,MAAM,mBACH,gBAAgB,KAChC,oBAwCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.d.ts","sourceRoot":"","sources":["../src/get-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,WAAW,QACjB,OAAO,gBACE,MAAM,KACnB,iBAgCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAE9B,eAAe,YAAY,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"setup-config.types.d.ts","sourceRoot":"","sources":["../src/setup-config.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAAG,WAAW,CAAC;AAC5D,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,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,+BAA+B,YACjC,MAAM,eACF,gBAAgB,CAAC,aAAa,CAAC,KAC3C,aAmFF,CAAC;AAGF,eAAO,MAAM,uBAAuB,SAC5B,MAAM,QACN,MAAM,KACX,aA4CF,CAAC;AAGF,eAAO,MAAM,gBAAgB,cACqB,CAAC;AACnD,eAAO,MAAM,aAAa,cAAgD,CAAC;AAC3E,eAAO,MAAM,WAAW,cAA8C,CAAC;AACvE,eAAO,MAAM,iBAAiB,cACqB,CAAC;AAEpD,eAAO,MAAM,aAAa,eAGzB,CAAC;AACF,eAAO,MAAM,oBAAoB,eAGhC,CAAC;AACF,eAAO,MAAM,iBAAiB,eAG7B,CAAC;AAEF,eAAO,MAAM,YAAY,eAA6C,CAAC;AAIvE,eAAO,MAAM,gBAAgB,KAA+C,CAAC;AAC7E,eAAO,MAAM,aAAa,KAA4C,CAAC;AACvE,eAAO,MAAM,WAAW,KAA0C,CAAC;AACnE,eAAO,MAAM,iBAAiB,KAAgD,CAAC"}
|
package/dist/esm/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { createBundle } from \"./create-bundle\";\n\nexport { createBundle } from \"./create-bundle\";\nexport { createNamesForPackage } from \"./create-names-for-package\";\nexport { getColorsForEnvironment } from \"./get-colors-for-environment\";\nexport { getImagesForEnvironment } from \"./get-images-for-config\";\nexport type { ImagesForEnvironment } from \"./get-images-for-config\";\nexport { getVersions } from \"./get-versions\";\nexport {\n AppConfigFromEnv,\n ColorsFromAssets,\n EnvEumFromPackage,\n ColorMode,\n BundleConfig,\n EnvType,\n ColorAppConfig,\n PieceOfConfig,\n AndroidVersion,\n SplashConfig,\n EnvironmentConfig,\n IOSVersion,\n} from \"./setup-config.types\";\n\nexport default createBundle;\n"],"names":["create_bundle_1","require","create_bundle_2","Object","defineProperty","exports","enumerable","get","createBundle","create_names_for_package_1","createNamesForPackage","get_colors_for_environment_1","getColorsForEnvironment","get_images_for_config_1","getImagesForEnvironment","get_versions_1","getVersions","setup_config_types_1","EnvEumFromPackage"],"mappings":"+NAAA,IAA+CA,EAAAC,QAAA,mBAEAC,EAAAD,QAAA,mBAAtCE,OAAAC,eAAAC,QAAA,eAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAL,EAAAM,YAAY,IACrB,IAAmEC,EAAAR,QAAA,8BAA1DE,OAAAC,eAAAC,QAAA,wBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAE,EAAAC,qBAAqB,IAC9B,IAAuEC,EAAAV,QAAA,gCAA9DE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAI,EAAAC,uBAAuB,IAChC,IAAkEC,EAAAZ,QAAA,2BAAzDE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAM,EAAAC,uBAAuB,IAEhC,IAA6CC,EAAAd,QAAA,kBAApCE,OAAAC,eAAAC,QAAA,cAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAQ,EAAAC,WAAW,IACpB,IAa8BC,EAAAhB,QAAA,wBAV5BE,OAAAC,eAAAC,QAAA,oBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAU,EAAAC,iBAAiB,IAYnBb,QAAA,QAAeL"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apply-relative-paths-to-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/create-bundle.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/format-assets-path.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-colors-for-environment.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-images-for-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-versions.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tools.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/tools.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.d.ts","sourceRoot":"","sources":["../src/apply-relative-paths-to-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,SAAK,QAoBpE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.d.ts","sourceRoot":"","sources":["../src/create-bundle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACd,MAAM,sBAAsB,CAAC;AAM9B,UAAU,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAgCD,eAAO,MAAM,YAAY,mBACP,aAAa,gBACf,YAAY,KACzB,aAAa,GAAG,GAoElB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-names-for-package.d.ts","sourceRoot":"","sources":["../src/create-names-for-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,qBAAqB,oBACf,OAAO,WACf,MAAM;UAET,MAAM;eACD,MAAM;YACT,MAAM;gBACF,MAAM;UACZ,MAAM;CAmCb,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.d.ts","sourceRoot":"","sources":["../src/format-assets-path.ts"],"names":[],"mappings":"AAMA,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAyCrE;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,MAGhD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-app-images.d.ts","sourceRoot":"","sources":["../src/get-app-images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAE3D,eAAO,MAAM,SAAS,WACZ,oBAAoB,UACpB,gBAAgB,KACvB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAYlC,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,oBAAoB,KAAG,MAEzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,gBAAgB,KAAG,MAEhE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.d.ts","sourceRoot":"","sources":["../src/get-colors-for-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIzE,eAAO,MAAM,uBAAuB,QAC7B,OAAO,iBACG,MAAM,KACpB,gBA2BF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.d.ts","sourceRoot":"","sources":["../src/get-images-for-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AASD,eAAO,MAAM,uBAAuB,QAC7B,OAAO,gBACE,MAAM,mBACH,gBAAgB,KAChC,oBAwCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.d.ts","sourceRoot":"","sources":["../src/get-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,WAAW,QACjB,OAAO,gBACE,MAAM,KACnB,iBAgCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAE9B,eA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|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AACA,OAAqB,EACnB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EAEd,MAAM,GAAG,CAAC;AAKX,eAAO,MAAM,qBAAqB,WACxB,aAAa,eACR,gBAAgB,CAAC,aAAa,CAAC,SAG7C,CAAC;AAGF,eAAO,MAAM,kCAAkC,gBAChC,gBAAgB,CAAC,aAAa,CAAC,KAC3C,YA6CF,CAAC;AAGF,eAAO,MAAM,+BAA+B,YACjC,MAAM,eACF,gBAAgB,CAAC,aAAa,CAAC,KAC3C,aAmFF,CAAC;AAGF,eAAO,MAAM,uBAAuB,SAC5B,MAAM,QACN,MAAM,KACX,aA4CF,CAAC;AAGF,eAAO,MAAM,gBAAgB,cACqB,CAAC;AACnD,eAAO,MAAM,aAAa,cAAgD,CAAC;AAC3E,eAAO,MAAM,WAAW,cAA8C,CAAC;AACvE,eAAO,MAAM,iBAAiB,cACqB,CAAC;AAEpD,eAAO,MAAM,aAAa,eAGzB,CAAC;AACF,eAAO,MAAM,oBAAoB,eAGhC,CAAC;AACF,eAAO,MAAM,iBAAiB,eAG7B,CAAC;AAEF,eAAO,MAAM,YAAY,eAA6C,CAAC;AAIvE,eAAO,MAAM,gBAAgB,KAA+C,CAAC;AAC7E,eAAO,MAAM,aAAa,KAA4C,CAAC;AACvE,eAAO,MAAM,WAAW,KAA0C,CAAC;AACnE,eAAO,MAAM,iBAAiB,KAAgD,CAAC"}
|
package/dist/umd/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import { createBundle } from \"./create-bundle\";\n\nexport { createBundle } from \"./create-bundle\";\nexport { createNamesForPackage } from \"./create-names-for-package\";\nexport { getColorsForEnvironment } from \"./get-colors-for-environment\";\nexport { getImagesForEnvironment } from \"./get-images-for-config\";\nexport type { ImagesForEnvironment } from \"./get-images-for-config\";\nexport { getVersions } from \"./get-versions\";\nexport {\n AppConfigFromEnv,\n ColorsFromAssets,\n EnvEumFromPackage,\n ColorMode,\n BundleConfig,\n EnvType,\n ColorAppConfig,\n PieceOfConfig,\n AndroidVersion,\n SplashConfig,\n EnvironmentConfig,\n IOSVersion,\n} from \"./setup-config.types\";\n\nexport default createBundle;\n"],"names":["create_bundle_1","require","create_bundle_2","Object","defineProperty","exports","enumerable","get","createBundle","create_names_for_package_1","createNamesForPackage","get_colors_for_environment_1","getColorsForEnvironment","get_images_for_config_1","getImagesForEnvironment","get_versions_1","getVersions","setup_config_types_1","EnvEumFromPackage"],"mappings":"0TAAA,IAA+CA,EAAAC,QAAA,mBAEAC,EAAAD,QAAA,mBAAtCE,OAAAC,eAAAC,QAAA,eAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAL,EAAAM,YAAY,IACrB,IAAmEC,EAAAR,QAAA,8BAA1DE,OAAAC,eAAAC,QAAA,wBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAE,EAAAC,qBAAqB,IAC9B,IAAuEC,EAAAV,QAAA,gCAA9DE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAI,EAAAC,uBAAuB,IAChC,IAAkEC,EAAAZ,QAAA,2BAAzDE,OAAAC,eAAAC,QAAA,0BAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAM,EAAAC,uBAAuB,IAEhC,IAA6CC,EAAAd,QAAA,kBAApCE,OAAAC,eAAAC,QAAA,cAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAQ,EAAAC,WAAW,IACpB,IAa8BC,EAAAhB,QAAA,wBAV5BE,OAAAC,eAAAC,QAAA,oBAAA,CAAAC,YAAA,EAAAC,IAAA,WAAA,OAAAU,EAAAC,iBAAiB,IAYnBb,QAAA,QAAeL"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apply-relative-paths-to-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/create-bundle.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/format-assets-path.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-colors-for-environment.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-images-for-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-versions.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tools.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/tools.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.d.ts","sourceRoot":"","sources":["../src/apply-relative-paths-to-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,SAAK,QAoBpE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.d.ts","sourceRoot":"","sources":["../src/create-bundle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACd,MAAM,sBAAsB,CAAC;AAM9B,UAAU,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAgCD,eAAO,MAAM,YAAY,mBACP,aAAa,gBACf,YAAY,KACzB,aAAa,GAAG,GAoElB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-names-for-package.d.ts","sourceRoot":"","sources":["../src/create-names-for-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,qBAAqB,oBACf,OAAO,WACf,MAAM;UAET,MAAM;eACD,MAAM;YACT,MAAM;gBACF,MAAM;UACZ,MAAM;CAmCb,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.d.ts","sourceRoot":"","sources":["../src/format-assets-path.ts"],"names":[],"mappings":"AAMA,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAyCrE;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,MAGhD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-app-images.d.ts","sourceRoot":"","sources":["../src/get-app-images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAE3D,eAAO,MAAM,SAAS,WACZ,oBAAoB,UACpB,gBAAgB,KACvB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAYlC,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,oBAAoB,KAAG,MAEzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,gBAAgB,KAAG,MAEhE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.d.ts","sourceRoot":"","sources":["../src/get-colors-for-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIzE,eAAO,MAAM,uBAAuB,QAC7B,OAAO,iBACG,MAAM,KACpB,gBA2BF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.d.ts","sourceRoot":"","sources":["../src/get-images-for-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AASD,eAAO,MAAM,uBAAuB,QAC7B,OAAO,gBACE,MAAM,mBACH,gBAAgB,KAChC,oBAwCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.d.ts","sourceRoot":"","sources":["../src/get-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,WAAW,QACjB,OAAO,gBACE,MAAM,KACnB,iBAgCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EA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iB,KAAgD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apply-relative-paths-to-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/create-bundle.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/format-assets-path.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-colors-for-environment.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-images-for-config.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/get-versions.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tools.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/tools.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"apply-relative-paths-to-config.d.ts","sourceRoot":"","sources":["../src/apply-relative-paths-to-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,SAAK,QAoBpE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-bundle.d.ts","sourceRoot":"","sources":["../src/create-bundle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACd,MAAM,sBAAsB,CAAC;AAM9B,UAAU,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAgCD,eAAO,MAAM,YAAY,mBACP,aAAa,gBACf,YAAY,KACzB,aAAa,GAAG,GAoElB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create-names-for-package.d.ts","sourceRoot":"","sources":["../src/create-names-for-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,qBAAqB,oBACf,OAAO,WACf,MAAM;UAET,MAAM;eACD,MAAM;YACT,MAAM;gBACF,MAAM;UACZ,MAAM;CAmCb,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"format-assets-path.d.ts","sourceRoot":"","sources":["../src/format-assets-path.ts"],"names":[],"mappings":"AAMA,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAyCrE;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,MAGhD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-app-images.d.ts","sourceRoot":"","sources":["../src/get-app-images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAE3D,eAAO,MAAM,SAAS,WACZ,oBAAoB,UACpB,gBAAgB,KACvB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAYlC,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,oBAAoB,KAAG,MAEzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,gBAAgB,KAAG,MAEhE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-colors-for-environment.d.ts","sourceRoot":"","sources":["../src/get-colors-for-environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIzE,eAAO,MAAM,uBAAuB,QAC7B,OAAO,iBACG,MAAM,KACpB,gBA2BF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-images-for-config.d.ts","sourceRoot":"","sources":["../src/get-images-for-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB;AASD,eAAO,MAAM,uBAAuB,QAC7B,OAAO,gBACE,MAAM,mBACH,gBAAgB,KAChC,oBAwCF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-versions.d.ts","sourceRoot":"","sources":["../src/get-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,WAAW,QACjB,OAAO,gBACE,MAAM,KACnB,iBAgCF,CAAC"}
|
package/typings/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,O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