@powerlines/plugin-env 0.16.400 → 0.16.401

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.
@@ -19,15 +19,15 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
19
19
  RELEASE_TAG: string;
20
20
  DEFAULT_LOCALE: string | undefined;
21
21
  DEFAULT_TIMEZONE: string | undefined;
22
- LOG_LEVEL: "error" | "warn" | "info" | "debug" | "silent";
22
+ LOG_LEVEL: "silent" | "error" | "warn" | "info" | "debug";
23
23
  ERROR_URL: string | undefined;
24
24
  ORGANIZATION: string | undefined;
25
- PLATFORM: "browser" | "node" | "neutral";
26
- MODE: "development" | "test" | "production";
25
+ PLATFORM: "node" | "browser" | "neutral";
26
+ MODE: "test" | "development" | "production";
27
27
  TEST: boolean;
28
28
  DEBUG: boolean;
29
29
  STACKTRACE: boolean;
30
- RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
30
+ RUNTIME: "edge" | "browser" | "nodejs" | "workerd" | undefined;
31
31
  ENVIRONMENT: string;
32
32
  };
33
33
  declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
@@ -19,15 +19,15 @@ declare function loadEnvFromContext(context: EnvPluginContext, parsed: DotenvPar
19
19
  RELEASE_TAG: string;
20
20
  DEFAULT_LOCALE: string | undefined;
21
21
  DEFAULT_TIMEZONE: string | undefined;
22
- LOG_LEVEL: "error" | "warn" | "info" | "debug" | "silent";
22
+ LOG_LEVEL: "silent" | "error" | "warn" | "info" | "debug";
23
23
  ERROR_URL: string | undefined;
24
24
  ORGANIZATION: string | undefined;
25
- PLATFORM: "browser" | "node" | "neutral";
26
- MODE: "development" | "test" | "production";
25
+ PLATFORM: "node" | "browser" | "neutral";
26
+ MODE: "test" | "development" | "production";
27
27
  TEST: boolean;
28
28
  DEBUG: boolean;
29
29
  STACKTRACE: boolean;
30
- RUNTIME: "nodejs" | "workerd" | "browser" | "edge" | undefined;
30
+ RUNTIME: "edge" | "browser" | "nodejs" | "workerd" | undefined;
31
31
  ENVIRONMENT: string;
32
32
  };
33
33
  declare function loadEnv<TEnv extends DotenvParseOutput = DotenvParseOutput>(context: EnvPluginContext, options?: EnvPluginOptions): Promise<TEnv>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.cts","names":[],"sources":["../../src/helpers/schema.ts"],"mappings":";;;;;;;;;;iBA0CsB,yBACpB,iBAAiB,mBACjB,SAAS,WAAW;;;;;;;iBAmBA,iBAAiB,iBAAiB,mBACtD,SAAS,WACR,QAAQ;;;;;;;iBAaW,kBAAkB,iBAAiB,mBACvD,SAAS,WACR,QAAQ;;;;;;;iBAaK,kBAAkB,iBAAiB,kBACjD,SAAS;iBAKK,iBAAiB,iBAAiB,kBAChD,SAAS,UACT;;;;;;;;;;iBA+CoB,WAAW,iBAAiB,kBAChD,SAAS,WACR;;;;;;;iBAqNmB,SAAS,iBAAiB,kBAC9C,SAAS,WACR"}
1
+ {"version":3,"file":"schema.d.cts","names":[],"sources":["../../src/helpers/schema.ts"],"mappings":";;;;;;;;;;iBA2CsB,yBACpB,iBAAiB,mBACjB,SAAS,WAAW;;;;;;;iBAmBA,iBAAiB,iBAAiB,mBACtD,SAAS,WACR,QAAQ;;;;;;;iBAaW,kBAAkB,iBAAiB,mBACvD,SAAS,WACR,QAAQ;;;;;;;iBAaK,kBAAkB,iBAAiB,kBACjD,SAAS;iBAKK,iBAAiB,iBAAiB,kBAChD,SAAS,UACT;;;;;;;;;;iBA+CoB,WAAW,iBAAiB,kBAChD,SAAS,WACR;;;;;;;iBAqNmB,SAAS,iBAAiB,kBAC9C,SAAS,WACR"}
@@ -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>;
@@ -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
- development: "development";
59
58
  test: "test";
