@powerlines/plugin-env 0.16.421 → 0.16.423

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/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  <div align="center">
7
7
  <picture>
8
- <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/powerlines/media/banner-1280x640-dark.gif">
9
- <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/powerlines/media/banner-1280x640-light.gif">
10
- <img src="https://public.storm-cdn.com/powerlines/media/banner-1280x640-dark.gif" width="100%" alt="Powerlines" />
8
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/powerlines/media/banner-1280x427-dark.gif">
9
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/powerlines/media/banner-1280x427-light.gif">
10
+ <img src="https://public.storm-cdn.com/powerlines/media/banner-1280x427-dark.gif" width="100%" alt="Powerlines" />
11
11
  </picture>
12
12
  </div>
13
13
  <br />
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/babel/plugin.ts"],"mappings":";;;cAmCa,mDAAc,kCAAA,iBAAd"}
1
+ {"version":3,"file":"plugin.d.cts","names":["_$__0.EnvPluginResolvedConfig"],"sources":["../../src/babel/plugin.ts"],"mappings":";;;cAmCa,mDAAc,kCAAA,iBAAdA"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/babel/plugin.ts"],"mappings":""}
1
+ {"version":3,"file":"plugin.d.mts","names":["_$__0.EnvPluginResolvedConfig"],"sources":["../../src/babel/plugin.ts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"docs.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"docs.mjs","names":["_$createComponent","_$mergeProps","_$memo"],"sources":[],"mappings":""}
@@ -221,7 +221,7 @@ function EnvBuiltin(props) {
221
221
  result.name = "Env";
222
222
  Object.entries(defaultValue.value ?? {}).forEach(([key, value]) => {
223
223
  const unprefixedKey = key.replace(new RegExp(`^(${context.config.env.prefix.join("|")})_`), "");
224
- if (unprefixedKey in (result.properties ?? {}) && (0, _stryke_type_checks_is_set_object.isSetObject)(result.properties?.[unprefixedKey])) result.properties[unprefixedKey] = {
224
+ if (unprefixedKey in (result.properties ?? {}) && (0, _stryke_type_checks_is_set_object.isSetObject)(result.properties?.[unprefixedKey]) && !result.properties[unprefixedKey].runtime) result.properties[unprefixedKey] = {
225
225
  ...result.properties?.[unprefixedKey],
226
226
  default: value
227
227
  };
@@ -220,7 +220,7 @@ function EnvBuiltin(props) {
220
220
  result.name = "Env";
221
221
  Object.entries(defaultValue.value ?? {}).forEach(([key, value]) => {
222
222
  const unprefixedKey = key.replace(new RegExp(`^(${context.config.env.prefix.join("|")})_`), "");
223
- if (unprefixedKey in (result.properties ?? {}) && isSetObject(result.properties?.[unprefixedKey])) result.properties[unprefixedKey] = {
223
+ if (unprefixedKey in (result.properties ?? {}) && isSetObject(result.properties?.[unprefixedKey]) && !result.properties[unprefixedKey].runtime) result.properties[unprefixedKey] = {
224
224
  ...result.properties?.[unprefixedKey],
225
225
  default: value
226
226
  };
@@ -1 +1 @@
1
- {"version":3,"file":"env-builtin.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"env-builtin.mjs","names":["_$createComponent","InterfaceDeclaration","BaseInterfaceDeclaration","_$mergeProps","_$createIntrinsic"],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"load.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"load.mjs","names":["loadEnvBase","loadEnvFileBase"],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"schema.mjs","names":["_exhaustive"],"sources":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":["babel","_$createComponent","automd"],"sources":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.16.421",
3
+ "version": "0.16.423",
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.1",
266
- "@babel/types": "^8.0.4",
267
- "@power-plant/alloy-js": "^0.0.89",
268
- "@power-plant/schema": "^0.0.90",
269
- "@powerlines/core": "^0.48.131",
270
- "@powerlines/plugin-alloy": "^0.26.310",
271
- "@powerlines/plugin-automd": "^0.1.674",
272
- "@powerlines/plugin-babel": "^0.13.209",
273
- "@powerlines/plugin-power-plant": "^0.1.69",
274
- "@storm-software/config-tools": "^1.190.134",
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.6",
266
+ "@babel/types": "^8.0.6",
267
+ "@power-plant/alloy-js": "^0.0.90",
268
+ "@power-plant/schema": "^0.0.91",
269
+ "@powerlines/core": "^0.48.133",
270
+ "@powerlines/plugin-alloy": "^0.26.312",
271
+ "@powerlines/plugin-automd": "^0.1.676",
272
+ "@powerlines/plugin-babel": "^0.13.211",
273
+ "@powerlines/plugin-power-plant": "^0.1.71",
274
+ "@storm-software/config-tools": "^1.190.147",
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.212",
289
- "zod": "^4.5.4"
288
+ "powerlines": "^0.47.214",
289
+ "zod": "^4.6.5"
290
290
  },
291
291
  "devDependencies": {
292
- "@powerlines/plugin-plugin": "^0.12.625",
293
- "@types/node": "^25.9.5",
294
- "vite": "^8.2.2"
292
+ "@powerlines/plugin-plugin": "^0.12.627",
293
+ "@types/node": "^25.9.9",
294
+ "vite": "^8.3.2"
295
295
  },
296
296
  "publishConfig": { "access": "public" },
297
- "gitHead": "451bc67eebc000d4c54df6b245587350bfb33809"
297
+ "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
298
298
  }