@powerlines/plugin-env 0.15.10 → 0.15.12

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 (129) hide show
  1. package/dist/babel/index.cjs +3 -1
  2. package/dist/babel/index.d.cts +2 -1
  3. package/dist/babel/index.d.mts +2 -1
  4. package/dist/babel/index.mjs +1 -1
  5. package/dist/babel/plugin.cjs +7 -7
  6. package/dist/babel/plugin.d.mts +1 -1
  7. package/dist/babel/plugin.mjs +6 -6
  8. package/dist/components/docs.cjs +4 -4
  9. package/dist/components/docs.mjs +3 -3
  10. package/dist/components/env.cjs +8 -8
  11. package/dist/components/env.mjs +6 -6
  12. package/dist/components/index.cjs +1 -1
  13. package/dist/components/index.mjs +1 -1
  14. package/dist/deepkit/src/utilities.cjs +2 -2
  15. package/dist/deepkit/src/utilities.mjs +2 -2
  16. package/dist/helpers/automd-generator.d.cts +14 -0
  17. package/dist/helpers/automd-generator.d.mts +14 -0
  18. package/dist/helpers/create-reflection-resource.cjs +5 -5
  19. package/dist/helpers/create-reflection-resource.d.cts +2 -2
  20. package/dist/helpers/create-reflection-resource.d.mts +2 -2
  21. package/dist/helpers/create-reflection-resource.mjs +1 -1
  22. package/dist/helpers/index.cjs +33 -6
  23. package/dist/helpers/index.d.cts +2 -1
  24. package/dist/helpers/index.d.mts +2 -1
  25. package/dist/helpers/index.mjs +2 -2
  26. package/dist/helpers/load.cjs +6 -6
  27. package/dist/helpers/load.d.mts +1 -1
  28. package/dist/helpers/load.mjs +8 -8
  29. package/dist/helpers/persistence.cjs +10 -8
  30. package/dist/helpers/persistence.mjs +6 -4
  31. package/dist/helpers/reflect.cjs +6 -6
  32. package/dist/helpers/reflect.mjs +1 -1
  33. package/dist/helpers/source-file-env.cjs +1 -1
  34. package/dist/helpers/source-file-env.mjs +1 -1
  35. package/dist/helpers/template-helpers.cjs +2 -2
  36. package/dist/index.cjs +68 -68
  37. package/dist/index.d.cts +5 -5
  38. package/dist/index.d.mts +5 -6
  39. package/dist/index.mjs +14 -14
  40. package/dist/plugin-alloy/src/core/components/output.cjs +2 -2
  41. package/dist/plugin-alloy/src/core/components/output.mjs +2 -2
  42. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +1 -1
  43. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +1 -1
  44. package/dist/plugin-alloy/src/core/components/source-file.cjs +2 -2
  45. package/dist/plugin-alloy/src/core/components/source-file.mjs +2 -2
  46. package/dist/plugin-alloy/src/index.cjs +2 -2
  47. package/dist/plugin-alloy/src/index.mjs +2 -2
  48. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +2 -2
  49. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +2 -2
  50. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +2 -2
  51. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +2 -2
  52. package/dist/plugin-alloy/src/types/components.d.mts +0 -1
  53. package/dist/plugin-alloy/src/types/plugin.cjs +1 -1
  54. package/dist/plugin-alloy/src/types/plugin.d.cts +1 -1
  55. package/dist/plugin-alloy/src/types/plugin.d.mts +1 -1
  56. package/dist/plugin-alloy/src/types/plugin.mjs +1 -1
  57. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +3 -3
  58. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +3 -3
  59. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +5 -5
  60. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +5 -5
  61. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +2 -2
  62. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +2 -2
  63. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +3 -3
  64. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +3 -3
  65. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +2 -2
  66. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +1 -1
  67. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +2 -2
  68. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +4 -4
  69. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +4 -4
  70. package/dist/plugin-automd/src/index.cjs +4 -4
  71. package/dist/plugin-automd/src/index.mjs +6 -6
  72. package/dist/plugin-automd/src/types/plugin.d.mts +1 -1
  73. package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -1
  74. package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -1
  75. package/dist/plugin-babel/src/helpers/filters.cjs +1 -1
  76. package/dist/plugin-babel/src/helpers/filters.mjs +1 -1
  77. package/dist/plugin-babel/src/helpers/index.cjs +3 -3
  78. package/dist/plugin-babel/src/helpers/index.mjs +3 -3
  79. package/dist/plugin-babel/src/helpers/options.cjs +1 -1
  80. package/dist/plugin-babel/src/helpers/options.mjs +1 -1
  81. package/dist/plugin-babel/src/index.cjs +6 -6
  82. package/dist/plugin-babel/src/index.mjs +6 -6
  83. package/dist/plugin-babel/src/types/plugin.cjs +1 -1
  84. package/dist/plugin-babel/src/types/plugin.d.cts +1 -1
  85. package/dist/plugin-babel/src/types/plugin.d.mts +1 -1
  86. package/dist/plugin-babel/src/types/plugin.mjs +1 -1
  87. package/dist/powerlines/src/internal/helpers/hooks.cjs +4 -4
  88. package/dist/powerlines/src/internal/helpers/hooks.d.mts +1 -1
  89. package/dist/powerlines/src/internal/helpers/hooks.mjs +4 -4
  90. package/dist/powerlines/src/lib/build/esbuild.cjs +3 -3
  91. package/dist/powerlines/src/lib/build/esbuild.mjs +3 -3
  92. package/dist/powerlines/src/lib/entry.cjs +5 -5
  93. package/dist/powerlines/src/lib/entry.mjs +5 -5
  94. package/dist/powerlines/src/lib/logger.cjs +2 -2
  95. package/dist/powerlines/src/lib/logger.mjs +2 -2
  96. package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -1
  97. package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -1
  98. package/dist/powerlines/src/types/api.d.cts +3 -3
  99. package/dist/powerlines/src/types/api.d.mts +3 -3
  100. package/dist/powerlines/src/types/babel.d.cts +1 -1
  101. package/dist/powerlines/src/types/babel.d.mts +1 -1
  102. package/dist/powerlines/src/types/build.d.cts +10 -10
  103. package/dist/powerlines/src/types/build.d.mts +10 -10
  104. package/dist/powerlines/src/types/commands.d.cts +1 -1
  105. package/dist/powerlines/src/types/commands.d.mts +1 -1
  106. package/dist/powerlines/src/types/config.d.cts +5 -5
  107. package/dist/powerlines/src/types/config.d.mts +5 -5
  108. package/dist/powerlines/src/types/context.d.cts +3 -3
  109. package/dist/powerlines/src/types/context.d.mts +3 -3
  110. package/dist/powerlines/src/types/fs.d.cts +1 -1
  111. package/dist/powerlines/src/types/fs.d.mts +1 -1
  112. package/dist/powerlines/src/types/hooks.d.cts +1 -1
  113. package/dist/powerlines/src/types/hooks.d.mts +1 -1
  114. package/dist/powerlines/src/types/index.cjs +2 -2
  115. package/dist/powerlines/src/types/index.d.mts +8 -8
  116. package/dist/powerlines/src/types/index.mjs +2 -2
  117. package/dist/powerlines/src/types/plugin.d.cts +4 -4
  118. package/dist/powerlines/src/types/plugin.d.mts +4 -4
  119. package/dist/powerlines/src/types/resolved.d.cts +2 -2
  120. package/dist/powerlines/src/types/resolved.d.mts +2 -2
  121. package/dist/powerlines/src/types/unplugin.d.cts +2 -2
  122. package/dist/powerlines/src/types/unplugin.d.mts +3 -3
  123. package/dist/types/plugin.cjs +8 -8
  124. package/dist/types/plugin.d.mts +1 -1
  125. package/dist/types/plugin.mjs +2 -2
  126. package/package.json +9 -9
  127. package/dist/powerlines/schemas/fs.d.mts +0 -1
  128. package/dist/powerlines/src/api.d.mts +0 -7
  129. package/dist/powerlines/src/index.d.mts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.15.10",
