@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 +3 -3
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts.map +1 -1
- package/dist/components/docs.mjs.map +1 -1
- package/dist/components/env-builtin.cjs +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/components/env-builtin.mjs.map +1 -1
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/schema.mjs.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +27 -27
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-
|
|
9
|
-
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/powerlines/media/banner-
|
|
10
|
-
<img src="https://public.storm-cdn.com/powerlines/media/banner-
|
|
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,
|
|
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":""}
|
package/dist/index.mjs.map
CHANGED
|
@@ -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.
|
|
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.
|
|
266
|
-
"@babel/types": "^8.0.
|
|
267
|
-
"@power-plant/alloy-js": "^0.0.
|
|
268
|
-
"@power-plant/schema": "^0.0.
|
|
269
|
-
"@powerlines/core": "^0.48.
|
|
270
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
271
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
272
|
-
"@powerlines/plugin-babel": "^0.13.
|
|
273
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
274
|
-
"@storm-software/config-tools": "^1.190.
|
|
275
|
-
"@stryke/capnp": "^0.12.
|
|
276
|
-
"@stryke/convert": "^0.7.
|
|
277
|
-
"@stryke/env": "^0.20.
|
|
278
|
-
"@stryke/fs": "^0.33.
|
|
279
|
-
"@stryke/helpers": "^0.10.
|
|
280
|
-
"@stryke/json": "^0.15.
|
|
281
|
-
"@stryke/path": "^0.29.
|
|
282
|
-
"@stryke/string-format": "^0.17.
|
|
283
|
-
"@stryke/type-checks": "^0.6.
|
|
284
|
-
"@stryke/types": "^0.12.
|
|
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.
|
|
289
|
-
"zod": "^4.5
|
|
288
|
+
"powerlines": "^0.47.214",
|
|
289
|
+
"zod": "^4.6.5"
|
|
290
290
|
},
|
|
291
291
|
"devDependencies": {
|
|
292
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
293
|
-
"@types/node": "^25.9.
|
|
294
|
-
"vite": "^8.
|
|
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": "
|
|
297
|
+
"gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
|
|
298
298
|
}
|