@powerlines/plugin-env 0.16.422 → 0.16.424

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.
Files changed (93) hide show
  1. package/dist/babel/index.cjs +1 -1
  2. package/dist/babel/plugin.cjs +1 -2
  3. package/dist/babel/plugin.d.cts +2 -4
  4. package/dist/babel/plugin.d.cts.map +1 -1
  5. package/dist/babel/plugin.d.mts +2 -4
  6. package/dist/babel/plugin.d.mts.map +1 -1
  7. package/dist/babel/plugin.mjs +1 -2
  8. package/dist/components/docs.cjs +1 -2
  9. package/dist/components/docs.d.cts +0 -2
  10. package/dist/components/docs.d.cts.map +1 -1
  11. package/dist/components/docs.d.mts +0 -2
  12. package/dist/components/docs.mjs +1 -2
  13. package/dist/components/docs.mjs.map +1 -1
  14. package/dist/components/env-builtin.cjs +3 -4
  15. package/dist/components/env-builtin.d.cts +0 -2
  16. package/dist/components/env-builtin.d.cts.map +1 -1
  17. package/dist/components/env-builtin.d.mts +0 -2
  18. package/dist/components/env-builtin.mjs +2 -3
  19. package/dist/components/env-builtin.mjs.map +1 -1
  20. package/dist/components/index.cjs +2 -2
  21. package/dist/{env-C6HnpNy5.d.cts → env-D_Rv1Ho3.d.cts} +1 -3
  22. package/dist/env-D_Rv1Ho3.d.cts.map +1 -0
  23. package/dist/{env-h9Z7px6n.d.cts → env-D_Rv1Ho3.d.mts} +9 -11
  24. package/dist/env-D_Rv1Ho3.d.mts.map +1 -0
  25. package/dist/helpers/automd-generator.cjs +1 -2
  26. package/dist/helpers/automd-generator.d.cts +0 -2
  27. package/dist/helpers/automd-generator.d.cts.map +1 -1
  28. package/dist/helpers/automd-generator.d.mts +0 -2
  29. package/dist/helpers/automd-generator.mjs +1 -2
  30. package/dist/helpers/index.cjs +4 -4
  31. package/dist/helpers/load.cjs +3 -4
  32. package/dist/helpers/load.d.cts +1 -3
  33. package/dist/helpers/load.d.cts.map +1 -1
  34. package/dist/helpers/load.d.mts +1 -3
  35. package/dist/helpers/load.mjs +1 -2
  36. package/dist/helpers/load.mjs.map +1 -1
  37. package/dist/helpers/schema.cjs +2 -3
  38. package/dist/helpers/schema.d.cts +1 -3
  39. package/dist/helpers/schema.d.cts.map +1 -1
  40. package/dist/helpers/schema.d.mts +1 -3
  41. package/dist/helpers/schema.mjs +1 -2
  42. package/dist/helpers/schema.mjs.map +1 -1
  43. package/dist/helpers/source-file-env.cjs +1 -2
  44. package/dist/helpers/source-file-env.d.cts +0 -2
  45. package/dist/helpers/source-file-env.d.cts.map +1 -1
  46. package/dist/helpers/source-file-env.d.mts +0 -2
  47. package/dist/helpers/source-file-env.mjs +1 -2
  48. package/dist/index-CxT8uhoD.d.cts +1 -0
  49. package/dist/index-DqeAaIgy.d.mts +1 -0
  50. package/dist/{index-8YB6sr3U.d.mts → index-XhWie1j9.d.mts} +4 -6
  51. package/dist/index-XhWie1j9.d.mts.map +1 -0
  52. package/dist/{index-Bb5TA4ct.d.cts → index-zrtnqMQn.d.cts} +4 -6
  53. package/dist/index-zrtnqMQn.d.cts.map +1 -0
  54. package/dist/index.cjs +9 -10
  55. package/dist/index.d.cts +3 -3
  56. package/dist/index.d.mts +3 -3
  57. package/dist/index.mjs +1 -2
  58. package/dist/index.mjs.map +1 -1
  59. package/dist/{plugin-BkPUgX5Z.d.cts → plugin-Du0dty2t.d.mts} +3 -5
  60. package/dist/plugin-Du0dty2t.d.mts.map +1 -0
  61. package/dist/{plugin-DaVohK06.d.mts → plugin-TonlAu72.d.cts} +3 -5
  62. package/dist/plugin-TonlAu72.d.cts.map +1 -0
  63. package/dist/{rolldown-runtime-C24Yb2bl.cjs → rolldown-runtime-xuxB8TGW.cjs} +2 -3
  64. package/dist/schemas/env.cjs +2 -3
  65. package/dist/schemas/env.d.cts +1 -1
  66. package/dist/schemas/env.d.mts +1 -1
  67. package/dist/schemas/env.mjs +1 -2
  68. package/dist/schemas/index.cjs +1 -1
  69. package/dist/schemas/index.d.cts +1 -1
  70. package/dist/schemas/index.d.mts +1 -1
  71. package/dist/types/index.d.cts +2 -2
  72. package/dist/types/index.d.mts +2 -2
  73. package/dist/types/plugin.cjs +2 -3
  74. package/dist/types/plugin.d.cts +1 -1
  75. package/dist/types/plugin.d.mts +1 -1
  76. package/dist/types/plugin.mjs +1 -2
  77. package/package.json +27 -27
  78. package/dist/env-C6HnpNy5.d.cts.map +0 -1
  79. package/dist/env-C6HnpNy5.d.mts +0 -230
  80. package/dist/env-C6HnpNy5.d.mts.map +0 -1
  81. package/dist/env-h9Z7px6n.d.cts.map +0 -1
  82. package/dist/env-h9Z7px6n.d.mts +0 -230
  83. package/dist/env-h9Z7px6n.d.mts.map +0 -1
  84. package/dist/index-8YB6sr3U.d.mts.map +0 -1
  85. package/dist/index-BTF5i_WR.d.cts +0 -1
  86. package/dist/index-Bb5TA4ct.d.cts.map +0 -1
  87. package/dist/index-CqmZxgBO.d.mts +0 -17
  88. package/dist/index-CqmZxgBO.d.mts.map +0 -1
  89. package/dist/index-N_SMJR7p.d.cts +0 -17
  90. package/dist/index-N_SMJR7p.d.cts.map +0 -1
  91. package/dist/index-hhwceVTM.d.mts +0 -1
  92. package/dist/plugin-BkPUgX5Z.d.cts.map +0 -1
  93. package/dist/plugin-DaVohK06.d.mts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-env.d.cts","names":[],"sources":["../../src/helpers/source-file-env.ts"],"mappings":";;KAuBK,UAAU,QAAQ,+BAA+B;iBAEtC,gBAAgB,aAAa,4BAC3C,KAAK,OACJ,UAAU;iBA2BG,eAAe"}
