@intlayer/config 9.0.0-canary.1 → 9.0.0-canary.11

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.
Files changed (67) hide show
  1. package/dist/cjs/bundle/index.cjs +1 -1
  2. package/dist/cjs/configFile/buildBrowserConfiguration.cjs +23 -3
  3. package/dist/cjs/configFile/buildBrowserConfiguration.cjs.map +1 -1
  4. package/dist/cjs/configFile/buildConfigurationFields.cjs +8 -3
  5. package/dist/cjs/configFile/buildConfigurationFields.cjs.map +1 -1
  6. package/dist/cjs/configFile/configurationSchema.cjs +1 -0
  7. package/dist/cjs/configFile/configurationSchema.cjs.map +1 -1
  8. package/dist/cjs/configFile/getConfiguration.cjs +10 -2
  9. package/dist/cjs/configFile/getConfiguration.cjs.map +1 -1
  10. package/dist/cjs/defaultValues/compiler.cjs +1 -1
  11. package/dist/cjs/defaultValues/compiler.cjs.map +1 -1
  12. package/dist/cjs/defaultValues/index.cjs +1 -0
  13. package/dist/cjs/defaultValues/routing.cjs +2 -0
  14. package/dist/cjs/defaultValues/routing.cjs.map +1 -1
  15. package/dist/cjs/envVars/envVars.cjs +21 -0
  16. package/dist/cjs/envVars/envVars.cjs.map +1 -1
  17. package/dist/cjs/envVars/index.cjs +1 -0
  18. package/dist/cjs/loadExternalFile/transpileTSToCJS.cjs +28 -13
  19. package/dist/cjs/loadExternalFile/transpileTSToCJS.cjs.map +1 -1
  20. package/dist/cjs/logger.cjs +1 -1
  21. package/dist/cjs/logger.cjs.map +1 -1
  22. package/dist/cjs/utils/getDictionarySelectorUsage.cjs +28 -0
  23. package/dist/cjs/utils/getDictionarySelectorUsage.cjs.map +1 -0
  24. package/dist/cjs/utils/index.cjs +2 -0
  25. package/dist/esm/bundle/index.mjs +1 -1
  26. package/dist/esm/configFile/buildBrowserConfiguration.mjs +24 -4
  27. package/dist/esm/configFile/buildBrowserConfiguration.mjs.map +1 -1
  28. package/dist/esm/configFile/buildConfigurationFields.mjs +8 -3
  29. package/dist/esm/configFile/buildConfigurationFields.mjs.map +1 -1
  30. package/dist/esm/configFile/configurationSchema.mjs +1 -0
  31. package/dist/esm/configFile/configurationSchema.mjs.map +1 -1
  32. package/dist/esm/configFile/getConfiguration.mjs +10 -2
  33. package/dist/esm/configFile/getConfiguration.mjs.map +1 -1
  34. package/dist/esm/defaultValues/compiler.mjs +1 -1
  35. package/dist/esm/defaultValues/compiler.mjs.map +1 -1
  36. package/dist/esm/defaultValues/index.mjs +2 -2
  37. package/dist/esm/defaultValues/routing.mjs +2 -1
  38. package/dist/esm/defaultValues/routing.mjs.map +1 -1
  39. package/dist/esm/envVars/envVars.mjs +21 -1
  40. package/dist/esm/envVars/envVars.mjs.map +1 -1
  41. package/dist/esm/envVars/index.mjs +2 -2
  42. package/dist/esm/loadExternalFile/transpileTSToCJS.mjs +28 -13
  43. package/dist/esm/loadExternalFile/transpileTSToCJS.mjs.map +1 -1
  44. package/dist/esm/logger.mjs +1 -1
  45. package/dist/esm/logger.mjs.map +1 -1
  46. package/dist/esm/utils/getDictionarySelectorUsage.mjs +26 -0
  47. package/dist/esm/utils/getDictionarySelectorUsage.mjs.map +1 -0
  48. package/dist/esm/utils/index.mjs +2 -1
  49. package/dist/types/configFile/buildBrowserConfiguration.d.ts +10 -1
  50. package/dist/types/configFile/buildBrowserConfiguration.d.ts.map +1 -1
  51. package/dist/types/configFile/buildConfigurationFields.d.ts +6 -1
  52. package/dist/types/configFile/buildConfigurationFields.d.ts.map +1 -1
  53. package/dist/types/configFile/configurationSchema.d.ts +11 -9
  54. package/dist/types/configFile/configurationSchema.d.ts.map +1 -1
  55. package/dist/types/configFile/getConfiguration.d.ts.map +1 -1
  56. package/dist/types/defaultValues/compiler.d.ts +1 -1
  57. package/dist/types/defaultValues/index.d.ts +2 -2
  58. package/dist/types/defaultValues/routing.d.ts +2 -1
  59. package/dist/types/defaultValues/routing.d.ts.map +1 -1
  60. package/dist/types/envVars/envVars.d.ts +20 -1
  61. package/dist/types/envVars/envVars.d.ts.map +1 -1
  62. package/dist/types/envVars/index.d.ts +2 -2
  63. package/dist/types/loadExternalFile/transpileTSToCJS.d.ts.map +1 -1
  64. package/dist/types/utils/getDictionarySelectorUsage.d.ts +23 -0
  65. package/dist/types/utils/getDictionarySelectorUsage.d.ts.map +1 -0
  66. package/dist/types/utils/index.d.ts +2 -1
  67. package/package.json +4 -4
