@powerlines/plugin-env 0.15.48 → 0.15.50

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 (59) hide show
  1. package/dist/babel/plugin.cjs +6 -6
  2. package/dist/babel/plugin.mjs +6 -6
  3. package/dist/components/docs.cjs +3 -3
  4. package/dist/components/docs.mjs +3 -3
  5. package/dist/components/env.cjs +2 -2
  6. package/dist/components/env.mjs +2 -2
  7. package/dist/components/index.cjs +1 -1
  8. package/dist/components/index.mjs +1 -1
  9. package/dist/helpers/automd-generator.cjs +1 -1
  10. package/dist/helpers/automd-generator.mjs +1 -1
  11. package/dist/helpers/index.cjs +1 -1
  12. package/dist/helpers/index.mjs +1 -1
  13. package/dist/helpers/load.cjs +3 -3
  14. package/dist/helpers/load.mjs +3 -3
  15. package/dist/helpers/persistence.cjs +4 -4
  16. package/dist/helpers/persistence.mjs +4 -4
  17. package/dist/helpers/reflect.cjs +2 -2
  18. package/dist/helpers/reflect.mjs +2 -2
  19. package/dist/index.cjs +15 -15
  20. package/dist/index.mjs +15 -15
  21. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/parse-type-definition.cjs +1 -1
  22. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/parse-type-definition.mjs +1 -1
  23. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/to-array.cjs +1 -1
  24. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/to-array.mjs +1 -1
  25. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +1 -1
  26. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +1 -1
  27. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +1 -1
  28. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +1 -1
  29. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +1 -1
  30. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +1 -1
  31. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +1 -1
  32. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +1 -1
  33. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +1 -1
  34. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +1 -1
  35. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +1 -1
  36. package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +1 -1
  37. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/is-parent-path.cjs +1 -1
  38. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/is-parent-path.mjs +1 -1
  39. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/is-type.cjs +1 -1
  40. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/is-type.mjs +1 -1
  41. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/join-paths.cjs +1 -1
  42. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/join-paths.mjs +1 -1
  43. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/regex.cjs +1 -1
  44. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/regex.mjs +1 -1
  45. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/slash.cjs +1 -1
  46. package/dist/node_modules/.pnpm/{@stryke_path@0.24.2 → @stryke_path@0.24.3}/node_modules/@stryke/path/dist/slash.mjs +1 -1
  47. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +1 -1
  48. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +1 -1
  49. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1 -1
  50. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1 -1
  51. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +1 -1
  52. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +1 -1
  53. package/dist/packages/powerlines/src/types/config.d.mts +4 -4
  54. package/dist/powerlines/src/types/config.d.cts +3 -3
  55. package/package.json +16 -16
  56. /package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -0
  57. /package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -0
  58. /package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -0
  59. /package/dist/node_modules/.pnpm/{@stryke_convert@0.6.31 → @stryke_convert@0.6.32}/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -0
@@ -2,18 +2,18 @@ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_types_plugin = require('../types/plugin.cjs');
3
3
  const require_helpers_persistence = require('../helpers/persistence.cjs');
4
4
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
5
+ let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
6
+ let powerlines_types_babel = require("powerlines/types/babel");
7
+ let __babel_core = require("@babel/core");
5
8
  let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
6
9
  let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
10
+ let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
11
+ let __powerlines_plugin_babel_helpers_create_plugin = require("@powerlines/plugin-babel/helpers/create-plugin");
12
+ let __powerlines_plugin_babel_helpers_module_helpers = require("@powerlines/plugin-babel/helpers/module-helpers");
7
13
  let __stryke_capnp = require("@stryke/capnp");
8
14
  __stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
9
15
  let __stryke_fs_buffer = require("@stryke/fs/buffer");
10
16
  let node_fs = require("node:fs");
11
- let powerlines_types_babel = require("powerlines/types/babel");
12
- let __babel_core = require("@babel/core");
13
- let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
14
- let __powerlines_plugin_babel_helpers_create_plugin = require("@powerlines/plugin-babel/helpers/create-plugin");
15
- let __powerlines_plugin_babel_helpers_module_helpers = require("@powerlines/plugin-babel/helpers/module-helpers");
16
- let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
17
17
 
18
18
  //#region src/babel/plugin.ts
