@powerlines/plugin-alloy 0.19.26 → 0.19.28

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 (326) hide show
  1. package/dist/{builtin-file-B8Y36s1a.mjs → builtin-file-BJwCniGZ.mjs} +4 -4
  2. package/dist/{builtin-file-B8Y36s1a.mjs.map → builtin-file-BJwCniGZ.mjs.map} +1 -1
  3. package/dist/{builtin-file-xc-QSTiJ.d.mts → builtin-file-CzxGDjwC.d.mts} +3 -3
  4. package/dist/{builtin-file-PDckmfzE.d.cts.map → builtin-file-CzxGDjwC.d.mts.map} +1 -1
  5. package/dist/{builtin-file-PDckmfzE.d.cts → builtin-file-RIBYvoCN.d.cts} +3 -3
  6. package/dist/{builtin-file-q7bTHn0Z.d.mts.map → builtin-file-RIBYvoCN.d.cts.map} +1 -1
  7. package/dist/{capnp-CLxcoMcG.d.mts → capnp-BfsEWHU2.d.cts} +2 -2
  8. package/dist/{capnp-CLxcoMcG.d.mts.map → capnp-BfsEWHU2.d.cts.map} +1 -1
  9. package/dist/{capnp-DbPtfpg2.d.cts → capnp-DcnwPttP.d.mts} +2 -2
  10. package/dist/{capnp-DbPtfpg2.d.cts.map → capnp-DcnwPttP.d.mts.map} +1 -1
  11. package/dist/{capnp-CPbob9Cm.mjs → capnp-XK1IvfIR.mjs} +1 -1
  12. package/dist/{capnp-CPbob9Cm.mjs.map → capnp-XK1IvfIR.mjs.map} +1 -1
  13. package/dist/{components-DqfyRVFO.d.cts → components-DPPi58b5.d.cts} +1 -1
  14. package/dist/{components-DqfyRVFO.d.cts.map → components-DPPi58b5.d.cts.map} +1 -1
  15. package/dist/{components-REdw2IIi.d.mts → components-oHSM7vmp.d.mts} +1 -1
  16. package/dist/{components-REdw2IIi.d.mts.map → components-oHSM7vmp.d.mts.map} +1 -1
  17. package/dist/{context-Cfj0Wk3u.d.cts → context-C-CzW-8C.d.mts} +1 -1
  18. package/dist/{context-Cfj0Wk3u.d.cts.map → context-C-CzW-8C.d.mts.map} +1 -1
  19. package/dist/{context-zWXy6keQ.d.mts → context-CiHsTXX7.d.cts} +1 -1
  20. package/dist/{context-zWXy6keQ.d.mts.map → context-CiHsTXX7.d.cts.map} +1 -1
  21. package/dist/{context-BaVJCPfX.mjs → context-DIUW4n33.mjs} +1 -1
  22. package/dist/{context-BaVJCPfX.mjs.map → context-DIUW4n33.mjs.map} +1 -1
  23. package/dist/core/components/index.d.cts +5 -5
  24. package/dist/core/components/index.d.mts +5 -5
  25. package/dist/core/components/index.mjs +6 -6
  26. package/dist/core/components/output.d.cts +1 -1
  27. package/dist/core/components/output.d.mts +1 -1
  28. package/dist/core/components/output.mjs +2 -2
  29. package/dist/core/components/single-line-comment.d.cts +2 -2
  30. package/dist/core/components/single-line-comment.d.mts +2 -2
  31. package/dist/core/components/single-line-comment.mjs +1 -1
  32. package/dist/core/components/source-file.d.cts +2 -2
  33. package/dist/core/components/source-file.d.mts +2 -2
  34. package/dist/core/components/source-file.mjs +2 -2
  35. package/dist/core/contexts/context.d.cts +1 -1
  36. package/dist/core/contexts/context.d.mts +1 -1
  37. package/dist/core/contexts/context.mjs +1 -1
  38. package/dist/core/contexts/index.d.cts +5 -5
  39. package/dist/core/contexts/index.d.mts +5 -5
  40. package/dist/core/contexts/index.mjs +4 -4
  41. package/dist/core/contexts/meta.d.cts +1 -1
  42. package/dist/core/contexts/meta.d.mts +1 -1
  43. package/dist/core/contexts/meta.mjs +1 -1
  44. package/dist/core/contexts/reflection.d.cts +2 -2
  45. package/dist/core/contexts/reflection.d.mts +2 -2
  46. package/dist/core/contexts/reflection.mjs +1 -1
  47. package/dist/core/index.d.cts +10 -9
  48. package/dist/core/index.d.mts +10 -9
  49. package/dist/core/index.mjs +8 -8
  50. package/dist/{create-builtin-Bpswa0ZT.d.cts → create-builtin-BvtcWfWV.d.mts} +1 -1
  51. package/dist/{create-builtin-Bpswa0ZT.d.cts.map → create-builtin-BvtcWfWV.d.mts.map} +1 -1
  52. package/dist/{create-builtin-Be3J_vqf.mjs → create-builtin-C4n9BYjY.mjs} +1 -1
  53. package/dist/{create-builtin-Be3J_vqf.mjs.map → create-builtin-C4n9BYjY.mjs.map} +1 -1
  54. package/dist/{create-builtin-CbEjJreB.d.mts → create-builtin-CI8g-abA.d.cts} +1 -1
  55. package/dist/{create-builtin-CbEjJreB.d.mts.map → create-builtin-CI8g-abA.d.cts.map} +1 -1
  56. package/dist/{dynamic-import-statement-BgLOAe4B.d.cts → dynamic-import-statement-0zTc2EEO.d.cts} +3 -3
  57. package/dist/{dynamic-import-statement-BgLOAe4B.d.cts.map → dynamic-import-statement-0zTc2EEO.d.cts.map} +1 -1
  58. package/dist/{dynamic-import-statement-B4Ov9C7y.mjs → dynamic-import-statement-BVggdOVL.mjs} +1 -1
  59. package/dist/{dynamic-import-statement-B4Ov9C7y.mjs.map → dynamic-import-statement-BVggdOVL.mjs.map} +1 -1
  60. package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-pdjThvwh.d.mts} +1 -1
  61. package/dist/{dynamic-import-statement-C7f6CN_b.d.mts.map → dynamic-import-statement-pdjThvwh.d.mts.map} +1 -1
  62. package/dist/{entry-file-CmJcd0C4.d.mts → entry-file-BW-opsS0.d.mts} +4 -4
  63. package/dist/{entry-file-CmJcd0C4.d.mts.map → entry-file-BW-opsS0.d.mts.map} +1 -1
  64. package/dist/{entry-file-DVU9IAeI.d.cts → entry-file-Dsx2DfkL.d.cts} +4 -4
  65. package/dist/{entry-file-DVU9IAeI.d.cts.map → entry-file-Dsx2DfkL.d.cts.map} +1 -1
  66. package/dist/{entry-file-DzlSog-0.mjs → entry-file-P5n-ofhK.mjs} +3 -3
  67. package/dist/{entry-file-DzlSog-0.mjs.map → entry-file-P5n-ofhK.mjs.map} +1 -1
  68. package/dist/{front-matter-CXfCT8a8.d.mts → front-matter-BZuLGCXi.d.mts} +1 -1
  69. package/dist/{front-matter-CXfCT8a8.d.mts.map → front-matter-BZuLGCXi.d.mts.map} +1 -1
  70. package/dist/{front-matter-BeTG0uJA.mjs → front-matter-Dzh6QhN-.mjs} +1 -1
  71. package/dist/{front-matter-BeTG0uJA.mjs.map → front-matter-Dzh6QhN-.mjs.map} +1 -1
  72. package/dist/{front-matter-DpKD40Zz.d.cts → front-matter-tYvUQe2w.d.cts} +3 -3
  73. package/dist/{front-matter-DpKD40Zz.d.cts.map → front-matter-tYvUQe2w.d.cts.map} +1 -1
  74. package/dist/helpers/capnp.d.cts +1 -1
  75. package/dist/helpers/capnp.d.mts +1 -1
  76. package/dist/helpers/capnp.mjs +1 -1
  77. package/dist/helpers/create-builtin.d.cts +1 -1
  78. package/dist/helpers/create-builtin.d.mts +1 -1
  79. package/dist/helpers/create-builtin.mjs +1 -1
  80. package/dist/helpers/index.d.cts +4 -4
  81. package/dist/helpers/index.d.mts +4 -4
  82. package/dist/helpers/index.mjs +4 -4
  83. package/dist/helpers/refkey.d.cts +1 -1
  84. package/dist/helpers/refkey.d.mts +1 -1
  85. package/dist/helpers/refkey.mjs +1 -1
  86. package/dist/helpers/typescript.d.cts +1 -1
  87. package/dist/helpers/typescript.d.mts +1 -1
  88. package/dist/helpers/typescript.mjs +1 -1
  89. package/dist/index-sViox9YW.d.mts +1 -0
  90. package/dist/index-uY8Qbwfx.d.mts +1 -0
  91. package/dist/index.cjs +31 -24
  92. package/dist/index.d.cts +1 -1
  93. package/dist/index.d.cts.map +1 -1
  94. package/dist/index.d.mts +1 -1
  95. package/dist/index.d.mts.map +1 -1
  96. package/dist/index.mjs +32 -25
  97. package/dist/index.mjs.map +1 -1
  98. package/dist/markdown/components/front-matter.d.cts +1 -1
  99. package/dist/markdown/components/front-matter.d.mts +1 -1
  100. package/dist/markdown/components/front-matter.mjs +1 -1
  101. package/dist/markdown/components/index.d.cts +7 -7
  102. package/dist/markdown/components/index.d.mts +7 -7
  103. package/dist/markdown/components/index.mjs +9 -9
  104. package/dist/markdown/components/markdown-file.d.cts +4 -4
  105. package/dist/markdown/components/markdown-file.d.mts +4 -4
  106. package/dist/markdown/components/markdown-file.mjs +6 -6
  107. package/dist/markdown/components/markdown-table.d.cts +3 -3
  108. package/dist/markdown/components/markdown-table.d.mts +3 -3
  109. package/dist/markdown/components/markdown-table.mjs +2 -2
  110. package/dist/markdown/contexts/index.d.cts +2 -2
  111. package/dist/markdown/contexts/index.d.mts +2 -2
  112. package/dist/markdown/contexts/index.mjs +2 -2
  113. package/dist/markdown/contexts/markdown-table.d.cts +1 -1
  114. package/dist/markdown/contexts/markdown-table.d.mts +1 -1
  115. package/dist/markdown/contexts/markdown-table.mjs +1 -1
  116. package/dist/markdown/index.d.cts +8 -8
  117. package/dist/markdown/index.d.mts +8 -8
  118. package/dist/markdown/index.mjs +10 -10
  119. package/dist/{markdown-file-CwMc-alS.d.cts → markdown-file-BDq010LJ.d.mts} +4 -4
  120. package/dist/{markdown-file-B1dmnZ6l.d.mts.map → markdown-file-BDq010LJ.d.mts.map} +1 -1
  121. package/dist/{markdown-file-B1dmnZ6l.d.mts → markdown-file-Cne2IAsX.d.cts} +4 -4
  122. package/dist/{markdown-file-BdgX4c0b.d.cts.map → markdown-file-Cne2IAsX.d.cts.map} +1 -1
  123. package/dist/{markdown-file-DLIS2yeG.mjs → markdown-file-DmarbNrj.mjs} +5 -5
  124. package/dist/{markdown-file-DLIS2yeG.mjs.map → markdown-file-DmarbNrj.mjs.map} +1 -1
  125. package/dist/{markdown-table-PT2TFFY3.mjs → markdown-table-BKaAfa6u.mjs} +1 -1
  126. package/dist/{markdown-table-PT2TFFY3.mjs.map → markdown-table-BKaAfa6u.mjs.map} +1 -1
  127. package/dist/{markdown-table-CnEur72Z.mjs → markdown-table-CRVCcmmS.mjs} +2 -2
  128. package/dist/{markdown-table-CnEur72Z.mjs.map → markdown-table-CRVCcmmS.mjs.map} +1 -1
  129. package/dist/{markdown-table-t6Z-cmxX.d.mts → markdown-table-DIfM03TF.d.mts} +1 -1
  130. package/dist/{markdown-table-CZMEY6IR.d.cts.map → markdown-table-DIfM03TF.d.mts.map} +1 -1
  131. package/dist/{markdown-table-CZMEY6IR.d.cts → markdown-table-Dxxupt8O.d.cts} +1 -1
  132. package/dist/{markdown-table-t6Z-cmxX.d.mts.map → markdown-table-Dxxupt8O.d.cts.map} +1 -1
  133. package/dist/{markdown-table-Cv6HmRUB.d.cts → markdown-table-Dynt50_5.d.mts} +3 -3
  134. package/dist/{markdown-table-BVtAeDoa.d.mts.map → markdown-table-Dynt50_5.d.mts.map} +1 -1
  135. package/dist/{markdown-table-D5Tg3LLV.d.cts → markdown-table-xZyyTn4L.d.cts} +7 -7
  136. package/dist/{markdown-table-Cv6HmRUB.d.cts.map → markdown-table-xZyyTn4L.d.cts.map} +1 -1
  137. package/dist/{meta-DDwBNdE3.d.cts → meta-CyClLk1y.d.mts} +1 -1
  138. package/dist/{meta-DDwBNdE3.d.cts.map → meta-CyClLk1y.d.mts.map} +1 -1
  139. package/dist/{meta-BuwJuxY9.mjs → meta-vNWUnnLO.mjs} +1 -1
  140. package/dist/{meta-BuwJuxY9.mjs.map → meta-vNWUnnLO.mjs.map} +1 -1
  141. package/dist/{meta-RtOYCV7t.d.mts → meta-xgVuv08y.d.cts} +1 -1
  142. package/dist/{meta-RtOYCV7t.d.mts.map → meta-xgVuv08y.d.cts.map} +1 -1
  143. package/dist/{output-BehYSTRr.mjs → output-CUxfvVVp.mjs} +2 -2
  144. package/dist/{output-BehYSTRr.mjs.map → output-CUxfvVVp.mjs.map} +1 -1
  145. package/dist/{output-gLuHZTGo.d.mts → output-CqvSLPi0.d.mts} +1 -1
  146. package/dist/{output-Law_SUlM.d.mts.map → output-CqvSLPi0.d.mts.map} +1 -1
  147. package/dist/{output-CIKSJjPS.d.cts → output-t88bpsXq.d.cts} +3 -3
  148. package/dist/{output-CGYPi1rL.d.cts.map → output-t88bpsXq.d.cts.map} +1 -1
  149. package/dist/{plugin-C-cbPXaG.d.cts → plugin-aN6BnM8T.d.cts} +1 -1
  150. package/dist/{plugin-C-cbPXaG.d.cts.map → plugin-aN6BnM8T.d.cts.map} +1 -1
  151. package/dist/{plugin-Dn0UNaQ3.d.mts → plugin-c-C_CW4P.d.mts} +1 -1
  152. package/dist/{plugin-Dn0UNaQ3.d.mts.map → plugin-c-C_CW4P.d.mts.map} +1 -1
  153. package/dist/{record-expression-ChoLAsVS.d.mts → record-expression-B4Wa9HOn.d.cts} +1 -1
  154. package/dist/{record-expression-ChoLAsVS.d.mts.map → record-expression-B4Wa9HOn.d.cts.map} +1 -1
  155. package/dist/{record-expression-D5W72rZN.mjs → record-expression-BHpXe3mY.mjs} +1 -1
  156. package/dist/{record-expression-D5W72rZN.mjs.map → record-expression-BHpXe3mY.mjs.map} +1 -1
  157. package/dist/{record-expression-Dwg_PZpg.d.cts → record-expression-DYCDlTyT.d.mts} +1 -1
  158. package/dist/{record-expression-Dwg_PZpg.d.cts.map → record-expression-DYCDlTyT.d.mts.map} +1 -1
  159. package/dist/{refkey-D6OjgKgS.d.mts → refkey-CqkD5Tjp.d.mts} +1 -1
  160. package/dist/refkey-CqkD5Tjp.d.mts.map +1 -0
  161. package/dist/{refkey-CQVHeuAq.mjs → refkey-CyhX8n2z.mjs} +1 -1
  162. package/dist/{refkey-CQVHeuAq.mjs.map → refkey-CyhX8n2z.mjs.map} +1 -1
  163. package/dist/{refkey-CP7MJMac.d.cts → refkey-DqDd2Fzs.d.cts} +1 -1
  164. package/dist/refkey-DqDd2Fzs.d.cts.map +1 -0
  165. package/dist/{reflection-BumisltV.d.mts → reflection-CAz7PWzK.d.mts} +2 -2
  166. package/dist/{reflection-I2Uewhuo.d.cts.map → reflection-CAz7PWzK.d.mts.map} +1 -1
  167. package/dist/{reflection-Btb1NqwS.mjs → reflection-ExLWJ473.mjs} +1 -1
  168. package/dist/{reflection-Btb1NqwS.mjs.map → reflection-ExLWJ473.mjs.map} +1 -1
  169. package/dist/{reflection-I2Uewhuo.d.cts → reflection-JGVev2J6.d.cts} +2 -2
  170. package/dist/{reflection-BumisltV.d.mts.map → reflection-JGVev2J6.d.cts.map} +1 -1
  171. package/dist/{single-line-comment-C4oS5eSd.d.mts → single-line-comment-B0sVqs7Q.d.cts} +2 -2
  172. package/dist/{single-line-comment-C4oS5eSd.d.mts.map → single-line-comment-B0sVqs7Q.d.cts.map} +1 -1
  173. package/dist/{single-line-comment-MRVbskt3.mjs → single-line-comment-CGkTdNez.mjs} +1 -1
  174. package/dist/{single-line-comment-MRVbskt3.mjs.map → single-line-comment-CGkTdNez.mjs.map} +1 -1
  175. package/dist/{single-line-comment-DWXxACyy.d.cts → single-line-comment-PMv_zrfe.d.mts} +2 -2
  176. package/dist/{single-line-comment-DWXxACyy.d.cts.map → single-line-comment-PMv_zrfe.d.mts.map} +1 -1
  177. package/dist/{source-file-YrHdUb8H.d.mts → source-file-Bfny_Zo3.d.mts} +4 -4
  178. package/dist/{source-file-BNYeD1w4.d.cts.map → source-file-Bfny_Zo3.d.mts.map} +1 -1
  179. package/dist/{source-file-BNYeD1w4.d.cts → source-file-Bhx5nuCf.d.cts} +2 -2
  180. package/dist/{source-file-YrHdUb8H.d.mts.map → source-file-Bhx5nuCf.d.cts.map} +1 -1
  181. package/dist/{source-file-B5FSrvOa.mjs → source-file-C2DlmRUm.mjs} +2 -2
  182. package/dist/{source-file-B5FSrvOa.mjs.map → source-file-C2DlmRUm.mjs.map} +1 -1
  183. package/dist/{tsdoc-BpOXtq0v.d.cts → tsdoc-BlBkyIWO.d.cts} +2 -2
  184. package/dist/{tsdoc-BpOXtq0v.d.cts.map → tsdoc-BlBkyIWO.d.cts.map} +1 -1
  185. package/dist/{tsdoc-prhuuYav.mjs → tsdoc-C9i5z6EE.mjs} +2 -2
  186. package/dist/{tsdoc-prhuuYav.mjs.map → tsdoc-C9i5z6EE.mjs.map} +1 -1
  187. package/dist/{tsdoc-CwqGhmLe.d.mts → tsdoc-cuL_4mkw.d.mts} +2 -2
  188. package/dist/{tsdoc-CwqGhmLe.d.mts.map → tsdoc-cuL_4mkw.d.mts.map} +1 -1
  189. package/dist/{tsdoc-reflection-CQX-iDtz.mjs → tsdoc-reflection-BFTBtjQ2.mjs} +3 -3
  190. package/dist/{tsdoc-reflection-CQX-iDtz.mjs.map → tsdoc-reflection-BFTBtjQ2.mjs.map} +1 -1
  191. package/dist/{tsdoc-reflection-hz0WQ70o.d.cts → tsdoc-reflection-nKQBTaXx.d.mts} +6 -6
  192. package/dist/{tsdoc-reflection-Cak-O_qk.d.mts.map → tsdoc-reflection-nKQBTaXx.d.mts.map} +1 -1
  193. package/dist/{tsdoc-reflection-ycF-PiB9.d.cts → tsdoc-reflection-veFRE4YR.d.cts} +6 -6
  194. package/dist/{tsdoc-reflection-hz0WQ70o.d.cts.map → tsdoc-reflection-veFRE4YR.d.cts.map} +1 -1
  195. package/dist/types/_internal.cjs +0 -0
  196. package/dist/types/_internal.d.cts +47 -0
  197. package/dist/types/_internal.d.cts.map +1 -0
  198. package/dist/types/_internal.d.mts +47 -0
  199. package/dist/types/_internal.d.mts.map +1 -0
  200. package/dist/types/_internal.mjs +1 -0
  201. package/dist/types/components.d.cts +1 -1
  202. package/dist/types/components.d.mts +1 -1
  203. package/dist/types/components.mjs +1 -1
  204. package/dist/types/index.d.cts +2 -2
  205. package/dist/types/index.d.mts +2 -2
  206. package/dist/types/index.mjs +2 -2
  207. package/dist/types/plugin.d.cts +1 -1
  208. package/dist/types/plugin.d.mts +1 -1
  209. package/dist/types/plugin.mjs +1 -1
  210. package/dist/typescript/components/builtin-file.d.cts +5 -5
  211. package/dist/typescript/components/builtin-file.d.mts +5 -5
  212. package/dist/typescript/components/builtin-file.mjs +7 -7
  213. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  214. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  215. package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
  216. package/dist/typescript/components/entry-file.d.cts +4 -4
  217. package/dist/typescript/components/entry-file.d.mts +4 -4
  218. package/dist/typescript/components/entry-file.mjs +6 -6
  219. package/dist/typescript/components/index.d.cts +12 -12
  220. package/dist/typescript/components/index.d.mts +12 -12
  221. package/dist/typescript/components/index.mjs +15 -15
  222. package/dist/typescript/components/record-expression.d.cts +1 -1
  223. package/dist/typescript/components/record-expression.d.mts +1 -1
  224. package/dist/typescript/components/record-expression.mjs +1 -1
  225. package/dist/typescript/components/tsdoc-reflection.d.cts +3 -3
  226. package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
  227. package/dist/typescript/components/tsdoc-reflection.mjs +4 -4
  228. package/dist/typescript/components/tsdoc.d.cts +2 -2
  229. package/dist/typescript/components/tsdoc.d.mts +2 -2
  230. package/dist/typescript/components/tsdoc.mjs +2 -2
  231. package/dist/typescript/components/typescript-file.d.cts +3 -3
  232. package/dist/typescript/components/typescript-file.d.mts +3 -3
  233. package/dist/typescript/components/typescript-file.mjs +5 -5
  234. package/dist/typescript/components/typescript-interface.d.cts +2 -2
  235. package/dist/typescript/components/typescript-interface.d.mts +2 -2
  236. package/dist/typescript/components/typescript-interface.mjs +5 -5
  237. package/dist/typescript/components/typescript-object.d.cts +2 -2
  238. package/dist/typescript/components/typescript-object.d.mts +2 -2
  239. package/dist/typescript/components/typescript-object.mjs +5 -5
  240. package/dist/typescript/index.d.cts +12 -12
  241. package/dist/typescript/index.d.mts +12 -12
  242. package/dist/typescript/index.mjs +15 -15
  243. package/dist/{typescript-CXP7Oa6_.d.cts → typescript-BpWiXYf3.d.mts} +1 -1
  244. package/dist/{typescript-CXP7Oa6_.d.cts.map → typescript-BpWiXYf3.d.mts.map} +1 -1
  245. package/dist/{typescript-DvynKONm.d.mts → typescript-CJjS7_9C.d.cts} +1 -1
  246. package/dist/{typescript-DvynKONm.d.mts.map → typescript-CJjS7_9C.d.cts.map} +1 -1
  247. package/dist/{typescript-BXhP0qIJ.mjs → typescript-CrVxDaSo.mjs} +1 -1
  248. package/dist/{typescript-BXhP0qIJ.mjs.map → typescript-CrVxDaSo.mjs.map} +1 -1
  249. package/dist/{typescript-file-CNCLRiyf.mjs → typescript-file-CZiIcJah.mjs} +4 -4
  250. package/dist/{typescript-file-CNCLRiyf.mjs.map → typescript-file-CZiIcJah.mjs.map} +1 -1
  251. package/dist/{typescript-file--NT6aFEW.d.cts → typescript-file-CsvsUP0u.d.mts} +3 -3
  252. package/dist/{typescript-file--NT6aFEW.d.cts.map → typescript-file-CsvsUP0u.d.mts.map} +1 -1
  253. package/dist/{typescript-file-BqamPJcI.d.cts → typescript-file-Fc4x93jB.d.cts} +3 -3
  254. package/dist/{typescript-file-BqamPJcI.d.cts.map → typescript-file-Fc4x93jB.d.cts.map} +1 -1
  255. package/dist/{typescript-interface-DX0WJLCa.d.mts → typescript-interface-BQpgao-e.d.mts} +5 -5
  256. package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-BQpgao-e.d.mts.map} +1 -1
  257. package/dist/{typescript-interface-BnRXH_zM.mjs → typescript-interface-CDzEeHla.mjs} +3 -3
  258. package/dist/{typescript-interface-BnRXH_zM.mjs.map → typescript-interface-CDzEeHla.mjs.map} +1 -1
  259. package/dist/{typescript-interface-LTD6nhQZ.d.cts → typescript-interface-CcxpE00-.d.cts} +5 -5
  260. package/dist/{typescript-interface-DX0WJLCa.d.mts.map → typescript-interface-CcxpE00-.d.cts.map} +1 -1
  261. package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-CQqNBUGE.d.cts} +3 -3
  262. package/dist/{typescript-object-DAZ_s-da.d.cts.map → typescript-object-CQqNBUGE.d.cts.map} +1 -1
  263. package/dist/{typescript-object-DAZ_s-da.d.cts → typescript-object-Cphz389O.d.mts} +6 -6
  264. package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-Cphz389O.d.mts.map} +1 -1
  265. package/dist/{typescript-object-Dhr7lMRV.mjs → typescript-object-FaGWSJWA.mjs} +3 -3
  266. package/dist/{typescript-object-Dhr7lMRV.mjs.map → typescript-object-FaGWSJWA.mjs.map} +1 -1
  267. package/package.json +20 -6
  268. package/dist/builtin-file-BvEeitxx.d.cts +0 -35
  269. package/dist/builtin-file-BvEeitxx.d.cts.map +0 -1
  270. package/dist/builtin-file-q7bTHn0Z.d.mts +0 -35
  271. package/dist/builtin-file-xc-QSTiJ.d.mts.map +0 -1
  272. package/dist/dynamic-import-statement-C7f6CN_b.d.mts +0 -33
  273. package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +0 -1
  274. package/dist/dynamic-import-statement-kxVxtCBQ.d.cts +0 -33
  275. package/dist/dynamic-import-statement-kxVxtCBQ.d.cts.map +0 -1
  276. package/dist/entry-file-Dbo9mrsH.d.cts +0 -28
  277. package/dist/entry-file-Dbo9mrsH.d.cts.map +0 -1
  278. package/dist/front-matter-s2lylY4i.d.cts +0 -16
  279. package/dist/front-matter-s2lylY4i.d.cts.map +0 -1
  280. package/dist/markdown-file-BdgX4c0b.d.cts +0 -29
  281. package/dist/markdown-file-CwMc-alS.d.cts.map +0 -1
  282. package/dist/markdown-file-T8cRtyd8.d.mts +0 -29
  283. package/dist/markdown-file-T8cRtyd8.d.mts.map +0 -1
  284. package/dist/markdown-table-BVtAeDoa.d.mts +0 -28
  285. package/dist/markdown-table-D5Tg3LLV.d.cts.map +0 -1
  286. package/dist/markdown-table-DFbl_3T_.d.mts +0 -28
  287. package/dist/markdown-table-DFbl_3T_.d.mts.map +0 -1
  288. package/dist/output-CGYPi1rL.d.cts +0 -19
  289. package/dist/output-CIKSJjPS.d.cts.map +0 -1
  290. package/dist/output-Law_SUlM.d.mts +0 -19
  291. package/dist/output-gLuHZTGo.d.mts.map +0 -1
  292. package/dist/refkey-CP7MJMac.d.cts.map +0 -1
  293. package/dist/refkey-D6OjgKgS.d.mts.map +0 -1
  294. package/dist/single-line-comment-CBaZAKTr.d.cts +0 -23
  295. package/dist/single-line-comment-CBaZAKTr.d.cts.map +0 -1
  296. package/dist/single-line-comment-ceejgNfU.d.mts +0 -23
  297. package/dist/single-line-comment-ceejgNfU.d.mts.map +0 -1
  298. package/dist/source-file-OtWS66Kr.d.cts +0 -33
  299. package/dist/source-file-OtWS66Kr.d.cts.map +0 -1
  300. package/dist/tsdoc-reflection-Cak-O_qk.d.mts +0 -19
  301. package/dist/tsdoc-reflection-ycF-PiB9.d.cts.map +0 -1
  302. package/dist/typescript-file-dsHm_Y5Y.d.mts +0 -50
  303. package/dist/typescript-file-dsHm_Y5Y.d.mts.map +0 -1
  304. package/dist/typescript-interface-CTyDcMdt.d.mts +0 -26
  305. package/dist/typescript-interface-LTD6nhQZ.d.cts.map +0 -1
  306. package/dist/typescript-object-B7G5A4j-.d.cts +0 -30
  307. package/dist/typescript-object-B7G5A4j-.d.cts.map +0 -1
  308. package/dist/typescript-object-DK3sl8cB.d.mts +0 -30
  309. package/dist/typescript-object-DK3sl8cB.d.mts.map +0 -1
  310. /package/dist/{components-ByryZacA.mjs → components-BHsPgUVD.mjs} +0 -0
  311. /package/dist/{components-C3qpgLKV.mjs → components-C4MWIzKk.mjs} +0 -0
  312. /package/dist/{components-NXgsRgB4.mjs → components-DTKCKgWS.mjs} +0 -0
  313. /package/dist/{components-pztyf7qk.mjs → components-bxkcKDVx.mjs} +0 -0
  314. /package/dist/{contexts-D-vYhGdM.mjs → contexts-D631HKlO.mjs} +0 -0
  315. /package/dist/{contexts-oubuaPo0.mjs → contexts-DppcDJxB.mjs} +0 -0
  316. /package/dist/{index-BJ8-FA6N.d.cts → index--p6oQT9I.d.mts} +0 -0
  317. /package/dist/{index-BXpMZvwA.d.cts → index-BUYyA1Xh.d.cts} +0 -0
  318. /package/dist/{index-BhY1qu3m.d.cts → index-CryTAIZM.d.mts} +0 -0
  319. /package/dist/{index-BjgW3E7y.d.mts → index-CyJfB4lt.d.cts} +0 -0
  320. /package/dist/{index-C3usUse7.d.mts → index-CzItj62a.d.mts} +0 -0
  321. /package/dist/{index-D13oYj4_.d.mts → index-D9IqtUDs.d.cts} +0 -0
  322. /package/dist/{index-DBGd4WeR.d.mts → index-Dt_vyhB_.d.cts} +0 -0
  323. /package/dist/{index-DdxxIAKU.d.cts → index-Iujpc9_6.d.mts} +0 -0
  324. /package/dist/{index-DpEKQcoR.d.cts → index-gxEAO6Ad.d.cts} +0 -0
  325. /package/dist/{index-gpCH5158.d.mts → index-qCd8f7Um.d.cts} +0 -0
  326. /package/dist/{plugin-BzF8Q2v1.mjs → plugin-DTwUbNHt.mjs} +0 -0