1
+ {"version":3,"file":"source-file-env.d.cts","names":[],"sources":["../../src/helpers/source-file-env.ts"],"mappings":";KAuBK,UAAU,QAAQ,+BAA+B;iBAEtC,gBAAgB,aAAa,4BAC3C,KAAK,OACJ,UAAU;iBA2BG,eAAe"}
@@ -1,8 +1,6 @@
1
1
  import { DotenvParseOutput } from "@stryke/env/types";
2
- //#region src/helpers/source-file-env.d.ts
3
2
  type TReturned<TEnv> = TEnv extends string ? string : DotenvParseOutput;
4
3
  declare function removeEnvPrefix<TEnv extends DotenvParseOutput | string>(env: TEnv): TReturned<TEnv>;
5
4
  declare function formatEnvField(key: string): string;
6
- //#endregion
7
5
  export { formatEnvField, removeEnvPrefix };
8
6
  //# sourceMappingURL=source-file-env.d.mts.map
@@ -2,7 +2,7 @@ import { ENV_PREFIXES } from "@stryke/env/types";
2
2
  import { camelCase } from "@stryke/string-format/camel-case";
3
3
  import { isString } from "@stryke/type-checks/is-string";
4
4
 
5
- //#region src/helpers/source-file-env.ts
5
+ // src/helpers/source-file-env.ts
6
6
  function removeEnvPrefix(env) {
7
7
  if (isString(env)) {
8
8
  let name = ENV_PREFIXES.reduce((ret, prefix) => {
@@ -22,6 +22,5 @@ function formatEnvField(key) {
22
22
  return camelCase(removeEnvPrefix(key));
23
23
  }
24
24
 
25
- //#endregion
26
25
  export { formatEnvField, removeEnvPrefix };
27
26
  //# sourceMappingURL=source-file-env.mjs.map
@@ -0,0 +1 @@
1
+ import "./plugin-TonlAu72.cjs";
@@ -0,0 +1 @@
1
+ import "./plugin-Du0dty2t.mjs";
@@ -1,8 +1,7 @@
1
- import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-DaVohK06.mjs";
2
- import "./env-h9Z7px6n.mjs";
3
- import "./index-hhwceVTM.mjs";
1
+ import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-Du0dty2t.mjs";
2
+ import "./env-D_Rv1Ho3.mjs";
3
+ import "./index-DqeAaIgy.mjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  env?: EnvPluginOptions;
@@ -12,6 +11,5 @@ declare module "powerlines" {
12
11
  * A Powerlines plugin to inject environment variables into the source code.
13
12
  */
14
13
  declare const plugin: <TContext extends EnvPluginContext = EnvPluginContext>(options?: EnvPluginOptions) => Plugin<TContext>[];
15
- //#endregion
16
14
  export { plugin as t };
17
- //# sourceMappingURL=index-8YB6sr3U.d.mts.map
15
+ //# sourceMappingURL=index-XhWie1j9.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-XhWie1j9.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":""}
@@ -1,8 +1,7 @@
1
- import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-BkPUgX5Z.cjs";
2
- import "./env-h9Z7px6n.cjs";
3
- import "./index-BTF5i_WR.cjs";
1
+ import { n as EnvPluginOptions, t as EnvPluginContext } from "./plugin-TonlAu72.cjs";
2
+ import "./env-D_Rv1Ho3.cjs";
3
+ import "./index-CxT8uhoD.cjs";
4
4
  import { Plugin } from "powerlines";
5
- //#region src/index.d.ts
6
5
  declare module "powerlines" {
7
6
  interface Config {
8
7
  env?: EnvPluginOptions;
@@ -12,6 +11,5 @@ declare module "powerlines" {
12
11
  * A Powerlines plugin to inject environment variables into the source code.
13
12
  */
14
13
  declare const plugin: <TContext extends EnvPluginContext = EnvPluginContext>(options?: EnvPluginOptions) => Plugin<TContext>[];
15
- //#endregion
16
14
  export { plugin as t };
17
- //# sourceMappingURL=index-Bb5TA4ct.d.cts.map
15
+ //# sourceMappingURL=index-zrtnqMQn.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-zrtnqMQn.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;YAoDY;IACR,MAAM;;;;;;cAOG,SAAU,iBAAiB,mBAAmB,kBACzD,UAAS,qBAyGJ,OAAO"}
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
- require('./types/index.cjs');
4
- const require_schemas_env = require('./schemas/env.cjs');
5
- const require_helpers_schema = require('./helpers/schema.cjs');
6
- const require_helpers_automd_generator = require('./helpers/automd-generator.cjs');
7
- const require_components_docs = require('./components/docs.cjs');
8
- const require_components_env_builtin = require('./components/env-builtin.cjs');
9
- const require_babel_plugin = require('./babel/plugin.cjs');
2
+ const require_rolldown_runtime = require("./rolldown-runtime-xuxB8TGW.cjs");
3
+ require("./types/index.cjs");
4
+ const require_schemas_env = require("./schemas/env.cjs");
5
+ const require_helpers_schema = require("./helpers/schema.cjs");
6
+ const require_helpers_automd_generator = require("./helpers/automd-generator.cjs");
7
+ const require_components_docs = require("./components/docs.cjs");
8
+ const require_components_env_builtin = require("./components/env-builtin.cjs");
9
+ const require_babel_plugin = require("./babel/plugin.cjs");
10
10
  let _stryke_path_join = require("@stryke/path/join");
11
11
  let defu = require("defu");
12
12
  defu = require_rolldown_runtime.__toESM(defu, 1);
@@ -19,7 +19,7 @@ let _powerlines_plugin_automd = require("@powerlines/plugin-automd");
19
19
  let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
20
20
  let _stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
21
21
 
22
- //#region src/index.tsx
22
+ // src/index.tsx
23
23
  /**
24
24
  * A Powerlines plugin to inject environment variables into the source code.
25
25
  */
@@ -87,7 +87,6 @@ const plugin = (options = {}) => {
87
87
  ];
88
88
  };
89
89
 
90
- //#endregion
91
90
  exports.default = plugin;
92
91
  exports.plugin = plugin;
93
92
  exports.envSchema = require_schemas_env.envSchema;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-BkPUgX5Z.cjs";
2
- import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-C6HnpNy5.cjs";
3
- import { t as plugin } from "./index-N_SMJR7p.cjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-TonlAu72.cjs";
2
+ import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-D_Rv1Ho3.cjs";
3
+ import { t as plugin } from "./index-zrtnqMQn.cjs";
4
4
  export { type Env, type EnvInput, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType, type Secrets, type SecretsInput, plugin as default, plugin, envSchema, secretsSchema };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-DaVohK06.mjs";
2
- import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-C6HnpNy5.mjs";
3
- import { t as plugin } from "./index-CqmZxgBO.mjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "./plugin-Du0dty2t.mjs";
2
+ import { g as secretsSchema, h as envSchema, i as EnvInput, m as SecretsInput, p as Secrets, r as Env } from "./env-D_Rv1Ho3.mjs";
3
+ import { t as plugin } from "./index-XhWie1j9.mjs";
4
4
  export { type Env, type EnvInput, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType, type Secrets, type SecretsInput, plugin as default, plugin, envSchema, secretsSchema };
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import { plugin as plugin$1 } from "@powerlines/plugin-automd";
16
16
  import { plugin as plugin$2 } from "@powerlines/plugin-babel";
17
17
  import { constantCase } from "@stryke/string-format/constant-case";
18
18
 
19
- //#region src/index.tsx
19
+ // src/index.tsx
20
20
  /**
21
21
  * A Powerlines plugin to inject environment variables into the source code.
22
22
  */
@@ -84,6 +84,5 @@ const plugin = (options = {}) => {
84
84
  ];
85
85
  };
86
86
 
87
- //#endregion
88
87
  export { plugin as default, plugin, envSchema, secretsSchema };
89
88
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":["babel","_$createComponent","automd"],"sources":[],"mappings":""}
@@ -1,11 +1,10 @@
1
- import { Children } from "@alloy-js/core";
1
+ import { DotenvParseOutput } from "@stryke/env/types";
2
2
  import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
3
+ import { Children } from "@alloy-js/core";
3
4
  import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
4
5
  import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
5
- import { DotenvParseOutput } from "@stryke/env/types";
6
6
  import { RequiredKeys } from "@stryke/types";
7
7
  import { DotenvConfiguration } from "@stryke/types/configuration";
8
- //#region src/types/plugin.d.ts
9
8
  type EnvType = "env" | "secrets";
10
9
  type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
11
10
  /**
@@ -132,6 +131,5 @@ interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = Env
132
131
  injected: string[];
133
132
  };
134
133
  }
135
- //#endregion
136
134
  export { EnvSchema as a, EnvPluginUserConfig as i, EnvPluginOptions as n, EnvType as o, EnvPluginResolvedConfig as r, EnvPluginContext as t };
137
- //# sourceMappingURL=plugin-BkPUgX5Z.d.cts.map
135
+ //# sourceMappingURL=plugin-Du0dty2t.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-Du0dty2t.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
@@ -1,11 +1,10 @@
1
- import { DotenvParseOutput } from "@stryke/env/types";
2
- import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
3
1
  import { Children } from "@alloy-js/core";
2
+ import { JsonSchemaObject, SchemaConfig, SchemaEnvelope } from "@power-plant/schema";
4
3
  import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
5
4
  import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
5
+ import { DotenvParseOutput } from "@stryke/env/types";
6
6
  import { RequiredKeys } from "@stryke/types";
7
7
  import { DotenvConfiguration } from "@stryke/types/configuration";
8
- //#region src/types/plugin.d.ts
9
8
  type EnvType = "env" | "secrets";
10
9
  type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
11
10
  /**
@@ -132,6 +131,5 @@ interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = Env
132
131
  injected: string[];
133
132
  };
134
133
  }
135
- //#endregion
136
134
  export { EnvSchema as a, EnvPluginUserConfig as i, EnvPluginOptions as n, EnvType as o, EnvPluginResolvedConfig as r, EnvPluginContext as t };
137
- //# sourceMappingURL=plugin-DaVohK06.d.mts.map
135
+ //# sourceMappingURL=plugin-TonlAu72.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-TonlAu72.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;KAmCY;KAEA,mBAAmB,KAAK;;;;EAIlC,SAAS;;;;EAKT,UAAU;;;;;;;EAQV;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA,gBAAgB;;;;;;;EAQhB,QAAQ;;;;;;;EAQR,SAAS;;KAGC,sBAAsB;EAChC,KAAK;;KAGK,0BAA0B;EACpC,KAAK,SAAS,KAAK,2CACjB,aAAa;;;;;;;IAOX;;;;;;;IAQA;;;;;;;IAQA;;;;;;;;;KAUM,YAAY,eAAe;;;;;;;EAOrC;;UAGe,iBACf,wBAAwB,0BAA0B,iCAC1C,mBAAmB;EAC3B;;;;;;;IAOE,QAAQ;;;;;;;IAQR,SAAS;;;;;;;IAQT,QAAQ;;;;;;;IAQR"}
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -24,8 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
- //#endregion
28
- Object.defineProperty(exports, '__toESM', {
27
+ Object.defineProperty(exports, "__toESM", {
29
28
  enumerable: true,
30
29
  get: function () {
31
30
  return __toESM;
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
2
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.cjs");
3
3
  let zod = require("zod");
4
4
  zod = require_rolldown_runtime.__toESM(zod, 1);
5
5
 
6
- //#region src/schemas/env.ts
6
+ // src/schemas/env.ts
7
7
  /**
8
8
  * Runtime environment the application may execute in.
9
9
  */
@@ -713,7 +713,6 @@ const secretsSchema = zod.object({ ENCRYPTION_KEY: zod.string().meta({
713
713
  /**
714
714
  * Input type for {@link secretsSchema}.
715
715
  */
716
- //#endregion
717
716
  exports.BooleanOrNumberSchema = BooleanOrNumberSchema;
718
717
  exports.LogLevelSchema = LogLevelSchema;
719
718
  exports.ModeSchema = ModeSchema;
@@ -1,2 +1,2 @@
1
- import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-C6HnpNy5.cjs";
1
+ import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.cjs";
2
2
  export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
@@ -1,2 +1,2 @@
1
- import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-C6HnpNy5.mjs";
1
+ import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.mjs";
2
2
  export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod";
2
2
 
3
- //#region src/schemas/env.ts
3
+ // src/schemas/env.ts
4
4
  /**
5
5
  * Runtime environment the application may execute in.
6
6
  */
@@ -710,6 +710,5 @@ const secretsSchema = z.object({ ENCRYPTION_KEY: z.string().meta({
710
710
  /**
711
711
  * Input type for {@link secretsSchema}.
712
712
  */
713
- //#endregion
714
713
  export { BooleanOrNumberSchema, LogLevelSchema, ModeSchema, PlatformSchema, RuntimeSchema, envSchema, secretsSchema };
715
714
  //# sourceMappingURL=env.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_schemas_env = require('./env.cjs');
2
+ const require_schemas_env = require("./env.cjs");
3
3
 
4
4
  exports.BooleanOrNumberSchema = require_schemas_env.BooleanOrNumberSchema;
5
5
  exports.LogLevelSchema = require_schemas_env.LogLevelSchema;
@@ -1,2 +1,2 @@
1
- import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-C6HnpNy5.cjs";
1
+ import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.cjs";
2
2
  export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
@@ -1,2 +1,2 @@
1
- import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-C6HnpNy5.mjs";
1
+ import { a as LogLevel, c as ModeSchema, d as Runtime, f as RuntimeSchema, g as secretsSchema, h as envSchema, i as EnvInput, l as Platform, m as SecretsInput, n as BooleanOrNumberSchema, o as LogLevelSchema, p as Secrets, r as Env, s as Mode, t as BooleanOrNumber, u as PlatformSchema } from "../env-D_Rv1Ho3.mjs";
2
2
  export { BooleanOrNumber, BooleanOrNumberSchema, Env, EnvInput, LogLevel, LogLevelSchema, Mode, ModeSchema, Platform, PlatformSchema, Runtime, RuntimeSchema, Secrets, SecretsInput, envSchema, secretsSchema };
@@ -1,3 +1,3 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-BkPUgX5Z.cjs";
2
- import "../index-BTF5i_WR.cjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
2
+ import "../index-CxT8uhoD.cjs";
3
3
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
@@ -1,3 +1,3 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-DaVohK06.mjs";
2
- import "../index-hhwceVTM.mjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
2
+ import "../index-DqeAaIgy.mjs";
3
3
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
@@ -1,8 +1,7 @@
1
- //#region src/types/plugin.ts
1
+ // src/types/plugin.ts
2
2
  /**
3
3
  * The schema for environment variables and secrets used by the plugin.
4
4
  *
5
5
  * @remarks
6
6
  * This schema is the result of parsing the type definitions provided in the {@link EnvPluginOptions.config} and {@link EnvPluginOptions.secrets} options, and is used to validate the loaded environment variables and secrets, as well as to determine which variables should be injected into the source code when the {@link EnvPluginOptions.inject} option is enabled.
7
- */
8
- //#endregion
7
+ */
@@ -1,2 +1,2 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-BkPUgX5Z.cjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-TonlAu72.cjs";
2
2
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
@@ -1,2 +1,2 @@
1
- import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-DaVohK06.mjs";
1
+ import { a as EnvSchema, i as EnvPluginUserConfig, n as EnvPluginOptions, o as EnvType, r as EnvPluginResolvedConfig, t as EnvPluginContext } from "../plugin-Du0dty2t.mjs";
2
2
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvSchema, EnvType };
@@ -1,10 +1,9 @@
1
- //#region src/types/plugin.ts
1
+ // src/types/plugin.ts
2
2
  /**
3
3
  * The schema for environment variables and secrets used by the plugin.
4
4
  *
5
5
  * @remarks
6
6
  * This schema is the result of parsing the type definitions provided in the {@link EnvPluginOptions.config} and {@link EnvPluginOptions.secrets} options, and is used to validate the loaded environment variables and secrets, as well as to determine which variables should be injected into the source code when the {@link EnvPluginOptions.inject} option is enabled.
7
7
  */
8
- //#endregion
9
8
  export { };
10
9
  //# sourceMappingURL=plugin.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.16.422",
3
+ "version": "0.16.424",
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"],
@@ -262,37 +262,37 @@
262
262
  "@alloy-js/json": "^0.24.0",
263
263
  "@alloy-js/markdown": "^0.24.0",
264
264
  "@alloy-js/typescript": "^0.24.0",
265
- "@babel/core": "^8.0.5",
266
- "@babel/types": "^8.0.5",
267
- "@power-plant/alloy-js": "^0.0.90",
268
- "@power-plant/schema": "^0.0.91",
269
- "@powerlines/core": "^0.48.132",
270
- "@powerlines/plugin-alloy": "^0.26.311",
271
- "@powerlines/plugin-automd": "^0.1.675",
272
- "@powerlines/plugin-babel": "^0.13.210",
273
- "@powerlines/plugin-power-plant": "^0.1.70",
274
- "@storm-software/config-tools": "^1.190.140",
275
- "@stryke/capnp": "^0.12.143",
276
- "@stryke/convert": "^0.7.45",
277
- "@stryke/env": "^0.20.133",
278
- "@stryke/fs": "^0.33.116",
279
- "@stryke/helpers": "^0.10.54",
280
- "@stryke/json": "^0.15.38",
281
- "@stryke/path": "^0.29.41",
282
- "@stryke/string-format": "^0.17.56",
283
- "@stryke/type-checks": "^0.6.47",
284
- "@stryke/types": "^0.12.42",
265
+ "@babel/core": "^8.0.7",
266
+ "@babel/types": "^8.0.6",
267
+ "@power-plant/alloy-js": "^0.0.95",
268
+ "@power-plant/schema": "^0.0.96",
269
+ "@powerlines/core": "^0.48.134",
270
+ "@powerlines/plugin-alloy": "^0.26.313",
271
+ "@powerlines/plugin-automd": "^0.1.677",
272
+ "@powerlines/plugin-babel": "^0.13.212",
273
+ "@powerlines/plugin-power-plant": "^0.1.72",
274
+ "@storm-software/config-tools": "^1.190.151",
275
+ "@stryke/capnp": "^0.12.145",
276
+ "@stryke/convert": "^0.7.47",
277
+ "@stryke/env": "^0.20.135",
278
+ "@stryke/fs": "^0.33.118",
279
+ "@stryke/helpers": "^0.10.56",
280
+ "@stryke/json": "^0.15.40",
281
+ "@stryke/path": "^0.29.43",
282
+ "@stryke/string-format": "^0.17.58",
283
+ "@stryke/type-checks": "^0.6.49",
284
+ "@stryke/types": "^0.12.44",
285
285
  "automd": "^0.4.3",
286
286
  "c12": "^3.3.4",
287
287
  "defu": "^6.1.7",
288
- "powerlines": "^0.47.213",
289
- "zod": "^4.6.5"
288
+ "powerlines": "^0.47.215",
289
+ "zod": "^4.6.7"
290
290
  },
291
291
  "devDependencies": {
292
- "@powerlines/plugin-plugin": "^0.12.626",
293
- "@types/node": "^25.9.7",
294
- "vite": "^8.3.0"
292
+ "@powerlines/plugin-plugin": "^0.12.628",
293
+ "@types/node": "^25.9.9",
294
+ "vite": "^8.3.5"
295
295
  },
296
296
  "publishConfig": { "access": "public" },
297
- "gitHead": "6303d77b4c8c2dadb7f0128d74e30c2cbb6ffe75"
297
+ "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
298
298
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"env-C6HnpNy5.d.cts","names":[],"sources":["../src/schemas/env.ts"],"mappings":";;;YAqBY;;;;IAIR;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;IAKA;;;;;;cAOS,eAAa,EAAA;;;;;;KACd,UAAU,EAAE,aAAa;;;;cAKxB,gBAAc,EAAA;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,YAAU,EAAA;;;;;KACX,OAAO,EAAE,aAAa;;;;cAKrB,gBAAc,EAAA;;;;;;KACf,WAAW,EAAE,aAAa;;;;cAKzB,uBAAqB,EAAA,mBAAA,EAAA,YAAA,EAAA;KACtB,kBAAkB,EAAE,aAAa;;;;;;;cAQhC,WAAS,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiwBlB,EAAA,KAAA;;;;KAKQ,MAAM,EAAE,aAAa;;;;KAKrB,WAAW,EAAE,aAAa;;;;;;;cAQzB,eAAa,EAAA;;GAWtB,EAAA,KAAA;;;;KAKQ,UAAU,EAAE,aAAa;;;;KAKzB,eAAe,EAAE,aAAa"}