@powerlines/plugin-env 0.15.86 → 0.15.87

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.
@@ -33,6 +33,12 @@ function EnvTypeDefinition(props) {
33
33
  }),
34
34
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
35
35
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
36
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
37
+ heading: "The environment configuration object with prefixed keys.",
38
+ get children() {
39
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `The \`Env\` type extends the \`EnvBase\` interface by including additional keys that are prefixed according to the project's configuration. This allows for flexibility in accessing environment variables with different naming conventions.` });
40
+ }
41
+ }),
36
42
  (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.TypeDeclaration, {
37
43
  name: "Env",
38
44
  "export": true,
@@ -42,7 +48,9 @@ function EnvTypeDefinition(props) {
42
48
  }
43
49
  `;
44
50
  }
45
- })
51
+ }),
52
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
53
+ (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
46
54
  ];
47
55
  }
48
56
  function ConfigPropertyConditional(props) {
@@ -432,6 +440,12 @@ function EnvBuiltin(props) {
432
440
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
433
441
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
434
442
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
443
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
444
+ heading: "The environment configuration object.",
445
+ get children() {
446
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This object provides access to the environment configuration parameters in the application runtime.` });
447
+ }
448
+ }),
435
449
  (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.VarDeclaration, {
436
450
  refkey: envRefkey,
437
451
  name: "env",
@@ -32,6 +32,12 @@ function EnvTypeDefinition(props) {
32
32
  }),
33
33
  createIntrinsic("hbr", {}),
34
34
  createIntrinsic("hbr", {}),
35
+ createComponent(TSDoc, {
36
+ heading: "The environment configuration object with prefixed keys.",
37
+ get children() {
38
+ return createComponent(TSDocRemarks, { children: `The \`Env\` type extends the \`EnvBase\` interface by including additional keys that are prefixed according to the project's configuration. This allows for flexibility in accessing environment variables with different naming conventions.` });
39
+ }
40
+ }),
35
41
  createComponent(TypeDeclaration, {
36
42
  name: "Env",
37
43
  "export": true,
@@ -41,7 +47,9 @@ function EnvTypeDefinition(props) {
41
47
  }
42
48
  `;
43
49
  }
44
- })
50
+ }),
51
+ createIntrinsic("hbr", {}),
52
+ createIntrinsic("hbr", {})
45
53
  ];
46
54
  }
47
55
  function ConfigPropertyConditional(props) {
@@ -431,6 +439,12 @@ function EnvBuiltin(props) {
431
439
  createIntrinsic("hbr", {}),
432
440
  createIntrinsic("hbr", {}),
433
441
  createIntrinsic("hbr", {}),
442
+ createComponent(TSDoc, {
443
+ heading: "The environment configuration object.",
444
+ get children() {
445
+ return createComponent(TSDocRemarks, { children: `This object provides access to the environment configuration parameters in the application runtime.` });
446
+ }
447
+ }),
434
448
  createComponent(VarDeclaration, {
435
449
  refkey: envRefkey,
436
450
  name: "env",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.15.86",
3
+ "version": "0.15.87",
4
4
  "type": "module",
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
  "repository": {
@@ -193,10 +193,10 @@
193
193
  "@alloy-js/typescript": "^0.22.0",
194
194
  "@babel/core": "^7.28.6",
195
195
  "@babel/types": "^7.28.6",
196
- "@powerlines/plugin-alloy": "^0.18.82",
197
- "@powerlines/plugin-automd": "^0.1.193",
198
- "@powerlines/plugin-babel": "^0.12.202",
199
- "@powerlines/plugin-plugin": "^0.12.145",
196
+ "@powerlines/plugin-alloy": "^0.18.83",
197
+ "@powerlines/plugin-automd": "^0.1.194",
198
+ "@powerlines/plugin-babel": "^0.12.203",
199
+ "@powerlines/plugin-plugin": "^0.12.146",
200
200
  "@storm-software/config-tools": "^1.188.80",
201
201
  "@stryke/capnp": "^0.12.61",
202
202
  "@stryke/env": "^0.20.53",
@@ -206,14 +206,14 @@
206
206
  "@stryke/type-checks": "^0.5.20",
207
207
  "@stryke/types": "^0.10.34",
208
208
  "automd": "^0.4.2",
209
- "powerlines": "^0.37.67"
209
+ "powerlines": "^0.37.68"
210
210
  },
211
211
  "devDependencies": {
212
- "@powerlines/deepkit": "^0.5.110",
213
- "@powerlines/plugin-deepkit": "^0.11.71",
212
+ "@powerlines/deepkit": "^0.5.111",
213
+ "@powerlines/plugin-deepkit": "^0.11.72",
214
214
  "@types/node": "^24.10.9",
215
215
  "vite": "8.0.0-beta.2"
216
216
  },
217
217
  "publishConfig": { "access": "public" },
218
- "gitHead": "612adb9b4cb1dc039ebef4456dadea3335b659e3"
218
+ "gitHead": "f8260d0aec03ef3e809d6c0a7f95faf703fc3801"
219
219
  }