@powerlines/plugin-env 0.15.122 → 0.15.124

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 (219) hide show
  1. package/dist/babel/plugin.cjs +11 -11
  2. package/dist/babel/plugin.d.cts +2 -2
  3. package/dist/babel/plugin.d.mts +2 -3
  4. package/dist/babel/plugin.mjs +5 -5
  5. package/dist/components/docs.cjs +6 -6
  6. package/dist/components/docs.d.cts +1 -1
  7. package/dist/components/docs.d.mts +1 -1
  8. package/dist/components/docs.mjs +3 -3
  9. package/dist/components/env.cjs +40 -40
  10. package/dist/components/env.d.cts +2 -2
  11. package/dist/components/env.d.mts +2 -2
  12. package/dist/components/env.mjs +11 -11
  13. package/dist/helpers/automd-generator.cjs +2 -2
  14. package/dist/helpers/automd-generator.d.cts +1 -1
  15. package/dist/helpers/automd-generator.d.mts +1 -1
  16. package/dist/helpers/automd-generator.mjs +1 -1
  17. package/dist/helpers/load.cjs +7 -7
  18. package/dist/helpers/load.mjs +8 -8
  19. package/dist/helpers/persistence.cjs +23 -23
  20. package/dist/helpers/persistence.d.cts +1 -1
  21. package/dist/helpers/persistence.d.mts +1 -1
  22. package/dist/helpers/persistence.mjs +5 -5
  23. package/dist/helpers/reflect.cjs +5 -5
  24. package/dist/helpers/reflect.mjs +1 -1
  25. package/dist/helpers/source-file-env.cjs +1 -1
  26. package/dist/helpers/source-file-env.mjs +1 -1
  27. package/dist/index.cjs +13 -10
  28. package/dist/index.d.cts +1 -1
  29. package/dist/index.d.mts +1 -1
  30. package/dist/index.mjs +12 -12
  31. package/dist/types/plugin.cjs +19 -18
  32. package/dist/types/plugin.d.cts +5 -6
  33. package/dist/types/plugin.d.mts +4 -6
  34. package/dist/types/plugin.mjs +4 -4
  35. package/package.json +7 -7
  36. package/dist/deepkit/schemas/reflection.cjs +0 -5426
  37. package/dist/deepkit/schemas/reflection.d.cts +0 -1560
  38. package/dist/deepkit/schemas/reflection.d.mts +0 -1560
  39. package/dist/deepkit/schemas/reflection.mjs +0 -5423
  40. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  41. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  42. package/dist/deepkit/src/capnp.cjs +0 -1692
  43. package/dist/deepkit/src/capnp.mjs +0 -1690
  44. package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
  45. package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
  46. package/dist/deepkit/src/reflect-type.cjs +0 -40
  47. package/dist/deepkit/src/reflect-type.mjs +0 -38
  48. package/dist/deepkit/src/resolve-reflections.cjs +0 -23
  49. package/dist/deepkit/src/resolve-reflections.mjs +0 -22
  50. package/dist/deepkit/src/transformer.cjs +0 -92
  51. package/dist/deepkit/src/transformer.mjs +0 -89
  52. package/dist/deepkit/src/transpile.cjs +0 -39
  53. package/dist/deepkit/src/transpile.mjs +0 -37
  54. package/dist/deepkit/src/types.cjs +0 -22
  55. package/dist/deepkit/src/types.d.cts +0 -10
  56. package/dist/deepkit/src/types.d.mts +0 -10
  57. package/dist/deepkit/src/types.mjs +0 -21
  58. package/dist/deepkit/src/utilities.cjs +0 -184
  59. package/dist/deepkit/src/utilities.mjs +0 -183
  60. package/dist/plugin-alloy/src/core/components/output.cjs +0 -43
  61. package/dist/plugin-alloy/src/core/components/output.mjs +0 -42
  62. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
  63. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
  64. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
  65. package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
  66. package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
  67. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
  68. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -134
  69. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -126
  70. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  71. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  72. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
  73. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
  74. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
  75. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
  76. package/dist/plugin-alloy/src/index.cjs +0 -105
  77. package/dist/plugin-alloy/src/index.mjs +0 -103
  78. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
  79. package/dist/plugin-alloy/src/markdown/components/markdown-file.d.cts +0 -8
  80. package/dist/plugin-alloy/src/markdown/components/markdown-file.d.mts +0 -8
  81. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
  82. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
  83. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
  84. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
  85. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
  86. package/dist/plugin-alloy/src/types/components.cjs +0 -22
  87. package/dist/plugin-alloy/src/types/components.d.cts +0 -20
  88. package/dist/plugin-alloy/src/types/components.d.mts +0 -21
  89. package/dist/plugin-alloy/src/types/components.mjs +0 -21
  90. package/dist/plugin-alloy/src/types/index.d.cts +0 -2
  91. package/dist/plugin-alloy/src/types/index.d.mts +0 -2
  92. package/dist/plugin-alloy/src/types/plugin.cjs +0 -53
  93. package/dist/plugin-alloy/src/types/plugin.d.cts +0 -36
  94. package/dist/plugin-alloy/src/types/plugin.d.mts +0 -36
  95. package/dist/plugin-alloy/src/types/plugin.mjs +0 -50
  96. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -62
  97. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -26
  98. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
  99. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -61
  100. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -131
  101. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -129
  102. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -451
  103. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -37
  104. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -37
  105. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -442
  106. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -216
  107. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -16
  108. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -16
  109. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -213
  110. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -72
  111. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -12
  112. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -12
  113. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -71
  114. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
  115. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
  116. package/dist/plugin-automd/src/index.cjs +0 -127
  117. package/dist/plugin-automd/src/index.mjs +0 -124
  118. package/dist/plugin-automd/src/types/plugin.cjs +0 -47
  119. package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
  120. package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
  121. package/dist/plugin-automd/src/types/plugin.mjs +0 -47
  122. package/dist/plugin-automd/src/types/toc.cjs +0 -26
  123. package/dist/plugin-automd/src/types/toc.d.cts +0 -33
  124. package/dist/plugin-automd/src/types/toc.d.mts +0 -33
  125. package/dist/plugin-automd/src/types/toc.mjs +0 -25
  126. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
  127. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
  128. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
  129. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
  130. package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
  131. package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
  132. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  133. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  134. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
  135. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
  136. package/dist/plugin-babel/src/helpers/options.cjs +0 -73
  137. package/dist/plugin-babel/src/helpers/options.mjs +0 -70
  138. package/dist/plugin-babel/src/index.cjs +0 -125
  139. package/dist/plugin-babel/src/index.mjs +0 -123
  140. package/dist/plugin-babel/src/types/index.d.mts +0 -1
  141. package/dist/plugin-babel/src/types/plugin.cjs +0 -42
  142. package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
  143. package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
  144. package/dist/plugin-babel/src/types/plugin.mjs +0 -39
  145. package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -136
  146. package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
  147. package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
  148. package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -134
  149. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -142
  150. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -140
  151. package/dist/powerlines/src/lib/constants/environments.cjs +0 -6
  152. package/dist/powerlines/src/lib/constants/environments.mjs +0 -5
  153. package/dist/powerlines/src/lib/entry.cjs +0 -195
  154. package/dist/powerlines/src/lib/entry.mjs +0 -194
  155. package/dist/powerlines/src/lib/logger.cjs +0 -108
  156. package/dist/powerlines/src/lib/logger.mjs +0 -106
  157. package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -41
  158. package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -40
  159. package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -98
  160. package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -97
  161. package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -139
  162. package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -138
  163. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -74
  164. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -72
  165. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -69
  166. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -68
  167. package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -68
  168. package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -66
  169. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
  170. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
  171. package/dist/powerlines/src/types/api.cjs +0 -62
  172. package/dist/powerlines/src/types/api.d.cts +0 -104
  173. package/dist/powerlines/src/types/api.d.mts +0 -104
  174. package/dist/powerlines/src/types/api.mjs +0 -62
  175. package/dist/powerlines/src/types/babel.cjs +0 -156
  176. package/dist/powerlines/src/types/babel.d.cts +0 -23
  177. package/dist/powerlines/src/types/babel.d.mts +0 -23
  178. package/dist/powerlines/src/types/babel.mjs +0 -147
  179. package/dist/powerlines/src/types/build.cjs +0 -127
  180. package/dist/powerlines/src/types/build.d.cts +0 -185
  181. package/dist/powerlines/src/types/build.d.mts +0 -185
  182. package/dist/powerlines/src/types/build.mjs +0 -121
  183. package/dist/powerlines/src/types/commands.cjs +0 -16
  184. package/dist/powerlines/src/types/commands.d.cts +0 -8
  185. package/dist/powerlines/src/types/commands.d.mts +0 -9
  186. package/dist/powerlines/src/types/commands.mjs +0 -15
  187. package/dist/powerlines/src/types/config.cjs +0 -420
  188. package/dist/powerlines/src/types/config.d.cts +0 -435
  189. package/dist/powerlines/src/types/config.d.mts +0 -436
  190. package/dist/powerlines/src/types/config.mjs +0 -397
  191. package/dist/powerlines/src/types/context.cjs +0 -388
  192. package/dist/powerlines/src/types/context.d.cts +0 -514
  193. package/dist/powerlines/src/types/context.d.mts +0 -514
  194. package/dist/powerlines/src/types/context.mjs +0 -371
  195. package/dist/powerlines/src/types/fs.cjs +0 -78
  196. package/dist/powerlines/src/types/fs.d.cts +0 -486
  197. package/dist/powerlines/src/types/fs.d.mts +0 -486
  198. package/dist/powerlines/src/types/fs.mjs +0 -75
  199. package/dist/powerlines/src/types/hooks.cjs +0 -71
  200. package/dist/powerlines/src/types/hooks.d.cts +0 -32
  201. package/dist/powerlines/src/types/hooks.d.mts +0 -32
  202. package/dist/powerlines/src/types/hooks.mjs +0 -68
  203. package/dist/powerlines/src/types/index.cjs +0 -11
  204. package/dist/powerlines/src/types/index.d.mts +0 -12
  205. package/dist/powerlines/src/types/index.mjs +0 -13
  206. package/dist/powerlines/src/types/plugin.cjs +0 -184
  207. package/dist/powerlines/src/types/plugin.d.cts +0 -205
  208. package/dist/powerlines/src/types/plugin.d.mts +0 -205
  209. package/dist/powerlines/src/types/plugin.mjs +0 -178
  210. package/dist/powerlines/src/types/resolved.cjs +0 -149
  211. package/dist/powerlines/src/types/resolved.d.cts +0 -94
  212. package/dist/powerlines/src/types/resolved.d.mts +0 -94
  213. package/dist/powerlines/src/types/resolved.mjs +0 -144
  214. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  215. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
  216. package/dist/powerlines/src/types/unplugin.cjs +0 -64
  217. package/dist/powerlines/src/types/unplugin.d.cts +0 -22
  218. package/dist/powerlines/src/types/unplugin.d.mts +0 -23
  219. package/dist/powerlines/src/types/unplugin.mjs +0 -62
