@powerlines/plugin-env 0.15.13 → 0.15.15

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 (268) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +4 -0
  2. package/dist/_virtual/rolldown_runtime.mjs +33 -0
  3. package/dist/babel/plugin.cjs +16 -16
  4. package/dist/babel/plugin.d.mts +2 -2
  5. package/dist/babel/plugin.mjs +7 -7
  6. package/dist/components/docs.cjs +8 -8
  7. package/dist/components/docs.mjs +5 -5
  8. package/dist/components/env.cjs +38 -39
  9. package/dist/components/env.d.mts +2 -2
  10. package/dist/components/env.mjs +11 -11
  11. package/dist/helpers/automd-generator.cjs +4 -4
  12. package/dist/helpers/automd-generator.d.mts +1 -1
  13. package/dist/helpers/automd-generator.mjs +3 -3
  14. package/dist/helpers/load.cjs +12 -13
  15. package/dist/helpers/load.d.mts +2 -2
  16. package/dist/helpers/load.mjs +10 -10
  17. package/dist/helpers/persistence.cjs +23 -23
  18. package/dist/helpers/persistence.d.mts +1 -1
  19. package/dist/helpers/persistence.mjs +7 -7
  20. package/dist/helpers/reflect.cjs +9 -9
  21. package/dist/helpers/reflect.mjs +5 -5
  22. package/dist/helpers/source-file-env.cjs +1 -1
  23. package/dist/helpers/source-file-env.mjs +1 -1
  24. package/dist/index.cjs +28 -26
  25. package/dist/index.d.mts +1 -1
  26. package/dist/index.mjs +25 -25
  27. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.cjs +31 -0
  28. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/parse-type-definition.mjs +31 -0
  29. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.cjs +8 -0
  30. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/to-array.mjs +7 -0
  31. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +6 -0
  32. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +5 -0
  33. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
  34. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
  35. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
  36. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +6 -0
  37. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
  38. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
  39. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +13 -0
  40. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +13 -0
  41. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +13 -0
  42. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +13 -0
  43. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
  44. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +11 -0
  45. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +11 -0
  46. package/dist/node_modules/.pnpm/@stryke_convert@0.6.30/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +12 -0
  47. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.cjs +10 -0
  48. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-parent-path.mjs +10 -0
  49. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.cjs +13 -0
  50. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/is-type.mjs +13 -0
  51. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs +49 -0
  52. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs +49 -0
  53. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.cjs +9 -0
  54. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/regex.mjs +5 -0
  55. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.cjs +8 -0
  56. package/dist/node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/slash.mjs +7 -0
  57. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +346 -0
  58. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +346 -0
  59. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs +786 -0
  60. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs +786 -0
  61. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +3 -0
  62. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +3 -0
  63. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +23 -0
  64. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +22 -0
  65. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +405 -0
  66. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +404 -0
  67. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs +657 -0
  68. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs +657 -0
  69. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs +1054 -0
  70. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs +1054 -0
  71. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
  72. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +42 -0
  73. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
  74. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +45 -0
  75. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +288 -0
  76. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +285 -0
  77. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +71 -0
  78. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +68 -0
  79. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
  80. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1007 -0
  81. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +23 -0
  82. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +13 -0
  83. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +2698 -0
  84. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +2685 -0
  85. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +4457 -0
  86. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +4454 -0
  87. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +29 -0
  88. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +29 -0
  89. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +181 -0
  90. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +176 -0
  91. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +22 -0
  92. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +17 -0
  93. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +3967 -0
  94. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +3962 -0
  95. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +11768 -0
  96. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +11763 -0
  97. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +25 -0
  98. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +20 -0
  99. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +20 -0
  100. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +17 -0
  101. package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.cjs +174 -0
  102. package/dist/node_modules/.pnpm/nypm@0.6.2/node_modules/nypm/dist/shared/nypm.CLjaS_sz.mjs +172 -0
  103. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +13 -0
  104. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +12 -0
  105. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +3 -0
  106. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +3 -0
  107. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +145 -0
  108. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +138 -0
  109. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +127 -0
  110. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +125 -0
  111. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +138 -0
  112. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +136 -0
  113. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +629 -0
  114. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +627 -0
  115. package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/components.d.mts +1 -1
  116. package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-file.d.mts +1 -1
  117. package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/typescript-interface.d.mts +1 -1
  118. package/dist/{powerlines → packages/powerlines}/src/types/build.d.mts +6 -6
  119. package/dist/{powerlines → packages/powerlines}/src/types/config.d.mts +1 -2
  120. package/dist/{powerlines → packages/powerlines}/src/types/context.d.mts +1 -1
  121. package/dist/{powerlines → packages/powerlines}/src/types/tsconfig.d.mts +1 -1
  122. package/dist/powerlines/src/types/context.d.cts +1 -1
  123. package/dist/types/plugin.cjs +19 -18
  124. package/dist/types/plugin.d.mts +6 -6
  125. package/dist/types/plugin.mjs +4 -4
  126. package/dist/types/runtime.cjs +3 -2
  127. package/dist/types/runtime.d.mts +1 -1
  128. package/dist/types/runtime.mjs +1 -1
  129. package/package.json +10 -10
  130. package/dist/deepkit/schemas/reflection.cjs +0 -5368
  131. package/dist/deepkit/schemas/reflection.mjs +0 -5365
  132. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  133. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  134. package/dist/deepkit/src/capnp.cjs +0 -1692
  135. package/dist/deepkit/src/capnp.mjs +0 -1690
  136. package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
  137. package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
  138. package/dist/deepkit/src/reflect-type.cjs +0 -40
  139. package/dist/deepkit/src/reflect-type.mjs +0 -38
  140. package/dist/deepkit/src/resolve-reflections.cjs +0 -23
  141. package/dist/deepkit/src/resolve-reflections.mjs +0 -22
  142. package/dist/deepkit/src/transformer.cjs +0 -92
  143. package/dist/deepkit/src/transformer.mjs +0 -89
  144. package/dist/deepkit/src/transpile.cjs +0 -39
  145. package/dist/deepkit/src/transpile.mjs +0 -37
  146. package/dist/deepkit/src/types.cjs +0 -22
  147. package/dist/deepkit/src/types.mjs +0 -21
  148. package/dist/deepkit/src/utilities.cjs +0 -182
  149. package/dist/deepkit/src/utilities.mjs +0 -181
  150. package/dist/plugin-alloy/src/core/components/output.cjs +0 -45
  151. package/dist/plugin-alloy/src/core/components/output.mjs +0 -44
  152. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
  153. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
  154. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
  155. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
  156. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -136
  157. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -128
  158. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  159. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  160. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
  161. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
  162. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
  163. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
  164. package/dist/plugin-alloy/src/index.cjs +0 -106
  165. package/dist/plugin-alloy/src/index.mjs +0 -104
  166. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
  167. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
  168. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
  169. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
  170. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
  171. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
  172. package/dist/plugin-alloy/src/types/components.cjs +0 -22
  173. package/dist/plugin-alloy/src/types/components.mjs +0 -21
  174. package/dist/plugin-alloy/src/types/plugin.cjs +0 -55
  175. package/dist/plugin-alloy/src/types/plugin.mjs +0 -52
  176. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -57
  177. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -56
  178. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -126
  179. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -124
  180. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -442
  181. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -433
  182. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -212
  183. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -209
  184. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -68
  185. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -67
  186. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
  187. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
  188. package/dist/plugin-automd/src/index.cjs +0 -127
  189. package/dist/plugin-automd/src/index.mjs +0 -124
  190. package/dist/plugin-automd/src/types/plugin.cjs +0 -47
  191. package/dist/plugin-automd/src/types/plugin.mjs +0 -47
  192. package/dist/plugin-automd/src/types/toc.cjs +0 -26
  193. package/dist/plugin-automd/src/types/toc.mjs +0 -25
  194. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
  195. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
  196. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
  197. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
  198. package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
  199. package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
  200. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  201. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  202. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
  203. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
  204. package/dist/plugin-babel/src/helpers/options.cjs +0 -74
  205. package/dist/plugin-babel/src/helpers/options.mjs +0 -71
  206. package/dist/plugin-babel/src/index.cjs +0 -131
  207. package/dist/plugin-babel/src/index.mjs +0 -129
  208. package/dist/plugin-babel/src/types/plugin.cjs +0 -42
  209. package/dist/plugin-babel/src/types/plugin.mjs +0 -39
  210. package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -137
  211. package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -135
  212. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -161
  213. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -159
  214. package/dist/powerlines/src/lib/entry.cjs +0 -203
  215. package/dist/powerlines/src/lib/entry.mjs +0 -201
  216. package/dist/powerlines/src/lib/logger.cjs +0 -108
  217. package/dist/powerlines/src/lib/logger.mjs +0 -106
  218. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -67
  219. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -66
  220. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -49
  221. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -48
  222. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
  223. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
  224. package/dist/powerlines/src/types/api.cjs +0 -62
  225. package/dist/powerlines/src/types/api.mjs +0 -62
  226. package/dist/powerlines/src/types/babel.cjs +0 -156
  227. package/dist/powerlines/src/types/babel.mjs +0 -147
  228. package/dist/powerlines/src/types/build.cjs +0 -127
  229. package/dist/powerlines/src/types/build.mjs +0 -121
  230. package/dist/powerlines/src/types/commands.cjs +0 -16
  231. package/dist/powerlines/src/types/commands.mjs +0 -15
  232. package/dist/powerlines/src/types/config.cjs +0 -413
  233. package/dist/powerlines/src/types/config.mjs +0 -391
  234. package/dist/powerlines/src/types/context.cjs +0 -381
  235. package/dist/powerlines/src/types/context.mjs +0 -364
  236. package/dist/powerlines/src/types/fs.cjs +0 -78
  237. package/dist/powerlines/src/types/fs.mjs +0 -75
  238. package/dist/powerlines/src/types/hooks.cjs +0 -71
  239. package/dist/powerlines/src/types/hooks.mjs +0 -68
  240. package/dist/powerlines/src/types/index.cjs +0 -11
  241. package/dist/powerlines/src/types/index.mjs +0 -13
  242. package/dist/powerlines/src/types/plugin.cjs +0 -184
  243. package/dist/powerlines/src/types/plugin.mjs +0 -178
  244. package/dist/powerlines/src/types/resolved.cjs +0 -153
  245. package/dist/powerlines/src/types/resolved.mjs +0 -148
  246. package/dist/powerlines/src/types/unplugin.cjs +0 -47
  247. package/dist/powerlines/src/types/unplugin.mjs +0 -46
  248. /package/dist/{deepkit → packages/deepkit}/schemas/reflection.d.mts +0 -0
  249. /package/dist/{deepkit → packages/deepkit}/src/types.d.mts +0 -0
  250. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/core/components/source-file.d.mts +0 -0
  251. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/index.d.mts +0 -0
  252. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/types/plugin.d.mts +0 -0
  253. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/builtin-file.d.mts +0 -0
  254. /package/dist/{plugin-alloy → packages/plugin-alloy}/src/typescript/components/tsdoc.d.mts +0 -0
  255. /package/dist/{plugin-automd → packages/plugin-automd}/src/types/plugin.d.mts +0 -0
  256. /package/dist/{plugin-automd → packages/plugin-automd}/src/types/toc.d.mts +0 -0
  257. /package/dist/{plugin-babel → packages/plugin-babel}/src/types/index.d.mts +0 -0
  258. /package/dist/{plugin-babel → packages/plugin-babel}/src/types/plugin.d.mts +0 -0
  259. /package/dist/{powerlines → packages/powerlines}/src/internal/helpers/hooks.d.mts +0 -0
  260. /package/dist/{powerlines → packages/powerlines}/src/types/api.d.mts +0 -0
  261. /package/dist/{powerlines → packages/powerlines}/src/types/babel.d.mts +0 -0
  262. /package/dist/{powerlines → packages/powerlines}/src/types/commands.d.mts +0 -0
  263. /package/dist/{powerlines → packages/powerlines}/src/types/fs.d.mts +0 -0
  264. /package/dist/{powerlines → packages/powerlines}/src/types/hooks.d.mts +0 -0
  265. /package/dist/{powerlines → packages/powerlines}/src/types/index.d.mts +0 -0
  266. /package/dist/{powerlines → packages/powerlines}/src/types/plugin.d.mts +0 -0
  267. /package/dist/{powerlines → packages/powerlines}/src/types/resolved.d.mts +0 -0
  268. /package/dist/{powerlines → packages/powerlines}/src/types/unplugin.d.mts +0 -0