@@ -1,10 +1,11 @@
1
- import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-CIKSJjPS.cjs";
2
- import "../components-DqfyRVFO.cjs";
3
- import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DWXxACyy.cjs";
4
- import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-BNYeD1w4.cjs";
5
- import "../index-DdxxIAKU.cjs";
6
- import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-Cfj0Wk3u.cjs";
7
- import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-DDwBNdE3.cjs";
8
- import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-I2Uewhuo.cjs";
9
- import "../index-BJ8-FA6N.cjs";
1
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-t88bpsXq.cjs";
2
+ import "../components-DPPi58b5.cjs";
3
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-B0sVqs7Q.cjs";
4
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-Bhx5nuCf.cjs";
5
+ import "../index-BUYyA1Xh.cjs";
6
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-CiHsTXX7.cjs";
7
+ import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-xgVuv08y.cjs";
8
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-JGVev2J6.cjs";
9
+ import "../index-qCd8f7Um.cjs";
10
+ import "../index-gxEAO6Ad.cjs";
10
11
  export { MetaContext, MetaItem, Output, OutputProps, PowerlinesContext, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,10 +1,11 @@
1
- import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-Law_SUlM.mjs";
2
- import "../components-REdw2IIi.mjs";
3
- import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-ceejgNfU.mjs";
4
- import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-YrHdUb8H.mjs";
5
- import "../index-gpCH5158.mjs";
6
- import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-zWXy6keQ.mjs";
7
- import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-RtOYCV7t.mjs";
8
- import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-BumisltV.mjs";
9
- import "../index-DBGd4WeR.mjs";
1
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "../output-CqvSLPi0.mjs";
2
+ import "../components-oHSM7vmp.mjs";
3
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-PMv_zrfe.mjs";
4
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "../source-file-Bfny_Zo3.mjs";
5
+ import "../index-CzItj62a.mjs";
6
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-C-CzW-8C.mjs";
7
+ import { a as useMetaContext, i as useMeta, n as MetaItem, o as useMetaSafe, r as __ΩMetaItem, t as MetaContext } from "../meta-CyClLk1y.mjs";
8
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "../reflection-CAz7PWzK.mjs";
9
+ import "../index-Iujpc9_6.mjs";
10
+ import "../index-sViox9YW.mjs";
10
11
  export { MetaContext, MetaItem, Output, OutputProps, PowerlinesContext, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -1,10 +1,10 @@
1
- import { i as useMetaSafe, n as useMeta, r as useMetaContext, t as MetaContext } from "../meta-BuwJuxY9.mjs";
2
- import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-BaVJCPfX.mjs";
3
- import { t as Output } from "../output-BehYSTRr.mjs";
4
- import { t as SingleLineComment } from "../single-line-comment-MRVbskt3.mjs";
5
- import { t as SourceFile } from "../source-file-B5FSrvOa.mjs";
6
- import "../components-pztyf7qk.mjs";
7
- import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../reflection-Btb1NqwS.mjs";
8
- import "../contexts-oubuaPo0.mjs";
1
+ import { i as useMetaSafe, n as useMeta, r as useMetaContext, t as MetaContext } from "../meta-vNWUnnLO.mjs";
2
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-DIUW4n33.mjs";
3
+ import { t as Output } from "../output-CUxfvVVp.mjs";
4
+ import { t as SingleLineComment } from "../single-line-comment-CGkTdNez.mjs";
5
+ import { t as SourceFile } from "../source-file-C2DlmRUm.mjs";
6
+ import "../components-DTKCKgWS.mjs";
7
+ import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "../reflection-ExLWJ473.mjs";
8
+ import "../contexts-D631HKlO.mjs";
9
9
 
10
10
  export { MetaContext, Output, PowerlinesContext, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, useMeta, useMetaContext, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -13,4 +13,4 @@ declare function createBuiltin<const T extends PackageDescriptor>(options: Creat
13
13
  declare type __ΩCreateBuiltinOptions = any[];
14
14
  //#endregion
15
15
  export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
16
- //# sourceMappingURL=create-builtin-Bpswa0ZT.d.cts.map
16
+ //# sourceMappingURL=create-builtin-BvtcWfWV.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-builtin-Bpswa0ZT.d.cts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
1
+ {"version":3,"file":"create-builtin-BvtcWfWV.d.mts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
@@ -16,4 +16,4 @@ function createBuiltin(options) {
16
16
 
17
17
  //#endregion
18
18
  export { createBuiltin as t };
19
- //# sourceMappingURL=create-builtin-Be3J_vqf.mjs.map
19
+ //# sourceMappingURL=create-builtin-C4n9BYjY.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-builtin-Be3J_vqf.mjs","names":["createPackage","createBuiltin","options","builtin"],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { SymbolCreator } from \"@alloy-js/core\";\nimport {\n createPackage,\n CreatePackageProps,\n PackageDescriptor,\n PackageRefkeys\n} from \"@alloy-js/typescript\";\n\nexport type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<\n CreatePackageProps<T>,\n \"builtin\"\n>;\n\n/**\n * Creates a built-in representation of a package based on the provided descriptor.\n *\n * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.\n * @returns An object containing reference keys for the package and a symbol creator function.\n */\nexport function createBuiltin<const T extends PackageDescriptor>(\n options: CreateBuiltinOptions<T>\n): PackageRefkeys<T> & SymbolCreator {\n // const refkeys: any = {\n // [getSymbolCreatorSymbol()](binder: Binder) {\n // createSymbols(binder, props, refkeys);\n // }\n // };\n\n // for (const [path, symbols] of Object.entries(props.descriptor)) {\n // const keys = path === \".\" ? refkeys : (refkeys[path] = {});\n\n // if (symbols.default) {\n // keys.default = refkey(props.descriptor, path, \"default\");\n // }\n\n // for (const named of symbols.named ?? []) {\n // const namedObj = typeof named === \"string\" ? { name: named } : named;\n // keys[namedObj.name] = refkey();\n\n // if (namedObj.staticMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // \"static\"\n // );\n // }\n\n // if (namedObj.instanceMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // \"instance\"\n // );\n // }\n\n // keys[namedObj.name][getSymbolCreatorSymbol()] = (\n // binder: Binder,\n // parentSym: TSOutputSymbol\n // ) => {\n // if (namedObj.staticMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // true\n // );\n // }\n // if (namedObj.instanceMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // false\n // );\n // }\n // };\n // }\n // }\n\n // return refkeys;\n\n return createPackage({ ...options, builtin: true });\n}\n"],"mappings":""}
1
+ {"version":3,"file":"create-builtin-C4n9BYjY.mjs","names":["createPackage","createBuiltin","options","builtin"],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { SymbolCreator } from \"@alloy-js/core\";\nimport {\n createPackage,\n CreatePackageProps,\n PackageDescriptor,\n PackageRefkeys\n} from \"@alloy-js/typescript\";\n\nexport type CreateBuiltinOptions<T extends PackageDescriptor> = Omit<\n CreatePackageProps<T>,\n \"builtin\"\n>;\n\n/**\n * Creates a built-in representation of a package based on the provided descriptor.\n *\n * @param options - Properties to define the package, excluding the 'builtin' flag which is set to true.\n * @returns An object containing reference keys for the package and a symbol creator function.\n */\nexport function createBuiltin<const T extends PackageDescriptor>(\n options: CreateBuiltinOptions<T>\n): PackageRefkeys<T> & SymbolCreator {\n // const refkeys: any = {\n // [getSymbolCreatorSymbol()](binder: Binder) {\n // createSymbols(binder, props, refkeys);\n // }\n // };\n\n // for (const [path, symbols] of Object.entries(props.descriptor)) {\n // const keys = path === \".\" ? refkeys : (refkeys[path] = {});\n\n // if (symbols.default) {\n // keys.default = refkey(props.descriptor, path, \"default\");\n // }\n\n // for (const named of symbols.named ?? []) {\n // const namedObj = typeof named === \"string\" ? { name: named } : named;\n // keys[namedObj.name] = refkey();\n\n // if (namedObj.staticMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // \"static\"\n // );\n // }\n\n // if (namedObj.instanceMembers?.length) {\n // createRefkeysForMembers(\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // \"instance\"\n // );\n // }\n\n // keys[namedObj.name][getSymbolCreatorSymbol()] = (\n // binder: Binder,\n // parentSym: TSOutputSymbol\n // ) => {\n // if (namedObj.staticMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.staticMembers,\n // keys[namedObj.name],\n // true\n // );\n // }\n // if (namedObj.instanceMembers?.length) {\n // assignMembers(\n // binder,\n // parentSym,\n // namedObj.instanceMembers,\n // keys[namedObj.name],\n // false\n // );\n // }\n // };\n // }\n // }\n\n // return refkeys;\n\n return createPackage({ ...options, builtin: true });\n}\n"],"mappings":""}
@@ -13,4 +13,4 @@ declare function createBuiltin<const T extends PackageDescriptor>(options: Creat
13
13
  declare type __ΩCreateBuiltinOptions = any[];
14
14
  //#endregion
15
15
  export { __ΩCreateBuiltinOptions as n, createBuiltin as r, CreateBuiltinOptions as t };
16
- //# sourceMappingURL=create-builtin-CbEjJreB.d.mts.map
16
+ //# sourceMappingURL=create-builtin-CI8g-abA.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-builtin-CbEjJreB.d.mts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
1
+ {"version":3,"file":"create-builtin-CI8g-abA.d.cts","names":[],"sources":["../src/helpers/create-builtin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,+BAA+B,qBAAqB,KAC9D,mBAAmB;;AADrB;;;;;AAAoE,iBAWpD,aAXoD,CAAA,gBAWtB,iBAXsB,CAAA,CAAA,OAAA,EAYzD,oBAZyD,CAYpC,CAZoC,CAAA,CAAA,EAajE,cAbiE,CAalD,CAbkD,CAAA,GAa7C,aAb6C;AAWpD,uCAAa,GAAA,EAAA"}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core15 from "@alloy-js/core";
1
+ import * as _alloy_js_core13 from "@alloy-js/core";
2
2
  import { VarDeclarationProps } from "@alloy-js/typescript";
3
3
 
4
4
  //#region src/typescript/components/dynamic-import-statement.d.ts
@@ -26,8 +26,8 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
26
26
  * @param props - The properties for the dynamic import statement.
27
27
  * @returns A `VarDeclaration` component representing the dynamic import statement.
28
28
  */
29
- declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core15.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core13.Children;
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
33
- //# sourceMappingURL=dynamic-import-statement-BgLOAe4B.d.cts.map
33
+ //# sourceMappingURL=dynamic-import-statement-0zTc2EEO.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-import-statement-BgLOAe4B.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
1
+ {"version":3,"file":"dynamic-import-statement-0zTc2EEO.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
@@ -22,4 +22,4 @@ function DynamicImportStatement(props) {
22
22
 
23
23
  //#endregion
24
24
  export { DynamicImportStatement as t };
25
- //# sourceMappingURL=dynamic-import-statement-B4Ov9C7y.mjs.map
25
+ //# sourceMappingURL=dynamic-import-statement-BVggdOVL.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-import-statement-B4Ov9C7y.mjs","names":["code","VarDeclaration","DynamicImportStatement","props","importPath","exportName","const","isConst","rest","_$createComponent","_$mergeProps","initializer"],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code } from \"@alloy-js/core\";\nimport { VarDeclaration, VarDeclarationProps } from \"@alloy-js/typescript\";\n\nexport interface DynamicImportStatementProps extends Omit<\n VarDeclarationProps,\n \"initializer\"\n> {\n /**\n * The path of the module to import.\n */\n importPath: string;\n\n /**\n * The name of the export to import from the module.\n *\n * @defaultValue \"default\"\n */\n exportName?: string;\n}\n\n/**\n * Generates a dynamic import statement for a given module path and export name.\n *\n * @example\n * ```tsx\n * <DynamicImportStatement importPath=\"./my-module\" exportName=\"myExport\" const={true} name=\"myVar\" />\n * // const myVar = await import(\"./my-module\").then(m => m.myExport);\n * ```\n *\n * @param props - The properties for the dynamic import statement.\n * @returns A `VarDeclaration` component representing the dynamic import statement.\n */\nexport function DynamicImportStatement(props: DynamicImportStatementProps) {\n const {\n importPath,\n exportName = \"default\",\n const: isConst = true,\n ...rest\n } = props;\n\n return (\n <VarDeclaration\n const={isConst}\n {...rest}\n initializer={code`await import(\"${importPath}\").then(m => m.${exportName});`}></VarDeclaration>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"dynamic-import-statement-BVggdOVL.mjs","names":["code","VarDeclaration","DynamicImportStatement","props","importPath","exportName","const","isConst","rest","_$createComponent","_$mergeProps","initializer"],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code } from \"@alloy-js/core\";\nimport { VarDeclaration, VarDeclarationProps } from \"@alloy-js/typescript\";\n\nexport interface DynamicImportStatementProps extends Omit<\n VarDeclarationProps,\n \"initializer\"\n> {\n /**\n * The path of the module to import.\n */\n importPath: string;\n\n /**\n * The name of the export to import from the module.\n *\n * @defaultValue \"default\"\n */\n exportName?: string;\n}\n\n/**\n * Generates a dynamic import statement for a given module path and export name.\n *\n * @example\n * ```tsx\n * <DynamicImportStatement importPath=\"./my-module\" exportName=\"myExport\" const={true} name=\"myVar\" />\n * // const myVar = await import(\"./my-module\").then(m => m.myExport);\n * ```\n *\n * @param props - The properties for the dynamic import statement.\n * @returns A `VarDeclaration` component representing the dynamic import statement.\n */\nexport function DynamicImportStatement(props: DynamicImportStatementProps) {\n const {\n importPath,\n exportName = \"default\",\n const: isConst = true,\n ...rest\n } = props;\n\n return (\n <VarDeclaration\n const={isConst}\n {...rest}\n initializer={code`await import(\"${importPath}\").then(m => m.${exportName});`}></VarDeclaration>\n );\n}\n"],"mappings":""}
@@ -30,4 +30,4 @@ declare function DynamicImportStatement(props: DynamicImportStatementProps): _al
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
33
- //# sourceMappingURL=dynamic-import-statement-DSNDMC9Y.d.mts.map
33
+ //# sourceMappingURL=dynamic-import-statement-pdjThvwh.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-import-statement-C7f6CN_b.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
1
+ {"version":3,"file":"dynamic-import-statement-pdjThvwh.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { o as TypescriptFileProps } from "./typescript-file-dsHm_Y5Y.mjs";
2
- import * as _alloy_js_core15 from "@alloy-js/core";
1
+ import { o as TypescriptFileProps } from "./typescript-file-CsvsUP0u.mjs";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core15.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core13.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-CmJcd0C4.d.mts.map
28
+ //# sourceMappingURL=entry-file-BW-opsS0.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-CmJcd0C4.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-BW-opsS0.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { o as TypescriptFileProps } from "./typescript-file--NT6aFEW.cjs";
2
- import * as _alloy_js_core10 from "@alloy-js/core";
1
+ import { o as TypescriptFileProps } from "./typescript-file-Fc4x93jB.cjs";
2
+ import * as _alloy_js_core16 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core10.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core16.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-DVU9IAeI.d.cts.map
28
+ //# sourceMappingURL=entry-file-Dsx2DfkL.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-DVU9IAeI.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-Dsx2DfkL.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { i as usePowerlinesSafe } from "./context-BaVJCPfX.mjs";
2
- import { t as TypescriptFile } from "./typescript-file-CNCLRiyf.mjs";
1
+ import { i as usePowerlinesSafe } from "./context-DIUW4n33.mjs";
2
+ import { t as TypescriptFile } from "./typescript-file-CZiIcJah.mjs";
3
3
  import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
4
4
  import { computed, splitProps } from "@alloy-js/core";
5
5
  import { hasFileExtension } from "@stryke/path/file-path-fns";
@@ -38,4 +38,4 @@ function EntryFile(props) {
38
38
 
39
39
  //#endregion
40
40
  export { EntryFile as t };
41
- //# sourceMappingURL=entry-file-DzlSog-0.mjs.map
41
+ //# sourceMappingURL=entry-file-P5n-ofhK.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-DzlSog-0.mjs","names":["computed","splitProps","appendPath","hasFileExtension","replaceExtension","replacePath","isSet","defu","usePowerlinesSafe","TypescriptFile","EntryFile","props","children","meta","tsx","path","typeDefinition","rest","context","fullPath","entryPath","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","kind"],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { computed, splitProps } from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { hasFileExtension } from \"@stryke/path/file-path-fns\";\nimport { replaceExtension, replacePath } from \"@stryke/path/replace\";\nimport { isSet } from \"@stryke/type-checks/is-set\";\nimport defu from \"defu\";\nimport { ResolvedEntryTypeDefinition } from \"powerlines/types/resolved\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { TypescriptFile, TypescriptFileProps } from \"./typescript-file\";\n\nexport type EntryFileProps = TypescriptFileProps & {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n\n /**\n * Render metadata information about the entrypoint\n */\n typeDefinition?: ResolvedEntryTypeDefinition;\n};\n\n/**\n * A base component representing a Powerlines generated Typescript source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function EntryFile(props: EntryFileProps) {\n const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(\n props,\n [\"children\", \"meta\", \"tsx\", \"path\", \"typeDefinition\"]\n );\n\n const context = usePowerlinesSafe();\n const fullPath = computed(() =>\n context\n ? appendPath(\n `${\n !isSet(tsx) ? path : replaceExtension(path)\n }${tsx ? \".tsx\" : hasFileExtension(path) ? \"\" : \".ts\"}`,\n replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)\n )\n : path\n );\n\n return (\n <TypescriptFile\n {...rest}\n path={fullPath.value}\n meta={defu(\n {\n kind: \"entry\"\n },\n meta ?? {},\n {\n typeDefinition\n }\n )}>\n {children}\n </TypescriptFile>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"entry-file-P5n-ofhK.mjs","names":["computed","splitProps","appendPath","hasFileExtension","replaceExtension","replacePath","isSet","defu","usePowerlinesSafe","TypescriptFile","EntryFile","props","children","meta","tsx","path","typeDefinition","rest","context","fullPath","entryPath","workspaceConfig","workspaceRoot","_$createComponent","_$mergeProps","value","kind"],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { computed, splitProps } from \"@alloy-js/core\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { hasFileExtension } from \"@stryke/path/file-path-fns\";\nimport { replaceExtension, replacePath } from \"@stryke/path/replace\";\nimport { isSet } from \"@stryke/type-checks/is-set\";\nimport defu from \"defu\";\nimport { ResolvedEntryTypeDefinition } from \"powerlines/types/resolved\";\nimport { usePowerlinesSafe } from \"../../core/contexts/context\";\nimport { TypescriptFile, TypescriptFileProps } from \"./typescript-file\";\n\nexport type EntryFileProps = TypescriptFileProps & {\n /**\n * Whether the file is a TSX file.\n *\n * @defaultValue false\n */\n tsx?: boolean;\n\n /**\n * Render metadata information about the entrypoint\n */\n typeDefinition?: ResolvedEntryTypeDefinition;\n};\n\n/**\n * A base component representing a Powerlines generated Typescript source file.\n *\n * @param props - The properties for the source file.\n * @returns The rendered source file component.\n */\nexport function EntryFile(props: EntryFileProps) {\n const [{ children, meta, tsx, path, typeDefinition }, rest] = splitProps(\n props,\n [\"children\", \"meta\", \"tsx\", \"path\", \"typeDefinition\"]\n );\n\n const context = usePowerlinesSafe();\n const fullPath = computed(() =>\n context\n ? appendPath(\n `${\n !isSet(tsx) ? path : replaceExtension(path)\n }${tsx ? \".tsx\" : hasFileExtension(path) ? \"\" : \".ts\"}`,\n replacePath(context.entryPath, context.workspaceConfig.workspaceRoot)\n )\n : path\n );\n\n return (\n <TypescriptFile\n {...rest}\n path={fullPath.value}\n meta={defu(\n {\n kind: \"entry\"\n },\n meta ?? {},\n {\n typeDefinition\n }\n )}>\n {children}\n </TypescriptFile>\n );\n}\n"],"mappings":""}
@@ -13,4 +13,4 @@ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core7.Children;
13
13
  declare type __ΩFrontMatterProps = any[];
14
14
  //#endregion
15
15
  export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
16
- //# sourceMappingURL=front-matter-CXfCT8a8.d.mts.map
16
+ //# sourceMappingURL=front-matter-BZuLGCXi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-matter-CXfCT8a8.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
1
+ {"version":3,"file":"front-matter-BZuLGCXi.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
@@ -25,4 +25,4 @@ function FrontMatter(props) {
25
25
 
26
26
  //#endregion
27
27
  export { FrontMatter as t };
28
- //# sourceMappingURL=front-matter-BeTG0uJA.mjs.map
28
+ //# sourceMappingURL=front-matter-Dzh6QhN-.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-matter-BeTG0uJA.mjs","names":["code","For","FrontMatter","props","_$createIntrinsic","_$createComponent","each","Object","entries","data","hardline","children","key","value","JSON","stringify"],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For } from \"@alloy-js/core\";\n\nexport interface FrontMatterProps {\n data: Record<string, any>;\n}\n\n/**\n * Renders YAML front matter for a markdown file.\n *\n * @see https://jekyllrb.com/docs/front-matter/\n */\nexport function FrontMatter(props: FrontMatterProps) {\n return (\n <>\n {\"---\"}\n <hbr />\n <For each={Object.entries(props.data)} hardline>\n {([key, value]) => code`${key}: ${JSON.stringify(value)}`}\n </For>\n {\"---\"}\n <hbr />\n </>\n );\n}\n"],"mappings":""}
1
+ {"version":3,"file":"front-matter-Dzh6QhN-.mjs","names":["code","For","FrontMatter","props","_$createIntrinsic","_$createComponent","each","Object","entries","data","hardline","children","key","value","JSON","stringify"],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For } from \"@alloy-js/core\";\n\nexport interface FrontMatterProps {\n data: Record<string, any>;\n}\n\n/**\n * Renders YAML front matter for a markdown file.\n *\n * @see https://jekyllrb.com/docs/front-matter/\n */\nexport function FrontMatter(props: FrontMatterProps) {\n return (\n <>\n {\"---\"}\n <hbr />\n <For each={Object.entries(props.data)} hardline>\n {([key, value]) => code`${key}: ${JSON.stringify(value)}`}\n </For>\n {\"---\"}\n <hbr />\n </>\n );\n}\n"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core7 from "@alloy-js/core";
1
+ import * as _alloy_js_core0 from "@alloy-js/core";
2
2
 
3
3
  //#region src/markdown/components/front-matter.d.ts
4
4
  interface FrontMatterProps {
@@ -9,8 +9,8 @@ interface FrontMatterProps {
9
9
  *
10
10
  * @see https://jekyllrb.com/docs/front-matter/
11
11
  */
12
- declare function FrontMatter(props: FrontMatterProps): _alloy_js_core7.Children;
12
+ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core0.Children;
13
13
  declare type __ΩFrontMatterProps = any[];
14
14
  //#endregion
15
15
  export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
16
- //# sourceMappingURL=front-matter-DpKD40Zz.d.cts.map
16
+ //# sourceMappingURL=front-matter-tYvUQe2w.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-matter-DpKD40Zz.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
1
+ {"version":3,"file":"front-matter-tYvUQe2w.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DbPtfpg2.cjs";
1
+ import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-BfsEWHU2.cjs";
2
2
  export { 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 };
@@ -1,2 +1,2 @@
1
- import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-CLxcoMcG.mjs";
1
+ import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DcnwPttP.mjs";
2
2
  export { 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 };
@@ -1,3 +1,3 @@
1
- import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-CPbob9Cm.mjs";
1
+ import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-XK1IvfIR.mjs";
2
2
 
3
3
  export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -1,2 +1,2 @@
1
- import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-Bpswa0ZT.cjs";
1
+ import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CI8g-abA.cjs";
2
2
  export { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin };
@@ -1,2 +1,2 @@
1
- import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CbEjJreB.mjs";
1
+ import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-BvtcWfWV.mjs";
2
2
  export { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin };
@@ -1,3 +1,3 @@
1
- import { t as createBuiltin } from "../create-builtin-Be3J_vqf.mjs";
1
+ import { t as createBuiltin } from "../create-builtin-C4n9BYjY.mjs";
2
2
 
3
3
  export { createBuiltin };
@@ -1,5 +1,5 @@
1
- import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DbPtfpg2.cjs";
2
- import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-Bpswa0ZT.cjs";
3
- import { t as refkey } from "../refkey-CP7MJMac.cjs";
4
- import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CXP7Oa6_.cjs";
1
+ import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-BfsEWHU2.cjs";
2
+ import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CI8g-abA.cjs";
3
+ import { t as refkey } from "../refkey-DqDd2Fzs.cjs";
4
+ import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CJjS7_9C.cjs";
5
5
  export { CreateBuiltinOptions, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩCreateBuiltinOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩStdioOptions, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -1,5 +1,5 @@
1
- import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-CLxcoMcG.mjs";
2
- import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CbEjJreB.mjs";
3
- import { t as refkey } from "../refkey-D6OjgKgS.mjs";
4
- import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-DvynKONm.mjs";
1
+ import { C as stringifyCapnpDefaultValue, S as isVoidType, _ as generateCapnpSchema, a as StdioOptions, b as getCapnpUnionTypes, c as __ΩIOType, d as generateCapnp, f as generateCapnpEnumSchema, g as generateCapnpPrimitive, h as generateCapnpMethodSchema, i as LARGE_BUFFER, l as __ΩStdioOptions, m as generateCapnpInterface, n as GenerateCapnpStructOptions, o as __ΩGenerateCapnpOptions, p as generateCapnpId, r as IOType, s as __ΩGenerateCapnpStructOptions, t as GenerateCapnpOptions, u as compile, v as generateCapnpStruct, w as stringifyCapnpValue, x as isCapnpStringUnion, y as getCapnpEnumTypes } from "../capnp-DcnwPttP.mjs";
2
+ import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-BvtcWfWV.mjs";
3
+ import { t as refkey } from "../refkey-CqkD5Tjp.mjs";
4
+ import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-BpWiXYf3.mjs";
5
5
  export { CreateBuiltinOptions, GenerateCapnpOptions, GenerateCapnpStructOptions, GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, IOType, LARGE_BUFFER, StdioOptions, __ΩCreateBuiltinOptions, __ΩGenerateCapnpOptions, __ΩGenerateCapnpStructOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, __ΩIOType, __ΩStdioOptions, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -1,6 +1,6 @@
1
- import { t as generateTypeScriptObject } from "../typescript-BXhP0qIJ.mjs";
2
- import { t as refkey } from "../refkey-CQVHeuAq.mjs";
3
- import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-CPbob9Cm.mjs";
4
- import { t as createBuiltin } from "../create-builtin-Be3J_vqf.mjs";
1
+ import { t as generateTypeScriptObject } from "../typescript-CrVxDaSo.mjs";
2
+ import { t as refkey } from "../refkey-CyhX8n2z.mjs";
3
+ import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "../capnp-XK1IvfIR.mjs";
4
+ import { t as createBuiltin } from "../create-builtin-C4n9BYjY.mjs";
5
5
 
6
6
  export { LARGE_BUFFER, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -1,2 +1,2 @@
1
- import { t as refkey } from "../refkey-CP7MJMac.cjs";
1
+ import { t as refkey } from "../refkey-DqDd2Fzs.cjs";
2
2
  export { refkey };
@@ -1,2 +1,2 @@
1
- import { t as refkey } from "../refkey-D6OjgKgS.mjs";
1
+ import { t as refkey } from "../refkey-CqkD5Tjp.mjs";
2
2
  export { refkey };
@@ -1,3 +1,3 @@
1
- import { t as refkey } from "../refkey-CQVHeuAq.mjs";
1
+ import { t as refkey } from "../refkey-CyhX8n2z.mjs";
2
2
 
3
3
  export { refkey };
@@ -1,2 +1,2 @@
1
- import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CXP7Oa6_.cjs";
1
+ import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CJjS7_9C.cjs";
2
2
  export { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject };
@@ -1,2 +1,2 @@
1
- import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-DvynKONm.mjs";
1
+ import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-BpWiXYf3.mjs";
2
2
  export { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject };
@@ -1,3 +1,3 @@
1
- import { t as generateTypeScriptObject } from "../typescript-BXhP0qIJ.mjs";
1
+ import { t as generateTypeScriptObject } from "../typescript-CrVxDaSo.mjs";
2
2
 
3
3
  export { generateTypeScriptObject };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.cjs CHANGED
@@ -47,37 +47,44 @@ const plugin = (options = {}) => {
47
47
  order: "pre",
48
48
  async handler() {
49
49
  this.debug("Attaching the `render` method to the context object.");
50
+ const context = this;
51
+ context.$$internal ??= {};
52
+ context.$$internal.alloy ??= { meta: {} };
50
53
  this.render = async (child) => {
51
- const meta = {};
52
54
  const output = await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
53
- value: meta,
55
+ get value() {
56
+ return context.$$internal.alloy.meta;
57
+ },
54
58
  children: child
55
59
  }));
56
- this.debug("Processing rendered output from Alloy-js.");
57
- await (0, __alloy_js_core.traverseOutput)(output, {
58
- visitDirectory: (directory) => {
59
- if (this.fs.existsSync(directory.path)) return;
60
- this.fs.mkdirSync(directory.path);
61
- },
62
- visitFile: (file) => {
63
- if ("contents" in file) {
64
- const metadata = meta[file.path] ?? {};
65
- if (metadata.kind === "builtin") {
66
- if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
67
- this.emitBuiltinSync(file.contents, metadata.id, {
60
+ if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js templates.");
61
+ else {
62
+ this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js templates.`);
63
+ await (0, __alloy_js_core.traverseOutput)(output, {
64
+ visitDirectory: (directory) => {
65
+ if (this.fs.existsSync(directory.path)) return;
66
+ this.fs.mkdirSync(directory.path);
67
+ },
68
+ visitFile: (file) => {
69
+ if ("contents" in file) {
70
+ const metadata = context.$$internal.alloy.meta[file.path] ?? {};
71
+ if (metadata.kind === "builtin") {
72
+ if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
73
+ this.emitBuiltinSync(file.contents, metadata.id, {
74
+ skipFormat: metadata.skipFormat,
75
+ storage: metadata.storage,
76
+ extension: (0, __stryke_path_file_path_fns.findFileExtension)(file.path)
77
+ });
78
+ } else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
68
79
  skipFormat: metadata.skipFormat,
69
80
  storage: metadata.storage,
70
- extension: (0, __stryke_path_file_path_fns.findFileExtension)(file.path)
81
+ ...metadata.typeDefinition ?? {}
71
82
  });
72
- } else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
73
- skipFormat: metadata.skipFormat,
74
- storage: metadata.storage,
75
- ...metadata.typeDefinition ?? {}
76
- });
77
- else this.emitSync(file.contents, file.path, metadata);
78
- } else this.fs.copySync(file.sourcePath, file.path);
79
- }
80
- });
83
+ else this.emitSync(file.contents, file.path, metadata);
84
+ } else this.fs.copySync(file.sourcePath, file.path);
85
+ }
86
+ });
87
+ }
81
88
  };
82
89
  }
83
90
  }
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-C-cbPXaG.cjs";
1
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-aN6BnM8T.cjs";
2
2
  import { Plugin } from "powerlines/types/plugin";
3
3
 
4
4
  //#region src/index.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAiCA;;;;AAkHc,cAlHD,MAkHC,EAAA,CAAA,iBAjHK,kBAiHL,GAjH0B,kBAiH1B,CAAA,CAAA,OAAA,CAAA,EA/GH,kBA+GG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;;;;AAmIc,cAnID,MAmIC,EAAA,CAAA,iBAlIK,kBAkIL,GAlI0B,kBAkI1B,CAAA,CAAA,OAAA,CAAA,EAhIH,kBAgIG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-Dn0UNaQ3.mjs";
1
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-c-C_CW4P.mjs";
2
2
  import { Plugin } from "powerlines/types/plugin";
3
3
 
4
4
  //#region src/index.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAiCA;;;;AAkHc,cAlHD,MAkHC,EAAA,CAAA,iBAjHK,kBAiHL,GAjH0B,kBAiH1B,CAAA,CAAA,OAAA,CAAA,EA/GH,kBA+GG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;;;;AAmIc,cAnID,MAmIC,EAAA,CAAA,iBAlIK,kBAkIL,GAlI0B,kBAkI1B,CAAA,CAAA,OAAA,CAAA,EAhIH,kBAgIG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}