@@ -1,15 +1,15 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_context = require('../powerlines/src/types/context.cjs');
3
2
  const require_types_plugin = require('../types/plugin.cjs');
4
- const require_capnp = require('../deepkit/src/capnp.cjs');
5
- const require_resolve_reflections = require('../deepkit/src/resolve-reflections.cjs');
6
- const require_reflection = require('../deepkit/schemas/reflection2.cjs');
7
3
  const require_helpers_reflect = require('./reflect.cjs');
8
4
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
5
+ let powerlines_types_context = require("powerlines/types/context");
6
+ let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
7
+ let __powerlines_deepkit_resolve_reflections = require("@powerlines/deepkit/resolve-reflections");
8
+ let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
9
9
  let __stryke_capnp = require("@stryke/capnp");
10
10
  __stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
11
- let __stryke_path_join_paths = require("@stryke/path/join-paths");
12
11
  let __stryke_fs_buffer = require("@stryke/fs/buffer");
12
+ let __stryke_path_join_paths = require("@stryke/path/join-paths");
13
13
  let __stryke_type_checks_is_empty_object = require("@stryke/type-checks/is-empty-object");
14
14
  let node_fs = require("node:fs");
15
15
 
@@ -26,7 +26,7 @@ async function resolveRuntimeTypeFile(context) {
26
26
  return resolved;
27
27
  }
