@intlayer/config 7.0.0-canary.2 → 7.0.0
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/dist/cjs/configFile/buildConfigurationFields.cjs +6 -6
- package/dist/cjs/configFile/buildConfigurationFields.cjs.map +1 -1
- package/dist/cjs/defaultValues/content.cjs +0 -3
- package/dist/cjs/defaultValues/content.cjs.map +1 -1
- package/dist/cjs/defaultValues/dictionary.cjs +7 -0
- package/dist/cjs/defaultValues/dictionary.cjs.map +1 -0
- package/dist/cjs/defaultValues/routing.cjs +1 -4
- package/dist/cjs/defaultValues/routing.cjs.map +1 -1
- package/dist/cjs/package.cjs +1 -1
- package/dist/cjs/package.cjs.map +1 -1
- package/dist/esm/configFile/buildConfigurationFields.mjs +8 -8
- package/dist/esm/configFile/buildConfigurationFields.mjs.map +1 -1
- package/dist/esm/defaultValues/content.mjs +1 -3
- package/dist/esm/defaultValues/content.mjs.map +1 -1
- package/dist/esm/defaultValues/dictionary.mjs +6 -0
- package/dist/esm/defaultValues/dictionary.mjs.map +1 -0
- package/dist/esm/defaultValues/routing.mjs +2 -4
- package/dist/esm/defaultValues/routing.mjs.map +1 -1
- package/dist/esm/package.mjs +1 -1
- package/dist/esm/package.mjs.map +1 -1
- package/dist/types/client.d.ts.map +1 -0
- package/dist/types/configFile/buildConfigurationFields.d.ts.map +1 -1
- package/dist/types/configFile/index.d.ts.map +1 -0
- package/dist/types/defaultValues/content.d.ts +2 -3
- package/dist/types/defaultValues/content.d.ts.map +1 -1
- package/dist/types/defaultValues/dictionary.d.ts +5 -0
- package/dist/types/defaultValues/dictionary.d.ts.map +1 -0
- package/dist/types/defaultValues/middleware.d.ts +8 -0
- package/dist/types/defaultValues/middleware.d.ts.map +1 -0
- package/dist/types/defaultValues/routing.d.ts +6 -4
- package/dist/types/defaultValues/routing.d.ts.map +1 -1
- package/dist/types/getSandboxContext.d.ts +4 -0
- package/dist/types/getSandboxContext.d.ts.map +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/loadExternalFile/bundleFile.d.ts.map +1 -1
- package/dist/types/loadExternalFile.d.ts +8 -0
- package/dist/types/loadExternalFile.d.ts.map +1 -0
- package/dist/types/types/config.d.ts +649 -0
- package/dist/types/types/config.d.ts.map +1 -0
- package/dist/types/types/locales.d.ts +564 -0
- package/dist/types/types/locales.d.ts.map +1 -0
- package/dist/types/types/plugin.d.ts +68 -0
- package/dist/types/types/plugin.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/cjs/extractErrorMessage.cjs +0 -95
- package/dist/cjs/extractErrorMessage.cjs.map +0 -1
- package/dist/esm/extractErrorMessage.mjs +0 -94
- package/dist/esm/extractErrorMessage.mjs.map +0 -1
- package/dist/types/extractErrorMessage.d.ts +0 -5
- package/dist/types/extractErrorMessage.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.mjs","names":[],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"routing.mjs","names":["STORAGE: RoutingConfig['storage']"],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":["import type { RoutingConfig } from '@intlayer/types';\n\nexport const HEADER_NAME = 'x-intlayer-locale';\n\nexport const COOKIE_NAME = 'INTLAYER_LOCALE';\nexport const LOCALE_STORAGE_NAME = 'INTLAYER_LOCALE';\n\nexport const BASE_PATH = '';\n\nexport const SERVER_SET_COOKIE = 'always';\n\nexport const ROUTING_MODE = 'prefix-no-default';\n\nexport const STORAGE: RoutingConfig['storage'] = ['cookie', 'header'];\n"],"mappings":";;;;;;;;;;;;AAEA,MAAa,cAAc;AAE3B,MAAa,cAAc;AAC3B,MAAa,sBAAsB;AAEnC,MAAa,YAAY;AAEzB,MAAa,oBAAoB;AAEjC,MAAa,eAAe;AAE5B,MAAaA,UAAoC,CAAC,UAAU,SAAS"}
|
package/dist/esm/package.mjs
CHANGED
package/dist/esm/package.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.mjs","names":[],"sources":["../../package.json"],"sourcesContent":["{\n \"name\": \"@intlayer/config\",\n \"version\": \"7.0.0
|
|
1
|
+
{"version":3,"file":"package.mjs","names":[],"sources":["../../package.json"],"sourcesContent":["{\n \"name\": \"@intlayer/config\",\n \"version\": \"7.0.0\",\n \"private\": false,\n \"description\": \"Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.\",\n \"keywords\": [\n \"intlayer\",\n \"layer\",\n \"abstraction\",\n \"data\",\n \"internationalization\",\n \"i18n\",\n \"typescript\",\n \"javascript\",\n \"json\",\n \"file\"\n ],\n \"homepage\": \"https://intlayer.org\",\n \"bugs\": {\n \"url\": \"https://github.com/aymericzip/intlayer/issues\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/aymericzip/intlayer.git\"\n },\n \"license\": \"Apache-2.0\",\n \"author\": {\n \"name\": \"Aymeric PINEAU\",\n \"url\": \"https://github.com/aymericzip\"\n },\n \"contributors\": [\n {\n \"name\": \"Aymeric Pineau\",\n \"email\": \"ay.pineau@gmail.com\",\n \"url\": \"https://github.com/aymericzip\"\n }\n ],\n \"sideEffects\": false,\n \"exports\": {\n \".\": {\n \"types\": \"./dist/types/index.d.ts\",\n \"browser\": \"./dist/esm/client.mjs\",\n \"require\": \"./dist/cjs/index.cjs\",\n \"import\": \"./dist/esm/index.mjs\"\n },\n \"./client\": {\n \"types\": \"./dist/types/client.d.ts\",\n \"require\": \"./dist/cjs/client.cjs\",\n \"import\": \"./dist/esm/client.mjs\"\n },\n \"./built\": {\n \"types\": \"./dist/types/built.d.ts\",\n \"require\": \"./dist/cjs/built.cjs\",\n \"import\": \"./dist/esm/built.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"main\": \"dist/cjs/index.cjs\",\n \"module\": \"dist/esm/index.mjs\",\n \"types\": \"dist/types/index.d.ts\",\n \"typesVersions\": {\n \"*\": {\n \".\": [\n \"./dist/types/index.d.ts\"\n ],\n \"client\": [\n \"./dist/types/client.d.ts\"\n ],\n \"built\": [\n \"./dist/types/built.d.ts\"\n ],\n \"package.json\": [\n \"./package.json\"\n ]\n }\n },\n \"files\": [\n \"./dist\",\n \"./package.json\"\n ],\n \"scripts\": {\n \"build\": \"tsdown --config tsdown.config.ts\",\n \"build:ci\": \"tsdown --config tsdown.config.ts\",\n \"clean\": \"rimraf ./dist .turbo\",\n \"dev\": \"tsdown --config tsdown.config.ts --watch\",\n \"format\": \"biome format . --check\",\n \"format:fix\": \"biome format --write .\",\n \"lint\": \"biome lint .\",\n \"lint:fix\": \"biome lint --write .\",\n \"prepublish\": \"cp -f ../../../README.md ./README.md\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"typecheck\": \"tsc --noEmit --project tsconfig.types.json\"\n },\n \"dependencies\": {\n \"@intlayer/types\": \"7.0.0\",\n \"deepmerge\": \"4.3.1\",\n \"dotenv\": \"16.6.1\",\n \"esbuild\": \"0.25.2\"\n },\n \"devDependencies\": {\n \"@types/node\": \"24.9.1\",\n \"@utils/ts-config\": \"7.0.0\",\n \"@utils/ts-config-types\": \"7.0.0\",\n \"@utils/tsdown-config\": \"7.0.0\",\n \"rimraf\": \"6.0.1\",\n \"tsdown\": \"0.15.9\",\n \"typescript\": \"5.9.3\",\n \"vitest\": \"4.0.3\"\n },\n \"peerDependencies\": {\n \"intlayer\": \"7.0.0\",\n \"react\": \">=16.0.0\"\n },\n \"peerDependenciesMeta\": {\n \"intlayer\": {\n \"optional\": true\n },\n \"react\": {\n \"optional\": true\n }\n },\n \"engines\": {\n \"node\": \">=14.18\"\n },\n \"bug\": {\n \"url\": \"https://github.com/aymericzip/intlayer/issues\"\n }\n}\n"],"mappings":";cAEa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACX,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,aAAa,EACb,CAAC,EACD,CAAC,GACF,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,oBAAoB,EACpB,cAAc,EACd,qBAAqB,GACtB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"sourcesContent":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"sourcesContent":[],"mappings":";;;;;;AAwuBA;AACwB,cADX,wBACW,EAAA,CAAA,mBAAA,CAAA,EAAA,oBAAA,EAAA,OAAA,CAAA,EAAA,MAAA,EAAA,YAAA,CAAA,EAEP,YAFO,EAAA,GAGrB,cAHqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/configFile/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace content_d_exports {
|
|
2
|
-
export { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS,
|
|
2
|
+
export { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, I18NEXT_DICTIONARIES_DIR, MAIN_DIR, MASKS_DIR, MODULE_AUGMENTATION_DIR, REACT_INTL_MESSAGES_DIR, REMOTE_DICTIONARIES_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR, WATCH };
|
|
3
3
|
}
|
|
4
4
|
declare const FILE_EXTENSIONS: string[];
|
|
5
5
|
declare const EXCLUDED_PATHS: string[];
|
|
@@ -18,7 +18,6 @@ declare const REACT_INTL_MESSAGES_DIR = "intl_messages";
|
|
|
18
18
|
declare const CONFIG_DIR = ".intlayer/config";
|
|
19
19
|
declare const CACHE_DIR = ".intlayer/cache";
|
|
20
20
|
declare const WATCH: boolean;
|
|
21
|
-
declare const FILL = true;
|
|
22
21
|
//#endregion
|
|
23
|
-
export { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS,
|
|
22
|
+
export { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, I18NEXT_DICTIONARIES_DIR, MAIN_DIR, MASKS_DIR, MODULE_AUGMENTATION_DIR, REACT_INTL_MESSAGES_DIR, REMOTE_DICTIONARIES_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR, WATCH, content_d_exports };
|
|
24
23
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../src/defaultValues/content.ts"],"sourcesContent":[],"mappings":";;;cAAa;cAWA;cAaA;cAEA,QAAA;cAEA,gBAAA;cAEA,SAAA;cAEA,uBAAA;cAEA,yBAAA;cAEA,wBAAA;cAEA,sBAAA;cAEA,SAAA;cAEA,uBAAA;cAEA,wBAAA;cAEA,uBAAA;cAEA,UAAA;cAEA,SAAA;cAEA
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../src/defaultValues/content.ts"],"sourcesContent":[],"mappings":";;;cAAa;cAWA;cAaA;cAEA,QAAA;cAEA,gBAAA;cAEA,SAAA;cAEA,uBAAA;cAEA,yBAAA;cAEA,wBAAA;cAEA,sBAAA;cAEA,SAAA;cAEA,uBAAA;cAEA,wBAAA;cAEA,uBAAA;cAEA,UAAA;cAEA,SAAA;cAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/defaultValues/dictionary.ts"],"sourcesContent":[],"mappings":";cAAa,IAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const HEADER_NAME = "x-intlayer-locale";
|
|
2
|
+
export declare const COOKIE_NAME = "INTLAYER_LOCALE";
|
|
3
|
+
export declare const PREFIX_DEFAULT = false;
|
|
4
|
+
export declare const BASE_PATH = "";
|
|
5
|
+
export declare const SERVER_SET_COOKIE = "always";
|
|
6
|
+
export declare const NO_PREFIX = false;
|
|
7
|
+
export declare const DETECT_LOCALE_ON_PREFETCH_NO_PREFIX = false;
|
|
8
|
+
//# sourceMappingURL=middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../src/defaultValues/middleware.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,sBAAsB,CAAC;AAE/C,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAE7C,eAAO,MAAM,cAAc,QAAQ,CAAC;AAEpC,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAE1C,eAAO,MAAM,SAAS,QAAQ,CAAC;AAE/B,eAAO,MAAM,mCAAmC,QAAQ,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { RoutingConfig } from "@intlayer/types";
|
|
2
|
+
|
|
3
|
+
//#region src/defaultValues/routing.d.ts
|
|
1
4
|
declare namespace routing_d_exports {
|
|
2
|
-
export { BASE_PATH, COOKIE_NAME,
|
|
5
|
+
export { BASE_PATH, COOKIE_NAME, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE };
|
|
3
6
|
}
|
|
4
7
|
declare const HEADER_NAME = "x-intlayer-locale";
|
|
5
8
|
declare const COOKIE_NAME = "INTLAYER_LOCALE";
|
|
@@ -7,8 +10,7 @@ declare const LOCALE_STORAGE_NAME = "INTLAYER_LOCALE";
|
|
|
7
10
|
declare const BASE_PATH = "";
|
|
8
11
|
declare const SERVER_SET_COOKIE = "always";
|
|
9
12
|
declare const ROUTING_MODE = "prefix-no-default";
|
|
10
|
-
declare const
|
|
11
|
-
declare const STORAGE = "cookie";
|
|
13
|
+
declare const STORAGE: RoutingConfig['storage'];
|
|
12
14
|
//#endregion
|
|
13
|
-
export { BASE_PATH, COOKIE_NAME,
|
|
15
|
+
export { BASE_PATH, COOKIE_NAME, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE, routing_d_exports };
|
|
14
16
|
//# sourceMappingURL=routing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.d.ts","names":[],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routing.d.ts","names":[],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":[],"mappings":";;;;;;cAEa,WAAA;cAEA,WAAA;cACA,mBAAA;cAEA,SAAA;cAEA,iBAAA;cAEA,YAAA;cAEA,SAAS"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Context } from 'node:vm';
|
|
2
|
+
import { type LoadEnvFileOptions } from './loadEnvFile';
|
|
3
|
+
export declare const getSandBoxContext: (envVarOptions?: LoadEnvFileOptions, projectRequire?: NodeJS.Require, additionalEnvVars?: Record<string, string>) => Context;
|
|
4
|
+
//# sourceMappingURL=getSandboxContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSandboxContext.d.ts","sourceRoot":"","sources":["../../src/getSandboxContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,KAAK,kBAAkB,EAAe,MAAM,eAAe,CAAC;AAGrE,eAAO,MAAM,iBAAiB,GAC5B,gBAAgB,kBAAkB,EAClC,+BAA+B,EAC/B,oBAAoB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KACzC,OAwCF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,KAAK,MAAM,EACX,MAAM,EACN,WAAW,EACX,aAAa,EACb,CAAC,EACD,CAAC,GACF,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundleFile.d.ts","names":[],"sources":["../../../src/loadExternalFile/bundleFile.ts"],"sourcesContent":[],"mappings":";;;KAWY,aAAA,GAAgB;cAEf,kCAAiC;AAFlC,cAmDC,cAnDe,EAAA,
|
|
1
|
+
{"version":3,"file":"bundleFile.d.ts","names":[],"sources":["../../../src/loadExternalFile/bundleFile.ts"],"sourcesContent":[],"mappings":";;;KAWY,aAAA,GAAgB;cAEf,kCAAiC;AAFlC,cAmDC,cAnDe,EAAA,CAAM,IAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAsDtB,YAtDsB,EAAA,GAAA,MAAA,GAAA,SAAA;AAErB,cAyEA,UAzEiC,EAAA,CAuB7C,IAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAqDW,YArDX,EAAA,GAsDE,OAtDF,CAAA,MAAA,GAAA,SAAA,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LoadEnvFileOptions } from './loadEnvFile';
|
|
2
|
+
/**
|
|
3
|
+
* Load the content declaration from the given path
|
|
4
|
+
*
|
|
5
|
+
* Accepts JSON, JS, MJS and TS files as configuration
|
|
6
|
+
*/
|
|
7
|
+
export declare const loadExternalFile: (filePath: string, envVarOptions?: LoadEnvFileOptions, projectRequire?: NodeJS.Require, additionalEnvVars?: Record<string, string>) => any | undefined;
|
|
8
|
+
//# sourceMappingURL=loadExternalFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadExternalFile.d.ts","sourceRoot":"","sources":["../../src/loadExternalFile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AA6BxD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,UAAU,MAAM,EAChB,gBAAgB,kBAAkB,EAClC,iBAAiB,MAAM,CAAC,OAAO,EAC/B,oBAAoB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KACzC,GAAG,GAAG,SA2ER,CAAC"}
|