@intlayer/config 9.0.0-canary.5 → 9.0.0-canary.7
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.
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
const require_utils_alias = require('../utils/alias.cjs');
|
|
4
4
|
const require_configFile_getConfiguration = require('../configFile/getConfiguration.cjs');
|
|
5
|
-
const require_bundle_logBundle = require('./logBundle.cjs');
|
|
6
5
|
const require_envVars_envVars = require('../envVars/envVars.cjs');
|
|
6
|
+
const require_bundle_logBundle = require('./logBundle.cjs');
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
let node_fs_promises = require("node:fs/promises");
|
|
9
9
|
let _intlayer_types_package_json = require("@intlayer/types/package.json");
|
|
@@ -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" };
|
|
@@ -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>;
|
|
@@ -159,9 +159,9 @@ declare const routingSchema: z.ZodObject<{
|
|
|
159
159
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
160
160
|
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
161
161
|
sameSite: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
none: "none";
|
|
162
163
|
strict: "strict";
|
|
163
164
|
lax: "lax";
|
|
164
|
-
none: "none";
|
|
165
165
|
}>>;
|
|
166
166
|
expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
|
|
167
167
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
@@ -185,9 +185,9 @@ declare const routingSchema: z.ZodObject<{
|
|
|
185
185
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
186
186
|
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
187
187
|
sameSite: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
none: "none";
|
|
188
189
|
strict: "strict";
|
|
189
190
|
lax: "lax";
|
|
190
|
-
none: "none";
|
|
191
191
|
}>>;
|
|
192
192
|
expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
|
|
193
193
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
@@ -243,8 +243,8 @@ declare const editorSchema: z.ZodObject<{
|
|
|
243
243
|
}, z.core.$strip>;
|
|
244
244
|
declare const logSchema: z.ZodObject<{
|
|
245
245
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
246
|
-
default: "default";
|
|
247
246
|
verbose: "verbose";
|
|
247
|
+
default: "default";
|
|
248
248
|
disabled: "disabled";
|
|
249
249
|
}>>;
|
|
250
250
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -278,8 +278,8 @@ declare const buildSchema: z.ZodObject<{
|
|
|
278
278
|
}>>;
|
|
279
279
|
traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
280
280
|
outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
281
|
-
cjs: "cjs";
|
|
282
281
|
esm: "esm";
|
|
282
|
+
cjs: "cjs";
|
|
283
283
|
}>>>;
|
|
284
284
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
285
285
|
require: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -357,9 +357,9 @@ declare const intlayerConfigSchema: z.ZodObject<{
|
|
|
357
357
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
358
358
|
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
359
359
|
sameSite: z.ZodOptional<z.ZodEnum<{
|
|
360
|
+
none: "none";
|
|
360
361
|
strict: "strict";
|
|
361
362
|
lax: "lax";
|
|
362
|
-
none: "none";
|
|
363
363
|
}>>;
|
|
364
364
|
expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
|
|
365
365
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
@@ -383,9 +383,9 @@ declare const intlayerConfigSchema: z.ZodObject<{
|
|
|
383
383
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
384
384
|
httpOnly: z.ZodOptional<z.ZodBoolean>;
|
|
385
385
|
sameSite: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
none: "none";
|
|
386
387
|
strict: "strict";
|
|
387
388
|
lax: "lax";
|
|
388
|
-
none: "none";
|
|
389
389
|
}>>;
|
|
390
390
|
expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
|
|
391
391
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
@@ -441,8 +441,8 @@ declare const intlayerConfigSchema: z.ZodObject<{
|
|
|
441
441
|
}, z.core.$strip>>;
|
|
442
442
|
log: z.ZodOptional<z.ZodObject<{
|
|
443
443
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
444
|
-
default: "default";
|
|
445
444
|
verbose: "verbose";
|
|
445
|
+
default: "default";
|
|
446
446
|
disabled: "disabled";
|
|
447
447
|
}>>;
|
|
448
448
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -476,8 +476,8 @@ declare const intlayerConfigSchema: z.ZodObject<{
|
|
|
476
476
|
}>>;
|
|
477
477
|
traversePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
478
|
outputFormat: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
479
|
-
cjs: "cjs";
|
|
480
479
|
esm: "esm";
|
|
480
|
+
cjs: "cjs";
|
|
481
481
|
}>>>;
|
|
482
482
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
483
483
|
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.
|
|
3
|
+
"version": "9.0.0-canary.7",
|
|
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.
|
|
163
|
+
"@intlayer/types": "9.0.0-canary.7",
|
|
164
164
|
"defu": "6.1.7",
|
|
165
165
|
"dotenv": "17.4.2",
|
|
166
166
|
"esbuild": "0.28.1",
|