@powerlines/plugin-env 0.16.387 → 0.16.389

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.
@@ -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: "browser" | "node" | "neutral";
25
+ PLATFORM: "node" | "browser" | "neutral";
26
26
  MODE: "development" | "test" | "production";
27
27
  TEST: boolean;
28
28
  DEBUG: boolean;
29
29
  STACKTRACE: boolean;
30
- RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
30
+ RUNTIME: "browser" | "nodejs" | "workerd" | "edge" | undefined;
31
31
  ENVIRONMENT: string;
32
32
  };
33
33
  declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
@@ -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: "browser" | "node" | "neutral";
25
+ PLATFORM: "node" | "browser" | "neutral";
26
26
  MODE: "development" | "test" | "production";
27
27
  TEST: boolean;
28
28
  DEBUG: boolean;
29
29
  STACKTRACE: boolean;
30
- RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
30
+ RUNTIME: "browser" | "nodejs" | "workerd" | "edge" | undefined;
31
31
  ENVIRONMENT: string;
32
32
  };
33
33
  declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
@@ -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
- nodejs: "nodejs";
40
39
  deno: "deno";
41
- workerd: "workerd";
42
40
  browser: "browser";
41
+ nodejs: "nodejs";
42
+ workerd: "workerd";
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
- browser: "browser";
50
49
  node: "node";
50
+ browser: "browser";
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
- nodejs: "nodejs";
95
94
  deno: "deno";
96
- workerd: "workerd";
97
95
  browser: "browser";
96
+ nodejs: "nodejs";
97
+ workerd: "workerd";
98
98
  }>>;
99
99
  PLATFORM: z.ZodDefault<z.ZodEnum<{
100
- browser: "browser";
101
100
  node: "node";
101
+ browser: "browser";
102
102
  neutral: "neutral";
103
103
  }>>;
104
104
  MODE: z.ZodDefault<z.ZodEnum<{
@@ -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
- nodejs: "nodejs";
40
39
  deno: "deno";
41
- workerd: "workerd";
42
40
  browser: "browser";
41
+ nodejs: "nodejs";
42
+ workerd: "workerd";
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
- browser: "browser";
50
49
  node: "node";
50
+ browser: "browser";
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
- nodejs: "nodejs";
95
94
  deno: "deno";
96
- workerd: "workerd";
97
95
  browser: "browser";
96
+ nodejs: "nodejs";
97
+ workerd: "workerd";
98
98
  }>>;
99
99
  PLATFORM: z.ZodDefault<z.ZodEnum<{
100
- browser: "browser";
101
100
  node: "node";
101
+ browser: "browser";
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.387",
3
+ "version": "0.16.389",
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,32 +264,32 @@
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.58",
268
- "@power-plant/schema": "^0.0.59",
269
- "@powerlines/core": "^0.48.101",
270
- "@powerlines/plugin-alloy": "^0.26.276",
271
- "@powerlines/plugin-automd": "^0.1.641",
272
- "@powerlines/plugin-babel": "^0.13.177",
273
- "@powerlines/plugin-plugin": "^0.12.592",
274
- "@powerlines/plugin-power-plant": "^0.1.36",
267
+ "@power-plant/alloy-js": "^0.0.62",
268
+ "@power-plant/schema": "^0.0.63",
269
+ "@powerlines/core": "^0.48.103",
270
+ "@powerlines/plugin-alloy": "^0.26.278",
271
+ "@powerlines/plugin-automd": "^0.1.643",
272
+ "@powerlines/plugin-babel": "^0.13.179",
273
+ "@powerlines/plugin-plugin": "^0.12.594",
274
+ "@powerlines/plugin-power-plant": "^0.1.38",
275
275
  "@storm-software/config-tools": "^1.190.110",
276
- "@stryke/capnp": "^0.12.125",
277
- "@stryke/convert": "^0.7.29",
278
- "@stryke/env": "^0.20.116",
279
- "@stryke/fs": "^0.33.99",
280
- "@stryke/helpers": "^0.10.38",
281
- "@stryke/json": "^0.15.22",
282
- "@stryke/path": "^0.29.25",
283
- "@stryke/string-format": "^0.17.40",
284
- "@stryke/type-checks": "^0.6.31",
285
- "@stryke/types": "^0.12.26",
276
+ "@stryke/capnp": "^0.12.126",
277
+ "@stryke/convert": "^0.7.30",
278
+ "@stryke/env": "^0.20.117",
279
+ "@stryke/fs": "^0.33.100",
280
+ "@stryke/helpers": "^0.10.39",
281
+ "@stryke/json": "^0.15.23",
282
+ "@stryke/path": "^0.29.26",
283
+ "@stryke/string-format": "^0.17.41",
284
+ "@stryke/type-checks": "^0.6.32",
285
+ "@stryke/types": "^0.12.27",
286
286
  "automd": "^0.4.3",
287
287
  "c12": "^3.3.4",
288
288
  "defu": "^6.1.7",
289
- "powerlines": "^0.47.180",
289
+ "powerlines": "^0.47.182",
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": "cf4be053abd40de8c81d82a251f0b1bb1a6fa5ae"
294
+ "gitHead": "4cd7a0188adeced4ab21fded511aa39b30f884ff"
295
295
  }