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

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.
@@ -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 packageJSON from "@intlayer/types/package.json" with { type: "json" };
@@ -1,5 +1,6 @@
1
- import * as _$_intlayer_types0 from "@intlayer/types";
1
+ import * as _$_intlayer_types_config0 from "@intlayer/types/config";
2
2
  import { IntlayerConfig } from "@intlayer/types/config";
3
+ import * as _$_intlayer_types_plugin0 from "@intlayer/types/plugin";
3
4
 
4
5
  //#region src/built.browser.d.ts
5
6
  /**
@@ -9,18 +10,18 @@ import { IntlayerConfig } from "@intlayer/types/config";
9
10
  * only read when a property is first accessed.
10
11
  */
11
12
  declare const configuration: IntlayerConfig;
12
- declare const internationalization: _$_intlayer_types0.InternationalizationConfig;
13
- declare const dictionary: Partial<_$_intlayer_types0.DictionaryConfig>;
14
- declare const routing: _$_intlayer_types0.RoutingConfig;
15
- declare const content: _$_intlayer_types0.ContentConfig;
16
- declare const system: _$_intlayer_types0.SystemConfig;
17
- declare const editor: _$_intlayer_types0.EditorConfig;
18
- declare const log: _$_intlayer_types0.LogConfig;
19
- declare const ai: Partial<_$_intlayer_types0.AiConfig>;
20
- declare const build: _$_intlayer_types0.BuildConfig;
21
- declare const compiler: _$_intlayer_types0.CompilerConfig;
22
- declare const schemas: Record<string, _$_intlayer_types0.ConfigSchema>;
23
- declare const plugins: _$_intlayer_types0.Plugin[];
13
+ declare const internationalization: _$_intlayer_types_config0.InternationalizationConfig;
14
+ declare const dictionary: Partial<_$_intlayer_types_config0.DictionaryConfig>;
15
+ declare const routing: _$_intlayer_types_config0.RoutingConfig;
16
+ declare const content: _$_intlayer_types_config0.ContentConfig;
17
+ declare const system: _$_intlayer_types_config0.SystemConfig;
18
+ declare const editor: _$_intlayer_types_config0.EditorConfig;
19
+ declare const log: _$_intlayer_types_config0.LogConfig;
20
+ declare const ai: Partial<_$_intlayer_types_config0.AiConfig>;
21
+ declare const build: _$_intlayer_types_config0.BuildConfig;
22
+ declare const compiler: _$_intlayer_types_config0.CompilerConfig;
23
+ declare const schemas: Record<string, _$_intlayer_types_config0.ConfigSchema>;
24
+ declare const plugins: _$_intlayer_types_plugin0.Plugin[];
24
25
  //#endregion
25
26
  export { ai, build, compiler, content, configuration as default, dictionary, editor, internationalization, log, plugins, routing, schemas, system };
26
27
  //# sourceMappingURL=built.browser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"built.browser.d.ts","names":[],"sources":["../../src/built.browser.ts"],"mappings":";;;;;;;;AAuCA;;cAfM,aAAA,EAAa,cAAA;AAAA,cAaN,oBAAA,EAAyD,kBAAA,CAArC,0BAAA;AAAA,cACpB,UAAA,EAAU,OAAA,CAA2B,kBAAA,CAA3B,gBAAA;AAAA,cACV,OAAA,EAA+B,kBAAA,CAAxB,aAAA;AAAA,cACP,OAAA,EAA+B,kBAAA,CAAxB,aAAA;AAAA,cACP,MAAA,EAA6B,kBAAA,CAAvB,YAAA;AAAA,cACN,MAAA,EAA6B,kBAAA,CAAvB,YAAA;AAAA,cACN,GAAA,EAAuB,kBAAA,CAApB,SAAA;AAAA,cACH,EAAA,EAAE,OAAA,CAAmB,kBAAA,CAAnB,QAAA;AAAA,cACF,KAAA,EAA2B,kBAAA,CAAtB,WAAA;AAAA,cACL,QAAA,EAAiC,kBAAA,CAAzB,cAAA;AAAA,cACR,OAAA,EAAO,MAAA,SAAwB,kBAAA,CAAxB,YAAA;AAAA,cACP,OAAA,EAA+B,kBAAA,CAAxB,MAAA"}
1
+ {"version":3,"file":"built.browser.d.ts","names":[],"sources":["../../src/built.browser.ts"],"mappings":";;;;;AAsCA;;;;;AACA;AADA,cAdM,aAAA,EAAa,cAAA;AAAA,cAaN,oBAAA,EAAyD,yBAAA,CAArC,0BAAA;AAAA,cACpB,UAAA,EAAU,OAAA,CAA2B,yBAAA,CAA3B,gBAAA;AAAA,cACV,OAAA,EAA+B,yBAAA,CAAxB,aAAA;AAAA,cACP,OAAA,EAA+B,yBAAA,CAAxB,aAAA;AAAA,cACP,MAAA,EAA6B,yBAAA,CAAvB,YAAA;AAAA,cACN,MAAA,EAA6B,yBAAA,CAAvB,YAAA;AAAA,cACN,GAAA,EAAuB,yBAAA,CAApB,SAAA;AAAA,cACH,EAAA,EAAE,OAAA,CAAmB,yBAAA,CAAnB,QAAA;AAAA,cACF,KAAA,EAA2B,yBAAA,CAAtB,WAAA;AAAA,cACL,QAAA,EAAiC,yBAAA,CAAzB,cAAA;AAAA,cACR,OAAA,EAAO,MAAA,SAAwB,yBAAA,CAAxB,YAAA;AAAA,cACP,OAAA,EAA+B,yBAAA,CAAxB,MAAA"}
@@ -277,8 +277,8 @@ declare const buildSchema: z.ZodObject<{
277
277
  }>>;
278
278
  traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
279
  outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
280
- esm: "esm";
281
280
  cjs: "cjs";
281
+ esm: "esm";
282
282
  }>>>;
283
283
  cache: z.ZodOptional<z.ZodBoolean>;
284
284
  require: z.ZodOptional<z.ZodUnknown>;
@@ -474,8 +474,8 @@ declare const intlayerConfigSchema: z.ZodObject<{
474
474
  }>>;
475
475
  traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
476
476
  outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
477
- esm: "esm";
478
477
  cjs: "cjs";
478
+ esm: "esm";
479
479
  }>>>;
480
480
  cache: z.ZodOptional<z.ZodBoolean>;
481
481
  require: z.ZodOptional<z.ZodUnknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/config",
3
- "version": "9.0.0-canary.0",
3
+ "version": "9.0.0-canary.1",
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,7 +160,7 @@
160
160
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
161
161
  },
162
162
  "dependencies": {
163
- "@intlayer/types": "9.0.0-canary.0",
163
+ "@intlayer/types": "9.0.0-canary.1",
164
164
  "defu": "6.1.7",
165
165
  "dotenv": "17.4.2",
166
166
  "esbuild": "0.28.0",
@@ -175,7 +175,7 @@
175
175
  "rimraf": "6.1.3",
176
176
  "tsdown": "0.21.10",
177
177
  "typescript": "6.0.3",
178
- "vitest": "4.1.8"
178
+ "vitest": "4.1.9"
179
179
  },
180
180
  "peerDependencies": {
181
181
  "react": ">=16.0.0"