@@ -5,6 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
8
9
  var __copyProps = (to, from, except, desc) => {
9
10
  if (from && typeof from === "object" || typeof from === "function") {
10
11
  for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -23,7 +24,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
24
  value: mod,
24
25
  enumerable: true
25
26
  }) : target, mod));
27
+ var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
26
28
 
27
29
  //#endregion
28
30
 
31
+ exports.__commonJSMin = __commonJSMin;
32
+ exports.__toDynamicImportESM = __toDynamicImportESM;
29
33
  exports.__toESM = __toESM;
@@ -0,0 +1,33 @@
1
+ import { createRequire } from "node:module";
2
+
3
+ //#region rolldown:runtime
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
14
+ key = keys[i];
15
+ if (!__hasOwnProp.call(to, key) && key !== except) {
16
+ __defProp(to, key, {
17
+ get: ((k) => from[k]).bind(null, key),
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ }
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
28
+ }) : target, mod));
29
+ var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
30
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
31
+
32
+ //#endregion
33
+ export { __commonJSMin, __require, __toDynamicImportESM, __toESM };
@@ -1,26 +1,26 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_types_plugin = require('../types/plugin.cjs');
3
- const require_capnp = require('../deepkit/src/capnp.cjs');
4
- const require_reflection = require('../deepkit/schemas/reflection2.cjs');
5
3
  const require_helpers_persistence = require('../helpers/persistence.cjs');
