@powerlines/plugin-alloy 0.15.6 → 0.15.7

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 (282) hide show
  1. package/dist/builtin-file-BTFY397y.d.mts +34 -0
  2. package/dist/builtin-file-Cc9EahS_.mjs +42 -0
  3. package/dist/builtin-file-Cx2gYmvj.cjs +47 -0
  4. package/dist/builtin-file-DZ0j7GQ3.d.cts +34 -0
  5. package/dist/capnp-Bej06Vo6.mjs +259 -0
  6. package/dist/capnp-CirEkAHB.d.cts +86 -0
  7. package/dist/capnp-kgq1Wxjw.d.mts +87 -0
  8. package/dist/capnp-uHWANTSk.cjs +356 -0
  9. package/dist/{_virtual/rolldown_runtime.cjs → chunk-BrXtsOCC.cjs} +13 -1
  10. package/dist/chunk-CLCJnD51.mjs +39 -0
  11. package/dist/components-BK5Ml-fB.mjs +1 -0
  12. package/dist/components-BYyc8-6U.cjs +0 -0
  13. package/dist/components-C9Lp4xr5.mjs +1 -0
  14. package/dist/components-CNE_Nde0.mjs +1 -0
  15. package/dist/components-Cvpo9IEL.cjs +0 -0
  16. package/dist/components-DSpDVIf0.d.cts +142 -0
  17. package/dist/components-Gg416Czx.cjs +0 -0
  18. package/dist/components-ZbItRNLr.cjs +0 -0
  19. package/dist/components-cffsgxGP.d.mts +142 -0
  20. package/dist/components-pztyf7qk.mjs +1 -0
  21. package/dist/context-B6PdDHc7.d.cts +26 -0
  22. package/dist/context-BDpEChDc.cjs +43 -0
  23. package/dist/context-BRIdBgyT.d.mts +1680 -0
  24. package/dist/context-CWt70HA3.d.cts +1680 -0
  25. package/dist/context-uyV_b5LD.mjs +26 -0
  26. package/dist/context-wYPSb88-.d.mts +26 -0
  27. package/dist/contexts-CWIkvja3.mjs +1 -0
  28. package/dist/contexts-Do5bLA7f.cjs +0 -0
  29. package/dist/contexts-DzdhIC7G.cjs +0 -0
  30. package/dist/contexts-oubuaPo0.mjs +1 -0
  31. package/dist/core/components/index.cjs +9 -6
  32. package/dist/core/components/index.d.cts +6 -3
  33. package/dist/core/components/index.d.mts +6 -3
  34. package/dist/core/components/index.mjs +6 -3
  35. package/dist/core/components/output.cjs +4 -39
  36. package/dist/core/components/output.d.cts +2 -17
  37. package/dist/core/components/output.d.mts +2 -17
  38. package/dist/core/components/output.mjs +3 -37
  39. package/dist/core/components/single-line-comment.cjs +3 -21
  40. package/dist/core/components/single-line-comment.d.cts +3 -21
  41. package/dist/core/components/single-line-comment.d.mts +3 -21
  42. package/dist/core/components/single-line-comment.mjs +2 -19
  43. package/dist/core/components/source-file.cjs +3 -57
  44. package/dist/core/components/source-file.d.cts +3 -30
  45. package/dist/core/components/source-file.d.mts +3 -30
  46. package/dist/core/components/source-file.mjs +2 -54
  47. package/dist/core/contexts/context.cjs +5 -28
  48. package/dist/core/contexts/context.d.cts +2 -25
  49. package/dist/core/contexts/context.d.mts +2 -25
  50. package/dist/core/contexts/context.mjs +2 -24
  51. package/dist/core/contexts/index.cjs +15 -13
  52. package/dist/core/contexts/index.d.cts +5 -2
  53. package/dist/core/contexts/index.d.mts +6 -2
  54. package/dist/core/contexts/index.mjs +4 -2
  55. package/dist/core/contexts/reflection.cjs +10 -67
  56. package/dist/core/contexts/reflection.d.cts +3 -50
  57. package/dist/core/contexts/reflection.d.mts +4 -50
  58. package/dist/core/contexts/reflection.mjs +2 -58
  59. package/dist/core/index.cjs +22 -21
  60. package/dist/core/index.d.cts +9 -5
  61. package/dist/core/index.d.mts +10 -7
  62. package/dist/core/index.mjs +8 -7
  63. package/dist/create-builtin-Be3J_vqf.mjs +18 -0
  64. package/dist/create-builtin-BhPGJIAV.d.mts +15 -0
  65. package/dist/create-builtin-Bok_ENQo.d.cts +15 -0
  66. package/dist/create-builtin-eQVsnSGQ.cjs +24 -0
  67. package/dist/dynamic-import-statement-CKVyBkh0.cjs +29 -0
  68. package/dist/dynamic-import-statement-CQUyuOvA.mjs +23 -0
  69. package/dist/dynamic-import-statement-DcFHKm1U.d.mts +32 -0
  70. package/dist/dynamic-import-statement-Dv-agvo9.d.cts +32 -0
  71. package/dist/entry-file-BZUmlDWP.d.cts +27 -0
  72. package/dist/entry-file-CJVwkVNJ.mjs +36 -0
  73. package/dist/entry-file-Cw1Nykfb.cjs +44 -0
  74. package/dist/entry-file-Dvn4sgIC.d.mts +27 -0
  75. package/dist/helpers/capnp.cjs +18 -274
  76. package/dist/helpers/capnp.d.cts +2 -85
  77. package/dist/helpers/capnp.d.mts +3 -85
  78. package/dist/helpers/capnp.mjs +1 -255
  79. package/dist/helpers/create-builtin.cjs +2 -18
  80. package/dist/helpers/create-builtin.d.cts +1 -14
  81. package/dist/helpers/create-builtin.d.mts +1 -14
  82. package/dist/helpers/create-builtin.mjs +1 -16
  83. package/dist/helpers/index.cjs +24 -23
  84. package/dist/helpers/index.d.cts +5 -4
  85. package/dist/helpers/index.d.mts +6 -4
  86. package/dist/helpers/index.mjs +5 -4
  87. package/dist/helpers/refkey.cjs +3 -15
  88. package/dist/helpers/refkey.d.cts +1 -12
  89. package/dist/helpers/refkey.d.mts +1 -12
  90. package/dist/helpers/refkey.mjs +2 -13
  91. package/dist/helpers/typescript.cjs +2 -45
  92. package/dist/helpers/typescript.d.cts +1 -22
  93. package/dist/helpers/typescript.d.mts +2 -22
  94. package/dist/helpers/typescript.mjs +1 -43
  95. package/dist/index-Blaks7l8.d.cts +1 -0
  96. package/dist/index-BwFl_eS0.d.mts +1 -0
  97. package/dist/index-CCKHlTA4.d.mts +1 -0
  98. package/dist/index-CwSIy_W-.d.cts +1 -0
  99. package/dist/index-D13oYj4_.d.mts +1 -0
  100. package/dist/index-DBGd4WeR.d.mts +1 -0
  101. package/dist/index-DdxxIAKU.d.cts +1 -0
  102. package/dist/index-DrZ2Dh-H.d.cts +1 -0
  103. package/dist/index-gpCH5158.d.mts +1 -0
  104. package/dist/index-lQ_hGQ08.d.cts +1 -0
  105. package/dist/index.cjs +277 -130
  106. package/dist/index.d.cts +5 -25
  107. package/dist/index.d.mts +5 -30
  108. package/dist/index.mjs +27 -50
  109. package/dist/jsx-runtime-CUeGxIAS.mjs +6617 -0
  110. package/dist/jsx-runtime-DYxEHXau.cjs +7511 -0
  111. package/dist/markdown/components/index.cjs +13 -7
  112. package/dist/markdown/components/index.d.cts +7 -2
  113. package/dist/markdown/components/index.d.mts +7 -2
  114. package/dist/markdown/components/index.mjs +8 -2
  115. package/dist/markdown/components/markdown-file.cjs +7 -117
  116. package/dist/markdown/components/markdown-file.d.cts +4 -22
  117. package/dist/markdown/components/markdown-file.d.mts +4 -22
  118. package/dist/markdown/components/markdown-file.mjs +5 -114
  119. package/dist/markdown/components/markdown-table.cjs +6 -100
  120. package/dist/markdown/components/markdown-table.d.cts +4 -26
  121. package/dist/markdown/components/markdown-table.d.mts +4 -26
  122. package/dist/markdown/components/markdown-table.mjs +3 -96
  123. package/dist/markdown/contexts/index.cjs +7 -5
  124. package/dist/markdown/contexts/index.d.cts +2 -1
  125. package/dist/markdown/contexts/index.d.mts +2 -1
  126. package/dist/markdown/contexts/index.mjs +3 -1
  127. package/dist/markdown/contexts/markdown-table.cjs +6 -36
  128. package/dist/markdown/contexts/markdown-table.d.cts +1 -36
  129. package/dist/markdown/contexts/markdown-table.d.mts +1 -36
  130. package/dist/markdown/contexts/markdown-table.mjs +2 -31
  131. package/dist/markdown/index.cjs +18 -14
  132. package/dist/markdown/index.d.cts +8 -3
  133. package/dist/markdown/index.d.mts +8 -5
  134. package/dist/markdown/index.mjs +9 -5
  135. package/dist/markdown-file-BMWEBCyl.cjs +127 -0
  136. package/dist/markdown-file-Cfrqc-hN.mjs +115 -0
  137. package/dist/markdown-file-DUSLyCXK.d.cts +23 -0
  138. package/dist/markdown-file-nmspmOXL.d.mts +23 -0
  139. package/dist/markdown-table-BH93E_KU.d.cts +27 -0
  140. package/dist/markdown-table-BOFmeE2m.d.mts +27 -0
  141. package/dist/markdown-table-CBzXYSUb.cjs +56 -0
  142. package/dist/markdown-table-CqyI4NbJ.d.cts +37 -0
  143. package/dist/markdown-table-D7tYGUEd.mjs +97 -0
  144. package/dist/markdown-table-DB3e0UqW.d.mts +37 -0
  145. package/dist/markdown-table-DCJGVRji.mjs +33 -0
  146. package/dist/markdown-table-DJnMnLrC.cjs +116 -0
  147. package/dist/output-BwrSWhh_.cjs +45 -0
  148. package/dist/output-C5E9Yg_M.d.mts +18 -0
  149. package/dist/output-CwItdY-C.mjs +38 -0
  150. package/dist/output-dEdF2_eK.d.cts +18 -0
  151. package/dist/plugin-CB4x_Q7V.d.mts +40 -0
  152. package/dist/plugin-CihR7e46.d.cts +40 -0
  153. package/dist/plugin-CofWgH_d.cjs +0 -0
  154. package/dist/plugin-DYr7uFlI.mjs +1 -0
  155. package/dist/record-expression-AF7Vq6a_.d.cts +12 -0
  156. package/dist/record-expression-B3Ey9GU1.d.mts +12 -0
  157. package/dist/record-expression-BAmHoqT_.mjs +11 -0
  158. package/dist/record-expression-Dib5JNnw.cjs +16 -0
  159. package/dist/refkey-1S6o7FvP.cjs +20 -0
  160. package/dist/refkey-Bde1cIzZ.d.cts +13 -0
  161. package/dist/refkey-JNhwrUqU.d.mts +13 -0
  162. package/dist/refkey-MvGS-pyo.mjs +15 -0
  163. package/dist/reflection-50U0xo4F.d.mts +52 -0
  164. package/dist/reflection-CEg9I3Z-.cjs +107 -0
  165. package/dist/reflection-DdUbSUpz.d.cts +51 -0
  166. package/dist/reflection-rAKwnBc8.mjs +60 -0
  167. package/dist/single-line-comment-BlsLcI_G.d.cts +22 -0
  168. package/dist/single-line-comment-CwrahJhq.d.mts +22 -0
  169. package/dist/single-line-comment-LR74JZLa.mjs +20 -0
  170. package/dist/single-line-comment-LhhrQO3v.cjs +25 -0
  171. package/dist/source-file-B3nELUUN.cjs +62 -0
  172. package/dist/source-file-BhgOu1Wr.d.mts +31 -0
  173. package/dist/source-file-CusamdN4.d.cts +31 -0
  174. package/dist/source-file-CxzTxqAg.mjs +55 -0
  175. package/dist/tsdoc-97Dh6htZ.cjs +575 -0
  176. package/dist/tsdoc-BMyugfPn.d.mts +152 -0
  177. package/dist/tsdoc-D2BVcBJd.mjs +455 -0
  178. package/dist/tsdoc-DWIcbd8M.d.cts +152 -0
  179. package/dist/tsdoc-reflection-B66tRNu1.d.cts +18 -0
  180. package/dist/tsdoc-reflection-BTAFEc-s.cjs +188 -0
  181. package/dist/tsdoc-reflection-CBEWiA-g.d.mts +18 -0
  182. package/dist/tsdoc-reflection-DOgVWcNP.mjs +169 -0
  183. package/dist/type-f5ttv0My.d.mts +3 -0
  184. package/dist/types/components.cjs +1 -0
  185. package/dist/types/components.d.cts +2 -142
  186. package/dist/types/components.d.mts +2 -142
  187. package/dist/types/components.mjs +2 -0
  188. package/dist/types/index.cjs +2 -0
  189. package/dist/types/index.d.cts +3 -2
  190. package/dist/types/index.d.mts +3 -2
  191. package/dist/types/index.mjs +3 -0
  192. package/dist/types/plugin.cjs +1 -0
  193. package/dist/types/plugin.d.cts +2 -41
  194. package/dist/types/plugin.d.mts +2 -41
  195. package/dist/types/plugin.mjs +2 -0
  196. package/dist/typescript/components/builtin-file.cjs +8 -43
  197. package/dist/typescript/components/builtin-file.d.cts +6 -33
  198. package/dist/typescript/components/builtin-file.d.mts +6 -33
  199. package/dist/typescript/components/builtin-file.mjs +7 -41
  200. package/dist/typescript/components/dynamic-import-statement.cjs +3 -24
  201. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
  202. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
  203. package/dist/typescript/components/dynamic-import-statement.mjs +2 -22
  204. package/dist/typescript/components/entry-file.cjs +7 -38
  205. package/dist/typescript/components/entry-file.d.cts +5 -26
  206. package/dist/typescript/components/entry-file.d.mts +5 -26
  207. package/dist/typescript/components/entry-file.mjs +6 -35
  208. package/dist/typescript/components/index.cjs +49 -43
  209. package/dist/typescript/components/index.d.cts +13 -9
  210. package/dist/typescript/components/index.d.mts +14 -9
  211. package/dist/typescript/components/index.mjs +15 -9
  212. package/dist/typescript/components/record-expression.cjs +3 -11
  213. package/dist/typescript/components/record-expression.d.cts +1 -11
  214. package/dist/typescript/components/record-expression.d.mts +1 -11
  215. package/dist/typescript/components/record-expression.mjs +2 -9
  216. package/dist/typescript/components/tsdoc-reflection.cjs +8 -172
  217. package/dist/typescript/components/tsdoc-reflection.d.cts +4 -17
  218. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -17
  219. package/dist/typescript/components/tsdoc-reflection.mjs +5 -168
  220. package/dist/typescript/components/tsdoc.cjs +23 -475
  221. package/dist/typescript/components/tsdoc.d.cts +3 -151
  222. package/dist/typescript/components/tsdoc.d.mts +3 -151
  223. package/dist/typescript/components/tsdoc.mjs +3 -454
  224. package/dist/typescript/components/typescript-file.cjs +8 -192
  225. package/dist/typescript/components/typescript-file.d.cts +4 -46
  226. package/dist/typescript/components/typescript-file.d.mts +4 -46
  227. package/dist/typescript/components/typescript-file.mjs +5 -188
  228. package/dist/typescript/components/typescript-interface.cjs +8 -67
  229. package/dist/typescript/components/typescript-interface.d.cts +3 -23
  230. package/dist/typescript/components/typescript-interface.d.mts +4 -23
  231. package/dist/typescript/components/typescript-interface.mjs +6 -64
  232. package/dist/typescript/components/typescript-object.cjs +8 -124
  233. package/dist/typescript/components/typescript-object.d.cts +3 -24
  234. package/dist/typescript/components/typescript-object.d.mts +4 -24
  235. package/dist/typescript/components/typescript-object.mjs +6 -121
  236. package/dist/typescript/index.cjs +49 -44
  237. package/dist/typescript/index.d.cts +13 -9
  238. package/dist/typescript/index.d.mts +14 -10
  239. package/dist/typescript/index.mjs +15 -10
  240. package/dist/typescript-BXhP0qIJ.mjs +45 -0
  241. package/dist/typescript-BwiYpbhk.cjs +51 -0
  242. package/dist/typescript-DNBFhP72.d.mts +25 -0
  243. package/dist/typescript-YczHz9BQ.d.cts +23 -0
  244. package/dist/typescript-file-BMGxgxo7.cjs +207 -0
  245. package/dist/typescript-file-BqxyTQ52.d.cts +47 -0
  246. package/dist/typescript-file-CAT-CIk2.mjs +189 -0
  247. package/dist/typescript-file-CxDEGozE.d.mts +47 -0
  248. package/dist/typescript-interface-BGdhcY-U.d.cts +24 -0
  249. package/dist/typescript-interface-CTw2F_uD.d.mts +25 -0
  250. package/dist/typescript-interface-CqST5f2X.cjs +79 -0
  251. package/dist/typescript-interface-WZX7BAi8.mjs +66 -0
  252. package/dist/typescript-object-65Ei0RFv.d.cts +25 -0
  253. package/dist/typescript-object-C8Wd0Uhv.d.mts +26 -0
  254. package/dist/typescript-object-D1y6Cvnl.mjs +122 -0
  255. package/dist/typescript-object-KhCP_Nc8.cjs +135 -0
  256. package/package.json +8 -41
  257. package/dist/deepkit/src/utilities.cjs +0 -112
  258. package/dist/deepkit/src/utilities.mjs +0 -108
  259. package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -13
  260. package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -12
  261. package/dist/powerlines/src/types/babel.d.mts +0 -2
  262. package/dist/powerlines/src/types/build.d.cts +0 -145
  263. package/dist/powerlines/src/types/build.d.mts +0 -145
  264. package/dist/powerlines/src/types/commands.d.cts +0 -8
  265. package/dist/powerlines/src/types/commands.d.mts +0 -9
  266. package/dist/powerlines/src/types/config.d.cts +0 -369
  267. package/dist/powerlines/src/types/config.d.mts +0 -369
  268. package/dist/powerlines/src/types/context.d.cts +0 -362
  269. package/dist/powerlines/src/types/context.d.mts +0 -364
  270. package/dist/powerlines/src/types/fs.d.cts +0 -458
  271. package/dist/powerlines/src/types/fs.d.mts +0 -458
  272. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  273. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  274. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  275. package/dist/powerlines/src/types/resolved.d.cts +0 -81
  276. package/dist/powerlines/src/types/resolved.d.mts +0 -81
  277. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  278. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
  279. package/dist/vendor.cjs +0 -12594
  280. package/dist/vendor.d.cts +0 -1
  281. package/dist/vendor.d.ts +0 -1
  282. package/dist/vendor.js +0 -12424