28
28
  resolveRuntimeTypeFile.__type = [
29
- () => require_context.__ΩUnresolvedContext,
29
+ () => powerlines_types_context.__ΩUnresolvedContext,
30
30
  () => require_types_plugin.__ΩEnvPluginResolvedConfig,
31
31
  "context",
32
32
  "resolveRuntimeTypeFile",
@@ -46,7 +46,7 @@ async function getEnvDefaultTypeDefinition(context) {
46
46
  };
47
47
  }
48
48
  getEnvDefaultTypeDefinition.__type = [
49
- () => require_context.__ΩUnresolvedContext,
49
+ () => powerlines_types_context.__ΩUnresolvedContext,
50
50
  () => require_types_plugin.__ΩEnvPluginResolvedConfig,
51
51
  "context",
52
52
  "getEnvDefaultTypeDefinition",
@@ -65,7 +65,7 @@ async function getSecretsDefaultTypeDefinition(context) {
65
65
  };
66
66
  }
67
67
  getSecretsDefaultTypeDefinition.__type = [
68
- () => require_context.__ΩUnresolvedContext,
68
+ () => powerlines_types_context.__ΩUnresolvedContext,
69
69
  () => require_types_plugin.__ΩEnvPluginResolvedConfig,
70
70
  "context",
71
71
  "getSecretsDefaultTypeDefinition",
@@ -79,10 +79,10 @@ getSecretsDefaultTypeDefinition.__type = [
79
79
  * @returns The path to the environment type reflections.
80
80
  */
81
81
  function getEnvTypeReflectionsPath(context, name = "env") {
82
- return (0, __stryke_path_join_paths.joinPaths)(require_resolve_reflections.getReflectionsPath(context), "env", `${name}-types.bin`);
82
+ return (0, __stryke_path_join_paths.joinPaths)((0, __powerlines_deepkit_resolve_reflections.getReflectionsPath)(context), "env", `${name}-types.bin`);
83
83
  }
84
84
  getEnvTypeReflectionsPath.__type = [
85
- () => require_context.__ΩContext,
85
+ () => powerlines_types_context.__ΩContext,
86
86
  () => require_types_plugin.__ΩEnvPluginResolvedConfig,
87
87
  "context",
88
88
  () => require_types_plugin.__ΩEnvType,
@@ -105,7 +105,7 @@ async function readEnvTypeReflection(context, name = "env") {
105
105
  if (!context.env.types.env || (0, __stryke_type_checks_is_empty_object.isEmptyObject)(context.env.types.env)) {
106
106
  const reflection$1 = require_helpers_reflect.createEnvReflection(context);
107
107
  const message = new __stryke_capnp.Message();
108
- reflection$1.messageRoot = message.initRoot(require_reflection.SerializedTypes);
108
+ reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
109
109
  reflection$1.dataBuffer = message.toArrayBuffer();
110
110
  context.env.types.env = reflection$1;
111
111
  await writeEnvTypeReflection(context, context.env.types.env, name);
@@ -113,8 +113,8 @@ async function readEnvTypeReflection(context, name = "env") {
113
113
  return context.env.types.env;
114
114
  }
115
115
  const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
116
- const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(require_reflection.SerializedTypes);
117
- const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(require_capnp.convertFromCapnp(messageRoot.types)));
116
+ const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
117
+ const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
118
118
  context.env.types[name] = reflection;
119
119
  context.env.types[name].messageRoot = messageRoot;
120
120
  context.env.types[name].dataBuffer = buffer;
@@ -141,7 +141,7 @@ readEnvTypeReflection.__type = [
141
141
  async function writeEnvTypeReflection(context, reflection, name = "env") {
142
142
  const serialized = reflection.serializeType();
143
143
  const message = new __stryke_capnp.Message();
144
- require_capnp.convertToCapnp(serialized, message.initRoot(require_reflection.SerializedTypes)._initTypes(serialized.length));
144
+ (0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
145
145
  await (0, __stryke_fs_buffer.writeFileBuffer)(getEnvTypeReflectionsPath(context, name), message.toArrayBuffer());
146
146
  }
147
147
  writeEnvTypeReflection.__type = [
@@ -157,7 +157,7 @@ writeEnvTypeReflection.__type = [
157
157
  "Pn!2\"P\"7#2$n%2&>'\"/(?)"
158
158
  ];
159
159
  function getEnvReflectionsPath(context, name) {
160
- return (0, __stryke_path_join_paths.joinPaths)(require_resolve_reflections.getReflectionsPath(context), "env", `${name}.bin`);
160
+ return (0, __stryke_path_join_paths.joinPaths)((0, __powerlines_deepkit_resolve_reflections.getReflectionsPath)(context), "env", `${name}.bin`);
161
161
  }
162
162
  getEnvReflectionsPath.__type = [
163
163
  () => require_types_plugin.__ΩEnvPluginContext,
@@ -189,7 +189,7 @@ async function readEnvReflection(context) {
189
189
  });
190
190
  reflection$1.name = "Env";
191
191
  const message = new __stryke_capnp.Message();
192
- reflection$1.messageRoot = message.initRoot(require_reflection.SerializedTypes);
192
+ reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
193
193
  reflection$1.dataBuffer = message.toArrayBuffer();
194
194
  context.env.used.env = reflection$1;
195
195
  await writeEnvReflection(context, context.env.used.env, "env");
@@ -197,8 +197,8 @@ async function readEnvReflection(context) {
197
197
  return context.env.used.env;
198
198
  }
199
199
  const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
200
- const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(require_reflection.SerializedTypes);
201
- const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(require_capnp.convertFromCapnp(messageRoot.types)));
200
+ const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
201
+ const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
202
202
  context.env.used.env = reflection;
203
203
  context.env.used.env.messageRoot = messageRoot;
204
204
  context.env.used.env.dataBuffer = buffer;
@@ -234,7 +234,7 @@ async function readSecretsReflection(context) {
234
234
  });
235
235
  reflection$1.name = "Secrets";
236
236
  const message = new __stryke_capnp.Message();
237
- reflection$1.messageRoot = message.initRoot(require_reflection.SerializedTypes);
237
+ reflection$1.messageRoot = message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
238
238
  reflection$1.dataBuffer = message.toArrayBuffer();
239
239
  context.env.used.secrets = reflection$1;
240
240
  await writeEnvReflection(context, context.env.used.secrets, "secrets");
@@ -242,8 +242,8 @@ async function readSecretsReflection(context) {
242
242
  return context.env.used.secrets;
243
243
  }
244
244
  const buffer = await (0, __stryke_fs_buffer.readFileBuffer)(filePath);
245
- const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(require_reflection.SerializedTypes);
246
- const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(require_capnp.convertFromCapnp(messageRoot.types)));
245
+ const messageRoot = new __stryke_capnp.Message(buffer, false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes);
246
+ const reflection = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(messageRoot.types)));
247
247
  context.env.used.secrets = reflection;
248
248
  context.env.used.secrets.messageRoot = messageRoot;
249
249
  context.env.used.secrets.dataBuffer = buffer;
@@ -267,7 +267,7 @@ readSecretsReflection.__type = [
267
267
  async function writeEnvReflection(context, reflection, name = "env") {
268
268
  const serialized = reflection.serializeType();
269
269
  const message = new __stryke_capnp.Message();
270
- require_capnp.convertToCapnp(serialized, message.initRoot(require_reflection.SerializedTypes)._initTypes(serialized.length));
270
+ (0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
271
271
  await (0, __stryke_fs_buffer.writeFileBuffer)(getEnvReflectionsPath(context, name), message.toArrayBuffer());
272
272
  }
273
273
  writeEnvReflection.__type = [
@@ -292,7 +292,7 @@ writeEnvReflection.__type = [
292
292
  function writeEnvReflectionSync(context, reflection, name = "env") {
293
293
  const serialized = reflection.serializeType();
294
294
  const message = new __stryke_capnp.Message();
295
- require_capnp.convertToCapnp(serialized, message.initRoot(require_reflection.SerializedTypes)._initTypes(serialized.length));
295
+ (0, __powerlines_deepkit_capnp.convertToCapnp)(serialized, message.initRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes)._initTypes(serialized.length));
296
296
  (0, __stryke_fs_buffer.writeFileBufferSync)(getEnvReflectionsPath(context, name), message.toArrayBuffer());
297
297
  }
298
298
  writeEnvReflectionSync.__type = [
@@ -1,7 +1,7 @@
1
- import { Context, UnresolvedContext } from "../powerlines/src/types/context.cjs";
2
1
  import { EnvPluginContext, EnvPluginResolvedConfig, EnvType } from "../types/plugin.cjs";
3
2
  import { TypeDefinition } from "@stryke/types/configuration";
4
3
  import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
4
+ import { Context, UnresolvedContext } from "powerlines/types/context";
5
5
 
6
6
  //#region src/helpers/persistence.d.ts
7
7
 
@@ -1,6 +1,6 @@
1
- import { Context, UnresolvedContext } from "../powerlines/src/types/context.mjs";
2
1
  import { EnvPluginContext, EnvPluginResolvedConfig, EnvType } from "../types/plugin.mjs";
3
2
  import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
3
+ import { Context, UnresolvedContext } from "powerlines/types/context";
4
4
  import { TypeDefinition } from "@stryke/types/configuration";
5
5
 
6
6
  //#region src/helpers/persistence.d.ts
@@ -1,13 +1,13 @@
1
- import { __ΩContext, __ΩUnresolvedContext } from "../powerlines/src/types/context.mjs";
2
1
  import { __ΩEnvPluginContext, __ΩEnvPluginResolvedConfig, __ΩEnvType } from "../types/plugin.mjs";
3
- import { convertFromCapnp, convertToCapnp } from "../deepkit/src/capnp.mjs";
4
- import { getReflectionsPath } from "../deepkit/src/resolve-reflections.mjs";
5
- import { SerializedTypes } from "../deepkit/schemas/reflection2.mjs";
6
2
  import { createEnvReflection } from "./reflect.mjs";
7
3
  import { ReflectionClass, ReflectionKind, deserializeType, resolveClassType } from "@powerlines/deepkit/vendor/type";
4
+ import { __ΩContext, __ΩUnresolvedContext } from "powerlines/types/context";
5
+ import { convertFromCapnp, convertToCapnp } from "@powerlines/deepkit/capnp";
6
+ import { getReflectionsPath } from "@powerlines/deepkit/resolve-reflections";
7
+ import { SerializedTypes } from "@powerlines/deepkit/schemas/reflection";
8
8
  import * as capnp from "@stryke/capnp";
9
- import { joinPaths } from "@stryke/path/join-paths";
10
9
  import { readFileBuffer, writeFileBuffer, writeFileBufferSync } from "@stryke/fs/buffer";
10
+ import { joinPaths } from "@stryke/path/join-paths";
11
11
  import { isEmptyObject } from "@stryke/type-checks/is-empty-object";
12
12
  import { existsSync } from "node:fs";
13
13
 
@@ -1,11 +1,11 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_types_runtime = require('../types/runtime.cjs');
3
3
  const require_types_plugin = require('../types/plugin.cjs');
4
- const require_reflect_type = require('../deepkit/src/reflect-type.cjs');
5
4
  const require_helpers_persistence = require('./persistence.cjs');
6
5
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
7
6
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
8
7
  let __stryke_path_join_paths = require("@stryke/path/join-paths");
8
+ let __powerlines_deepkit_reflect_type = require("@powerlines/deepkit/reflect-type");
9
9
  let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
10
10
 
11
11
  //#region src/helpers/reflect.ts
@@ -223,11 +223,11 @@ createSecretsReflection.__type = [
223
223
  ];
224
224
  async function reflectEnv(context, file, name) {
225
225
  let config;
226
- if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await require_reflect_type.reflectType(context, {
226
+ if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await (0, __powerlines_deepkit_reflect_type.reflectType)(context, {
227
227
  file: !(0, __stryke_path_is_parent_path.isParentPath)(file, context.workspaceConfig.workspaceRoot) ? (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, file) : file,
228
228
  name
229
229
  }));
230
- const defaultConfigType = await require_reflect_type.reflectType(context, await require_helpers_persistence.getEnvDefaultTypeDefinition(context));
230
+ const defaultConfigType = await (0, __powerlines_deepkit_reflect_type.reflectType)(context, await require_helpers_persistence.getEnvDefaultTypeDefinition(context));
231
231
  return mergeEnvReflections(context, [
232
232
  await require_helpers_persistence.readEnvTypeReflection(context, "env"),
233
233
  config,
@@ -244,11 +244,11 @@ reflectEnv.__type = [
244
244
  ];
245
245
  async function reflectSecrets(context, file, name) {
246
246
  let config;
247
- if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await require_reflect_type.reflectType(context, {
247
+ if (file) config = (0, __powerlines_deepkit_vendor_type.resolveClassType)(await (0, __powerlines_deepkit_reflect_type.reflectType)(context, {
248
248
  file: !(0, __stryke_path_is_parent_path.isParentPath)(file, context.workspaceConfig.workspaceRoot) ? (0, __stryke_path_join_paths.joinPaths)(context.workspaceConfig.workspaceRoot, file) : file,
249
249
  name
250
250
  }));
251
- const defaultSecretsType = await require_reflect_type.reflectType(context, await require_helpers_persistence.getSecretsDefaultTypeDefinition(context));
251
+ const defaultSecretsType = await (0, __powerlines_deepkit_reflect_type.reflectType)(context, await require_helpers_persistence.getSecretsDefaultTypeDefinition(context));
252
252
  return mergeSecretsReflections(context, [
253
253
  await require_helpers_persistence.readSecretsReflection(context),
254
254
  config,
@@ -1,10 +1,10 @@
1
1
  import { __ΩEnvInterface, __ΩSecretsInterface } from "../types/runtime.mjs";
2
2
  import { __ΩEnvPluginContext } from "../types/plugin.mjs";
3
- import { reflectType } from "../deepkit/src/reflect-type.mjs";
4
3
  import { getEnvDefaultTypeDefinition, getSecretsDefaultTypeDefinition, readEnvTypeReflection, readSecretsReflection } from "./persistence.mjs";
5
4
  import { ReflectionClass, ReflectionKind, __ΩTypeClass, __ΩTypeObjectLiteral, merge, resolveClassType } from "@powerlines/deepkit/vendor/type";
6
5
  import { titleCase } from "@stryke/string-format/title-case";
7
6
  import { joinPaths } from "@stryke/path/join-paths";
7
+ import { reflectType } from "@powerlines/deepkit/reflect-type";
8
8
  import { isParentPath } from "@stryke/path/is-parent-path";
9
9
 
10
10
  //#region src/helpers/reflect.ts
@@ -1,7 +1,7 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ let __stryke_env_types = require("@stryke/env/types");
2
3
  let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
3
4
  let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
4
- let __stryke_env_types = require("@stryke/env/types");
5
5
 
6
6
  //#region src/helpers/source-file-env.ts
7
7
  function __assignType(fn, args) {
@@ -1,6 +1,6 @@
1
+ import { ENV_PREFIXES } from "@stryke/env/types";
1
2
  import { camelCase } from "@stryke/string-format/camel-case";
2
3
  import { isString } from "@stryke/type-checks/is-string";
3
- import { ENV_PREFIXES } from "@stryke/env/types";
4
4
 
5
5
  //#region src/helpers/source-file-env.ts
6
6
  function __assignType(fn, args) {
package/dist/index.cjs CHANGED
@@ -17,18 +17,21 @@ const require_components_env = require('./components/env.cjs');
17
17
  require('./components/index.cjs');
18
18
  const require_babel_plugin = require('./babel/plugin.cjs');
19
19
  require('./babel/index.cjs');
20
- const require_index = require('./plugin-babel/src/index.cjs');
21
- const require_index$1 = require('./plugin-alloy/src/index.cjs');
22
- const require_index$2 = require('./plugin-automd/src/index.cjs');
23
20
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
24
- let defu = require("defu");
25
- defu = require_rolldown_runtime.__toESM(defu);
26
- let __stryke_convert_parse_type_definition = require("@stryke/convert/parse-type-definition");
27
- let __stryke_convert_to_array = require("@stryke/convert/to-array");
28
21
  let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
29
22
  let __stryke_env_types = require("@stryke/env/types");
23
+ let defu = require("defu");
24
+ defu = require_rolldown_runtime.__toESM(defu);
30
25
  let __stryke_path_join = require("@stryke/path/join");
31
26
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
27
+ let __powerlines_plugin_alloy = require("@powerlines/plugin-alloy");
28
+ __powerlines_plugin_alloy = require_rolldown_runtime.__toESM(__powerlines_plugin_alloy);
29
+ let __powerlines_plugin_automd = require("@powerlines/plugin-automd");
30
+ __powerlines_plugin_automd = require_rolldown_runtime.__toESM(__powerlines_plugin_automd);
31
+ let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
32
+ __powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
33
+ let __stryke_convert_parse_type_definition = require("@stryke/convert/parse-type-definition");
34
+ let __stryke_convert_to_array = require("@stryke/convert/to-array");
32
35
  let __stryke_fs_exists = require("@stryke/fs/exists");
33
36
  let __stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
34
37
 
@@ -38,8 +41,8 @@ let __stryke_string_format_constant_case = require("@stryke/string-format/consta
38
41
  */
39
42
  const plugin = (options = {}) => {
40
43
  return [
41
- require_index$1.default(options.alloy),
42
- require_index.default(options.babel),
44
+ (0, __powerlines_plugin_alloy.default)(options.alloy),
45
+ (0, __powerlines_plugin_babel.default)(options.babel),
43
46
  {
44
47
  name: "env",
45
48
  async config() {
@@ -173,7 +176,7 @@ const plugin = (options = {}) => {
173
176
  return { envPrefix: this.config?.env?.prefix };
174
177
  } }
175
178
  },
176
- require_index$2.default(options.automd)
179
+ (0, __powerlines_plugin_automd.default)(options.automd)
177
180
  ];
178
181
  };
179
182
  var src_default = plugin;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.cjs";
2
1
  import { EnvInterface, SecretsInterface, __ΩEnvInterface, __ΩSecretsInterface } from "./types/runtime.cjs";
3
2
  import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./types/plugin.cjs";
4
3
  import { EnvDocsFile, EnvDocsFileProps, __ΩEnvDocsFileProps } from "./components/docs.cjs";
@@ -14,6 +13,7 @@ import "./helpers/index.cjs";
14
13
  import "./types/index.cjs";
15
14
  import { envBabelPlugin } from "./babel/plugin.cjs";
16
15
  import "./babel/index.cjs";
16
+ import { Plugin } from "powerlines/types/plugin";
17
17
 
18
18
  //#region src/index.d.ts
19
19
  /**
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.mjs";
2
1
  import { EnvInterface, SecretsInterface, __ΩEnvInterface, __ΩSecretsInterface } from "./types/runtime.mjs";
3
2
  import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./types/plugin.mjs";
4
3
  import { EnvDocsFile, EnvDocsFileProps, __ΩEnvDocsFileProps } from "./components/docs.mjs";
@@ -14,6 +13,7 @@ import "./helpers/index.mjs";
14
13
  import "./types/index.mjs";
15
14
  import { envBabelPlugin } from "./babel/plugin.mjs";
16
15
  import "./babel/index.mjs";
16
+ import { Plugin } from "powerlines/types/plugin";
17
17
 
18
18
  //#region src/index.d.ts
19
19
  /**
package/dist/index.mjs CHANGED
@@ -15,17 +15,17 @@ import { EnvBuiltin, EnvTypeDefinition } from "./components/env.mjs";
15
15
  import "./components/index.mjs";
16
16
  import { envBabelPlugin } from "./babel/plugin.mjs";
17
17
  import "./babel/index.mjs";
18
- import src_default$3 from "./plugin-babel/src/index.mjs";
19
- import src_default$1 from "./plugin-alloy/src/index.mjs";
20
- import src_default$2 from "./plugin-automd/src/index.mjs";
21
18
  import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
22
- import defu$1 from "defu";
23
- import { parseTypeDefinition } from "@stryke/convert/parse-type-definition";
24
- import { toArray } from "@stryke/convert/to-array";
25
19
  import { isParentPath } from "@stryke/path/is-parent-path";
26
20
  import { ENV_PREFIXES } from "@stryke/env/types";
21
+ import defu from "defu";
27
22
  import { joinPaths } from "@stryke/path/join";
28
23
  import { createComponent } from "@alloy-js/core/jsx-runtime";
24
+ import alloy from "@powerlines/plugin-alloy";
25
+ import automd from "@powerlines/plugin-automd";
26
+ import babel from "@powerlines/plugin-babel";
27
+ import { parseTypeDefinition } from "@stryke/convert/parse-type-definition";
28
+ import { toArray } from "@stryke/convert/to-array";
29
29
  import { existsSync } from "@stryke/fs/exists";
30
30
  import { constantCase } from "@stryke/string-format/constant-case";
31
31
 
@@ -35,14 +35,14 @@ import { constantCase } from "@stryke/string-format/constant-case";
35
35
  */
36
36
  const plugin = (options = {}) => {
37
37
  return [
38
- src_default$1(options.alloy),
39
- src_default$3(options.babel),
38
+ alloy(options.alloy),
39
+ babel(options.babel),
40
40
  {
41
41
  name: "env",
42
42
  async config() {
43
43
  this.debug("Providing default configuration for the Powerlines `env` build plugin.");
44
44
  const config = {
45
- env: defu$1(options, {
45
+ env: defu(options, {
46
46
  types: {},
47
47
  prefix: []
48
48
  }),
@@ -76,7 +76,7 @@ const plugin = (options = {}) => {
76
76
  },
77
77
  async configResolved() {
78
78
  this.debug(`Environment plugin configuration has been resolved for the Powerlines project.`);
79
- this.env = defu$1({ parsed: await loadEnv(this, this.config.env) }, this.env ?? {}, {
79
+ this.env = defu({ parsed: await loadEnv(this, this.config.env) }, this.env ?? {}, {
80
80
  types: { env: {} },
81
81
  used: {
82
82
  env: {},
@@ -161,7 +161,7 @@ const plugin = (options = {}) => {
161
161
  {
162
162
  name: "env:automd-generator",
163
163
  config() {
164
- return { automd: defu$1(options.automd ?? {}, { generators: { "env": env(this) } }) };
164
+ return { automd: defu(options.automd ?? {}, { generators: { "env": env(this) } }) };
165
165
  }
166
166
  },
167
167
  {
@@ -170,7 +170,7 @@ const plugin = (options = {}) => {
170
170
  return { envPrefix: this.config?.env?.prefix };
171
171
  } }
172
172
  },
173
- src_default$2(options.automd)
173
+ automd(options.automd)
174
174
  ];
175
175
  };
176
176
  var src_default = plugin;
@@ -1,8 +1,9 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
1
2
  const require_types_runtime = require('./runtime.cjs');
2
- const require_plugin = require('../plugin-babel/src/types/plugin.cjs');
3
- const require_plugin$1 = require('../plugin-automd/src/types/plugin.cjs');
4
- const require_plugin$2 = require('../plugin-alloy/src/types/plugin.cjs');
5
- const require_types = require('../deepkit/src/types.cjs');
3
+ let __powerlines_plugin_babel_types = require("@powerlines/plugin-babel/types");
4
+ let __powerlines_plugin_automd_types_plugin = require("@powerlines/plugin-automd/types/plugin");
5
+ let __powerlines_plugin_alloy_types = require("@powerlines/plugin-alloy/types");
6
+ let __powerlines_deepkit_types = require("@powerlines/deepkit/types");
6
7
 
7
8
  //#region src/types/plugin.ts
8
9
  const __ΩOmit = [
@@ -51,29 +52,29 @@ const __ΩEnvPluginOptions = [
51
52
  "Children",
52
53
  "defaultConfig",
53
54
  "The default configuration to use when loading environment variables.",
54
- () => require_plugin.__ΩBabelPluginOptions,
55
+ () => __powerlines_plugin_babel_types.__ΩBabelPluginOptions,
55
56
  "babel",
56
57
  "Babel configuration options to use when injecting environment variables into the source code.",
57
- () => require_plugin$1.__ΩAutoMDPluginOptions,
58
+ () => __powerlines_plugin_automd_types_plugin.__ΩAutoMDPluginOptions,
58
59
  "automd",
59
60
  "AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.",
60
- () => require_plugin$2.__ΩAlloyPluginOptions,
61
+ () => __powerlines_plugin_alloy_types.__ΩAlloyPluginOptions,
61
62
  "alloy",
62
63
  "Alloy configuration options to use when injecting environment variables into the source code.",
63
64
  "EnvPluginOptions",
64
65
  "P!.\"o!#P!4#8?$!4%8?&P&&FJ4'8?()4)8>*?+\"w,4-8?.n/408?1n2438?4n5468?7MKw8y"
65
66
  ];
66
67
  const __ΩEnvPluginUserConfig = [
67
- () => require_plugin.__ΩBabelPluginUserConfig,
68
- () => require_plugin$2.__ΩAlloyPluginUserConfig,
68
+ () => __powerlines_plugin_babel_types.__ΩBabelPluginUserConfig,
69
+ () => __powerlines_plugin_alloy_types.__ΩAlloyPluginUserConfig,
69
70
  () => __ΩEnvPluginOptions,
70
71
  "env",
71
72
  "EnvPluginUserConfig",
72
73
  "Pn!n\"Pn#4$MKw%y"
73
74
  ];
74
75
  const __ΩEnvPluginResolvedConfig = [
75
- () => require_plugin.__ΩBabelPluginResolvedConfig,
76
- () => require_plugin$2.__ΩAlloyPluginResolvedConfig,
76
+ () => __powerlines_plugin_babel_types.__ΩBabelPluginResolvedConfig,
77
+ () => __powerlines_plugin_alloy_types.__ΩAlloyPluginResolvedConfig,
77
78
  () => __ΩRequired,
78
79
  () => __ΩPick,
79
80
  "additionalFiles",
@@ -98,27 +99,27 @@ const __ΩEnvPluginResolvedConfig = [
98
99
  const __ΩEnvPluginContext = [
99
100
  () => __ΩEnvPluginResolvedConfig,
100
101
  "TResolvedConfig",
101
- () => require_plugin.__ΩBabelPluginContext,
102
- () => require_plugin$2.__ΩAlloyPluginContext,
103
- () => require_types.__ΩReflection,
102
+ () => __powerlines_plugin_babel_types.__ΩBabelPluginContext,
103
+ () => __powerlines_plugin_alloy_types.__ΩAlloyPluginContext,
104
+ () => __powerlines_deepkit_types.__ΩReflection,
104
105
  "env",
105
106
  "The type definitions for the expected env variables",
106
- () => require_types.__ΩReflection,
107
+ () => __powerlines_deepkit_types.__ΩReflection,
107
108
  "secrets",
108
109
  "The type definitions for the expected env secrets",
109
110
  "The type definitions reflection for the env variables and secrets",
110
111
  "types",
111
- () => require_types.__ΩReflection,
112
+ () => __powerlines_deepkit_types.__ΩReflection,
112
113
  () => require_types_runtime.__ΩEnvInterface,
113
114
  "The current env variables reflection",
114
- () => require_types.__ΩReflection,
115
+ () => __powerlines_deepkit_types.__ΩReflection,
115
116
  () => require_types_runtime.__ΩSecretsInterface,
116
117
  "The current env secrets reflection",
117
118
  "The current **used** environment variables and secrets reflection",
118
119
  "used",
119
120
  "parsed",
120
121
  "The parsed .env configuration object",
121
- () => require_types.__ΩReflection,
122
+ () => __powerlines_deepkit_types.__ΩReflection,
122
123
  "injected",
123
124
  "The injected environment variables and secrets reflection",
124
125
  "EnvPluginContext",
@@ -1,12 +1,11 @@
1
- import { Reflection } from "../deepkit/src/types.cjs";
2
- import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../plugin-babel/src/types/plugin.cjs";
3
- import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "../plugin-alloy/src/types/plugin.cjs";
4
- import "../plugin-alloy/src/types/index.cjs";
5
- import { AutoMDPluginOptions } from "../plugin-automd/src/types/plugin.cjs";
6
1
  import { EnvInterface, SecretsInterface } from "./runtime.cjs";
7
- import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
8
2
  import { Children } from "@alloy-js/core";
3
+ import { Reflection } from "@powerlines/deepkit/types";
4
+ import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
5
+ import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
6
+ import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
9
7
  import { DotenvParseOutput } from "@stryke/env/types";
8
+ import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
10
9
 
11
10
  //#region src/types/plugin.d.ts
12
11
  type EnvType = "env" | "secrets";
@@ -1,10 +1,8 @@
1
- import { Reflection } from "../deepkit/src/types.mjs";
2
- import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../plugin-babel/src/types/plugin.mjs";
3
- import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "../plugin-alloy/src/types/plugin.mjs";
4
- import "../plugin-alloy/src/types/index.mjs";
5
- import { AutoMDPluginOptions } from "../plugin-automd/src/types/plugin.mjs";
6
- import "../plugin-babel/src/types/index.mjs";
7
1
  import { EnvInterface, SecretsInterface } from "./runtime.mjs";
2
+ import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
3
+ import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
4
+ import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
5
+ import { Reflection } from "@powerlines/deepkit/types";
8
6
  import { DotenvParseOutput } from "@stryke/env/types";
9
7
  import { Children } from "@alloy-js/core";
10
8
  import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
@@ -1,8 +1,8 @@
1
1
  import { __ΩEnvInterface, __ΩSecretsInterface } from "./runtime.mjs";
2
- import { __ΩBabelPluginContext, __ΩBabelPluginOptions, __ΩBabelPluginResolvedConfig, __ΩBabelPluginUserConfig } from "../plugin-babel/src/types/plugin.mjs";
3
- import { __ΩAutoMDPluginOptions } from "../plugin-automd/src/types/plugin.mjs";
4
- import { __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig } from "../plugin-alloy/src/types/plugin.mjs";
5
- import { __ΩReflection } from "../deepkit/src/types.mjs";
2
+ import { __ΩBabelPluginContext, __ΩBabelPluginOptions, __ΩBabelPluginResolvedConfig, __ΩBabelPluginUserConfig } from "@powerlines/plugin-babel/types";
3
+ import { __ΩAutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
4
+ import { __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
5
+ import { __ΩReflection } from "@powerlines/deepkit/types";
6
6
 
7
7
  //#region src/types/plugin.ts
8
8
  const __ΩOmit = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.15.122",
3
+ "version": "0.15.124",
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": {
@@ -201,10 +201,10 @@
201
201
  "@alloy-js/typescript": "^0.22.0",
202
202
  "@babel/core": "^7.28.6",
203
203
  "@babel/types": "^7.28.6",
204
- "@powerlines/plugin-alloy": "^0.18.114",
205
- "@powerlines/plugin-automd": "^0.1.223",
206
- "@powerlines/plugin-babel": "^0.12.232",
207
- "@powerlines/plugin-plugin": "^0.12.174",
204
+ "@powerlines/plugin-alloy": "^0.18.116",
205
+ "@powerlines/plugin-automd": "^0.1.224",
206
+ "@powerlines/plugin-babel": "^0.12.233",
207
+ "@powerlines/plugin-plugin": "^0.12.175",
208
208
  "@storm-software/config-tools": "^1.189.0",
209
209
  "@stryke/capnp": "^0.12.61",
210
210
  "@stryke/env": "^0.20.53",
@@ -218,10 +218,10 @@
218
218
  },
219
219
  "devDependencies": {
220
220
  "@powerlines/deepkit": "^0.6.5",
221
- "@powerlines/plugin-deepkit": "^0.11.102",
221
+ "@powerlines/plugin-deepkit": "^0.11.103",
222
222
  "@types/node": "^24.10.9",
223
223
  "vite": "8.0.0-beta.2"
224
224
  },
225
225
  "publishConfig": { "access": "public" },
226
- "gitHead": "2852dab8ff7cad2d1aa4a44d7fd2479d62f65d47"
226
+ "gitHead": "e4949ff7c03d9daa944db64d22ccc193e2c94915"
227
227
  }