6
- const require_utilities = require('../deepkit/src/utilities.cjs');
7
- const require_babel = require('../powerlines/src/types/babel.cjs');
8
- const require_create_plugin = require('../plugin-babel/src/helpers/create-plugin.cjs');
9
- const require_module_helpers = require('../plugin-babel/src/helpers/module-helpers.cjs');
10
4
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
5
+ let __powerlines_deepkit_capnp = require("@powerlines/deepkit/capnp");
6
+ let __powerlines_deepkit_schemas_reflection = require("@powerlines/deepkit/schemas/reflection");
11
7
  let __stryke_capnp = require("@stryke/capnp");
12
8
  __stryke_capnp = require_rolldown_runtime.__toESM(__stryke_capnp);
13
9
  let __stryke_fs_buffer = require("@stryke/fs/buffer");
14
10
  let node_fs = require("node:fs");
15
- let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
11
+ let powerlines_types_babel = require("powerlines/types/babel");
16
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) {
20
20
  fn.__type = args;
21
21
  return fn;
22
22
  }
23
- const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => require_types_plugin.__ΩEnvPluginContext, "n!"]], require_create_plugin.createBabelPlugin("env", __assignType(({ log, context }) => {
23
+ const envBabelPlugin = (__powerlines_plugin_babel_helpers_create_plugin.createBabelPlugin.Ω = [[() => require_types_plugin.__ΩEnvPluginContext, "n!"]], (0, __powerlines_plugin_babel_helpers_create_plugin.createBabelPlugin)("env", __assignType(({ log, context }) => {
24
24
  function extractEnv(node, pass, isInjectable = false) {
25
25
  const envTypesAliasProperties = context.env.types.env?.getProperties().filter(__assignType((prop) => prop.getAlias().length > 0, [
26
26
  "prop",
@@ -66,7 +66,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
66
66
  }
67
67
  value ??= envProperty.getDefaultValue();
68
68
  if (envProperty.isValueRequired() && value === void 0) throw new Error(`Environment variable \`${name}\` is not defined in the .env configuration files`);
69
- return require_utilities.stringifyDefaultValue(envProperty, value);
69
+ return (0, __powerlines_deepkit_utilities.stringifyDefaultValue)(envProperty, value);
70
70
  }
71
71
  } else throw new Error(`The "${name}" environment variable is not defined in the \`env\` type definition, but is used in the source code file ${pass.filename ? pass.filename : "unknown"}.
72
72
 
@@ -96,7 +96,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
96
96
  }
97
97
  extractEnv.__type = [
98
98
  "node",
99
- () => require_babel.__ΩBabelPluginPass,
99
+ () => powerlines_types_babel.__ΩBabelPluginPass,
100
100
  "pass",
101
101
  "isInjectable",
102
102
  "extractEnv",
@@ -108,7 +108,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
108
108
  const identifier = path.get("property")?.node;
109
109
  extractEnv(identifier, pass, false);
110
110
  path.replaceWithSourceString(`env.${identifier.name}`);
111
- require_module_helpers.addImport(path, {
111
+ (0, __powerlines_plugin_babel_helpers_module_helpers.addImport)(path, {
112
112
  module: "storm:env",
113
113
  name: "env",
114
114
  imported: "env"
@@ -120,7 +120,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
120
120
  const identifier = path.get("property")?.node;
121
121
  extractEnv(identifier, pass, false);
122
122
  path.replaceWithSourceString(`env.${identifier.name}`);
123
- require_module_helpers.addImport(path, {
123
+ (0, __powerlines_plugin_babel_helpers_module_helpers.addImport)(path, {
124
124
  module: "storm:env",
125
125
  name: "env",
126
126
  imported: "env"
@@ -130,7 +130,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
130
130
  if (!identifier.name) return;
131
131
  extractEnv(identifier, pass, false);
132
132
  path.replaceWithSourceString(`env.${identifier.name}`);
133
- require_module_helpers.addImport(path, {
133
+ (0, __powerlines_plugin_babel_helpers_module_helpers.addImport)(path, {
134
134
  module: "storm:env",
135
135
  name: "env",
136
136
  imported: "env"
@@ -140,7 +140,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
140
140
  if (!identifier.name) return;
141
141
  extractEnv(identifier, pass, false);
142
142
  path.replaceWithSourceString(`env.${identifier.name}`);
143
- require_module_helpers.addImport(path, {
143
+ (0, __powerlines_plugin_babel_helpers_module_helpers.addImport)(path, {
144
144
  module: "storm:env",
145
145
  name: "env",
146
146
  imported: "env"
@@ -149,7 +149,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
149
149
  }, [
150
150
  () => __babel_core.NodePath,
151
151
  "path",
152
- () => require_babel.__ΩBabelPluginPass,
152
+ () => powerlines_types_babel.__ΩBabelPluginPass,
153
153
  "pass",
154
154
  "MemberExpression",
155
155
  "PP!7!2\"n#2$\"/%"
@@ -164,7 +164,7 @@ const envBabelPlugin = (require_create_plugin.createBabelPlugin.Ω = [[() => req
164
164
  const reflectionPath = require_helpers_persistence.getEnvReflectionsPath(context, "env");
165
165
  if (reflectionPath && (0, node_fs.existsSync)(reflectionPath)) {
166
166
  log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Environment reflection file found at ${reflectionPath}, reading existing reflection.`);
167
- persistedEnv = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)(require_capnp.convertFromCapnp(new __stryke_capnp.Message((0, __stryke_fs_buffer.readFileBufferSync)(reflectionPath), false).getRoot(require_reflection.SerializedTypes).types)));
167
+ persistedEnv = (0, __powerlines_deepkit_vendor_type.resolveClassType)((0, __powerlines_deepkit_vendor_type.deserializeType)((0, __powerlines_deepkit_capnp.convertFromCapnp)(new __stryke_capnp.Message((0, __stryke_fs_buffer.readFileBufferSync)(reflectionPath), false).getRoot(__powerlines_deepkit_schemas_reflection.SerializedTypes).types)));
168
168
  }
169
169
  log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Adding new variables to env reflection at ${reflectionPath}.`);
170
170
  persistedEnv.getProperties().filter(__assignType((property) => property.getNameAsString() && !context.env.used.env.hasProperty(property.getNameAsString()), [
@@ -1,6 +1,6 @@
1
- import { DeclareBabelTransformPluginReturn } from "../powerlines/src/types/babel.mjs";
1
+ import { DeclareBabelTransformPluginReturn } from "../packages/powerlines/src/types/babel.mjs";
2
2
  import { EnvPluginContext, EnvPluginResolvedConfig } from "../types/plugin.mjs";
3
- import "../powerlines/src/types/index.mjs";
3
+ import "../packages/powerlines/src/types/index.mjs";
4
4
  import "../index.mjs";
5
5
 
6
6
  //#region src/babel/plugin.d.ts
@@ -1,17 +1,17 @@
1
1
  import { __ΩEnvPluginContext } from "../types/plugin.mjs";
2
- import { convertFromCapnp } from "../deepkit/src/capnp.mjs";
3
- import { SerializedTypes } from "../deepkit/schemas/reflection2.mjs";
4
2
  import { getEnvReflectionsPath } from "../helpers/persistence.mjs";
5
- import { stringifyDefaultValue } from "../deepkit/src/utilities.mjs";
6
- import { __ΩBabelPluginPass } from "../powerlines/src/types/babel.mjs";
7
- import { createBabelPlugin } from "../plugin-babel/src/helpers/create-plugin.mjs";
8
- import { addImport } from "../plugin-babel/src/helpers/module-helpers.mjs";
9
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";
10
6
  import * as capnp from "@stryke/capnp";
11
7
  import { readFileBufferSync } from "@stryke/fs/buffer";
12
8
  import { existsSync } from "node:fs";
13
- import { LogLevelLabel } from "@storm-software/config-tools/types";
9
+ import { __ΩBabelPluginPass } from "powerlines/types/babel";
14
10
  import { NodePath } from "@babel/core";
11
+ import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
12
+ import { createBabelPlugin } from "@powerlines/plugin-babel/helpers/create-plugin";
13
+ import { addImport } from "@powerlines/plugin-babel/helpers/module-helpers";
14
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
15
15
 
16
16
  //#region src/babel/plugin.ts
17
17
  function __assignType(fn, args) {
@@ -1,25 +1,25 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
2
3
  const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
3
- const require_context = require('../plugin-alloy/src/core/contexts/context.cjs');
4
- const require_markdown_file = require('../plugin-alloy/src/markdown/components/markdown-file.cjs');
5
- const require_markdown_table = require('../plugin-alloy/src/markdown/components/markdown-table.cjs');
6
4
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
7
5
  let __alloy_js_core = require("@alloy-js/core");
8
6
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
9
7
  let __alloy_js_markdown = require("@alloy-js/markdown");
10
- let __stryke_path_join = require("@stryke/path/join");
8
+ let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
9
+ let __powerlines_plugin_alloy_markdown_components_markdown_file = require("@powerlines/plugin-alloy/markdown/components/markdown-file");
10
+ let __powerlines_plugin_alloy_markdown_components_markdown_table = require("@powerlines/plugin-alloy/markdown/components/markdown-table");
11
11
 
12
12
  //#region src/components/docs.tsx
13
13
  /**
14
14
  * Generates the environment configuration markdown documentation for the Powerlines project.
15
15
  */
16
16
  function EnvDocs() {
17
- const context = require_context.usePowerlines();
17
+ const context = (0, __powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
18
18
  if (!context) return null;
19
19
  const reflection = require_helpers_create_reflection_resource.createReflectionResource(context);
20
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_file.MarkdownFile, {
20
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_markdown_components_markdown_file.MarkdownFile, {
21
21
  get path() {
22
- return (0, __stryke_path_join.joinPaths)(context.config.projectRoot, "docs", "generated", "env.md");
22
+ return require_join_paths.o(context.config.projectRoot, "docs", "generated", "env.md");
23
23
  },
24
24
  get children() {
25
25
  return [
@@ -51,7 +51,7 @@ function EnvDocs() {
51
51
  }),
52
52
  __alloy_js_core.code`The below list of environment variables are used as configuration parameters to drive the processing of the application. The data contained in these variables are **not** considered sensitive or confidential. Any values provided in these variables will be available in plain text to the public.`,
53
53
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
54
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_markdown_table.MarkdownTable, { get data() {
54
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_markdown_components_markdown_table.MarkdownTable, { get data() {
55
55
  return reflection.data?.getProperties().filter((property) => property.getNameAsString() !== "__STORM_INJECTED__").sort((a, b) => a.getNameAsString().localeCompare(b.getNameAsString())).map((reflectionProperty) => {
56
56
  return {
57
57
  name: reflectionProperty.getNameAsString().trim(),
@@ -1,12 +1,12 @@
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs";
1
2
  import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
2
- import { usePowerlines } from "../plugin-alloy/src/core/contexts/context.mjs";
3
- import { MarkdownFile } from "../plugin-alloy/src/markdown/components/markdown-file.mjs";
4
- import { MarkdownTable } from "../plugin-alloy/src/markdown/components/markdown-table.mjs";
5
3
  import { stringifyType } from "@powerlines/deepkit/vendor/type";
6
4
  import { Show, code } from "@alloy-js/core";
7
5
  import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
8
6
  import { Heading, Link } from "@alloy-js/markdown";
9
- import { joinPaths } from "@stryke/path/join";
7
+ import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
8
+ import { MarkdownFile } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
9
+ import { MarkdownTable } from "@powerlines/plugin-alloy/markdown/components/markdown-table";
10
10
 
11
11
  //#region src/components/docs.tsx
12
12
  /**
@@ -18,7 +18,7 @@ function EnvDocs() {
18
18
  const reflection = createReflectionResource(context);
19
19
  return createComponent(MarkdownFile, {
20
20
  get path() {
21
- return joinPaths(context.config.projectRoot, "docs", "generated", "env.md");
21
+ return o(context.config.projectRoot, "docs", "generated", "env.md");
22
22
  },
23
23
  get children() {
24
24
  return [
@@ -1,19 +1,18 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_defu = require('../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs');
2
3
  const require_helpers_load = require('../helpers/load.cjs');
3
4
  const require_helpers_create_reflection_resource = require('../helpers/create-reflection-resource.cjs');
4
- const require_context = require('../plugin-alloy/src/core/contexts/context.cjs');
5
- const require_refkey = require('../plugin-alloy/src/helpers/refkey.cjs');
6
- const require_tsdoc = require('../plugin-alloy/src/typescript/components/tsdoc.cjs');
7
- const require_builtin_file = require('../plugin-alloy/src/typescript/components/builtin-file.cjs');
8
- const require_typescript_interface = require('../plugin-alloy/src/typescript/components/typescript-interface.cjs');
9
- const require_typescript_object = require('../plugin-alloy/src/typescript/components/typescript-object.cjs');
10
5
  let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
11
6
  let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
12
- let defu = require("defu");
13
- defu = require_rolldown_runtime.__toESM(defu);
14
7
  let __alloy_js_core = require("@alloy-js/core");
15
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");
16
10
  let __alloy_js_typescript = require("@alloy-js/typescript");
11
+ let __powerlines_plugin_alloy_helpers_refkey = require("@powerlines/plugin-alloy/helpers/refkey");
12
+ let __powerlines_plugin_alloy_typescript_components_builtin_file = require("@powerlines/plugin-alloy/typescript/components/builtin-file");
13
+ let __powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
14
+ let __powerlines_plugin_alloy_typescript_components_typescript_interface = require("@powerlines/plugin-alloy/typescript/components/typescript-interface");
15
+ let __powerlines_plugin_alloy_typescript_components_typescript_object = require("@powerlines/plugin-alloy/typescript/components/typescript-object");
17
16
  let __stryke_type_checks_is_null = require("@stryke/type-checks/is-null");
18
17
 
19
18
  //#region src/components/env.tsx
@@ -22,9 +21,9 @@ let __stryke_type_checks_is_null = require("@stryke/type-checks/is-null");
22
21
  */
23
22
  function EnvTypeDefinition(props) {
24
23
  const [{ defaultValue, reflection }] = (0, __alloy_js_core.splitProps)(props, ["defaultValue", "reflection"]);
25
- const context = require_context.usePowerlines();
24
+ const context = (0, __powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
26
25
  return [
27
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_interface.TypeScriptInterface, {
26
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_typescript_interface.TypeScriptInterface, {
28
27
  name: " EnvBase",
29
28
  "extends": ["EnvInterface"],
30
29
  defaultValue,
@@ -186,15 +185,15 @@ function ConfigPropertySet(props) {
186
185
  }
187
186
  })];
188
187
  }
189
- const createEnvRefkey = require_refkey.refkey("createEnv");
190
- const envRefkey = require_refkey.refkey("env");
191
- const envSerializerRefkey = require_refkey.refkey("EnvSerializer");
188
+ const createEnvRefkey = (0, __powerlines_plugin_alloy_helpers_refkey.refkey)("createEnv");
189
+ const envRefkey = (0, __powerlines_plugin_alloy_helpers_refkey.refkey)("env");
190
+ const envSerializerRefkey = (0, __powerlines_plugin_alloy_helpers_refkey.refkey)("EnvSerializer");
192
191
  /**
193
192
  * Generates the environment configuration module for the Powerlines project.
194
193
  */
195
194
  function EnvBuiltin(props) {
196
195
  const [{ defaultConfig, children }, rest] = (0, __alloy_js_core.splitProps)(props, ["defaultConfig", "children"]);
197
- const context = require_context.usePowerlines();
196
+ const context = (0, __powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
198
197
  const defaultValue = (0, __alloy_js_core.computed)(() => context && require_helpers_load.loadEnvFromContext(context, process.env));
199
198
  const reflection = require_helpers_create_reflection_resource.createReflectionResource(context);
200
199
  const envInstance = (0, __alloy_js_core.computed)(() => {
@@ -206,12 +205,12 @@ function EnvBuiltin(props) {
206
205
  });
207
206
  const reflectionGetProperties = (0, __alloy_js_core.computed)(() => reflection.data?.getProperties().filter((property) => !property.isIgnored()).sort((a, b) => a.getNameAsString().localeCompare(b.getNameAsString())) ?? []);
208
207
  const reflectionSetProperties = (0, __alloy_js_core.computed)(() => reflection.data?.getProperties().filter((property) => !property.isIgnored() && !property.isReadonly()).sort((a, b) => a.getNameAsString().localeCompare(b.getNameAsString())) ?? []);
209
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_builtin_file.BuiltinFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({
208
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_builtin_file.BuiltinFile, (0, __alloy_js_core_jsx_runtime.mergeProps)({
210
209
  id: "env",
211
210
  description: "The Powerlines environment configuration module provides an interface to define environment configuration parameters."
212
211
  }, rest, {
213
212
  get imports() {
214
- return (0, defu.default)({
213
+ return require_defu.defu({
215
214
  "@powerlines/deepkit/vendor/type": [
216
215
  "Type",
217
216
  "stringify",
@@ -248,7 +247,7 @@ function EnvBuiltin(props) {
248
247
  ];
249
248
  }
250
249
  }),
251
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_object.TypescriptObject, {
250
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_typescript_object.TypescriptObject, {
252
251
  name: "initialEnv",
253
252
  type: "Partial<EnvBase>",
254
253
  defaultValue,
@@ -258,13 +257,13 @@ function EnvBuiltin(props) {
258
257
  }),
259
258
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
260
259
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
261
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
260
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
262
261
  heading: "The environment configuration serializer for the Powerlines application.",
263
262
  get children() {
264
263
  return [
265
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocLink, { children: `https://deepkit.io/docs/serialization/serializers` }),
266
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocLink, { children: `https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918` }),
267
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `This serializer is used to serialize and deserialize the Powerlines environment configuration.` })
264
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocLink, { children: `https://deepkit.io/docs/serialization/serializers` }),
265
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocLink, { children: `https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918` }),
266
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This serializer is used to serialize and deserialize the Powerlines environment configuration.` })
268
267
  ];
269
268
  }
270
269
  }),
@@ -294,13 +293,13 @@ function EnvBuiltin(props) {
294
293
  }),
295
294
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
296
295
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
297
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
296
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
298
297
  heading: "A {@link EnvSerializer | environment configuration serializer} instance for the Powerlines application.",
299
298
  get children() {
300
299
  return [
301
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocLink, { children: `https://deepkit.io/docs/serialization/serializers` }),
302
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocLink, { children: `https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918` }),
303
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `This serializer is used to serialize and deserialize the Powerlines environment configuration.` })
300
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocLink, { children: `https://deepkit.io/docs/serialization/serializers` }),
301
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocLink, { children: `https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918` }),
302
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This serializer is used to serialize and deserialize the Powerlines environment configuration.` })
304
303
  ];
305
304
  }
306
305
  }),
@@ -317,13 +316,13 @@ function EnvBuiltin(props) {
317
316
  }),
318
317
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
319
318
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
320
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
319
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
321
320
  heading: "Serialize a environment configuration object to JSON data objects (not a JSON string).",
322
321
  get children() {
323
322
  return [
324
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `The resulting JSON object can be stringified using JSON.stringify().` }),
325
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocExample, { children: `const json = serializeEnv(env);` }),
326
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocThrows, { children: `ValidationError when serialization or validation fails.` })
323
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `The resulting JSON object can be stringified using JSON.stringify().` }),
324
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocExample, { children: `const json = serializeEnv(env);` }),
325
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocThrows, { children: `ValidationError when serialization or validation fails.` })
327
326
  ];
328
327
  }
329
328
  }),
@@ -335,13 +334,13 @@ function EnvBuiltin(props) {
335
334
  }),
336
335
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
337
336
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
338
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
337
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
339
338
  heading: "Deserialize a environment configuration object from JSON data objects to JavaScript objects, without running any validators.",
340
339
  get children() {
341
340
  return [
342
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `Types that are already correct will be used as-is.` }),
343
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocExample, { children: `const env = deserializeEnv(json);` }),
344
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocThrows, { children: `ValidationError when deserialization fails.` })
341
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `Types that are already correct will be used as-is.` }),
342
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocExample, { children: `const env = deserializeEnv(json);` }),
343
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocThrows, { children: `ValidationError when deserialization fails.` })
345
344
  ];
346
345
  }
347
346
  }),
@@ -353,16 +352,16 @@ function EnvBuiltin(props) {
353
352
  }),
354
353
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
355
354
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
356
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
355
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
357
356
  heading: "Initializes the Powerlines environment configuration module.",
358
357
  get children() {
359
358
  return [
360
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `This function initializes the Powerlines environment configuration object.` }),
361
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocParam, {
359
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This function initializes the Powerlines environment configuration object.` }),
360
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
362
361
  name: "environmentConfig",