19
19
  function __assignType(fn, args) {
@@ -1,17 +1,17 @@
1
1
  import { __ΩEnvPluginContext } from "../types/plugin.mjs";
2
2
  import { getEnvReflectionsPath } from "../helpers/persistence.mjs";
3
3
  import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
4
- import { convertFromCapnp } from "@powerlines/deepkit/capnp";
5
- import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
6
- import * as capnp from "@stryke/capnp";
7
- import { readFileBufferSync } from "@stryke/fs/buffer";
8
- import { existsSync } from "node:fs";
4
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
9
5
  import { __ΩBabelPluginPass } from "powerlines/types/babel";
10
6
  import { NodePath } from "@babel/core";
7
+ import { convertFromCapnp } from "@powerlines/deepkit/capnp";
8
+ import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
11
9
  import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
12
10
  import { createBabelPlugin } from "@powerlines/plugin-babel/helpers/create-plugin";
13
11
  import { addImport } from "@powerlines/plugin-babel/helpers/module-helpers";
14
- import { LogLevelLabel } from "@storm-software/config-tools/types";
12
+ import * as capnp from "@stryke/capnp";
13
+ import { readFileBufferSync } from "@stryke/fs/buffer";
14
+ import { existsSync } from "node:fs";
15
15
 
16
16
  //#region src/babel/plugin.ts
17
17
  function __assignType(fn, args) {
@@ -1,11 +1,11 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
3
3
  const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
4
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
5
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
5
6
  let __alloy_js_core = require("@alloy-js/core");
6
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
- let __alloy_js_markdown = require("@alloy-js/markdown");
8
7
  let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
8
+ let __alloy_js_markdown = require("@alloy-js/markdown");
9
9
  let __powerlines_plugin_alloy_markdown_components_markdown_file = require("@powerlines/plugin-alloy/markdown/components/markdown-file");
10
10
  let __powerlines_plugin_alloy_markdown_components_markdown_table = require("@powerlines/plugin-alloy/markdown/components/markdown-table");
11
11
 
@@ -1,10 +1,10 @@
1
- import { o } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
2
2
  import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
3
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
3
4
  import { stringifyType } from "@powerlines/deepkit/vendor/type";
4
5
  import { Show, code } from "@alloy-js/core";
5
- import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
6
- import { Heading, Link } from "@alloy-js/markdown";
7
6
  import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
7
+ import { Heading, Link } from "@alloy-js/markdown";
8
8
  import { MarkdownFile } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
9
9
  import { MarkdownTable } from "@powerlines/plugin-alloy/markdown/components/markdown-table";
10
10
 
@@ -2,12 +2,12 @@ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
3
3
  const require_helpers_load = require('../helpers/load.cjs');
4
4
  const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
5
+ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
6
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
6
7
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
7
8
  let __alloy_js_core = require("@alloy-js/core");
8
- let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
9
- let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
10
9
  let __alloy_js_typescript = require("@alloy-js/typescript");
10
+ let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
11
11
  let __powerlines_plugin_alloy_helpers_refkey = require("@powerlines/plugin-alloy/helpers/refkey");
12
12
  let __powerlines_plugin_alloy_typescript_components_builtin_file = require("@powerlines/plugin-alloy/typescript/components/builtin-file");
13
13
  let __powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
@@ -1,12 +1,12 @@
1
1
  import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
2
2
  import { loadEnvFromContext } from "../helpers/load.mjs";
3
3
  import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
4
+ import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
4
5
  import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
5
6
  import { titleCase } from "@stryke/string-format/title-case";
6
7
  import { For, Show, code, computed, splitProps } from "@alloy-js/core";
7
- import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
8
- import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
9
8
  import { ClassDeclaration, ClassMethod, ElseIfClause, FunctionDeclaration, IfStatement, NewExpression, TypeDeclaration, VarDeclaration } from "@alloy-js/typescript";
9
+ import { usePowerlinesSafe } from "@powerlines/plugin-alloy/core/contexts/context";
10
10
  import { refkey } from "@powerlines/plugin-alloy/helpers/refkey";
11
11
  import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
12
12
  import { TSDoc, TSDocExample, TSDocLink, TSDocParam, TSDocRemarks, TSDocReturns, TSDocThrows } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
@@ -1,5 +1,5 @@
1
- const require_components_docs = require('./docs.cjs');
2
1
  const require_components_env = require('./env.cjs');
2
+ const require_components_docs = require('./docs.cjs');
3
3
 
4
4
  exports.EnvBuiltin = require_components_env.EnvBuiltin;
5
5
  exports.EnvDocs = require_components_docs.EnvDocs;
@@ -1,4 +1,4 @@
1
- import { EnvDocs } from "./docs.mjs";
2
1
  import { EnvBuiltin, EnvTypeDefinition } from "./env.mjs";
2
+ import { EnvDocs } from "./docs.mjs";
3
3
 
4
4
  export { EnvBuiltin, EnvDocs, EnvTypeDefinition };
@@ -1,5 +1,5 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
3
3
  let powerlines_types_context = require("powerlines/types/context");
4
4
  let automd = require("automd");
5
5
 
@@ -1,4 +1,4 @@
1
- import { o } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
2
2
  import { __ΩUnresolvedContext } from "powerlines/types/context";
3
3
  import { defineGenerator } from "automd";
4
4
 
@@ -1,9 +1,9 @@
1
1
  const require_helpers_reflect = require('./reflect.cjs');
2
2
  const require_helpers_persistence = require('./persistence.cjs');
3
- const require_helpers_template_helpers = require('./template-helpers.cjs');
4
3
  const require_helpers_source_file_env = require('./source-file-env.cjs');
5
4
  const require_helpers_load = require('./load.cjs');
6
5
  const require_helpers_create_reflection_resource = require('./create-reflection-resource.cjs');
6
+ const require_helpers_template_helpers = require('./template-helpers.cjs');
7
7
 
8
8
  exports.BaseEnv = require_helpers_reflect.BaseEnv;
9
9
  exports.BaseSecrets = require_helpers_reflect.BaseSecrets;
@@ -1,8 +1,8 @@
1
1
  import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./reflect.mjs";
2
2
  import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./persistence.mjs";
3
- import { createTemplateReflection } from "./template-helpers.mjs";
4
3
  import { formatEnvField, removeEnvPrefix } from "./source-file-env.mjs";
5
4
  import { loadEnv, loadEnvFromContext } from "./load.mjs";
6
5
  import { createReflectionResource } from "./create-reflection-resource.mjs";
6
+ import { createTemplateReflection } from "./template-helpers.mjs";
7
7
 
8
8
  export { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createReflectionResource, createSecretsReflection, createTemplateReflection, formatEnvField, getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, loadEnv, loadEnvFromContext, mergeEnvReflections, mergeSecretsReflections, readEnvReflection, readEnvTypeReflection, readSecretsReflection, reflectEnv, reflectSecrets, removeEnvPrefix, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection };
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_types_plugin = require('../types/plugin.cjs');
3
- const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
4
- const require_helpers_source_file_env = require('./source-file-env.cjs');
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
5
3
  const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
4
+ const require_types_plugin = require('../types/plugin.cjs');
6
5
  const require_index = require('../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs');
6
+ const require_helpers_source_file_env = require('./source-file-env.cjs');
7
7
  let powerlines_types_config = require("powerlines/types/config");
8
8
  let __stryke_env_load_env = require("@stryke/env/load-env");
9
9
  let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
@@ -1,8 +1,8 @@
1
- import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
2
- import { o } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
3
- import { removeEnvPrefix } from "./source-file-env.mjs";
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
4
2
  import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
3
+ import { __ΩEnvPluginContext, __ΩEnvPluginOptions } from "../types/plugin.mjs";
5
4
  import { loadConfig } from "../node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs";
5
+ import { removeEnvPrefix } from "./source-file-env.mjs";
6
6
  import { __ΩWorkspaceConfig } from "powerlines/types/config";
7
7
  import { loadEnv as loadEnv$1, loadEnvFile } from "@stryke/env/load-env";
8
8
  import { kebabCase } from "@stryke/string-format/kebab-case";
@@ -1,17 +1,17 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
2
3
  const require_types_plugin = require('../types/plugin.cjs');
3
- const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
4
4
  const require_helpers_reflect = require('./reflect.cjs');
5
5
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
6
- let powerlines_types_context = require("powerlines/types/context");
7
6
  let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
8
- let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
9
7
  let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
10
8
  let __stryke_capnp = require("@stryke/capnp");
11
9
  __stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
12
10
  let __stryke_fs_buffer = require("@stryke/fs/buffer");
13
- let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
14
11
  let node_fs = require("node:fs");
12
+ let powerlines_types_context = require("powerlines/types/context");
13
+ let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
14
+ let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
15
15
 
16
16
  //#region src/helpers/persistence.ts
17
17
  /**
@@ -1,15 +1,15 @@
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
1
2
  import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
2
- import { o } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
3
3
  import { createEnvReflection } from "./reflect.mjs";
4
4
  import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
5
- import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
6
5
  import { convertFromCapnp, convertToCapnp } from "@powerlines/deepkit/capnp";
7
- import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
8
6
  import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
9
7
  import * as capnp from "@stryke/capnp";
10
8
  import { readFileBuffer, writeFileBuffer, writeFileBufferSync } from "@stryke/fs/buffer";
11
- import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
12
9
  import { existsSync } from "node:fs";
10
+ import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
11
+ import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
12
+ import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
13
13
 
14
14
  //#region src/helpers/persistence.ts
15
15
  /**
@@ -1,8 +1,8 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.cjs');
3
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
2
4
  const require_types_runtime = require('../types/runtime.cjs');
3
5
  const require_types_plugin = require('../types/plugin.cjs');
4
- const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
5
- const require_is_parent_path = require('../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.cjs');
6
6
  const require_helpers_persistence = require('./persistence.cjs');
7
7
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
8
8
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
@@ -1,7 +1,7 @@
1
+ import { t } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs";
2
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
1
3
  import { __ΩEnvInterface, __ΩSecretsInterface } from "../types/runtime.mjs";
2
4
  import { __ΩEnvPluginContext } from "../types/plugin.mjs";
3
- import { o } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
4
- import { t } from "../node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.mjs";
5
5
  import { getEnvDefaultTypeDefinition, getSecretsDefaultTypeDefinition, readEnvTypeReflection, readSecretsReflection } from "./persistence.mjs";
6
6
  import { ReflectionClass, ReflectionKind, __ΩTypeClass, __ΩTypeObjectLiteral, merge, resolveClassType } from "@powerlines/deepkit/vendor/type";
7
7
  import { titleCase } from "@stryke/string-format/title-case";
package/dist/index.cjs CHANGED
@@ -1,40 +1,40 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
+ const require_parse_type_definition = require('./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
4
+ const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.cjs');
5
+ const require_is_parent_path = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.cjs');
6
+ const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.cjs');
7
+ const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
3
8
  const require_types_runtime = require('./types/runtime.cjs');
4
9
  const require_types_plugin = require('./types/plugin.cjs');
5
- require('./types/index.cjs');
6
- const require_join_paths = require('./node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.cjs');
7
- const require_is_parent_path = require('./node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.cjs');
8
10
  const require_helpers_reflect = require('./helpers/reflect.cjs');
9
11
  const require_helpers_persistence = require('./helpers/persistence.cjs');
10
- const require_helpers_template_helpers = require('./helpers/template-helpers.cjs');
12
+ const require_babel_plugin = require('./babel/plugin.cjs');
11
13
  const require_helpers_source_file_env = require('./helpers/source-file-env.cjs');
12
- const require_defu = require('./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
13
14
  const require_helpers_load = require('./helpers/load.cjs');
14
15
  const require_helpers_create_reflection_resource = require('./helpers/create-reflection-resource.cjs');
15
- require('./helpers/index.cjs');
16
+ const require_components_env = require('./components/env.cjs');
16
17
  const require_helpers_automd_generator = require('./helpers/automd-generator.cjs');
18
+ require('./babel/index.cjs');
17
19
  const require_components_docs = require('./components/docs.cjs');
18
- const require_components_env = require('./components/env.cjs');
19
20
  require('./components/index.cjs');
20
- const require_babel_plugin = require('./babel/plugin.cjs');
21
- require('./babel/index.cjs');
22
- const require_parse_type_definition = require('./node_modules/.pnpm/@stryke_convert@0.6.31/node_modules/@stryke/convert/dist/parse-type-definition.cjs');
23
- const require_to_array = require('./node_modules/.pnpm/@stryke_convert@0.6.31/node_modules/@stryke/convert/dist/to-array.cjs');
24
- let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
25
- let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
26
- let __stryke_env_types = require("@stryke/env/types");
21
+ const require_helpers_template_helpers = require('./helpers/template-helpers.cjs');
22
+ require('./helpers/index.cjs');
23
+ require('./types/index.cjs');
27
24
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
28
- let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
25
+ let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
29
26
  let __powerlines_plugin_alloy = require("@powerlines/plugin-alloy");
30
27
  __powerlines_plugin_alloy = require_rolldown_runtime.__toESM(__powerlines_plugin_alloy);
31
28
  let __powerlines_plugin_automd = require("@powerlines/plugin-automd");
32
29
  __powerlines_plugin_automd = require_rolldown_runtime.__toESM(__powerlines_plugin_automd);
33
30
  let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
34
31
  __powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
32
+ let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
33
+ let __stryke_env_types = require("@stryke/env/types");
35
34
  let __stryke_fs_exists = require("@stryke/fs/exists");
36
35
  let __stryke_fs_helpers = require("@stryke/fs/helpers");
37
36
  let __stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
37
+ let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
38
38
 
39
39
  //#region src/index.tsx
40
40
  /**
package/dist/index.mjs CHANGED
@@ -1,35 +1,35 @@
1
+ import { n } from "./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/parse-type-definition.mjs";
2
+ import { e } from "./node_modules/.pnpm/@stryke_convert@0.6.32/node_modules/@stryke/convert/dist/to-array.mjs";
3
+ import { t } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs";
4
+ import { o } from "./node_modules/.pnpm/@stryke_path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs";
5
+ import { defu } from "./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
1
6
  import { __ΩEnvInterface, __ΩSecretsInterface } from "./types/runtime.mjs";
2
7
  import { __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./types/plugin.mjs";
3
- import "./types/index.mjs";
4
- import { o } from "./node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs";
5
- import { t } from "./node_modules/.pnpm/@stryke_path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.mjs";
6
8
  import { BaseEnv, BaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from "./helpers/reflect.mjs";
7
9
  import { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectionsPath, getSecretsDefaultTypeDefinition, readEnvReflection, readEnvTypeReflection, readSecretsReflection, resolveRuntimeTypeFile, writeEnvReflection, writeEnvReflectionSync, writeEnvTypeReflection } from "./helpers/persistence.mjs";
8
- import { createTemplateReflection } from "./helpers/template-helpers.mjs";
10
+ import { envBabelPlugin } from "./babel/plugin.mjs";
9
11
  import { formatEnvField, removeEnvPrefix } from "./helpers/source-file-env.mjs";
10
- import { defu } from "./node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
11
12
  import { loadEnv, loadEnvFromContext } from "./helpers/load.mjs";
12
13
  import { createReflectionResource } from "./helpers/create-reflection-resource.mjs";
13
- import "./helpers/index.mjs";
14
+ import { EnvBuiltin, EnvTypeDefinition } from "./components/env.mjs";
14
15
  import { env } from "./helpers/automd-generator.mjs";
16
+ import "./babel/index.mjs";
15
17
  import { EnvDocs } from "./components/docs.mjs";
16
- import { EnvBuiltin, EnvTypeDefinition } from "./components/env.mjs";
17
18
  import "./components/index.mjs";
18
- import { envBabelPlugin } from "./babel/plugin.mjs";
19
- import "./babel/index.mjs";
20
- import { n } from "./node_modules/.pnpm/@stryke_convert@0.6.31/node_modules/@stryke/convert/dist/parse-type-definition.mjs";
21
- import { e } from "./node_modules/.pnpm/@stryke_convert@0.6.31/node_modules/@stryke/convert/dist/to-array.mjs";
22
- import { ReflectionClass, ReflectionKind, stringifyType } from "@powerlines/deepkit/vendor/type";
23
- import { titleCase } from "@stryke/string-format/title-case";
24
- import { ENV_PREFIXES } from "@stryke/env/types";
19
+ import { createTemplateReflection } from "./helpers/template-helpers.mjs";
20
+ import "./helpers/index.mjs";
21
+ import "./types/index.mjs";
25
22
  import { createComponent } from "@alloy-js/core/jsx-runtime";
26
- import { LogLevelLabel } from "@storm-software/config-tools/types";
23
+ import { ReflectionClass, ReflectionKind, stringifyType } from "@powerlines/deepkit/vendor/type";
27
24
  import alloy from "@powerlines/plugin-alloy";
28
25
  import automd from "@powerlines/plugin-automd";
29
26
  import babel from "@powerlines/plugin-babel";
27
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
28
+ import { ENV_PREFIXES } from "@stryke/env/types";
30
29
  import { existsSync } from "@stryke/fs/exists";
31
30
  import { createDirectory } from "@stryke/fs/helpers";
32
31
  import { constantCase } from "@stryke/string-format/constant-case";
32
+ import { titleCase } from "@stryke/string-format/title-case";
33
33
 
34
34
  //#region src/index.tsx
35
35
  /**
@@ -2,7 +2,7 @@ const require_is_object = require('./type-checks/src/is-object.cjs');
2
2
  const require_is_string = require('./type-checks/src/is-string.cjs');
3
3
  require('./type-checks/src/index.cjs');
4
4
 
5
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/parse-type-definition.mjs
5
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/parse-type-definition.mjs
6
6
  const n = (n$1) => {
7
7
  if (require_is_string.e(n$1)) {
8
8
  if (n$1.includes(`:`)) {
@@ -2,7 +2,7 @@ import { t } from "./type-checks/src/is-object.mjs";
2
2
  import { e } from "./type-checks/src/is-string.mjs";
3
3
  import "./type-checks/src/index.mjs";
4
4
 
5
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/parse-type-definition.mjs
5
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/parse-type-definition.mjs
6
6
  const n = (n$1) => {
7
7
  if (e(n$1)) {
8
8
  if (n$1.includes(`:`)) {
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/to-array.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/to-array.mjs
3
3
  function e(e$1) {
4
4
  return e$1 ??= [], Array.isArray(e$1) ? e$1 : [e$1];
5
5
  }
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/to-array.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/to-array.mjs
2
2
  function e(e$1) {
3
3
  return e$1 ??= [], Array.isArray(e$1) ? e$1 : [e$1];
4
4
  }
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs
3
3
  const e = (e$1) => e$1 == null ? e$1 === void 0 ? `[object Undefined]` : `[object Null]` : Object.prototype.toString.call(e$1);
4
4
 
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs
2
2
  const e = (e$1) => e$1 == null ? e$1 === void 0 ? `[object Undefined]` : `[object Null]` : Object.prototype.toString.call(e$1);
3
3
 
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs
3
3
  const e = typeof Buffer < `u`;
4
4
  e && Buffer.isBuffer.bind(Buffer);
5
5
 
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs
2
2
  const e = typeof Buffer < `u`;
3
3
  e && Buffer.isBuffer.bind(Buffer);
4
4
 
@@ -1,6 +1,6 @@
1
1
  const require_is_plain_object = require('./is-plain-object.cjs');
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs
4
4
  const t = (t$1) => {
5
5
  try {
6
6
  return typeof t$1 == `object` || !!t$1 && t$1?.constructor === Object || require_is_plain_object.n(t$1);
@@ -1,6 +1,6 @@
1
1
  import { n } from "./is-plain-object.mjs";
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs
4
4
  const t = (t$1) => {
5
5
  try {
6
6
  return typeof t$1 == `object` || !!t$1 && t$1?.constructor === Object || n(t$1);
@@ -1,6 +1,6 @@
1
1
  const require_get_object_tag = require('./get-object-tag.cjs');
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs
4
4
  const t = (e$1) => typeof e$1 == `object` && !!e$1, n = (n$1) => {
5
5
  if (!t(n$1) || require_get_object_tag.e(n$1) !== `[object Object]`) return !1;
6
6
  if (Object.getPrototypeOf(n$1) === null) return !0;
@@ -1,6 +1,6 @@
1
1
  import { e } from "./get-object-tag.mjs";
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs
4
4
  const t = (e$1) => typeof e$1 == `object` && !!e$1, n = (n$1) => {
5
5
  if (!t(n$1) || e(n$1) !== `[object Object]`) return !1;
6
6
  if (Object.getPrototypeOf(n$1) === null) return !0;
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs
3
3
  const e = (e$1) => {
4
4
  try {
5
5
  return typeof e$1 == `string`;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs
2
2
  const e = (e$1) => {
3
3
  try {
4
4
  return typeof e$1 == `string`;
@@ -1,6 +1,6 @@
1
1
  require('./is-buffer.cjs');
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs
4
4
  ((e) => (typeof globalThis == `object` || Object.defineProperty(e, `typeDetectGlobalObject`, {
5
5
  get() {
6
6
  return this;
@@ -1,6 +1,6 @@
1
1
  import "./is-buffer.mjs";
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+convert@0.6.31/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+convert@0.6.32/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs
4
4
  ((e) => (typeof globalThis == `object` || Object.defineProperty(e, `typeDetectGlobalObject`, {
5
5
  get() {
6
6
  return this;
@@ -1,6 +1,6 @@
1
1
  const require_slash = require('./slash.cjs');
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs
4
4
  function t$1(t$2, n) {
5
5
  let r = require_slash.t(t$2.replaceAll(/\\/g, `/`).replace(/\/*$/, ``))?.toLowerCase(), i = require_slash.t(n.replaceAll(/\\/g, `/`).replace(/\/*$/, ``))?.toLowerCase();
6
6
  return t$2 !== n && r !== i && r.startsWith(`${i}/`);
@@ -1,6 +1,6 @@
1
1
  import { t } from "./slash.mjs";
2
2
 
3
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/is-parent-path.mjs
3
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/is-parent-path.mjs
4
4
  function t$1(t$2, n) {
5
5
  let r = t(t$2.replaceAll(/\\/g, `/`).replace(/\/*$/, ``))?.toLowerCase(), i = t(n.replaceAll(/\\/g, `/`).replace(/\/*$/, ``))?.toLowerCase();
6
6
  return t$2 !== n && r !== i && r.startsWith(`${i}/`);
@@ -1,7 +1,7 @@
1
1
  const require_regex = require('./regex.cjs');
2
2
  const require_slash = require('./slash.cjs');
3
3
 
4
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/is-type.mjs
4
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/is-type.mjs
5
5
  function r$1(t$1) {
6
6
  return require_regex.r.test(require_slash.t(t$1));
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { r } from "./regex.mjs";
2
2
  import { t } from "./slash.mjs";
3
3
 
4
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/is-type.mjs
4
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/is-type.mjs
5
5
  function r$1(t$1) {
6
6
  return r.test(t(t$1));
7
7
  }
@@ -1,7 +1,7 @@
1
1
  const require_regex = require('./regex.cjs');
2
2
  const require_is_type = require('./is-type.cjs');
3
3
 
4
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs
4
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs
5
5
  function i$1(e$1 = ``) {
6
6
  return e$1 && e$1.replace(/\\/g, `/`).replace(require_regex.e, (e$2) => e$2.toUpperCase());
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { e, n, t } from "./regex.mjs";
2
2
  import { i } from "./is-type.mjs";
3
3
 
4
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/join-paths.mjs
4
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/join-paths.mjs
5
5
  function i$1(e$1 = ``) {
6
6
  return e$1 && e$1.replace(/\\/g, `/`).replace(e, (e$2) => e$2.toUpperCase());
7
7
  }
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/regex.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/regex.mjs
3
3
  const e = /^[A-Z]:\//i, t = /^[A-Z]:$/i, n = /^[/\\]{2}/, r = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i, i = /^\/([A-Z]:)?$/i, a = /\.[0-9a-z]+$/i, o = /^@\w+\/.*$/, s = /^(?:@[\w-]+\/)?[\w-]+$/;
4
4
 
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/regex.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/regex.mjs
2
2
  const e = /^[A-Z]:\//i, t = /^[A-Z]:$/i, n = /^[/\\]{2}/, r = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i, i = /^\/([A-Z]:)?$/i, a = /\.[0-9a-z]+$/i, o = /^@\w+\/.*$/, s = /^(?:@[\w-]+\/)?[\w-]+$/;
3
3
 
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/slash.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/slash.mjs
3
3
  function t(e) {
4
4
  return e.startsWith(`\\\\?\\`) ? e : e.replace(/\\/g, `/`);
5
5
  }
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+path@0.24.2/node_modules/@stryke/path/dist/slash.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+path@0.24.3/node_modules/@stryke/path/dist/slash.mjs
2
2
  function t(e) {
3
3
  return e.startsWith(`\\\\?\\`) ? e : e.replace(/\\/g, `/`);
4
4
  }
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_defu = require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
2
3
  const require_pathe_M_eThtNZ = require('../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
3
4
  const require_main$1 = require('../../../../dotenv@17.2.3/node_modules/dotenv/lib/main.cjs');
4
5
  const require_index = require('../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.cjs');
5
6
  const require_jiti = require('../../../../jiti@2.6.1/node_modules/jiti/lib/jiti.cjs');
6
- const require_defu = require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
7
7
  const require_index$1 = require('../../../../rc9@2.1.2/node_modules/rc9/dist/index.cjs');
8
8
  const require_index$2 = require('../../../../pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs');
9
9
  let node_fs = require("node:fs");
@@ -1,9 +1,9 @@
1
1
  import { __toESM } from "../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { defu } from "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
2
3
  import { basename, dirname, extname, join, normalize, resolve } from "../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
3
4
  import { require_main } from "../../../../dotenv@17.2.3/node_modules/dotenv/lib/main.mjs";
4
5
  import { resolveModulePath } from "../../../../exsolve@1.0.8/node_modules/exsolve/dist/index.mjs";
5
6
  import { createJiti } from "../../../../jiti@2.6.1/node_modules/jiti/lib/jiti.mjs";
6
- import { defu } from "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
7
7
  import { read, readUser } from "../../../../rc9@2.1.2/node_modules/rc9/dist/index.mjs";
8
8
  import { findWorkspaceDir, readPackageJSON } from "../../../../pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs";
9
9
  import { existsSync, promises, statSync } from "node:fs";
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_pathe_M_eThtNZ = require('../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
3
2
  const require_defu = require('../../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
3
+ const require_pathe_M_eThtNZ = require('../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs');
4
4
  const require_nypm_CLjaS_sz = require('../../../../../nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.cjs');
5
5
  const require_proxy$1 = require('../../../../../node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs');
6
6
  let node_fs = require("node:fs");
@@ -1,5 +1,5 @@
1
- import { basename, dirname as dirname$1, resolve as resolve$1 } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
2
1
  import { defu } from "../../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
2
+ import { basename, dirname as dirname$1, resolve as resolve$1 } from "../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs";
3
3
  import { installDependencies } from "../../../../../nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs";
4
4
  import { require_proxy } from "../../../../../node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs";
5
5
  import fs, { createWriteStream, existsSync, readdirSync, renameSync } from "node:fs";
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_index = require('../../../../destr@2.0.5/node_modules/destr/dist/index.cjs');
3
2
  require('../../../../defu@6.1.4/node_modules/defu/dist/defu.cjs');
3
+ const require_index = require('../../../../destr@2.0.5/node_modules/destr/dist/index.cjs');
4
4
  let node_fs = require("node:fs");
5
5
  let node_path = require("node:path");
6
6
  let node_os = require("node:os");
@@ -1,5 +1,5 @@
1
- import { destr } from "../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
2
1
  import "../../../../defu@6.1.4/node_modules/defu/dist/defu.mjs";
2
+ import { destr } from "../../../../destr@2.0.5/node_modules/destr/dist/index.mjs";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import { resolve } from "node:path";
5
5
  import { homedir } from "node:os";
@@ -4,8 +4,8 @@ import { StoragePort, StoragePreset } from "./fs.mjs";
4
4
  import { TSConfig } from "./tsconfig.mjs";
5
5
  import { PluginContext } from "./context.mjs";
6
6
  import { Plugin } from "./plugin.mjs";
7
- import { transformAsync } from "@babel/core";
8
7
  import { LogLevelLabel } from "@storm-software/config-tools/types";
8
+ import { transformAsync } from "@babel/core";
9
9
  import { MaybePromise } from "@stryke/types/base";
10
10
  import { PreviewOptions } from "vite";
11
11
  import { Format } from "@storm-software/build-tools/types";
@@ -308,14 +308,14 @@ interface CommonUserConfig extends BaseConfig {
308
308
  */
309
309
  configFile?: string;
310
310
  /**
311
- * Should the Powerlines CLI processes skip installing missing packages?
311
+ * Should the Powerlines processes automatically install missing package dependencies?
312
312
  *
313
313
  * @remarks
314
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
314
+ * When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
315
315
  *
316
316
  * @defaultValue false
317
317
  */
318
- skipInstalls?: boolean;
318
+ autoInstall?: boolean;
319
319
  /**
320
320
  * Should the compiler processes skip any improvements that make use of cache?
321
321
  *
@@ -308,14 +308,14 @@ interface CommonUserConfig extends BaseConfig {
308
308
  */
309
309
  configFile?: string;
310
310
  /**
311
- * Should the Powerlines CLI processes skip installing missing packages?
311
+ * Should the Powerlines processes automatically install missing package dependencies?
312
312
  *
313
313
  * @remarks
314
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
314
+ * When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
315
315
  *
316
316
  * @defaultValue false
317
317
  */
318
- skipInstalls?: boolean;
318
+ autoInstall?: boolean;
319
319
  /**
320
320
  * Should the compiler processes skip any improvements that make use of cache?
321
321
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.15.48",
3
+ "version": "0.15.50",
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,27 +193,27 @@
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.45",
197
- "@powerlines/plugin-automd": "^0.1.159",
198
- "@powerlines/plugin-babel": "^0.12.168",
199
- "@powerlines/plugin-plugin": "^0.12.111",
196
+ "@powerlines/plugin-alloy": "^0.18.47",
197
+ "@powerlines/plugin-automd": "^0.1.161",
198
+ "@powerlines/plugin-babel": "^0.12.170",
199
+ "@powerlines/plugin-plugin": "^0.12.113",
200
200
  "@storm-software/config-tools": "^1.188.80",
201
- "@stryke/capnp": "^0.12.54",
202
- "@stryke/env": "^0.20.46",
203
- "@stryke/fs": "^0.33.29",
204
- "@stryke/json": "^0.9.34",
205
- "@stryke/string-format": "^0.13.0",
206
- "@stryke/type-checks": "^0.5.16",
207
- "@stryke/types": "^0.10.30",
201
+ "@stryke/capnp": "^0.12.55",
202
+ "@stryke/env": "^0.20.47",
203
+ "@stryke/fs": "^0.33.30",
204
+ "@stryke/json": "^0.9.35",
205
+ "@stryke/string-format": "^0.13.1",
206
+ "@stryke/type-checks": "^0.5.17",
207
+ "@stryke/types": "^0.10.31",
208
208
  "automd": "^0.4.2",
209
- "powerlines": "^0.37.33"
209
+ "powerlines": "^0.37.35"
210
210
  },
211
211
  "devDependencies": {
212
- "@powerlines/deepkit": "^0.5.76",
213
- "@powerlines/plugin-deepkit": "^0.11.37",
212
+ "@powerlines/deepkit": "^0.5.78",
213
+ "@powerlines/plugin-deepkit": "^0.11.39",
214
214
  "@types/node": "^24.10.8",
215
215
  "vite": "8.0.0-beta.2"
216
216
  },
217
217
  "publishConfig": { "access": "public" },
218
- "gitHead": "03b9cc77ab231fb6ef6907889e68dde29f9e77bb"
218
+ "gitHead": "65656903e05b8a85e4d46f7449a8c2bd8f90332e"
219
219
  }