@intlayer/config 5.3.11 → 5.3.12

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.
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var built_browser_exports = {};
20
+ __export(built_browser_exports, {
21
+ default: () => built_browser_default
22
+ });
23
+ module.exports = __toCommonJS(built_browser_exports);
24
+ var import_envVariables = require('./envVariables/index.cjs');
25
+ const configuration = (0, import_envVariables.getConfiguration)();
26
+ console.log({ configuration });
27
+ var built_browser_default = configuration;
28
+ //# sourceMappingURL=built_browser.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/built_browser.ts"],"sourcesContent":["/**\n * @intlayer/config/built is a package that only returns the configuration file as a JSON object.\n * Using an external package allow to alias it in the bundle configuration (such as webpack).\n */\n\nimport { getConfiguration } from './envVariables';\n\nconst configuration = getConfiguration();\n\nconsole.log({ configuration });\nexport default configuration;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,0BAAiC;AAEjC,MAAM,oBAAgB,sCAAiB;AAEvC,QAAQ,IAAI,EAAE,cAAc,CAAC;AAC7B,IAAO,wBAAQ;","names":[]}
@@ -0,0 +1,8 @@
1
+ import { getConfiguration } from "./envVariables/index.mjs";
2
+ const configuration = getConfiguration();
3
+ console.log({ configuration });
4
+ var built_browser_default = configuration;
5
+ export {
6
+ built_browser_default as default
7
+ };
8
+ //# sourceMappingURL=built_browser.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/built_browser.ts"],"sourcesContent":["/**\n * @intlayer/config/built is a package that only returns the configuration file as a JSON object.\n * Using an external package allow to alias it in the bundle configuration (such as webpack).\n */\n\nimport { getConfiguration } from './envVariables';\n\nconst configuration = getConfiguration();\n\nconsole.log({ configuration });\nexport default configuration;\n"],"mappings":"AAKA,SAAS,wBAAwB;AAEjC,MAAM,gBAAgB,iBAAiB;AAEvC,QAAQ,IAAI,EAAE,cAAc,CAAC;AAC7B,IAAO,wBAAQ;","names":[]}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @intlayer/config/built is a package that only returns the configuration file as a JSON object.
3
+ * Using an external package allow to alias it in the bundle configuration (such as webpack).
4
+ */
5
+ declare const configuration: import("./client").IntlayerConfig;
6
+ export default configuration;
7
+ //# sourceMappingURL=built_browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"built_browser.d.ts","sourceRoot":"","sources":["../../src/built_browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,QAAA,MAAM,aAAa,mCAAqB,CAAC;AAGzC,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/config",
3
- "version": "5.3.11",
3
+ "version": "5.3.12",
4
4
  "private": false,
5
5
  "description": "Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.",
6
6
  "keywords": [
@@ -70,7 +70,7 @@
70
70
  ],
71
71
  "dependencies": {
72
72
  "dotenv": "^16.4.7",
73
- "esbuild": "^0.25.1"
73
+ "esbuild": "^0.25.2"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/node": "^22.13.10",
@@ -83,12 +83,12 @@
83
83
  "tsup": "^8.4.0",
84
84
  "typescript": "^5.8.2",
85
85
  "@utils/eslint-config": "1.0.4",
86
- "@utils/tsup-config": "1.0.4",
87
86
  "@utils/ts-config": "1.0.4",
88
- "@utils/ts-config-types": "1.0.4"
87
+ "@utils/ts-config-types": "1.0.4",
88
+ "@utils/tsup-config": "1.0.4"
89
89
  },
90
90
  "peerDependencies": {
91
- "intlayer": "5.3.11"
91
+ "intlayer": "5.3.12"
92
92
  },
93
93
  "engines": {
94
94
  "node": ">=14.18"