363
362
  children: `The dynamic/runtime configuration - this could include the current environment variables or any other environment-specific settings provided by the runtime.`
364
363
  }),
365
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocReturns, { children: `The initialized Powerlines configuration object.` })
364
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { children: `The initialized Powerlines configuration object.` })
366
365
  ];
367
366
  }
368
367
  }),
@@ -506,10 +505,10 @@ function EnvBuiltin(props) {
506
505
  }),
507
506
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
508
507
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
509
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
508
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
510
509
  heading: "Detect the \\`mode\\` of the current runtime environment.",
511
510
  get children() {
512
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: __alloy_js_core.code`The \`mode\` is determined by the \`MODE\` environment variable, or falls back to the \`NEXT_PUBLIC_VERCEL_ENV\`, \`NODE_ENV\`, or defaults to \`production\`. While the value can potentially be any string, Storm Software generally only allows a value in the following list:
511
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: __alloy_js_core.code`The \`mode\` is determined by the \`MODE\` environment variable, or falls back to the \`NEXT_PUBLIC_VERCEL_ENV\`, \`NODE_ENV\`, or defaults to \`production\`. While the value can potentially be any string, Storm Software generally only allows a value in the following list:
513
512
  - \`production\`
514
513
  - \`test\`
515
514
  - \`development\`` });