3
+ "version": "0.15.12",
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.8",
197
- "@powerlines/plugin-automd": "^0.1.126",
198
- "@powerlines/plugin-babel": "^0.12.135",
199
- "@powerlines/plugin-plugin": "^0.12.78",
196
+ "@powerlines/plugin-alloy": "^0.18.9",
197
+ "@powerlines/plugin-automd": "^0.1.127",
198
+ "@powerlines/plugin-babel": "^0.12.136",
199
+ "@powerlines/plugin-plugin": "^0.12.79",
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.0"
209
+ "powerlines": "^0.37.1"
210
210
  },
211
211
  "devDependencies": {
212
- "@powerlines/deepkit": "^0.5.41",
213
- "@powerlines/plugin-deepkit": "^0.11.2",
212
+ "@powerlines/deepkit": "^0.5.42",
213
+ "@powerlines/plugin-deepkit": "^0.11.3",
214
214
  "@types/node": "^24.10.4",
215
215
  "vite": "8.0.0-beta.2"
216
216
  },
217
217
  "publishConfig": { "access": "public" },
218
- "gitHead": "00141b82214ec2772cec7ec7873aba06f593289b"
218
+ "gitHead": "9567467b551ffd217efb054b6eee482a880bc672"
219
219
  }
@@ -1 +0,0 @@
1
- import "@stryke/capnp";
@@ -1,7 +0,0 @@
1
- import "./internal/helpers/hooks.mjs";
2
- import "./types/api.mjs";
3
- import "./types/hooks.mjs";
4
- import "./types/context.mjs";
5
- import "./types/config.mjs";
6
- import "./types/resolved.mjs";
7
- import "./types/index.mjs";
@@ -1,15 +0,0 @@
1
- import { ResolveOptions, StorageAdapter, StoragePort, StoragePreset, VirtualFile, VirtualFileData, VirtualFileMetadata, VirtualFileSystemInterface, WriteOptions } from "./types/fs.mjs";
2
- import { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./types/build.mjs";
3
- import { CommandType, SUPPORTED_COMMANDS } from "./types/commands.mjs";
4
- import { API } from "./types/api.mjs";
5
- import { InferUnpluginOptions, UnpluginOptions } from "./types/unplugin.mjs";
6
- import { Plugin, PluginHook, PluginHookFields, PluginHookFunctions, PluginHookObject, PluginHooks, TypesResult } from "./types/plugin.mjs";
7
- import { HookFields, HookListOrders, HooksList, InferHookFunction, InferHookParameters, InferHookReturnType, InferHooksListItem, PluginHooksList, PluginHooksListItem, UnpluginHookFunctions, UnpluginHookList, UnpluginHookVariant, UnpluginHookVariantField, UnpluginHooksListItem } from "./types/hooks.mjs";
8
- import { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from "./types/tsconfig.mjs";
9
- import { APIContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EnvironmentContext, EnvironmentContextPlugin, FetchOptions, InitContextOptions, LogLevel, MetaInfo, ParseOptions, PluginContext, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, TransformResult, UnresolvedContext, WithUnpluginBuildContext } from "./types/context.mjs";
10
- import { BabelPluginPass, BabelTransformPlugin, BabelTransformPluginFilter, BabelTransformPluginOptions, DeclareBabelTransformPluginReturn } from "./types/babel.mjs";
11
- import { BabelUserConfig, BaseConfig, BuildInlineConfig, CleanInlineConfig, CommonUserConfig, DeployConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, NewInlineConfig, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig } from "./types/config.mjs";
12
- import { BabelResolvedConfig, ESBuildResolvedConfig, EnvironmentResolvedConfig, FarmResolvedConfig, InferResolvedConfig, OutputResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, RolldownResolvedConfig, RollupResolvedConfig, RspackResolvedConfig, TsdownResolvedConfig, TsupResolvedConfig, UnbuildResolvedConfig, ViteResolvedConfig, WebpackResolvedConfig } from "./types/resolved.mjs";
13
- import "./types/index.mjs";
14
- import "./api.mjs";
15
- import "../schemas/fs.mjs";