@admin-layout/client 3.0.0-alpha.73 → 3.0.0-alpha.75
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.
package/lib/config/env-config.js
CHANGED
|
@@ -2,14 +2,13 @@ import * as envalid from 'envalid';
|
|
|
2
2
|
import { defaultSettings } from './defaultSettings';
|
|
3
3
|
const { json } = envalid;
|
|
4
4
|
const env = process.APP_ENV || process.env;
|
|
5
|
-
// overwrite the layout settings with environment
|
|
5
|
+
// overwrite the layout settings with environment
|
|
6
6
|
if (env.LAYOUT_SETTINGS) {
|
|
7
|
-
env.LAYOUT_SETTINGS = Object.assign(Object.assign({}, defaultSettings), env.LAYOUT_SETTINGS);
|
|
7
|
+
env.LAYOUT_SETTINGS = JSON.stringify(Object.assign(Object.assign({}, defaultSettings), JSON.parse(env.LAYOUT_SETTINGS)));
|
|
8
8
|
}
|
|
9
|
-
export const config = envalid.cleanEnv(env,
|
|
10
|
-
/* start */ {
|
|
9
|
+
export const config = envalid.cleanEnv(env, {
|
|
11
10
|
LAYOUT_SETTINGS: json({
|
|
12
11
|
default: JSON.stringify(defaultSettings),
|
|
13
12
|
}),
|
|
14
|
-
}
|
|
13
|
+
});
|
|
15
14
|
//# sourceMappingURL=env-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-config.js","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;AACzB,MAAM,GAAG,GAAI,OAAe,CAAC,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"env-config.js","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;AACzB,MAAM,GAAG,GAAI,OAAe,CAAC,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;AAEpD,kDAAkD;AAClD,IAAI,GAAG,CAAC,eAAe,EAAE;IACrB,GAAG,CAAC,eAAe,GAAG,IAAI,CAAC,SAAS,iCAAM,eAAe,GAAK,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,EAAI,CAAC;CACrG;AACD,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,EACtC;IACI,eAAe,EAAE,IAAI,CAAkB;QACnC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAQ;KAClD,CAAC;CACL,CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/client",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.75",
|
|
4
4
|
"description": "Sample client for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"typescript": {
|
|
35
35
|
"definition": "lib/index.d.ts"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "eecd3ded9fbd8b19eea2550d230ef5fc0323a9b4"
|
|
38
38
|
}
|