@@ -1,5 +1,5 @@
1
- import { BuiltinFileProps } from "../plugin-alloy/src/typescript/components/builtin-file.mjs";
2
- import { TypeScriptInterfaceProps } from "../plugin-alloy/src/typescript/components/typescript-interface.mjs";
1
+ import { BuiltinFileProps } from "../packages/plugin-alloy/src/typescript/components/builtin-file.mjs";
2
+ import { TypeScriptInterfaceProps } from "../packages/plugin-alloy/src/typescript/components/typescript-interface.mjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
 
5
5
  //#region src/components/env.d.ts
@@ -1,17 +1,17 @@
1
+ import { defu } from "../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs";
1
2
  import { loadEnvFromContext } from "../helpers/load.mjs";
2
3
  import { createReflectionResource } from "../helpers/create-reflection-resource.mjs";
3
- import { usePowerlines } from "../plugin-alloy/src/core/contexts/context.mjs";
4
- import { refkey as refkey$1 } from "../plugin-alloy/src/helpers/refkey.mjs";
5
- import { TSDoc, TSDocExample, TSDocLink, TSDocParam, TSDocRemarks, TSDocReturns, TSDocThrows } from "../plugin-alloy/src/typescript/components/tsdoc.mjs";
6
- import { BuiltinFile } from "../plugin-alloy/src/typescript/components/builtin-file.mjs";
7
- import { TypeScriptInterface } from "../plugin-alloy/src/typescript/components/typescript-interface.mjs";
8
- import { TypescriptObject } from "../plugin-alloy/src/typescript/components/typescript-object.mjs";
9
4
  import { ReflectionClass, ReflectionKind } from "@powerlines/deepkit/vendor/type";
