@powerlines/plugin-env 0.16.389 → 0.16.391
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/helpers/load.d.cts +2 -2
- package/dist/helpers/load.d.mts +2 -2
- package/dist/schemas/env.d.cts +6 -6
- package/dist/schemas/env.d.mts +6 -6
- package/package.json +11 -11
package/dist/helpers/load.d.cts
CHANGED
|
@@ -22,12 +22,12 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
22
22
|
LOG_LEVEL: "error" | "warn" | "info" | "debug" | "silent";
|
|
23
23
|
ERROR_URL: string | undefined;
|
|
24
24
|
ORGANIZATION: string | undefined;
|
|
25
|
-
PLATFORM: "
|
|
25
|
+
PLATFORM: "browser" | "node" | "neutral";
|
|
26
26
|
MODE: "development" | "test" | "production";
|
|
27
27
|
TEST: boolean;
|
|
28
28
|
DEBUG: boolean;
|
|
29
29
|
STACKTRACE: boolean;
|
|
30
|
-
RUNTIME: "
|
|
30
|
+
RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
|
|
31
31
|
ENVIRONMENT: string;
|
|
32
32
|
};
|
|
33
33
|
declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
|
package/dist/helpers/load.d.mts
CHANGED
|
@@ -22,12 +22,12 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
22
22
|
LOG_LEVEL: "error" | "warn" | "info" | "debug" | "silent";
|
|
23
23
|
ERROR_URL: string | undefined;
|
|
24
24
|
ORGANIZATION: string | undefined;
|
|
25
|
-
PLATFORM: "
|
|
25
|
+
PLATFORM: "browser" | "node" | "neutral";
|
|
26
26
|
MODE: "development" | "test" | "production";
|
|
27
27
|
TEST: boolean;
|
|
28
28
|
DEBUG: boolean;
|
|
29
29
|
STACKTRACE: boolean;
|
|
30
|
-
RUNTIME: "
|
|
30
|
+
RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
|
|
31
31
|
ENVIRONMENT: string;
|
|
32
32
|
};
|
|
33
33
|
declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
|
package/dist/schemas/env.d.cts
CHANGED
|
@@ -36,18 +36,18 @@ declare module "zod" {
|
|
|
36
36
|
* Runtime environment the application may execute in.
|
|
37
37
|
*/
|
|
38
38
|
declare const RuntimeSchema: z.ZodEnum<{
|
|
39
|
-
deno: "deno";
|
|
40
|
-
browser: "browser";
|
|
41
39
|
nodejs: "nodejs";
|
|
40
|
+
deno: "deno";
|
|
42
41
|
workerd: "workerd";
|
|
42
|
+
browser: "browser";
|
|
43
43
|
}>;
|
|
44
44
|
type Runtime = z.infer<typeof RuntimeSchema>;
|
|
45
45
|
/**
|
|
46
46
|
* Platform the application was built for.
|
|
47
47
|
*/
|
|
48
48
|
declare const PlatformSchema: z.ZodEnum<{
|
|
49
|
-
node: "node";
|
|
50
49
|
browser: "browser";
|
|
50
|
+
node: "node";
|
|
51
51
|
neutral: "neutral";
|
|
52
52
|
}>;
|
|
53
53
|
type Platform = z.infer<typeof PlatformSchema>;
|
|
@@ -91,14 +91,14 @@ declare const envSchema: z.ZodObject<{
|
|
|
91
91
|
RELEASE_TAG: z.ZodString;
|
|
92
92
|
ORGANIZATION: z.ZodString;
|
|
93
93
|
RUNTIME: z.ZodOptional<z.ZodEnum<{
|
|
94
|
-
deno: "deno";
|
|
95
|
-
browser: "browser";
|
|
96
94
|
nodejs: "nodejs";
|
|
95
|
+
deno: "deno";
|
|
97
96
|
workerd: "workerd";
|
|
97
|
+
browser: "browser";
|
|
98
98
|
}>>;
|
|
99
99
|
PLATFORM: z.ZodDefault<z.ZodEnum<{
|
|
100
|
-
node: "node";
|
|
101
100
|
browser: "browser";
|
|
101
|
+
node: "node";
|
|
102
102
|
neutral: "neutral";
|
|
103
103
|
}>>;
|
|
104
104
|
MODE: z.ZodDefault<z.ZodEnum<{
|
package/dist/schemas/env.d.mts
CHANGED
|
@@ -36,18 +36,18 @@ declare module "zod" {
|
|
|
36
36
|
* Runtime environment the application may execute in.
|
|
37
37
|
*/
|
|
38
38
|
declare const RuntimeSchema: z.ZodEnum<{
|
|
39
|
-
deno: "deno";
|
|
40
|
-
browser: "browser";
|
|
41
39
|
nodejs: "nodejs";
|
|
40
|
+
deno: "deno";
|
|
42
41
|
workerd: "workerd";
|
|
42
|
+
browser: "browser";
|
|
43
43
|
}>;
|
|
44
44
|
type Runtime = z.infer<typeof RuntimeSchema>;
|
|
45
45
|
/**
|
|
46
46
|
* Platform the application was built for.
|
|
47
47
|
*/
|
|
48
48
|
declare const PlatformSchema: z.ZodEnum<{
|
|
49
|
-
node: "node";
|
|
50
49
|
browser: "browser";
|
|
50
|
+
node: "node";
|
|
51
51
|
neutral: "neutral";
|
|
52
52
|
}>;
|
|
53
53
|
type Platform = z.infer<typeof PlatformSchema>;
|
|
@@ -91,14 +91,14 @@ declare const envSchema: z.ZodObject<{
|
|
|
91
91
|
RELEASE_TAG: z.ZodString;
|
|
92
92
|
ORGANIZATION: z.ZodString;
|
|
93
93
|
RUNTIME: z.ZodOptional<z.ZodEnum<{
|
|
94
|
-
deno: "deno";
|
|
95
|
-
browser: "browser";
|
|
96
94
|
nodejs: "nodejs";
|
|
95
|
+
deno: "deno";
|
|
97
96
|
workerd: "workerd";
|
|
97
|
+
browser: "browser";
|
|
98
98
|
}>>;
|
|
99
99
|
PLATFORM: z.ZodDefault<z.ZodEnum<{
|
|
100
|
-
node: "node";
|
|
101
100
|
browser: "browser";
|
|
101
|
+
node: "node";
|
|
102
102
|
neutral: "neutral";
|
|
103
103
|
}>>;
|
|
104
104
|
MODE: z.ZodDefault<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.391",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
|
|
6
6
|
"keywords": ["dotenv", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -264,14 +264,14 @@
|
|
|
264
264
|
"@alloy-js/typescript": "^0.24.0",
|
|
265
265
|
"@babel/core": "^8.0.1",
|
|
266
266
|
"@babel/types": "^8.0.4",
|
|
267
|
-
"@power-plant/alloy-js": "^0.0.
|
|
268
|
-
"@power-plant/schema": "^0.0.
|
|
269
|
-
"@powerlines/core": "
|
|
270
|
-
"@powerlines/plugin-alloy": "
|
|
271
|
-
"@powerlines/plugin-automd": "
|
|
272
|
-
"@powerlines/plugin-babel": "
|
|
273
|
-
"@powerlines/plugin-plugin": "
|
|
274
|
-
"@powerlines/plugin-power-plant": "
|
|
267
|
+
"@power-plant/alloy-js": "^0.0.63",
|
|
268
|
+
"@power-plant/schema": "^0.0.64",
|
|
269
|
+
"@powerlines/core": "0.48.105",
|
|
270
|
+
"@powerlines/plugin-alloy": "0.26.280",
|
|
271
|
+
"@powerlines/plugin-automd": "0.1.645",
|
|
272
|
+
"@powerlines/plugin-babel": "0.13.181",
|
|
273
|
+
"@powerlines/plugin-plugin": "0.12.596",
|
|
274
|
+
"@powerlines/plugin-power-plant": "0.1.40",
|
|
275
275
|
"@storm-software/config-tools": "^1.190.110",
|
|
276
276
|
"@stryke/capnp": "^0.12.126",
|
|
277
277
|
"@stryke/convert": "^0.7.30",
|
|
@@ -286,10 +286,10 @@
|
|
|
286
286
|
"automd": "^0.4.3",
|
|
287
287
|
"c12": "^3.3.4",
|
|
288
288
|
"defu": "^6.1.7",
|
|
289
|
-
"powerlines": "
|
|
289
|
+
"powerlines": "0.47.184",
|
|
290
290
|
"zod": "^4.4.3"
|
|
291
291
|
},
|
|
292
292
|
"devDependencies": { "@types/node": "^25.9.5", "vite": "^8.2.0" },
|
|
293
293
|
"publishConfig": { "access": "public" },
|
|
294
|
-
"gitHead": "
|
|
294
|
+
"gitHead": "36f0c1b42752e4cf6662e77aab219500aadce4f6"
|
|
295
295
|
}
|