package/dist/index.d.cts CHANGED
@@ -1,29 +1,9 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.cjs";
2
- import { Output, OutputProps, __ΩOutputProps } from "./core/components/output.cjs";
3
- import { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile } from "./types/components.cjs";
4
- import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./core/components/single-line-comment.cjs";
5
- import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./core/components/source-file.cjs";
6
- import { PowerlinesContext, PowerlinesContextInterface, __ΩPowerlinesContextInterface, usePowerlines, usePowerlinesContext } from "./core/contexts/context.cjs";
7
- import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./core/contexts/reflection.cjs";
8
- import { GenerateCapnpOptions, GenerateCapnpStructOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩIOType, __ΩStdioOptions, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue } from "./helpers/capnp.cjs";
9
- import { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin } from "./helpers/create-builtin.cjs";
10
- import { refkey } from "./helpers/refkey.cjs";
11
- import { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject } from "./helpers/typescript.cjs";
12
- import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig } from "./types/plugin.cjs";
13
- import { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps } from "./markdown/components/markdown-file.cjs";
14
- import { MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableContext, MarkdownTableContextInterface, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableContextInterface, useMarkdownTable, useMarkdownTableColumn } from "./markdown/contexts/markdown-table.cjs";
15
- import { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps } from "./markdown/components/markdown-table.cjs";
16
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./typescript/components/tsdoc.cjs";
17
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./typescript/components/typescript-file.cjs";
18
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./typescript/components/builtin-file.cjs";
19
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./typescript/components/dynamic-import-statement.cjs";
20
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./typescript/components/entry-file.cjs";
21
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./typescript/components/record-expression.cjs";
22
- import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./typescript/components/tsdoc-reflection.cjs";
23
- import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./typescript/components/typescript-interface.cjs";
24
- import { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./typescript/components/typescript-object.cjs";
1
+ import { i as Plugin } from "./context-CWt70HA3.cjs";
2
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-CihR7e46.cjs";
3
+ export * from "@alloy-js/core";
25
4
 
26
5
  //#region src/index.d.ts
6
+
27
7
  /**
28
8
  * Alloy-js plugin for Powerlines.
29
9
  *
@@ -32,4 +12,4 @@ import { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyPro
32
12
  */
33
13
  declare const plugin: <TContext extends AlloyPluginContext = AlloyPluginContext>(options?: AlloyPluginOptions) => Plugin<TContext>[];
34
14
  //#endregion
35
- export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, BuiltinFile, BuiltinFileProps, BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, CreateBuiltinOptions, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, Output, OutputDirectory, OutputFile, OutputProps, PowerlinesContext, PowerlinesContextInterface, RecordExpression, RecordExpressionProps, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionOverrideInterface, ReflectionParameterContext, ReflectionPropertyContext, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileHeaderProps, SourceFileProps, StdioOptions, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, WriteOutputFile, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig, __ΩBuiltinFileProps, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩCreateBuiltinOptions, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩMarkdownFileProps, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableColumnProps, __ΩMarkdownTableContextInterface, __ΩMarkdownTableProps, __ΩOutputDirectory, __ΩOutputFile, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩRecordExpressionProps, __ΩReflectionClassContextInterface, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileHeaderProps, __ΩSourceFileProps, __ΩStdioOptions, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps, __ΩWriteOutputFile, compile, createBuiltin, plugin as default, plugin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue, useMarkdownTable, useMarkdownTableColumn, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
15
+ export { plugin as default, plugin };
package/dist/index.d.mts CHANGED
@@ -1,34 +1,9 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.mjs";
2
- import { Output, OutputProps, __ΩOutputProps } from "./core/components/output.mjs";
3
- import { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile } from "./types/components.mjs";
4
- import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./core/components/single-line-comment.mjs";
5
- import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./core/components/source-file.mjs";
6
- import { PowerlinesContext, PowerlinesContextInterface, __ΩPowerlinesContextInterface, usePowerlines, usePowerlinesContext } from "./core/contexts/context.mjs";
7
- import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./core/contexts/reflection.mjs";
8
- import "./core/index.mjs";
9
- import { GenerateCapnpOptions, GenerateCapnpStructOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩIOType, __ΩStdioOptions, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue } from "./helpers/capnp.mjs";
10
- import { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin } from "./helpers/create-builtin.mjs";
11
- import { refkey } from "./helpers/refkey.mjs";
12
- import { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject } from "./helpers/typescript.mjs";
13
- import "./helpers/index.mjs";
14
- import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig } from "./types/plugin.mjs";
15
- import { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps } from "./markdown/components/markdown-file.mjs";
16
- import { MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableContext, MarkdownTableContextInterface, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableContextInterface, useMarkdownTable, useMarkdownTableColumn } from "./markdown/contexts/markdown-table.mjs";
17
- import { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps } from "./markdown/components/markdown-table.mjs";
18
- import "./markdown/index.mjs";
19
- import "./types/index.mjs";
20
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./typescript/components/tsdoc.mjs";
21
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./typescript/components/typescript-file.mjs";
22
- import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./typescript/components/builtin-file.mjs";
23
- import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./typescript/components/dynamic-import-statement.mjs";
24
- import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./typescript/components/entry-file.mjs";
25
- import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./typescript/components/record-expression.mjs";
26
- import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./typescript/components/tsdoc-reflection.mjs";
27
- import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./typescript/components/typescript-interface.mjs";
28
- import { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./typescript/components/typescript-object.mjs";
29
- import "./typescript/index.mjs";
1
+ import { i as Plugin } from "./context-BRIdBgyT.mjs";
2
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-CB4x_Q7V.mjs";
3
+ export * from "@alloy-js/core";
30
4
 
31
5
  //#region src/index.d.ts
6
+
32
7
  /**
33
8
  * Alloy-js plugin for Powerlines.
34
9
  *
@@ -37,4 +12,4 @@ import "./typescript/index.mjs";
37
12
  */
38
13
  declare const plugin: <TContext extends AlloyPluginContext = AlloyPluginContext>(options?: AlloyPluginOptions) => Plugin<TContext>[];
39
14
  //#endregion
40
- export { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig, BuiltinFile, BuiltinFileProps, BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, CreateBuiltinOptions, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnContextInterface, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableContext, MarkdownTableContextInterface, MarkdownTableProps, Output, OutputDirectory, OutputFile, OutputProps, PowerlinesContext, PowerlinesContextInterface, RecordExpression, RecordExpressionProps, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionOverrideInterface, ReflectionParameterContext, ReflectionPropertyContext, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileHeaderProps, SourceFileProps, StdioOptions, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, WriteOutputFile, __ΩAlloyPluginContext, __ΩAlloyPluginOptions, __ΩAlloyPluginResolvedConfig, __ΩAlloyPluginUserConfig, __ΩBuiltinFileProps, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩCreateBuiltinOptions, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩMarkdownFileProps, __ΩMarkdownTableColumnContextInterface, __ΩMarkdownTableColumnProps, __ΩMarkdownTableContextInterface, __ΩMarkdownTableProps, __ΩOutputDirectory, __ΩOutputFile, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩRecordExpressionProps, __ΩReflectionClassContextInterface, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileHeaderProps, __ΩSourceFileProps, __ΩStdioOptions, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps, __ΩWriteOutputFile, compile, createBuiltin, plugin as default, plugin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue, useMarkdownTable, useMarkdownTableColumn, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
15
+ export { plugin as default, plugin };
package/dist/index.mjs CHANGED
@@ -1,37 +1,13 @@
1
- import { PowerlinesContext, usePowerlines, usePowerlinesContext } from "./core/contexts/context.mjs";
2
- import { Output } from "./core/components/output.mjs";
3
- import { SingleLineComment } from "./core/components/single-line-comment.mjs";
4
- import { SourceFile } from "./core/components/source-file.mjs";
5
- import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./core/contexts/reflection.mjs";
6
- import "./core/index.mjs";
7
- import { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue } from "./helpers/capnp.mjs";
8
- import { createBuiltin } from "./helpers/create-builtin.mjs";
9
- import { refkey } from "./helpers/refkey.mjs";
10
- import { generateTypeScriptObject } from "./helpers/typescript.mjs";
11
- import "./helpers/index.mjs";
12
- import { MarkdownFile, MarkdownFileHeader } from "./markdown/components/markdown-file.mjs";
13
- import { MarkdownTableColumnContext, MarkdownTableContext, useMarkdownTable, useMarkdownTableColumn } from "./markdown/contexts/markdown-table.mjs";
14
- import { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader } from "./markdown/components/markdown-table.mjs";
15
- import "./markdown/index.mjs";
16
- import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle } from "./typescript/components/tsdoc.mjs";
17
- import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./typescript/components/typescript-file.mjs";
18
- import { BuiltinFile } from "./typescript/components/builtin-file.mjs";
19
- import { DynamicImportStatement } from "./typescript/components/dynamic-import-statement.mjs";
20
- import { EntryFile } from "./typescript/components/entry-file.mjs";
21
- import { RecordExpression } from "./typescript/components/record-expression.mjs";
22
- import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./typescript/components/tsdoc-reflection.mjs";
23
- import { TypeScriptInterface, TypescriptInterfaceProperty } from "./typescript/components/typescript-interface.mjs";
24
- import { TypescriptObject, TypescriptObjectProperty } from "./typescript/components/typescript-object.mjs";
25
- import "./typescript/index.mjs";
26
- import { createComponent } from "@alloy-js/core/jsx-runtime";
27
- import { flushJobsAsync, getContextForRenderNode, isPrintHook, renderTree } from "@alloy-js/core";
1
+ import { $ as TemplateVariable, $n as flushJobs, $t as traverseOutput, A as getContextForRenderNode, An as isIntrinsicElement, At as ReactiveUnionSet, B as renderTree, Bn as untrack, Bt as SourceFileContext, C as createSymbolSlot, Cn as useContext, Ct as BasicSymbol, D as takeSymbols, Dn as sti, Dt as OutputDeclarationSpace, E as moveTakenMembersTo, En as text, Et as OutputScope, F as printRenderStack, Fn as isCustomContext, Ft as createContentSlot, G as TO_SYMBOL, Gn as isRefkey, Gt as children, H as sourceFilesForTreeAsync, Hn as inspectRefkey, Ht as createFormatOptionsContextFor, I as printTree, In as memo, It as AppendFile, J as createAssignmentContext, Jn as memberRefkey, Jt as findKeyedChildren, K as isLibrarySymbolReference, Kn as isRefkeyable, Kt as childrenArray, L as pushStack, Ln as onCleanup, Lt as AppendRegion, M as notifyContentState, Mn as effect, Mt as CopyFile, N as popStack, Nn as getContext, Nt as Block, O as decl, On as createIntrinsic, Ot as OutputMemberSpace, P as printHookTag, Pn as getElementCache, Pt as Indent, Q as TemplateFile, Qn as unresolvedRefkey, Qt as mapJoin, R as render, Rn as refId, Rt as SourceFile, S as createTap, Sn as createNamedContext, St as Declaration, T as instantiateTakenMembersTo, Tn as code, Tt as BasicScope, U as shouldDebug, Un as isMemberRefkey, Ut as useFormatOptions, V as sourceFilesForTree, Vn as REFKEYABLE, Vt as FormatOptions, W as createNamePolicy, Wn as isNamekey, Wt as baseListPropsToMapJoinArgs, X as Wrap, Xn as refkey, Xt as isKeyedChild, Y as getAssignmentSymbol, Yn as namekey, Yt as findUnkeyedChildren, Z as UpdateFile, Zn as toRefkey, Zt as join, _ as writeOutput, _n as useMemberContext, _t as List, a as isReactive, an as createFileResource, at as Prose, b as createScopeTap, bn as contextsByKey, bt as splitProps, c as ref, cn as createOutputBinder, ct as NamePolicyContext, d as toRaw, dn as resolve, dt as MemberScope, en as RENDERABLE, er as flushJobsAsync, et as Match, f as toRef, fn as symbolForRefkey, ft as Scope, g as watch, gn as MemberContext, gt as useMemberDeclaration, h as trigger, hn as useScope, ht as MemberDeclarationContext, i as isProxy, in as taggedComponent, it as ReferenceOrContent, j as isPrintHook, jn as createCustomContext, jt as DeclarationContext, k as createRenderTreeHook, kn as intrinsicElementKey, kt as SymbolTable, l as shallowReactive, ln as getSymbolCreator, lt as useNamePolicy, m as track, mn as useMemberScope, mt as MemberDeclaration, n as TriggerOpTypes, nn as isComponentCreator, nr as scheduler, nt as matchTag, o as isRef, on as createResource, ot as Output, p as toRefs, pn as ScopeContext, pt as MemberName, q as AssignmentContext, qn as isSymbolRefkey, qt as findKeyedChild, r as computed, rn as isRenderableObject, rr as trackPromise, rt as StatementList, s as reactive, sn as SourceDirectoryContext, st as SourceDirectory, t as TrackOpTypes, tn as createComponent, tr as queueJob, tt as Switch, u as shallowRef, un as getSymbolCreatorSymbol, ut as Name, v as createDeclarationTap, vn as BinderContext, vt as defaultProps, w as emitSymbol, wn as stc, wt as OutputSymbol, x as createSourceFileTap, xn as createContext, xt as For, y as createMemberTap, yn as useBinder, yt as mergeProps, z as renderAsync, zn as root, zt as Show } from "./jsx-runtime-CUeGxIAS.mjs";
2
+ import "./context-uyV_b5LD.mjs";
3
+ import { t as Output$1 } from "./output-CwItdY-C.mjs";
4
+ import { printer } from "prettier/doc.js";
28
5
  import alloy from "@alloy-js/rollup-plugin";
29
6
  import { LogLevelLabel } from "@storm-software/config-tools/types";
30
7
  import { StormJSON } from "@stryke/json/storm-json";
31
8
  import { isParentPath } from "@stryke/path/is-parent-path";
32
9
  import { replacePath } from "@stryke/path/replace";
33
10
  import { isSetString } from "@stryke/type-checks/is-set-string";
34
- import { printer } from "prettier/doc.js";
35
11
 
36
12
  //#region src/index.tsx
37
13
  /**
@@ -55,13 +31,7 @@ const plugin = (options = {}) => {
55
31
  pragma: "Alloy.createElement",
56
32
  importSource: "@alloy-js/core"
57
33
  } } },
58
- plugins: [alloy()],
59
- alias: { "@alloy-js/core": "@powerlines/plugin-alloy/vendor" },
60
- external: [
61
- "@alloy-js/core",
62
- "@vue/reactivity",
63
- "@vue/shared"
64
- ]
34
+ plugins: [alloy()]
65
35
  }
66
36
  };
67
37
  },
@@ -76,20 +46,27 @@ const plugin = (options = {}) => {
76
46
  if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
77
47
  if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
78
48
  if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
49
+ },
50
+ resolveId(id) {
51
+ if (id === "@alloy-js/core") return {
52
+ id: "@powerlines/plugin-alloy",
53
+ external: true
54
+ };
55
+ return null;
79
56
  }
80
57
  }, {
81
58
  name: "alloy:update-context",
82
59
  configResolved: {
83
60
  order: "pre",
84
61
  async handler() {
85
- this.render = async (children) => {
62
+ this.render = async (children$1) => {
86
63
  const _self$ = this;
87
- const tree = renderTree(createComponent(Output, {
64
+ const tree = renderTree(createComponent(Output$1, {
88
65
  context: _self$,
89
66
  get basePath() {
90
67
  return _self$.workspaceConfig.workspaceRoot;
91
68
  },
92
- children
69
+ children: children$1
93
70
  }));
94
71
  await writeTree(this, tree, this.config.alloy);
95
72
  };
@@ -107,12 +84,12 @@ var src_default = plugin;
107
84
  async function writeTree(context, tree, options = {}) {
108
85
  await flushJobsAsync();
109
86
  let result;
110
- const generateOutput = async (currentDirectory, root) => {
111
- if (!Array.isArray(root)) return;
87
+ const generateOutput = async (currentDirectory, root$1) => {
88
+ if (!Array.isArray(root$1)) return;
112
89
  const recurse = async (cwd) => {
113
- for (const child of root) await generateOutput(cwd, child);
90
+ for (const child of root$1) await generateOutput(cwd, child);
114
91
  };
115
- const renderContext = getContextForRenderNode(root);
92
+ const renderContext = getContextForRenderNode(root$1);
116
93
  if (!renderContext) return recurse(currentDirectory);
117
94
  if (renderContext.meta?.directory) {
118
95
  const directory = {
@@ -135,7 +112,7 @@ async function writeTree(context, tree, options = {}) {
135
112
  path: replacePath(renderContext.meta.sourceFile.path, context.builtinsPath),
136
113
  filetype: renderContext.meta.sourceFile.filetype,
137
114
  preset: renderContext.meta.output?.mode,
138
- contents: await printTree(context, root, options)
115
+ contents: await printTree$1(context, root$1, options)
139
116
  };
140
117
  } else if (renderContext.meta?.entry || isParentPath(context.entryPath, renderContext.meta.sourceFile.path)) {
141
118
  context.log(LogLevelLabel.TRACE, `Rendering entry module at path: ${renderContext.meta.sourceFile.path}`);
@@ -145,7 +122,7 @@ async function writeTree(context, tree, options = {}) {
145
122
  path: renderContext.meta.sourceFile.path,
146
123
  filetype: renderContext.meta.sourceFile.filetype,
147
124
  preset: renderContext.meta.output?.mode,
148
- contents: await printTree(context, root, options)
125
+ contents: await printTree$1(context, root$1, options)
149
126
  };
150
127
  } else {
151
128
  context.log(LogLevelLabel.TRACE, `Rendering source file at path: ${renderContext.meta.sourceFile.path}`);
@@ -154,7 +131,7 @@ async function writeTree(context, tree, options = {}) {
154
131
  path: renderContext.meta.sourceFile.path,
155
132
  filetype: renderContext.meta.sourceFile.filetype,
156
133
  preset: renderContext.meta.output?.mode,
157
- contents: await printTree(context, root, options)
134
+ contents: await printTree$1(context, root$1, options)
158
135
  };
159
136
  }
160
137
  currentDirectory.contents.push(outputFile);
@@ -172,8 +149,8 @@ async function writeTree(context, tree, options = {}) {
172
149
  } else await recurse(currentDirectory);
173
150
  };
174
151
  await generateOutput(void 0, tree);
175
- const writeOutput = async (context$1, output) => {
176
- for (const sub of output.contents) if (sub.kind === "directory") await writeOutput(context$1, sub);
152
+ const writeOutput$1 = async (context$1, output) => {
153
+ for (const sub of output.contents) if (sub.kind === "directory") await writeOutput$1(context$1, sub);
177
154
  else if (sub.kind === "builtin") await context$1.emitBuiltin(sub.contents, sub.id, sub.path);
178
155
  else if (sub.kind === "entry") await context$1.emitEntry(sub.contents, sub.path, sub.typeDefinition);
179
156
  else if (sub.kind === "file") if ("sourcePath" in sub && sub.sourcePath) {
@@ -184,9 +161,9 @@ async function writeTree(context, tree, options = {}) {
184
161
  } else if ("contents" in sub && isSetString(sub.contents)) await context$1.fs.write(sub.path, sub.contents);
185
162
  else throw new Error(`Unexpected output extracted from the render tree: \n\n${JSON.stringify(sub, null, 2)}`);
186
163
  };
187
- await writeOutput(context, result);
164
+ await writeOutput$1(context, result);
188
165
  }
189
- async function printTree(context, tree, options = {}) {
166
+ async function printTree$1(context, tree, options = {}) {
190
167
  options.printWidth ??= 160;
191
168
  options.tabWidth ??= 2;
192
169
  options.useTabs ??= false;
@@ -206,4 +183,4 @@ function printTreeWorker(tree) {
206
183
  }
207
184
 
208
185
  //#endregion
209
- export { BuiltinFile, DynamicImportStatement, EntryFile, LARGE_BUFFER, MarkdownFile, MarkdownFileHeader, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnContext, MarkdownTableColumnHeader, MarkdownTableContext, Output, PowerlinesContext, RecordExpression, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeScriptInterface, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptInterfaceProperty, TypescriptObject, TypescriptObjectProperty, compile, createBuiltin, src_default as default, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, plugin, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue, useMarkdownTable, useMarkdownTableColumn, usePowerlines, usePowerlinesContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
186
+ export { AppendFile, AppendRegion, AssignmentContext, BasicScope, BasicSymbol, BinderContext, Block, CopyFile, Declaration, DeclarationContext, For, FormatOptions, Indent, List, Match, MemberContext, MemberDeclaration, MemberDeclarationContext, MemberName, MemberScope, Name, NamePolicyContext, Output, OutputDeclarationSpace, OutputMemberSpace, OutputScope, OutputSymbol, Prose, REFKEYABLE, RENDERABLE, ReactiveUnionSet, ReferenceOrContent, Scope, ScopeContext, Show, SourceDirectory, SourceDirectoryContext, SourceFile, SourceFileContext, StatementList, Switch, SymbolTable, TO_SYMBOL, TemplateFile, TemplateVariable, TrackOpTypes, TriggerOpTypes, UpdateFile, Wrap, baseListPropsToMapJoinArgs, children, childrenArray, code, computed, contextsByKey, createAssignmentContext, createComponent, createContentSlot, createContext, createCustomContext, createDeclarationTap, createFileResource, createFormatOptionsContextFor, createIntrinsic, createMemberTap, createNamePolicy, createNamedContext, createOutputBinder, createRenderTreeHook, createResource, createScopeTap, createSourceFileTap, createSymbolSlot, createTap, decl, src_default as default, defaultProps, effect, emitSymbol, findKeyedChild, findKeyedChildren, findUnkeyedChildren, flushJobs, flushJobsAsync, getAssignmentSymbol, getContext, getContextForRenderNode, getElementCache, getSymbolCreator, getSymbolCreatorSymbol, inspectRefkey, instantiateTakenMembersTo, intrinsicElementKey, isComponentCreator, isCustomContext, isIntrinsicElement, isKeyedChild, isLibrarySymbolReference, isMemberRefkey, isNamekey, isPrintHook, isProxy, isReactive, isRef, isRefkey, isRefkeyable, isRenderableObject, isSymbolRefkey, join, mapJoin, matchTag, memberRefkey, memo, mergeProps, moveTakenMembersTo, namekey, notifyContentState, onCleanup, plugin, popStack, printHookTag, printRenderStack, printTree, pushStack, queueJob, reactive, ref, refId, refkey, render, renderAsync, renderTree, resolve, root, scheduler, shallowReactive, shallowRef, shouldDebug, sourceFilesForTree, sourceFilesForTreeAsync, splitProps, stc, sti, symbolForRefkey, taggedComponent, takeSymbols, text, toRaw, toRef, toRefkey, toRefs, track, trackPromise, traverseOutput, trigger, unresolvedRefkey, untrack, useBinder, useContext, useFormatOptions, useMemberContext, useMemberDeclaration, useMemberScope, useNamePolicy, useScope, watch, writeOutput };