@intlayer/config 9.0.0-canary.20 → 9.0.0-canary.21
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/built.cjs.map +1 -1
- package/dist/cjs/utils/builtConfigKeys.cjs +38 -0
- package/dist/cjs/utils/builtConfigKeys.cjs.map +1 -0
- package/dist/cjs/utils/index.cjs +2 -0
- package/dist/esm/built.mjs.map +1 -1
- package/dist/esm/bundle/index.mjs +1 -1
- package/dist/esm/utils/builtConfigKeys.mjs +36 -0
- package/dist/esm/utils/builtConfigKeys.mjs.map +1 -0
- package/dist/esm/utils/index.mjs +2 -1
- package/dist/types/built.d.ts.map +1 -1
- package/dist/types/utils/builtConfigKeys.d.ts +25 -0
- package/dist/types/utils/builtConfigKeys.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/cjs/built.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built.cjs","names":["getConfiguration"],"sources":["../../src/built.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 type { IntlayerConfig } from '@intlayer/types/config';\nimport { getConfiguration } from './configFile/getConfiguration';\n\nconst configuration: IntlayerConfig = getConfiguration();\n\nconst parsedJSONConfig = JSON.parse(JSON.stringify(configuration));\n\nexport const internationalization = parsedJSONConfig.internationalization;\nexport const dictionary = parsedJSONConfig.dictionary;\nexport const routing = parsedJSONConfig.routing;\nexport const content = parsedJSONConfig.content;\nexport const system = parsedJSONConfig.system;\nexport const editor = parsedJSONConfig.editor;\nexport const analytics = parsedJSONConfig.analytics;\nexport const log = parsedJSONConfig.log;\nexport const ai = parsedJSONConfig.ai;\nexport const build = parsedJSONConfig.build;\nexport const compiler = parsedJSONConfig.compiler;\nexport const schemas = parsedJSONConfig.schemas;\nexport const plugins = parsedJSONConfig.plugins;\n"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"built.cjs","names":["getConfiguration"],"sources":["../../src/built.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 type { IntlayerConfig } from '@intlayer/types/config';\nimport { getConfiguration } from './configFile/getConfiguration';\nimport type { BuiltConfigKey } from './utils/builtConfigKeys';\n\nconst configuration: IntlayerConfig = getConfiguration();\n\nconst parsedJSONConfig = JSON.parse(JSON.stringify(configuration));\n\nexport const internationalization = parsedJSONConfig.internationalization;\nexport const dictionary = parsedJSONConfig.dictionary;\nexport const routing = parsedJSONConfig.routing;\nexport const content = parsedJSONConfig.content;\nexport const system = parsedJSONConfig.system;\nexport const editor = parsedJSONConfig.editor;\nexport const analytics = parsedJSONConfig.analytics;\nexport const log = parsedJSONConfig.log;\nexport const ai = parsedJSONConfig.ai;\nexport const build = parsedJSONConfig.build;\nexport const compiler = parsedJSONConfig.compiler;\nexport const schemas = parsedJSONConfig.schemas;\nexport const plugins = parsedJSONConfig.plugins;\n\n/**\n * Compile-time guard: the named exports above must cover exactly the canonical\n * {@link BuiltConfigKey} list that `generateConfigurationContent` emits into the\n * aliased `configuration.mjs`. Adding a key to `BUILT_CONFIG_KEYS` without\n * exporting it here (or vice versa) is a type error, keeping the runtime and\n * aliased build targets in lockstep.\n */\n({\n internationalization,\n dictionary,\n routing,\n content,\n system,\n editor,\n analytics,\n log,\n ai,\n build,\n compiler,\n schemas,\n plugins,\n}) satisfies Record<BuiltConfigKey, unknown>;\n"],"mappings":";;;;AASA,MAAM,gBAAgCA,qDAAiB;AAEvD,MAAM,mBAAmB,KAAK,MAAM,KAAK,UAAU,aAAa,CAAC;AAEjE,MAAa,uBAAuB,iBAAiB;AACrD,MAAa,aAAa,iBAAiB;AAC3C,MAAa,UAAU,iBAAiB;AACxC,MAAa,UAAU,iBAAiB;AACxC,MAAa,SAAS,iBAAiB;AACvC,MAAa,SAAS,iBAAiB;AACvC,MAAa,YAAY,iBAAiB;AAC1C,MAAa,MAAM,iBAAiB;AACpC,MAAa,KAAK,iBAAiB;AACnC,MAAa,QAAQ,iBAAiB;AACtC,MAAa,WAAW,iBAAiB;AACzC,MAAa,UAAU,iBAAiB;AACxC,MAAa,UAAU,iBAAiB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/utils/builtConfigKeys.ts
|
|
4
|
+
/**
|
|
5
|
+
* Canonical list of configuration sections exposed as named exports by
|
|
6
|
+
* `@intlayer/config/built`.
|
|
7
|
+
*
|
|
8
|
+
* At build time, bundler integrations (Vite, webpack, …) alias
|
|
9
|
+
* `@intlayer/config/built` to the generated `.intlayer/config/configuration.mjs`
|
|
10
|
+
* file (see {@link getAlias} and `generateConfigurationContent`). For that alias
|
|
11
|
+
* to be transparent, the generated file MUST expose exactly the same named
|
|
12
|
+
* exports as `built.ts`; otherwise a consumer importing one of them (e.g.
|
|
13
|
+
* `import { analytics } from '@intlayer/config/built'`) triggers a
|
|
14
|
+
* `MISSING_EXPORT` bundler error.
|
|
15
|
+
*
|
|
16
|
+
* Deriving both `built.ts` and the generator from this single array guarantees
|
|
17
|
+
* they can never drift: adding a section here is the only change required to
|
|
18
|
+
* expose it in every build target.
|
|
19
|
+
*/
|
|
20
|
+
const BUILT_CONFIG_KEYS = [
|
|
21
|
+
"internationalization",
|
|
22
|
+
"dictionary",
|
|
23
|
+
"routing",
|
|
24
|
+
"content",
|
|
25
|
+
"system",
|
|
26
|
+
"editor",
|
|
27
|
+
"analytics",
|
|
28
|
+
"log",
|
|
29
|
+
"ai",
|
|
30
|
+
"build",
|
|
31
|
+
"compiler",
|
|
32
|
+
"schemas",
|
|
33
|
+
"plugins"
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.BUILT_CONFIG_KEYS = BUILT_CONFIG_KEYS;
|
|
38
|
+
//# sourceMappingURL=builtConfigKeys.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtConfigKeys.cjs","names":[],"sources":["../../../src/utils/builtConfigKeys.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/types/config';\n\n/**\n * Canonical list of configuration sections exposed as named exports by\n * `@intlayer/config/built`.\n *\n * At build time, bundler integrations (Vite, webpack, …) alias\n * `@intlayer/config/built` to the generated `.intlayer/config/configuration.mjs`\n * file (see {@link getAlias} and `generateConfigurationContent`). For that alias\n * to be transparent, the generated file MUST expose exactly the same named\n * exports as `built.ts`; otherwise a consumer importing one of them (e.g.\n * `import { analytics } from '@intlayer/config/built'`) triggers a\n * `MISSING_EXPORT` bundler error.\n *\n * Deriving both `built.ts` and the generator from this single array guarantees\n * they can never drift: adding a section here is the only change required to\n * expose it in every build target.\n */\nexport const BUILT_CONFIG_KEYS = [\n 'internationalization',\n 'dictionary',\n 'routing',\n 'content',\n 'system',\n 'editor',\n 'analytics',\n 'log',\n 'ai',\n 'build',\n 'compiler',\n 'schemas',\n 'plugins',\n] as const satisfies readonly (keyof IntlayerConfig)[];\n\n/**\n * Union of the configuration section names exposed by `@intlayer/config/built`.\n */\nexport type BuiltConfigKey = (typeof BUILT_CONFIG_KEYS)[number];\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
|
package/dist/cjs/utils/index.cjs
CHANGED
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_utils_getExtension = require('./getExtension.cjs');
|
|
3
3
|
const require_utils_normalizePath = require('./normalizePath.cjs');
|
|
4
4
|
const require_utils_alias = require('./alias.cjs');
|
|
5
|
+
const require_utils_builtConfigKeys = require('./builtConfigKeys.cjs');
|
|
5
6
|
const require_utils_cacheMemory = require('./cacheMemory.cjs');
|
|
6
7
|
const require_utils_cacheDisk = require('./cacheDisk.cjs');
|
|
7
8
|
const require_utils_getPackageJsonPath = require('./getPackageJsonPath.cjs');
|
|
@@ -22,6 +23,7 @@ const require_utils_stringFormatter_camelCaseToSentence = require('./stringForma
|
|
|
22
23
|
const require_utils_stringFormatter_kebabCaseToCamelCase = require('./stringFormatter/kebabCaseToCamelCase.cjs');
|
|
23
24
|
const require_utils_stringFormatter_toLowerCamelCase = require('./stringFormatter/toLowerCamelCase.cjs');
|
|
24
25
|
|
|
26
|
+
exports.BUILT_CONFIG_KEYS = require_utils_builtConfigKeys.BUILT_CONFIG_KEYS;
|
|
25
27
|
exports.assertPathWithin = require_utils_pathSecurity.assertPathWithin;
|
|
26
28
|
exports.cacheDisk = require_utils_cacheDisk.cacheDisk;
|
|
27
29
|
exports.cacheMemory = require_utils_cacheMemory.cacheMemory;
|
package/dist/esm/built.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built.mjs","names":[],"sources":["../../src/built.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 type { IntlayerConfig } from '@intlayer/types/config';\nimport { getConfiguration } from './configFile/getConfiguration';\n\nconst configuration: IntlayerConfig = getConfiguration();\n\nconst parsedJSONConfig = JSON.parse(JSON.stringify(configuration));\n\nexport const internationalization = parsedJSONConfig.internationalization;\nexport const dictionary = parsedJSONConfig.dictionary;\nexport const routing = parsedJSONConfig.routing;\nexport const content = parsedJSONConfig.content;\nexport const system = parsedJSONConfig.system;\nexport const editor = parsedJSONConfig.editor;\nexport const analytics = parsedJSONConfig.analytics;\nexport const log = parsedJSONConfig.log;\nexport const ai = parsedJSONConfig.ai;\nexport const build = parsedJSONConfig.build;\nexport const compiler = parsedJSONConfig.compiler;\nexport const schemas = parsedJSONConfig.schemas;\nexport const plugins = parsedJSONConfig.plugins;\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"built.mjs","names":[],"sources":["../../src/built.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 type { IntlayerConfig } from '@intlayer/types/config';\nimport { getConfiguration } from './configFile/getConfiguration';\nimport type { BuiltConfigKey } from './utils/builtConfigKeys';\n\nconst configuration: IntlayerConfig = getConfiguration();\n\nconst parsedJSONConfig = JSON.parse(JSON.stringify(configuration));\n\nexport const internationalization = parsedJSONConfig.internationalization;\nexport const dictionary = parsedJSONConfig.dictionary;\nexport const routing = parsedJSONConfig.routing;\nexport const content = parsedJSONConfig.content;\nexport const system = parsedJSONConfig.system;\nexport const editor = parsedJSONConfig.editor;\nexport const analytics = parsedJSONConfig.analytics;\nexport const log = parsedJSONConfig.log;\nexport const ai = parsedJSONConfig.ai;\nexport const build = parsedJSONConfig.build;\nexport const compiler = parsedJSONConfig.compiler;\nexport const schemas = parsedJSONConfig.schemas;\nexport const plugins = parsedJSONConfig.plugins;\n\n/**\n * Compile-time guard: the named exports above must cover exactly the canonical\n * {@link BuiltConfigKey} list that `generateConfigurationContent` emits into the\n * aliased `configuration.mjs`. Adding a key to `BUILT_CONFIG_KEYS` without\n * exporting it here (or vice versa) is a type error, keeping the runtime and\n * aliased build targets in lockstep.\n */\n({\n internationalization,\n dictionary,\n routing,\n content,\n system,\n editor,\n analytics,\n log,\n ai,\n build,\n compiler,\n schemas,\n plugins,\n}) satisfies Record<BuiltConfigKey, unknown>;\n"],"mappings":";;;AASA,MAAM,gBAAgC,iBAAiB;AAEvD,MAAM,mBAAmB,KAAK,MAAM,KAAK,UAAU,aAAa,CAAC;AAEjE,MAAa,uBAAuB,iBAAiB;AACrD,MAAa,aAAa,iBAAiB;AAC3C,MAAa,UAAU,iBAAiB;AACxC,MAAa,UAAU,iBAAiB;AACxC,MAAa,SAAS,iBAAiB;AACvC,MAAa,SAAS,iBAAiB;AACvC,MAAa,YAAY,iBAAiB;AAC1C,MAAa,MAAM,iBAAiB;AACpC,MAAa,KAAK,iBAAiB;AACnC,MAAa,QAAQ,iBAAiB;AACtC,MAAa,WAAW,iBAAiB;AACzC,MAAa,UAAU,iBAAiB;AACxC,MAAa,UAAU,iBAAiB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getAlias } from "../utils/alias.mjs";
|
|
2
2
|
import { getConfiguration } from "../configFile/getConfiguration.mjs";
|
|
3
|
-
import { getConfigEnvVars } from "../envVars/envVars.mjs";
|
|
4
3
|
import { BundleLogger } from "./logBundle.mjs";
|
|
4
|
+
import { getConfigEnvVars } from "../envVars/envVars.mjs";
|
|
5
5
|
import { isAbsolute, join, resolve } from "node:path";
|
|
6
6
|
import { mkdir, rm, writeFile } from "node:fs/promises";
|
|
7
7
|
import configPackageJson from "@intlayer/types/package.json" with { type: "json" };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/utils/builtConfigKeys.ts
|
|
2
|
+
/**
|
|
3
|
+
* Canonical list of configuration sections exposed as named exports by
|
|
4
|
+
* `@intlayer/config/built`.
|
|
5
|
+
*
|
|
6
|
+
* At build time, bundler integrations (Vite, webpack, …) alias
|
|
7
|
+
* `@intlayer/config/built` to the generated `.intlayer/config/configuration.mjs`
|
|
8
|
+
* file (see {@link getAlias} and `generateConfigurationContent`). For that alias
|
|
9
|
+
* to be transparent, the generated file MUST expose exactly the same named
|
|
10
|
+
* exports as `built.ts`; otherwise a consumer importing one of them (e.g.
|
|
11
|
+
* `import { analytics } from '@intlayer/config/built'`) triggers a
|
|
12
|
+
* `MISSING_EXPORT` bundler error.
|
|
13
|
+
*
|
|
14
|
+
* Deriving both `built.ts` and the generator from this single array guarantees
|
|
15
|
+
* they can never drift: adding a section here is the only change required to
|
|
16
|
+
* expose it in every build target.
|
|
17
|
+
*/
|
|
18
|
+
const BUILT_CONFIG_KEYS = [
|
|
19
|
+
"internationalization",
|
|
20
|
+
"dictionary",
|
|
21
|
+
"routing",
|
|
22
|
+
"content",
|
|
23
|
+
"system",
|
|
24
|
+
"editor",
|
|
25
|
+
"analytics",
|
|
26
|
+
"log",
|
|
27
|
+
"ai",
|
|
28
|
+
"build",
|
|
29
|
+
"compiler",
|
|
30
|
+
"schemas",
|
|
31
|
+
"plugins"
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { BUILT_CONFIG_KEYS };
|
|
36
|
+
//# sourceMappingURL=builtConfigKeys.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtConfigKeys.mjs","names":[],"sources":["../../../src/utils/builtConfigKeys.ts"],"sourcesContent":["import type { IntlayerConfig } from '@intlayer/types/config';\n\n/**\n * Canonical list of configuration sections exposed as named exports by\n * `@intlayer/config/built`.\n *\n * At build time, bundler integrations (Vite, webpack, …) alias\n * `@intlayer/config/built` to the generated `.intlayer/config/configuration.mjs`\n * file (see {@link getAlias} and `generateConfigurationContent`). For that alias\n * to be transparent, the generated file MUST expose exactly the same named\n * exports as `built.ts`; otherwise a consumer importing one of them (e.g.\n * `import { analytics } from '@intlayer/config/built'`) triggers a\n * `MISSING_EXPORT` bundler error.\n *\n * Deriving both `built.ts` and the generator from this single array guarantees\n * they can never drift: adding a section here is the only change required to\n * expose it in every build target.\n */\nexport const BUILT_CONFIG_KEYS = [\n 'internationalization',\n 'dictionary',\n 'routing',\n 'content',\n 'system',\n 'editor',\n 'analytics',\n 'log',\n 'ai',\n 'build',\n 'compiler',\n 'schemas',\n 'plugins',\n] as const satisfies readonly (keyof IntlayerConfig)[];\n\n/**\n * Union of the configuration section names exposed by `@intlayer/config/built`.\n */\nexport type BuiltConfigKey = (typeof BUILT_CONFIG_KEYS)[number];\n"],"mappings":";;;;;;;;;;;;;;;;;AAkBA,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
|
package/dist/esm/utils/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getExtension } from "./getExtension.mjs";
|
|
2
2
|
import { normalizePath } from "./normalizePath.mjs";
|
|
3
3
|
import { getAlias } from "./alias.mjs";
|
|
4
|
+
import { BUILT_CONFIG_KEYS } from "./builtConfigKeys.mjs";
|
|
4
5
|
import { cacheMemory, clearAllCache, clearCache, computeKeyId, getCache, setCache, stableStringify } from "./cacheMemory.mjs";
|
|
5
6
|
import { cacheDisk, clearDiskCacheMemory } from "./cacheDisk.mjs";
|
|
6
7
|
import { getPackageJsonPath } from "./getPackageJsonPath.mjs";
|
|
@@ -21,4 +22,4 @@ import { camelCaseToSentence } from "./stringFormatter/camelCaseToSentence.mjs";
|
|
|
21
22
|
import { kebabCaseToCamelCase } from "./stringFormatter/kebabCaseToCamelCase.mjs";
|
|
22
23
|
import { toLowerCamelCase } from "./stringFormatter/toLowerCamelCase.mjs";
|
|
23
24
|
|
|
24
|
-
export { assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getHasDictionarySelector, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
|
|
25
|
+
export { BUILT_CONFIG_KEYS, assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getHasDictionarySelector, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built.d.ts","names":[],"sources":["../../src/built.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"built.d.ts","names":[],"sources":["../../src/built.ts"],"mappings":";;;;;cAaa;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/utils/builtConfigKeys.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Canonical list of configuration sections exposed as named exports by
|
|
4
|
+
* `@intlayer/config/built`.
|
|
5
|
+
*
|
|
6
|
+
* At build time, bundler integrations (Vite, webpack, …) alias
|
|
7
|
+
* `@intlayer/config/built` to the generated `.intlayer/config/configuration.mjs`
|
|
8
|
+
* file (see {@link getAlias} and `generateConfigurationContent`). For that alias
|
|
9
|
+
* to be transparent, the generated file MUST expose exactly the same named
|
|
10
|
+
* exports as `built.ts`; otherwise a consumer importing one of them (e.g.
|
|
11
|
+
* `import { analytics } from '@intlayer/config/built'`) triggers a
|
|
12
|
+
* `MISSING_EXPORT` bundler error.
|
|
13
|
+
*
|
|
14
|
+
* Deriving both `built.ts` and the generator from this single array guarantees
|
|
15
|
+
* they can never drift: adding a section here is the only change required to
|
|
16
|
+
* expose it in every build target.
|
|
17
|
+
*/
|
|
18
|
+
declare const BUILT_CONFIG_KEYS: readonly ["internationalization", "dictionary", "routing", "content", "system", "editor", "analytics", "log", "ai", "build", "compiler", "schemas", "plugins"];
|
|
19
|
+
/**
|
|
20
|
+
* Union of the configuration section names exposed by `@intlayer/config/built`.
|
|
21
|
+
*/
|
|
22
|
+
type BuiltConfigKey = (typeof BUILT_CONFIG_KEYS)[number];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { BUILT_CONFIG_KEYS, BuiltConfigKey };
|
|
25
|
+
//# sourceMappingURL=builtConfigKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtConfigKeys.d.ts","names":[],"sources":["../../../src/utils/builtConfigKeys.ts"],"mappings":";;;;;;;;;;;;;;;;;cAkBa;;;;KAmBD,yBAAyB"}
|
|
@@ -8,6 +8,7 @@ import { kebabCaseToCamelCase } from "./stringFormatter/kebabCaseToCamelCase.js"
|
|
|
8
8
|
import { toLowerCamelCase } from "./stringFormatter/toLowerCamelCase.js";
|
|
9
9
|
import { configESMxCJSRequire, getProjectRequire, isESModule } from "./ESMxCJSHelpers.js";
|
|
10
10
|
import { GetAliasOptions, getAlias } from "./alias.js";
|
|
11
|
+
import { BUILT_CONFIG_KEYS, BuiltConfigKey } from "./builtConfigKeys.js";
|
|
11
12
|
import { CacheKey, cacheMemory, clearAllCache, clearCache, computeKeyId, getCache, setCache, stableStringify } from "./cacheMemory.js";
|
|
12
13
|
import { cacheDisk, clearDiskCacheMemory } from "./cacheDisk.js";
|
|
13
14
|
import { clearModuleCache } from "./clearModuleCache.js";
|
|
@@ -20,4 +21,4 @@ import { PluginNodeType, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNod
|
|
|
20
21
|
import { parseFilePathPattern, parseStringPattern } from "./parseFilePathPattern.js";
|
|
21
22
|
import { assertPathWithin } from "./pathSecurity.js";
|
|
22
23
|
import { RetryManagerOptions, retryManager } from "./retryManager.js";
|
|
23
|
-
export { CacheKey, GetAliasOptions, PluginNodeType, RetryManagerOptions, WindowsWithIntlayer, assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getHasDictionarySelector, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
|
|
24
|
+
export { BUILT_CONFIG_KEYS, BuiltConfigKey, CacheKey, GetAliasOptions, PluginNodeType, RetryManagerOptions, WindowsWithIntlayer, assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getHasDictionarySelector, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/config",
|
|
3
|
-
"version": "9.0.0-canary.
|
|
3
|
+
"version": "9.0.0-canary.21",
|
|
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": [
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
165
165
|
},
|
|
166
166
|
"dependencies": {
|
|
167
|
-
"@intlayer/types": "9.0.0-canary.
|
|
167
|
+
"@intlayer/types": "9.0.0-canary.21",
|
|
168
168
|
"defu": "6.1.7",
|
|
169
169
|
"dotenv": "17.4.2",
|
|
170
170
|
"esbuild": "0.28.1",
|