@powerlines/plugin-env 0.16.396 → 0.16.398
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 +1 -1
- package/dist/helpers/load.d.mts +1 -1
- package/dist/schemas/env.d.cts +4 -4
- package/dist/schemas/env.d.mts +4 -4
- package/package.json +13 -13
package/dist/helpers/load.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
23
23
|
ERROR_URL: string | undefined;
|
|
24
24
|
ORGANIZATION: string | undefined;
|
|
25
25
|
PLATFORM: "browser" | "node" | "neutral";
|
|
26
|
-
MODE: "
|
|
26
|
+
MODE: "development" | "test" | "production";
|
|
27
27
|
TEST: boolean;
|
|
28
28
|
DEBUG: boolean;
|
|
29
29
|
STACKTRACE: boolean;
|
package/dist/helpers/load.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
|
|
|
23
23
|
ERROR_URL: string | undefined;
|
|
24
24
|
ORGANIZATION: string | undefined;
|
|
25
25
|
PLATFORM: "browser" | "node" | "neutral";
|
|
26
|
-
MODE: "
|
|
26
|
+
MODE: "development" | "test" | "production";
|
|
27
27
|
TEST: boolean;
|
|
28
28
|
DEBUG: boolean;
|
|
29
29
|
STACKTRACE: boolean;
|
package/dist/schemas/env.d.cts
CHANGED
|
@@ -36,8 +36,8 @@ 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
39
|
nodejs: "nodejs";
|
|
40
|
+
deno: "deno";
|
|
41
41
|
workerd: "workerd";
|
|
42
42
|
browser: "browser";
|
|
43
43
|
}>;
|
|
@@ -55,8 +55,8 @@ type Platform = z.infer<typeof PlatformSchema>;
|
|
|
55
55
|
* Application run mode.
|
|
56
56
|
*/
|
|
57
57
|
declare const ModeSchema: z.ZodEnum<{
|
|
58
|
-
test: "test";
|
|
59
58
|
development: "development";
|
|
59
|
+
test: "test";
|
|
60
60
|
production: "production";
|
|
61
61
|
}>;
|
|
62
62
|
type Mode = z.infer<typeof ModeSchema>;
|
|
@@ -91,8 +91,8 @@ 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
94
|
nodejs: "nodejs";
|
|
95
|
+
deno: "deno";
|
|
96
96
|
workerd: "workerd";
|
|
97
97
|
browser: "browser";
|
|
98
98
|
}>>;
|
|
@@ -102,8 +102,8 @@ declare const envSchema: z.ZodObject<{
|
|
|
102
102
|
neutral: "neutral";
|
|
103
103
|
}>>;
|
|
104
104
|
MODE: z.ZodDefault<z.ZodEnum<{
|
|
105
|
-
test: "test";
|
|
106
105
|
development: "development";
|
|
106
|
+
test: "test";
|
|
107
107
|
production: "production";
|
|
108
108
|
}>>;
|
|
109
109
|
ENVIRONMENT: z.ZodDefault<z.ZodString>;
|
package/dist/schemas/env.d.mts
CHANGED
|
@@ -36,8 +36,8 @@ 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
39
|
nodejs: "nodejs";
|
|
40
|
+
deno: "deno";
|
|
41
41
|
workerd: "workerd";
|
|
42
42
|
browser: "browser";
|
|
43
43
|
}>;
|
|
@@ -55,8 +55,8 @@ type Platform = z.infer<typeof PlatformSchema>;
|
|
|
55
55
|
* Application run mode.
|
|
56
56
|
*/
|
|
57
57
|
declare const ModeSchema: z.ZodEnum<{
|
|
58
|
-
test: "test";
|
|
59
58
|
development: "development";
|
|
59
|
+
test: "test";
|
|
60
60
|
production: "production";
|
|
61
61
|
}>;
|
|
62
62
|
type Mode = z.infer<typeof ModeSchema>;
|
|
@@ -91,8 +91,8 @@ 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
94
|
nodejs: "nodejs";
|
|
95
|
+
deno: "deno";
|
|
96
96
|
workerd: "workerd";
|
|
97
97
|
browser: "browser";
|
|
98
98
|
}>>;
|
|
@@ -102,8 +102,8 @@ declare const envSchema: z.ZodObject<{
|
|
|
102
102
|
neutral: "neutral";
|
|
103
103
|
}>>;
|
|
104
104
|
MODE: z.ZodDefault<z.ZodEnum<{
|
|
105
|
-
test: "test";
|
|
106
105
|
development: "development";
|
|
106
|
+
test: "test";
|
|
107
107
|
production: "production";
|
|
108
108
|
}>>;
|
|
109
109
|
ENVIRONMENT: z.ZodDefault<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.398",
|
|
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,15 +264,15 @@
|
|
|
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": "
|
|
275
|
-
"@storm-software/config-tools": "^1.190.
|
|
267
|
+
"@power-plant/alloy-js": "^0.0.79",
|
|
268
|
+
"@power-plant/schema": "^0.0.80",
|
|
269
|
+
"@powerlines/core": "0.48.112",
|
|
270
|
+
"@powerlines/plugin-alloy": "0.26.287",
|
|
271
|
+
"@powerlines/plugin-automd": "0.1.652",
|
|
272
|
+
"@powerlines/plugin-babel": "0.13.188",
|
|
273
|
+
"@powerlines/plugin-plugin": "0.12.603",
|
|
274
|
+
"@powerlines/plugin-power-plant": "0.1.47",
|
|
275
|
+
"@storm-software/config-tools": "^1.190.115",
|
|
276
276
|
"@stryke/capnp": "^0.12.129",
|
|
277
277
|
"@stryke/convert": "^0.7.33",
|
|
278
278
|
"@stryke/env": "^0.20.120",
|
|
@@ -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.191",
|
|
290
290
|
"zod": "^4.4.3"
|
|
291
291
|
},
|
|
292
|
-
"devDependencies": { "@types/node": "^25.9.5", "vite": "^8.2.
|
|
292
|
+
"devDependencies": { "@types/node": "^25.9.5", "vite": "^8.2.1" },
|
|
293
293
|
"publishConfig": { "access": "public" },
|
|
294
|
-
"gitHead": "
|
|
294
|
+
"gitHead": "359532473fdb2c8e38bec1f85c665195fb42b859"
|
|
295
295
|
}
|