10
5
  import { titleCase } from "@stryke/string-format/title-case";
11
- import defu$1 from "defu";
12
6
  import { For, Show, code, computed, splitProps } from "@alloy-js/core";
13
7
  import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
8
+ import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
14
9
  import { ClassDeclaration, ClassMethod, ElseIfClause, FunctionDeclaration, IfStatement, NewExpression, TypeDeclaration, VarDeclaration } from "@alloy-js/typescript";
10
+ import { refkey } from "@powerlines/plugin-alloy/helpers/refkey";
11
+ import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
12
+ import { TSDoc, TSDocExample, TSDocLink, TSDocParam, TSDocRemarks, TSDocReturns, TSDocThrows } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
13
+ import { TypeScriptInterface } from "@powerlines/plugin-alloy/typescript/components/typescript-interface";
14
+ import { TypescriptObject } from "@powerlines/plugin-alloy/typescript/components/typescript-object";
15
15
  import { isNull } from "@stryke/type-checks/is-null";
16
16
 
17
17
  //#region src/components/env.tsx
@@ -184,9 +184,9 @@ function ConfigPropertySet(props) {
184
184
  }
185
185
  })];
186
186
  }
187
- const createEnvRefkey = refkey$1("createEnv");
188
- const envRefkey = refkey$1("env");
189
- const envSerializerRefkey = refkey$1("EnvSerializer");
187
+ const createEnvRefkey = refkey("createEnv");
188
+ const envRefkey = refkey("env");
189
+ const envSerializerRefkey = refkey("EnvSerializer");
190
190
  /**
191
191
  * Generates the environment configuration module for the Powerlines project.
192
192
  */