@@ -0,0 +1,26 @@
1
+ //#region src/utils/getDictionarySelectorUsage.ts
2
+ /**
3
+ * Detects whether any built dictionary declares qualifier dimensions
4
+ * (collections or variants).
5
+ *
6
+ * The merge step emits a {@link QualifiedDictionaryGroup} — carrying a
7
+ * non-empty `qualifierTypes` array — for every key whose declarations use a
8
+ * selector. When no group is present, the selector-object resolution path in
9
+ * `getIntlayer` / `useIntlayer` is dead code, and bundlers can eliminate it via
10
+ * the `INTLAYER_DICTIONARY_SELECTOR` env var.
11
+ *
12
+ * @example
13
+ * getHasDictionarySelector(getDictionaries(config));
14
+ * // true → at least one collection / variant / meta dictionary
15
+ * // false → only plain dictionaries (selector logic can be stripped)
16
+ */
17
+ const getHasDictionarySelector = (dictionaries) => {
18
+ return (Array.isArray(dictionaries) ? dictionaries : Object.values(dictionaries)).some((dictionary) => {
19
+ const { qualifierTypes } = dictionary;
20
+ return Array.isArray(qualifierTypes) && qualifierTypes.length > 0;
21
+ });
22
+ };
23
+
24
+ //#endregion
25
+ export { getHasDictionarySelector };
26
+ //# sourceMappingURL=getDictionarySelectorUsage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDictionarySelectorUsage.mjs","names":[],"sources":["../../../src/utils/getDictionarySelectorUsage.ts"],"sourcesContent":["import type {\n Dictionary,\n QualifiedDictionaryGroup,\n} from '@intlayer/types/dictionary';\n\ntype DictionaryOrGroup = Dictionary | QualifiedDictionaryGroup;\n\n/**\n * Detects whether any built dictionary declares qualifier dimensions\n * (collections or variants).\n *\n * The merge step emits a {@link QualifiedDictionaryGroup} — carrying a\n * non-empty `qualifierTypes` array — for every key whose declarations use a\n * selector. When no group is present, the selector-object resolution path in\n * `getIntlayer` / `useIntlayer` is dead code, and bundlers can eliminate it via\n * the `INTLAYER_DICTIONARY_SELECTOR` env var.\n *\n * @example\n * getHasDictionarySelector(getDictionaries(config));\n * // true → at least one collection / variant / meta dictionary\n * // false → only plain dictionaries (selector logic can be stripped)\n */\nexport const getHasDictionarySelector = (\n dictionaries: Record<string, DictionaryOrGroup> | DictionaryOrGroup[]\n): boolean => {\n const dictionariesArray = Array.isArray(dictionaries)\n ? dictionaries\n : Object.values(dictionaries);\n\n return dictionariesArray.some((dictionary) => {\n const { qualifierTypes } = dictionary as QualifiedDictionaryGroup;\n\n return Array.isArray(qualifierTypes) && qualifierTypes.length > 0;\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAsBA,MAAa,4BACX,iBACY;AAKZ,SAJ0B,MAAM,QAAQ,aAAa,GACjD,eACA,OAAO,OAAO,aAAa,EAEN,MAAM,eAAe;EAC5C,MAAM,EAAE,mBAAmB;AAE3B,SAAO,MAAM,QAAQ,eAAe,IAAI,eAAe,SAAS;GAChE"}
@@ -8,6 +8,7 @@ import { configESMxCJSRequire, getProjectRequire, isESModule } from "./ESMxCJSHe
8
8
  import { clearModuleCache } from "./clearModuleCache.mjs";
9
9
  import { compareVersions } from "./compareVersions.mjs";
10
10
  import { extractErrorMessage } from "./extractErrorMessage.mjs";
11
+ import { getHasDictionarySelector } from "./getDictionarySelectorUsage.mjs";
11
12
  import { getStorageAttributes } from "./getStorageAttributes.mjs";
12
13
  import { getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync } from "./getUsedNodeTypes.mjs";
13
14
  import { logStack } from "./logStack.mjs";
@@ -20,4 +21,4 @@ import { camelCaseToSentence } from "./stringFormatter/camelCaseToSentence.mjs";
20
21
  import { kebabCaseToCamelCase } from "./stringFormatter/kebabCaseToCamelCase.mjs";
21
22
  import { toLowerCamelCase } from "./stringFormatter/toLowerCamelCase.mjs";
22
23
 