59
+ development: "development";
60
60
  production: "production";
61
61
  }>;
62
62
  type Mode = z.infer<typeof ModeSchema>;
@@ -91,19 +91,19 @@ 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<{
105
- development: "development";
106
105
  test: "test";
106
+ development: "development";
107
107
  production: "production";
108
108
  }>>;
109
109
  ENVIRONMENT: z.ZodDefault<z.ZodString>;
@@ -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>;
@@ -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
- development: "development";
59
58
  test: "test";
59
+ development: "development";
60
60
  production: "production";
61
61
  }>;
62
62
  type Mode = z.infer<typeof ModeSchema>;
@@ -91,19 +91,19 @@ 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<{
105
- development: "development";
106
105
  test: "test";
106
+ development: "development";
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.400",
3
+ "version": "0.16.401",
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"],
@@ -266,30 +266,33 @@
266
266
  "@babel/types": "^8.0.4",
267
267
  "@power-plant/alloy-js": "^0.0.80",
268
268
  "@power-plant/schema": "^0.0.81",
269
- "@powerlines/core": "^0.48.114",
270
- "@powerlines/plugin-alloy": "^0.26.289",
271
- "@powerlines/plugin-automd": "^0.1.654",
272
- "@powerlines/plugin-babel": "^0.13.190",
273
- "@powerlines/plugin-plugin": "^0.12.605",
274
- "@powerlines/plugin-power-plant": "^0.1.49",
275
- "@storm-software/config-tools": "^1.190.115",
276
- "@stryke/capnp": "^0.12.129",
277
- "@stryke/convert": "^0.7.33",
278
- "@stryke/env": "^0.20.120",
279
- "@stryke/fs": "^0.33.103",
280
- "@stryke/helpers": "^0.10.42",
281
- "@stryke/json": "^0.15.26",
282
- "@stryke/path": "^0.29.29",
283
- "@stryke/string-format": "^0.17.44",
284
- "@stryke/type-checks": "^0.6.35",
285
- "@stryke/types": "^0.12.30",
269
+ "@powerlines/core": "0.48.115",
270
+ "@powerlines/plugin-alloy": "0.26.290",
271
+ "@powerlines/plugin-automd": "0.1.655",
272
+ "@powerlines/plugin-babel": "0.13.191",
273
+ "@powerlines/plugin-power-plant": "0.1.50",
274
+ "@storm-software/config-tools": "^1.190.130",
275
+ "@stryke/capnp": "^0.12.136",
276
+ "@stryke/convert": "^0.7.38",
277
+ "@stryke/env": "^0.20.126",
278
+ "@stryke/fs": "^0.33.109",
279
+ "@stryke/helpers": "^0.10.47",
280
+ "@stryke/json": "^0.15.31",
281
+ "@stryke/path": "^0.29.34",
282
+ "@stryke/string-format": "^0.17.49",
283
+ "@stryke/type-checks": "^0.6.40",
284
+ "@stryke/types": "^0.12.35",
286
285
  "automd": "^0.4.3",
287
286
  "c12": "^3.3.4",
288
287
  "defu": "^6.1.7",
289
- "powerlines": "^0.47.193",
288
+ "powerlines": "0.47.194",
290
289
  "zod": "^4.4.3"
291
290
  },
292
- "devDependencies": { "@types/node": "^25.9.5", "vite": "^8.2.1" },
291
+ "devDependencies": {
292
+ "@powerlines/plugin-plugin": "0.12.606",
293
+ "@types/node": "^25.9.5",
294
+ "vite": "^8.2.1"
295
+ },
293
296
  "publishConfig": { "access": "public" },
294
- "gitHead": "1589a2d83936bacf34aa90ffae4119df0b1b6bc6"
297
+ "gitHead": "ca37aa95827eddaaa3b5c8cb750249cc9045ac29"
295
298
  }