@@ -209,7 +209,7 @@ function EnvBuiltin(props) {
209
209
  description: "The Powerlines environment configuration module provides an interface to define environment configuration parameters."
210
210
  }, rest, {
211
211
  get imports() {
212
- return defu$1({
212
+ return defu({
213
213
  "@powerlines/deepkit/vendor/type": [
214
214
  "Type",
215
215
  "stringify",
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_context = require('../powerlines/src/types/context.cjs');
3
- let __stryke_path_join_paths = require("@stryke/path/join-paths");
2
+ const require_join_paths = require('../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.cjs');
3
+ let powerlines_types_context = require("powerlines/types/context");
4
4
  let automd = require("automd");
5
5
 
6
6
  //#region src/helpers/automd-generator.ts
@@ -17,12 +17,12 @@ function __assignType(fn, args) {
17
17
  const env = __assignType((context) => (0, automd.defineGenerator)({
18
18
  name: "env",
19
19
  generate: __assignType(async function generate() {
20
- const envDocFile = (0, __stryke_path_join_paths.joinPaths)(context.config.projectRoot, "docs", "generated", "env.md");
20
+ const envDocFile = require_join_paths.o(context.config.projectRoot, "docs", "generated", "env.md");
21
21
  if (!context.fs.existsSync(envDocFile)) return { contents: "" };
22
22
  return { contents: await context.fs.read(envDocFile) || "" };
23
23
  }, ["generate", "P\"/!"])
24
24
  }), [
25
- () => require_context.__ΩUnresolvedContext,
25
+ () => powerlines_types_context.__ΩUnresolvedContext,
26
26
  "context",
27
27
  "",
28
28
  "Pn!2\"\"/#"
@@ -1,4 +1,4 @@
1
- import { UnresolvedContext } from "../powerlines/src/types/context.mjs";
1
+ import { UnresolvedContext } from "../packages/powerlines/src/types/context.mjs";
2
2
  import * as automd0 from "automd";
3
3
 
4
4
  //#region src/helpers/automd-generator.d.ts
@@ -1,5 +1,5 @@
1
- import { __ΩUnresolvedContext } from "../powerlines/src/types/context.mjs";
2
- import { joinPaths } from "@stryke/path/join-paths";
1
+ import { o } from "../node_modules/.pnpm/@stryke_path@0.24.1/node_modules/@stryke/path/dist/join-paths.mjs";
2
+ import { __ΩUnresolvedContext } from "powerlines/types/context";
3
3
  import { defineGenerator } from "automd";
4
4
 
5
5
  //#region src/helpers/automd-generator.ts
@@ -16,7 +16,7 @@ function __assignType(fn, args) {
16
16
  const env = __assignType((context) => defineGenerator({
17
17
  name: "env",
18
18
  generate: __assignType(async function generate() {
19
- const envDocFile = joinPaths(context.config.projectRoot, "docs", "generated", "env.md");
19
+ const envDocFile = o(context.config.projectRoot, "docs", "generated", "env.md");
20
20
  if (!context.fs.existsSync(envDocFile)) return { contents: "" };
21
21
  return { contents: await context.fs.read(envDocFile) || "" };
22
22
  }, ["generate", "P\"/!"])