23
- export { assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
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 };
@@ -41,10 +41,19 @@ declare const buildRoutingFields: (customConfiguration?: Partial<CustomRoutingCo
41
41
  * (`clientId`, `clientSecret`). The browser-safe {@link BrowserIntlayerConfig}
42
42
  * omits those fields when exposing config to the client.
43
43
  *
44
+ * When the user does not explicitly set `clientId` / `clientSecret` in the
45
+ * configuration file, they fall back to the `INTLAYER_CLIENT_ID` /
46
+ * `INTLAYER_CLIENT_SECRET` environment variables read from `env`. This lets
47
+ * users authenticate purely through their `.env` file (including files passed
48
+ * via the CLI `--env-file` flag) without having to wire `process.env` into the
49
+ * configuration manually.
50
+ *
44
51
  * @param customConfiguration - Partial user-supplied editor config.
52
+ * @param env - Environment variables used to resolve credential fallbacks.
53
+ * Defaults to `process.env`.
45
54
  * @returns A fully-defaulted {@link EditorConfig}.
46
55
  */
47
- declare const buildEditorFields: (customConfiguration?: Partial<EditorConfig>) => EditorConfig;
56
+ declare const buildEditorFields: (customConfiguration?: Partial<EditorConfig>, env?: NodeJS.ProcessEnv) => EditorConfig;
48
57
  /**
49
58
  * Build the log section of the Intlayer configuration.
50
59
  *
@@ -1 +1 @@
1
- {"version":3,"file":"buildBrowserConfiguration.d.ts","names":[],"sources":["../../../src/configFile/buildBrowserConfiguration.ts"],"mappings":";;;;;AA0CA;;;;;KAAY,qBAAA;EACV,oBAAA,EAAsB,IAAA,CACpB,0BAAA;EAGF,OAAA,EAAS,aAAA;EACT,MAAA,EAAQ,IAAA,CAAK,YAAA;EACb,GAAA,EAAK,IAAA,CAAK,SAAA;AAAA;AAAA,QAGJ,MAAA;EAAA,UACI,MAAA;IAVY;IAYpB,eAAA,GAAkB,qBAAA;EAAA;AAAA;;;;;;;cAiBT,+BAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,0BAAA,MAC7B,0BAAA;;AAxBD;;;;;cAuEW,kBAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,mBAAA,MAC7B,aAAA;;;;;;AAnDH;;;;;cAuJa,iBAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,YAAA,MAC7B,YAAA;;;;;;;;cAmIU,cAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,SAAA,GAC9B,YAAA,GAAe,YAAA,KACd,SAAA;AA9OH;;;;;;;;;;;;;;AAsGA;;;;;;;;AAtGA,cAsSa,yBAAA,GACX,YAAA,GAAe,oBAAA,KACd,qBAAA;;;;;;AA7DH;;;;;;cA4Fa,2BAAA,GACX,MAAA,EAAQ,cAAA,KACP,qBAAA"}
1
+ {"version":3,"file":"buildBrowserConfiguration.d.ts","names":[],"sources":["../../../src/configFile/buildBrowserConfiguration.ts"],"mappings":";;;;;AA+CA;;;;;KAAY,qBAAA;EACV,oBAAA,EAAsB,IAAA,CACpB,0BAAA;EAGF,OAAA,EAAS,aAAA;EACT,MAAA,EAAQ,IAAA,CAAK,YAAA;EACb,GAAA,EAAK,IAAA,CAAK,SAAA;AAAA;AAAA,QAGJ,MAAA;EAAA,UACI,MAAA;IAVY;IAYpB,eAAA,GAAkB,qBAAA;EAAA;AAAA;;;;;;;cAiBT,+BAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,0BAAA,MAC7B,0BAAA;;AAxBD;;;;;cAuEW,kBAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,mBAAA,MAC7B,aAAA;;;;;;AAnDH;;;;;;;;;;;;;;cA2Ka,iBAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,YAAA,GAC9B,GAAA,GAAK,MAAA,CAAO,UAAA,KACX,YAAA;;;;;;;;cAoIU,cAAA,GACX,mBAAA,GAAsB,OAAA,CAAQ,SAAA,GAC9B,YAAA,GAAe,YAAA,KACd,SAAA;;;;;;AA1IH;;;;;;;;;;;;;;;;;cAkMa,yBAAA,GACX,YAAA,GAAe,oBAAA,KACd,qBAAA;AA7DH;;;;;;;;;;;AAAA,cA4Fa,2BAAA,GACX,MAAA,EAAQ,cAAA,KACP,qBAAA"}
@@ -18,9 +18,14 @@ import { CustomIntlayerConfig, IntlayerConfig, LogFunctions } from "@intlayer/ty
18
18
  * @param customConfiguration - Optional user-supplied configuration object.
19
19
  * @param baseDir - Project root directory. Defaults to `process.cwd()`.
20
20
  * @param logFunctions - Optional custom logging functions.
21
+ * @param env - Environment variables used to resolve credential fallbacks
22
+ * (e.g. `INTLAYER_CLIENT_ID` / `INTLAYER_CLIENT_SECRET`). Defaults to
23
+ * `process.env`. Callers loading a custom env file (such as the CLI
24
+ * `--env-file` flag) should pass the merged env so credentials defined there
25
+ * are picked up without polluting `process.env`.
21
26
  * @returns A fully-built {@link IntlayerConfig}.
22
27
  */
23
- declare const buildConfigurationFields: (customConfiguration?: CustomIntlayerConfig, baseDir?: string, logFunctions?: LogFunctions) => IntlayerConfig;
28
+ declare const buildConfigurationFields: (customConfiguration?: CustomIntlayerConfig, baseDir?: string, logFunctions?: LogFunctions, env?: NodeJS.ProcessEnv) => IntlayerConfig;
24
29
  //#endregion
25
30
  export { type BrowserIntlayerConfig, buildBrowserConfiguration, buildConfigurationFields, buildEditorFields, buildInternationalizationFields, buildLogFields, buildRoutingFields, extractBrowserConfiguration };
26
31
  //# sourceMappingURL=buildConfigurationFields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"mappings":";;;;;;AA0uBA;;;;;;;;;;;;;;;;cAAa,wBAAA,GACX,mBAAA,GAAsB,oBAAA,EACtB,OAAA,WACA,YAAA,GAAe,YAAA,KACd,cAAA"}
1
+ {"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"mappings":";;;;;;AA+uBA;;;;;;;;;;;;;;;;;;;;;cAAa,wBAAA,GACX,mBAAA,GAAsB,oBAAA,EACtB,OAAA,WACA,YAAA,GAAe,YAAA,EACf,GAAA,GAAK,MAAA,CAAO,UAAA,KACX,cAAA"}
@@ -20,9 +20,9 @@ declare const cookiesAttributesSchema: z.ZodObject<{
20
20
  secure: z.ZodOptional<z.ZodBoolean>;
21
21
  httpOnly: z.ZodOptional<z.ZodBoolean>;
22
22
  sameSite: z.ZodOptional<z.ZodEnum<{
23
+ none: "none";
23
24
  strict: "strict";
24
25
  lax: "lax";
25
- none: "none";
26
26
  }>>;
27
27
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
28
28
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -48,9 +48,9 @@ declare const storageSchema: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum
48
48
  secure: z.ZodOptional<z.ZodBoolean>;
49
49
  httpOnly: z.ZodOptional<z.ZodBoolean>;
50
50
  sameSite: z.ZodOptional<z.ZodEnum<{
51
+ none: "none";
51
52
  strict: "strict";
52
53
  lax: "lax";
53
- none: "none";
54
54
  }>>;
55
55
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
56
56
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -74,9 +74,9 @@ declare const storageSchema: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum
74
74
  secure: z.ZodOptional<z.ZodBoolean>;
75
75
  httpOnly: z.ZodOptional<z.ZodBoolean>;
76
76
  sameSite: z.ZodOptional<z.ZodEnum<{
77
+ none: "none";
77
78
  strict: "strict";
78
79
  lax: "lax";
79
- none: "none";
80
80
  }>>;
81
81
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
82
82
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -145,6 +145,7 @@ declare const routingSchema: z.ZodObject<{
145
145
  "no-prefix": "no-prefix";
146
146
  "search-params": "search-params";
147
147
  }>>;
148
+ enableProxy: z.ZodOptional<z.ZodBoolean>;
148
149
  storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
149
150
  cookie: "cookie";
150
151
  localStorage: "localStorage";
@@ -158,9 +159,9 @@ declare const routingSchema: z.ZodObject<{
158
159
  secure: z.ZodOptional<z.ZodBoolean>;
159
160
  httpOnly: z.ZodOptional<z.ZodBoolean>;
160
161
  sameSite: z.ZodOptional<z.ZodEnum<{
162
+ none: "none";
161
163
  strict: "strict";
162
164
  lax: "lax";
163
- none: "none";
164
165
  }>>;
165
166
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
166
167
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -184,9 +185,9 @@ declare const routingSchema: z.ZodObject<{
184
185
  secure: z.ZodOptional<z.ZodBoolean>;
185
186
  httpOnly: z.ZodOptional<z.ZodBoolean>;
186
187
  sameSite: z.ZodOptional<z.ZodEnum<{
188
+ none: "none";
187
189
  strict: "strict";
188
190
  lax: "lax";
189
- none: "none";
190
191
  }>>;
191
192
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
192
193
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -277,8 +278,8 @@ declare const buildSchema: z.ZodObject<{
277
278
  }>>;
278
279
  traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
280
  outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
280
- cjs: "cjs";
281
281
  esm: "esm";
282
+ cjs: "cjs";
282
283
  }>>>;
283
284
  cache: z.ZodOptional<z.ZodBoolean>;
284
285
  require: z.ZodOptional<z.ZodUnknown>;
@@ -342,6 +343,7 @@ declare const intlayerConfigSchema: z.ZodObject<{
342
343
  "no-prefix": "no-prefix";
343
344
  "search-params": "search-params";
344
345
  }>>;
346
+ enableProxy: z.ZodOptional<z.ZodBoolean>;
345
347
  storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
346
348
  cookie: "cookie";
347
349
  localStorage: "localStorage";
@@ -355,9 +357,9 @@ declare const intlayerConfigSchema: z.ZodObject<{
355
357
  secure: z.ZodOptional<z.ZodBoolean>;
356
358
  httpOnly: z.ZodOptional<z.ZodBoolean>;
357
359
  sameSite: z.ZodOptional<z.ZodEnum<{
360
+ none: "none";
358
361
  strict: "strict";
359
362
  lax: "lax";
360
- none: "none";
361
363
  }>>;
362
364
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
363
365
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -381,9 +383,9 @@ declare const intlayerConfigSchema: z.ZodObject<{
381
383
  secure: z.ZodOptional<z.ZodBoolean>;
382
384
  httpOnly: z.ZodOptional<z.ZodBoolean>;
383
385
  sameSite: z.ZodOptional<z.ZodEnum<{
386
+ none: "none";
384
387
  strict: "strict";
385
388
  lax: "lax";
386
- none: "none";
387
389
  }>>;
388
390
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
389
391
  maxAge: z.ZodOptional<z.ZodNumber>;
@@ -474,8 +476,8 @@ declare const intlayerConfigSchema: z.ZodObject<{
474
476
  }>>;
475
477
  traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
476
478
  outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
477
- cjs: "cjs";
478
479
  esm: "esm";
480
+ cjs: "cjs";
479
481
  }>>>;
480
482
  cache: z.ZodOptional<z.ZodBoolean>;
481
483
  require: z.ZodOptional<z.ZodUnknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"configurationSchema.d.ts","names":[],"sources":["../../../src/configFile/configurationSchema.ts"],"mappings":";;;;cAGa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cA+B1B,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAYvB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,aAAA,EAAa,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,UAAA,SAAA,CAAA,CAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcb,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;cAKjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAIlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,EAAa,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAeb,YAAA,EAAY,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAeZ,aAAA,EAAa,CAAA,CAAA,SAAA;;;;;;;;cASb,YAAA,EAAY,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiBZ,SAAA,EAAS,CAAA,CAAA,SAAA;;;;;;;;;;;;cAST,QAAA,EAAQ,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUR,WAAA,EAAW,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAWX,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;cAUd,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBhB,oBAAA,EAAoB,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"configurationSchema.d.ts","names":[],"sources":["../../../src/configFile/configurationSchema.ts"],"mappings":";;;;cAGa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cA+B1B,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAYvB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAKvB,aAAA,EAAa,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,UAAA,SAAA,CAAA,CAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcb,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;cAKjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;cAIlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,EAAa,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBb,YAAA,EAAY,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAeZ,aAAA,EAAa,CAAA,CAAA,SAAA;;;;;;;;cASb,YAAA,EAAY,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiBZ,SAAA,EAAS,CAAA,CAAA,SAAA;;;;;;;;;;;;cAST,QAAA,EAAQ,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUR,WAAA,EAAW,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAWX,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;cAUd,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBhB,oBAAA,EAAoB,CAAA,CAAA,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getConfiguration.d.ts","names":[],"sources":["../../../src/configFile/getConfiguration.ts"],"mappings":";;;;;KAcY,uBAAA;EACV,OAAA;EACA,QAAA,GAAW,oBAAA;EAEX,GAAA;EACA,OAAA;EAEA,YAAA,GAAe,YAAA;EAEf,OAAA,GAAU,MAAA,CAAO,OAAA;EAEjB,KAAA;EAEA,YAAA,GAAe,uBAAA;AAAA,IACb,IAAA,CAAK,qBAAA;AAAA,KAEG,iCAAA;EACV,aAAA,EAAe,cAAA;EACf,mBAAA,EAAqB,oBAAA;EACrB,sBAAA;EACA,qBAAA;AAAA;;;;cAMW,2BAAA,GACX,OAAA,GAAU,uBAAA,KACT,iCAAA;;;;cAqGU,gBAAA,GACX,OAAA,GAAU,uBAAA,KACT,cAAA"}
1
+ {"version":3,"file":"getConfiguration.d.ts","names":[],"sources":["../../../src/configFile/getConfiguration.ts"],"mappings":";;;;;KAeY,uBAAA;EACV,OAAA;EACA,QAAA,GAAW,oBAAA;EAEX,GAAA;EACA,OAAA;EAEA,YAAA,GAAe,YAAA;EAEf,OAAA,GAAU,MAAA,CAAO,OAAA;EAEjB,KAAA;EAEA,YAAA,GAAe,uBAAA;AAAA,IACb,IAAA,CAAK,qBAAA;AAAA,KAEG,iCAAA;EACV,aAAA,EAAe,cAAA;EACf,mBAAA,EAAqB,oBAAA;EACrB,sBAAA;EACA,qBAAA;AAAA;;;;cAMW,2BAAA,GACX,OAAA,GAAU,uBAAA,KACT,iCAAA;;;;cAiHU,gBAAA,GACX,OAAA,GAAU,uBAAA,KACT,cAAA"}
@@ -1,5 +1,5 @@
1
1
  //#region src/defaultValues/compiler.d.ts
2
- declare const COMPILER_ENABLED = true;
2
+ declare const COMPILER_ENABLED = false;
3
3
  declare const COMPILER_DICTIONARY_KEY_PREFIX = "";
4
4
  declare const COMPILER_NO_METADATA = false;
5
5
  declare const COMPILER_SAVE_COMPONENTS = false;
@@ -5,6 +5,6 @@ import { CONTENT_AUTO_TRANSFORMATION, FILL, IMPORT_MODE, LOCATION } from "./dict
5
5
  import { APPLICATION_URL, BACKEND_URL, CMS_URL, DICTIONARY_PRIORITY_STRATEGY, EDITOR_URL, IS_ENABLED, LIVE_SYNC, LIVE_SYNC_PORT, PORT } from "./editor.js";
6
6
  import { DEFAULT_LOCALE, LOCALES, REQUIRED_LOCALES, STRICT_MODE } from "./internationalization.js";
7
7
  import { MODE, PREFIX } from "./log.js";
8
- import { BASE_PATH, COOKIE_NAME, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE } from "./routing.js";
8
+ import { BASE_PATH, COOKIE_NAME, ENABLE_PROXY, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE } from "./routing.js";
9
9
  import { CACHE_DIR, CONFIG_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, FETCH_DICTIONARIES_DIR, MAIN_DIR, MASKS_DIR, MODULE_AUGMENTATION_DIR, REMOTE_DICTIONARIES_DIR, TEMP_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR } from "./system.js";
10
- export { APPLICATION_URL, BACKEND_URL, BASE_PATH, BUILD_MODE, CACHE, CACHE_DIR, CMS_URL, CODE_DIR, COMPILER_DICTIONARY_KEY_PREFIX, COMPILER_ENABLED, COMPILER_NO_METADATA, COMPILER_SAVE_COMPONENTS, CONFIG_DIR, CONTENT_AUTO_TRANSFORMATION, CONTENT_DIR, COOKIE_NAME, DEFAULT_LOCALE, DICTIONARIES_DIR, DICTIONARY_PRIORITY_STRATEGY, DYNAMIC_DICTIONARIES_DIR, EDITOR_URL, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, FILL, HEADER_NAME, I18NEXT_DICTIONARIES_DIR, IMPORT_MODE, IS_ENABLED, LIVE_SYNC, LIVE_SYNC_PORT, LOCALES, LOCALE_STORAGE_NAME, LOCATION, MAIN_DIR, MASKS_DIR, MINIFY, MODE, MODULE_AUGMENTATION_DIR, OPTIMIZE, OUTPUT_FORMAT, PORT, PREFIX, PURGE, REACT_INTL_MESSAGES_DIR, REMOTE_DICTIONARIES_DIR, REQUIRED_LOCALES, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE, STRICT_MODE, TEMP_DIR, TRAVERSE_PATTERN, TYPES_DIR, TYPE_CHECKING, UNMERGED_DICTIONARIES_DIR, WATCH };
10
+ export { APPLICATION_URL, BACKEND_URL, BASE_PATH, BUILD_MODE, CACHE, CACHE_DIR, CMS_URL, CODE_DIR, COMPILER_DICTIONARY_KEY_PREFIX, COMPILER_ENABLED, COMPILER_NO_METADATA, COMPILER_SAVE_COMPONENTS, CONFIG_DIR, CONTENT_AUTO_TRANSFORMATION, CONTENT_DIR, COOKIE_NAME, DEFAULT_LOCALE, DICTIONARIES_DIR, DICTIONARY_PRIORITY_STRATEGY, DYNAMIC_DICTIONARIES_DIR, EDITOR_URL, ENABLE_PROXY, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, FILL, HEADER_NAME, I18NEXT_DICTIONARIES_DIR, IMPORT_MODE, IS_ENABLED, LIVE_SYNC, LIVE_SYNC_PORT, LOCALES, LOCALE_STORAGE_NAME, LOCATION, MAIN_DIR, MASKS_DIR, MINIFY, MODE, MODULE_AUGMENTATION_DIR, OPTIMIZE, OUTPUT_FORMAT, PORT, PREFIX, PURGE, REACT_INTL_MESSAGES_DIR, REMOTE_DICTIONARIES_DIR, REQUIRED_LOCALES, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE, STRICT_MODE, TEMP_DIR, TRAVERSE_PATTERN, TYPES_DIR, TYPE_CHECKING, UNMERGED_DICTIONARIES_DIR, WATCH };
@@ -7,7 +7,8 @@ declare const LOCALE_STORAGE_NAME = "INTLAYER_LOCALE";
7
7
  declare const BASE_PATH = "";
8
8
  declare const SERVER_SET_COOKIE = "always";
9
9
  declare const ROUTING_MODE = "prefix-no-default";
10
+ declare const ENABLE_PROXY = true;
10
11
  declare const STORAGE: RoutingStorageInput;
11
12
  //#endregion
12
- export { BASE_PATH, COOKIE_NAME, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE };
13
+ export { BASE_PATH, COOKIE_NAME, ENABLE_PROXY, HEADER_NAME, LOCALE_STORAGE_NAME, ROUTING_MODE, SERVER_SET_COOKIE, STORAGE };
13
14
  //# sourceMappingURL=routing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing.d.ts","names":[],"sources":["../../../src/defaultValues/routing.ts"],"mappings":";;;cAEa,WAAA;AAAA,cAEA,WAAA;AAAA,cACA,mBAAA;AAAA,cAEA,SAAA;AAAA,cAEA,iBAAA;AAAA,cAEA,YAAA;AAAA,cAEA,OAAA,EAAS,mBAAA"}
1
+ {"version":3,"file":"routing.d.ts","names":[],"sources":["../../../src/defaultValues/routing.ts"],"mappings":";;;cAEa,WAAA;AAAA,cAEA,WAAA;AAAA,cACA,mBAAA;AAAA,cAEA,SAAA;AAAA,cAEA,iBAAA;AAAA,cAEA,YAAA;AAAA,cAEA,YAAA;AAAA,cAEA,OAAA,EAAS,mBAAA"}
@@ -13,6 +13,25 @@ import { IntlayerConfig } from "@intlayer/types/config";
13
13
  * // { 'process.env.INTLAYER_NODE_TYPE_REACT_NODE': '"false"' }
14
14
  */
15
15
  declare const formatNodeTypeToEnvVar: (nodeTypes: string[], wrapKey?: (key: string) => string, wrapValue?: (value: string) => string) => Record<string, string>;
16
+ /**
17
+ * Returns the env-var definition disabling the dictionary-selector resolution
18
+ * path (collections, variants) when no built dictionary declares
19
+ * a qualifier. Set to `"false"` so bundlers can dead-code-eliminate the
20
+ * selector branch in `getIntlayer` / `useIntlayer`.
21
+ *
22
+ * Emits nothing when selectors are used, leaving the runtime default in place.
23
+ *
24
+ * @example
25
+ * formatDictionarySelectorEnvVar(false)
26
+ * // { INTLAYER_DICTIONARY_SELECTOR: '"false"' }
27
+ *
28
+ * formatDictionarySelectorEnvVar(true)
29
+ * // {}
30
+ *
31
+ * formatDictionarySelectorEnvVar(false, (k) => `process.env.${k}`, (v) => `"${v}"`)
32
+ * // { 'process.env.INTLAYER_DICTIONARY_SELECTOR': '"false"' }
33
+ */
34
+ declare const formatDictionarySelectorEnvVar: (hasDictionarySelector: boolean, wrapKey?: (key: string) => string, wrapValue?: (value: string) => string) => Record<string, string>;
16
35
  /**
17
36
  * Returns env-var definitions for the full Intlayer config to be injected at
18
37
  * build time. Allows bundlers to dead-code-eliminate unused routing modes,
@@ -27,5 +46,5 @@ declare const formatNodeTypeToEnvVar: (nodeTypes: string[], wrapKey?: (key: stri
27
46
  */
28
47
  declare const getConfigEnvVars: (config: IntlayerConfig, wrapKey?: (key: string) => string, wrapValue?: (value: string) => string) => Record<string, string>;
29
48
  //#endregion
30
- export { formatNodeTypeToEnvVar, getConfigEnvVars };
49
+ export { formatDictionarySelectorEnvVar, formatNodeTypeToEnvVar, getConfigEnvVars };
31
50
  //# sourceMappingURL=envVars.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"envVars.d.ts","names":[],"sources":["../../../src/envVars/envVars.ts"],"mappings":";;;;;AA2BA;;;;;;;;;cAAa,sBAAA,GACX,SAAA,YACA,OAAA,IAAW,GAAA,qBACX,SAAA,IAAa,KAAA,wBACZ,MAAA;;;AAsBH;;;;;;;;;;cAAa,gBAAA,GACX,MAAA,EAAQ,cAAA,EACR,OAAA,IAAW,GAAA,qBACX,SAAA,IAAa,KAAA,wBACZ,MAAA"}
1
+ {"version":3,"file":"envVars.d.ts","names":[],"sources":["../../../src/envVars/envVars.ts"],"mappings":";;;;;AA2BA;;;;;;;;;cAAa,sBAAA,GACX,SAAA,YACA,OAAA,IAAW,GAAA,qBACX,SAAA,IAAa,KAAA,wBACZ,MAAA;;;AA4BH;;;;;;;;;;;;AAqBA;;;;cArBa,8BAAA,GACX,qBAAA,WACA,OAAA,IAAW,GAAA,qBACX,SAAA,IAAa,KAAA,wBACZ,MAAA;;;;;;;;;;;;;cAiBU,gBAAA,GACX,MAAA,EAAQ,cAAA,EACR,OAAA,IAAW,GAAA,qBACX,SAAA,IAAa,KAAA,wBACZ,MAAA"}
@@ -1,2 +1,2 @@
1
- import { formatNodeTypeToEnvVar, getConfigEnvVars } from "./envVars.js";
2
- export { formatNodeTypeToEnvVar, getConfigEnvVars };
1
+ import { formatDictionarySelectorEnvVar, formatNodeTypeToEnvVar, getConfigEnvVars } from "./envVars.js";
2
+ export { formatDictionarySelectorEnvVar, formatNodeTypeToEnvVar, getConfigEnvVars };
@@ -1 +1 @@
1
- {"version":3,"file":"transpileTSToCJS.d.ts","names":[],"sources":["../../../src/loadExternalFile/transpileTSToCJS.ts"],"mappings":";;;;KAaY,gBAAA,GAAmB,YAAA;;;AAA/B;;;;;EAQE,eAAA,UARyC,SAAA;AAAA;AAAA,cA8C9B,oBAAA,GACX,IAAA,UACA,QAAA,UACA,OAAA,GAAU,gBAAA;AAAA,cAyCC,gBAAA,GACX,IAAA,UACA,QAAA,UACA,OAAA,GAAU,gBAAA,KACT,OAAA"}
1
+ {"version":3,"file":"transpileTSToCJS.d.ts","names":[],"sources":["../../../src/loadExternalFile/transpileTSToCJS.ts"],"mappings":";;;;KAaY,gBAAA,GAAmB,YAAA;;;AAA/B;;;;;EAQE,eAAA,UARyC,SAAA;AAAA;AAAA,cA8C9B,oBAAA,GACX,IAAA,UACA,QAAA,UACA,OAAA,GAAU,gBAAA;AAAA,cAmEC,gBAAA,GACX,IAAA,UACA,QAAA,UACA,OAAA,GAAU,gBAAA,KACT,OAAA"}
@@ -0,0 +1,23 @@
1
+ import { Dictionary, QualifiedDictionaryGroup } from "@intlayer/types/dictionary";
2
+
3
+ //#region src/utils/getDictionarySelectorUsage.d.ts
4
+ type DictionaryOrGroup = Dictionary | QualifiedDictionaryGroup;
5
+ /**
6
+ * Detects whether any built dictionary declares qualifier dimensions
7
+ * (collections or variants).
8
+ *
9
+ * The merge step emits a {@link QualifiedDictionaryGroup} — carrying a
10
+ * non-empty `qualifierTypes` array — for every key whose declarations use a
11
+ * selector. When no group is present, the selector-object resolution path in
12
+ * `getIntlayer` / `useIntlayer` is dead code, and bundlers can eliminate it via
13
+ * the `INTLAYER_DICTIONARY_SELECTOR` env var.
14
+ *
15
+ * @example
16
+ * getHasDictionarySelector(getDictionaries(config));
17
+ * // true → at least one collection / variant / meta dictionary
18
+ * // false → only plain dictionaries (selector logic can be stripped)
19
+ */
20
+ declare const getHasDictionarySelector: (dictionaries: Record<string, DictionaryOrGroup> | DictionaryOrGroup[]) => boolean;
21
+ //#endregion
22
+ export { getHasDictionarySelector };
23
+ //# sourceMappingURL=getDictionarySelectorUsage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDictionarySelectorUsage.d.ts","names":[],"sources":["../../../src/utils/getDictionarySelectorUsage.ts"],"mappings":";;;KAKK,iBAAA,GAAoB,UAAA,GAAa,wBAAA;;AAFF;;;;;AAmBpC;;;;;;;;;cAAa,wBAAA,GACX,YAAA,EAAc,MAAA,SAAe,iBAAA,IAAqB,iBAAA"}
@@ -12,6 +12,7 @@ import { CacheKey, cacheMemory, clearAllCache, clearCache, computeKeyId, getCach
12
12
  import { cacheDisk, clearDiskCacheMemory } from "./cacheDisk.js";
13
13
  import { clearModuleCache } from "./clearModuleCache.js";
14
14
  import { compareVersions } from "./compareVersions.js";
15
+ import { getHasDictionarySelector } from "./getDictionarySelectorUsage.js";
15
16
  import { getExtension } from "./getExtension.js";
16
17
  import { getPackageJsonPath } from "./getPackageJsonPath.js";
17
18
  import { getStorageAttributes } from "./getStorageAttributes.js";
@@ -19,4 +20,4 @@ import { PluginNodeType, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNod
19
20
  import { parseFilePathPattern, parseStringPattern } from "./parseFilePathPattern.js";
20
21
  import { assertPathWithin } from "./pathSecurity.js";
21
22
  import { RetryManagerOptions, retryManager } from "./retryManager.js";
22
- export { CacheKey, GetAliasOptions, PluginNodeType, RetryManagerOptions, WindowsWithIntlayer, assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/config",
3
- "version": "9.0.0-canary.1",
3
+ "version": "9.0.0-canary.11",
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": [
@@ -160,15 +160,15 @@
160
160
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
161
161
  },
162
162
  "dependencies": {
163
- "@intlayer/types": "9.0.0-canary.1",
163
+ "@intlayer/types": "9.0.0-canary.11",
164
164
  "defu": "6.1.7",
165
165
  "dotenv": "17.4.2",
166
- "esbuild": "0.28.0",
166
+ "esbuild": "0.28.1",
167
167
  "json5": "2.2.3",
168
168
  "zod": "4.4.3"
169
169
  },
170
170
  "devDependencies": {
171
- "@types/node": "25.9.3",
171
+ "@types/node": "25.9.4",
172
172
  "@utils/ts-config": "1.0.4",
173
173
  "@utils/ts-config-types": "1.0.4",
174
174
  "@utils/tsdown-config": "1.0.4",