@powerlines/plugin-env 0.15.12 → 0.15.13
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/dist/helpers/reflect.cjs
CHANGED
|
@@ -213,7 +213,7 @@ async function reflectEnv(context, file, name) {
|
|
|
213
213
|
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await require_reflect_type.reflectType(context, {
|
|
214
214
|
file: !(0, __stryke_path_is_parent_path.isParentPath)(file, context.workspaceConfig.workspaceRoot) ? (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, file) : file,
|
|
215
215
|
name
|
|
216
|
-
}
|
|
216
|
+
}));
|
|
217
217
|
const defaultConfigType = await require_reflect_type.reflectType(context, await require_helpers_persistence.getEnvDefaultTypeDefinition(context));
|
|
218
218
|
return mergeEnvReflections(context, [
|
|
219
219
|
await require_helpers_persistence.readEnvTypeReflection(context, "env"),
|
|
@@ -234,7 +234,7 @@ async function reflectSecrets(context, file, name) {
|
|
|
234
234
|
if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await require_reflect_type.reflectType(context, {
|
|
235
235
|
file: !(0, __stryke_path_is_parent_path.isParentPath)(file, context.workspaceConfig.workspaceRoot) ? (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, file) : file,
|
|
236
236
|
name
|
|
237
|
-
}
|
|
237
|
+
}));
|
|
238
238
|
const defaultSecretsType = await require_reflect_type.reflectType(context, await require_helpers_persistence.getSecretsDefaultTypeDefinition(context));
|
|
239
239
|
return mergeSecretsReflections(context, [
|
|
240
240
|
await require_helpers_persistence.readSecretsReflection(context),
|
package/dist/helpers/reflect.mjs
CHANGED
|
@@ -212,7 +212,7 @@ async function reflectEnv(context, file, name) {
|
|
|
212
212
|
if (file) config = resolveClassType(await reflectType(context, {
|
|
213
213
|
file: !isParentPath(file, context.workspaceConfig.workspaceRoot) ? joinPaths(context.workspaceConfig.workspaceRoot, file) : file,
|
|
214
214
|
name
|
|
215
|
-
}
|
|
215
|
+
}));
|
|
216
216
|
const defaultConfigType = await reflectType(context, await getEnvDefaultTypeDefinition(context));
|
|
217
217
|
return mergeEnvReflections(context, [
|
|
218
218
|
await readEnvTypeReflection(context, "env"),
|
|
@@ -233,7 +233,7 @@ async function reflectSecrets(context, file, name) {
|
|
|
233
233
|
if (file) config = resolveClassType(await reflectType(context, {
|
|
234
234
|
file: !isParentPath(file, context.workspaceConfig.workspaceRoot) ? joinPaths(context.workspaceConfig.workspaceRoot, file) : file,
|
|
235
235
|
name
|
|
236
|
-
}
|
|
236
|
+
}));
|
|
237
237
|
const defaultSecretsType = await reflectType(context, await getSecretsDefaultTypeDefinition(context));
|
|
238
238
|
return mergeSecretsReflections(context, [
|
|
239
239
|
await readSecretsReflection(context),
|
|
@@ -38,7 +38,7 @@ const DEFAULT_ESBUILD_CONFIG = {
|
|
|
38
38
|
function resolveESBuildEntry(context, entryPoints = []) {
|
|
39
39
|
return entryPoints.reduce(__assignType((ret, entry) => {
|
|
40
40
|
if ((0, __stryke_type_checks_is_string.isString)(entry)) ret[(0, __stryke_path_replace.replaceExtension)((0, __stryke_path_replace.replacePath)(entry, context.config.sourceRoot || context.config.projectRoot))] = (0, __stryke_path_replace.replacePath)(entry, context.config.sourceRoot || context.config.projectRoot);
|
|
41
|
-
else ret[entry.output || require_entry.resolveEntryOutput(context, entry.input
|
|
41
|
+
else ret[entry.output || require_entry.resolveEntryOutput(context, entry.input ?? entry)] = require_entry.resolveEntryInputFile(context, entry.input ?? entry);
|
|
42
42
|
return ret;
|
|
43
43
|
}, [
|
|
44
44
|
"ret",
|
|
@@ -36,7 +36,7 @@ const DEFAULT_ESBUILD_CONFIG = {
|
|
|
36
36
|
function resolveESBuildEntry(context, entryPoints = []) {
|
|
37
37
|
return entryPoints.reduce(__assignType((ret, entry) => {
|
|
38
38
|
if (isString(entry)) ret[replaceExtension(replacePath(entry, context.config.sourceRoot || context.config.projectRoot))] = replacePath(entry, context.config.sourceRoot || context.config.projectRoot);
|
|
39
|
-
else ret[entry.output || resolveEntryOutput(context, entry.input
|
|
39
|
+
else ret[entry.output || resolveEntryOutput(context, entry.input ?? entry)] = resolveEntryInputFile(context, entry.input ?? entry);
|
|
40
40
|
return ret;
|
|
41
41
|
}, [
|
|
42
42
|
"ret",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.13",
|
|
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/json": "^0.22.0",
|
|
194
194
|
"@babel/core": "^7.28.5",
|
|
195
195
|
"@babel/types": "^7.28.5",
|
|
196
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
197
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
198
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
199
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
196
|
+
"@powerlines/plugin-alloy": "^0.18.10",
|
|
197
|
+
"@powerlines/plugin-automd": "^0.1.128",
|
|
198
|
+
"@powerlines/plugin-babel": "^0.12.137",
|
|
199
|
+
"@powerlines/plugin-plugin": "^0.12.80",
|
|
200
200
|
"@storm-software/config-tools": "^1.188.75",
|
|
201
201
|
"@stryke/capnp": "^0.12.52",
|
|
202
202
|
"@stryke/env": "^0.20.44",
|
|
@@ -206,14 +206,14 @@
|
|
|
206
206
|
"@stryke/type-checks": "^0.5.15",
|
|
207
207
|
"@stryke/types": "^0.10.29",
|
|
208
208
|
"automd": "^0.4.2",
|
|
209
|
-
"powerlines": "^0.37.
|
|
209
|
+
"powerlines": "^0.37.2"
|
|
210
210
|
},
|
|
211
211
|
"devDependencies": {
|
|
212
|
-
"@powerlines/deepkit": "^0.5.
|
|
213
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
212
|
+
"@powerlines/deepkit": "^0.5.43",
|
|
213
|
+
"@powerlines/plugin-deepkit": "^0.11.4",
|
|
214
214
|
"@types/node": "^24.10.4",
|
|
215
215
|
"vite": "8.0.0-beta.2"
|
|
216
216
|
},
|
|
217
217
|
"publishConfig": { "access": "public" },
|
|
218
|
-
"gitHead": "
|
|
218
|
+
"gitHead": "5a9bfc9333eca98a453682f39a04a0d642930a50"
|
|
219
219
|
}
|