@powerlines/plugin-alloy 0.25.33 → 0.25.34

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 (287) hide show
  1. package/README.md +1 -1
  2. package/dist/core/components/output.cjs +17 -10
  3. package/dist/core/components/output.mjs +18 -12
  4. package/dist/core/components/single-line-comment.cjs +6 -4
  5. package/dist/core/components/single-line-comment.mjs +7 -6
  6. package/dist/core/components/source-file.cjs +10 -6
  7. package/dist/core/components/source-file.mjs +11 -8
  8. package/dist/core/components/spacing.cjs +6 -4
  9. package/dist/core/components/spacing.mjs +7 -6
  10. package/dist/core/contexts/context.mjs +1 -2
  11. package/dist/core/contexts/meta.mjs +1 -2
  12. package/dist/core/contexts/reflection.mjs +1 -2
  13. package/dist/core/helpers/code.mjs +1 -2
  14. package/dist/helpers/capnp.mjs +1 -2
  15. package/dist/helpers/create-builtin.mjs +1 -2
  16. package/dist/helpers/refkey.mjs +1 -2
  17. package/dist/helpers/typescript.mjs +1 -2
  18. package/dist/index.cjs +8 -18
  19. package/dist/index.mjs +8 -19
  20. package/dist/markdown/components/front-matter.cjs +9 -7
  21. package/dist/markdown/components/front-matter.mjs +10 -9
  22. package/dist/markdown/components/markdown-file.cjs +76 -44
  23. package/dist/markdown/components/markdown-file.mjs +77 -46
  24. package/dist/markdown/components/markdown-table.cjs +49 -28
  25. package/dist/markdown/components/markdown-table.mjs +50 -30
  26. package/dist/markdown/contexts/markdown-table.mjs +1 -2
  27. package/dist/render.cjs +3 -3
  28. package/dist/render.mjs +4 -5
  29. package/dist/typescript/components/builtin-file.cjs +29 -19
  30. package/dist/typescript/components/builtin-file.mjs +30 -21
  31. package/dist/typescript/components/class-declaration.cjs +165 -100
  32. package/dist/typescript/components/class-declaration.mjs +166 -102
  33. package/dist/typescript/components/dynamic-import-statement.cjs +2 -6
  34. package/dist/typescript/components/dynamic-import-statement.mjs +3 -8
  35. package/dist/typescript/components/entry-file.cjs +9 -6
  36. package/dist/typescript/components/entry-file.mjs +10 -8
  37. package/dist/typescript/components/infrastructure-file.cjs +9 -6
  38. package/dist/typescript/components/infrastructure-file.mjs +10 -8
  39. package/dist/typescript/components/interface-declaration.cjs +121 -70
  40. package/dist/typescript/components/interface-declaration.mjs +122 -72
  41. package/dist/typescript/components/object-declaration.cjs +76 -44
  42. package/dist/typescript/components/object-declaration.mjs +77 -46
  43. package/dist/typescript/components/property-name.cjs +3 -3
  44. package/dist/typescript/components/property-name.mjs +4 -5
  45. package/dist/typescript/components/record-expression.mjs +1 -2
  46. package/dist/typescript/components/tsdoc-reflection.cjs +225 -104
  47. package/dist/typescript/components/tsdoc-reflection.mjs +226 -106
  48. package/dist/typescript/components/tsdoc.cjs +255 -160
  49. package/dist/typescript/components/tsdoc.mjs +256 -162
  50. package/dist/typescript/components/type-declaration.cjs +20 -15
  51. package/dist/typescript/components/type-declaration.mjs +21 -17
  52. package/dist/typescript/components/type-parameters.cjs +55 -29
  53. package/dist/typescript/components/type-parameters.mjs +56 -31
  54. package/dist/typescript/components/typescript-file.cjs +145 -80
  55. package/dist/typescript/components/typescript-file.mjs +146 -82
  56. package/dist/typescript/contexts/lexical-scope.cjs +5 -3
  57. package/dist/typescript/contexts/lexical-scope.mjs +6 -5
  58. package/dist/typescript/contexts/member-scope.cjs +5 -3
  59. package/dist/typescript/contexts/member-scope.mjs +6 -5
  60. package/dist/typescript/helpers/get-call-signature-props.mjs +1 -2
  61. package/dist/typescript/helpers/utilities.mjs +1 -2
  62. package/dist/yaml/components/yaml-file.cjs +92 -47
  63. package/dist/yaml/components/yaml-file.mjs +93 -49
  64. package/package.json +16 -17
  65. package/dist/core/components/index.d.cts +0 -5
  66. package/dist/core/components/index.d.mts +0 -5
  67. package/dist/core/components/output.d.cts +0 -24
  68. package/dist/core/components/output.d.cts.map +0 -1
  69. package/dist/core/components/output.d.mts +0 -24
  70. package/dist/core/components/output.d.mts.map +0 -1
  71. package/dist/core/components/output.mjs.map +0 -1
  72. package/dist/core/components/single-line-comment.d.cts +0 -23
  73. package/dist/core/components/single-line-comment.d.cts.map +0 -1
  74. package/dist/core/components/single-line-comment.d.mts +0 -23
  75. package/dist/core/components/single-line-comment.d.mts.map +0 -1
  76. package/dist/core/components/single-line-comment.mjs.map +0 -1
  77. package/dist/core/components/source-file.d.cts +0 -33
  78. package/dist/core/components/source-file.d.cts.map +0 -1
  79. package/dist/core/components/source-file.d.mts +0 -33
  80. package/dist/core/components/source-file.d.mts.map +0 -1
  81. package/dist/core/components/source-file.mjs.map +0 -1
  82. package/dist/core/components/spacing.d.cts +0 -24
  83. package/dist/core/components/spacing.d.cts.map +0 -1
  84. package/dist/core/components/spacing.d.mts +0 -24
  85. package/dist/core/components/spacing.d.mts.map +0 -1
  86. package/dist/core/components/spacing.mjs.map +0 -1
  87. package/dist/core/contexts/context.d.cts +0 -29
  88. package/dist/core/contexts/context.d.cts.map +0 -1
  89. package/dist/core/contexts/context.d.mts +0 -29
  90. package/dist/core/contexts/context.d.mts.map +0 -1
  91. package/dist/core/contexts/context.mjs.map +0 -1
  92. package/dist/core/contexts/index.d.cts +0 -4
  93. package/dist/core/contexts/index.d.mts +0 -4
  94. package/dist/core/contexts/meta.d.cts +0 -48
  95. package/dist/core/contexts/meta.d.cts.map +0 -1
  96. package/dist/core/contexts/meta.d.mts +0 -48
  97. package/dist/core/contexts/meta.d.mts.map +0 -1
  98. package/dist/core/contexts/meta.mjs.map +0 -1
  99. package/dist/core/contexts/reflection.d.cts +0 -53
  100. package/dist/core/contexts/reflection.d.cts.map +0 -1
  101. package/dist/core/contexts/reflection.d.mts +0 -53
  102. package/dist/core/contexts/reflection.d.mts.map +0 -1
  103. package/dist/core/contexts/reflection.mjs.map +0 -1
  104. package/dist/core/helpers/code.d.cts +0 -29
  105. package/dist/core/helpers/code.d.cts.map +0 -1
  106. package/dist/core/helpers/code.d.mts +0 -29
  107. package/dist/core/helpers/code.d.mts.map +0 -1
  108. package/dist/core/helpers/code.mjs.map +0 -1
  109. package/dist/core/helpers/index.d.cts +0 -2
  110. package/dist/core/helpers/index.d.mts +0 -2
  111. package/dist/core/index.d.cts +0 -9
  112. package/dist/core/index.d.mts +0 -9
  113. package/dist/helpers/capnp.d.cts +0 -87
  114. package/dist/helpers/capnp.d.cts.map +0 -1
  115. package/dist/helpers/capnp.d.mts +0 -87
  116. package/dist/helpers/capnp.d.mts.map +0 -1
  117. package/dist/helpers/capnp.mjs.map +0 -1
  118. package/dist/helpers/create-builtin.d.cts +0 -16
  119. package/dist/helpers/create-builtin.d.cts.map +0 -1
  120. package/dist/helpers/create-builtin.d.mts +0 -16
  121. package/dist/helpers/create-builtin.d.mts.map +0 -1
  122. package/dist/helpers/create-builtin.mjs.map +0 -1
  123. package/dist/helpers/index.d.cts +0 -5
  124. package/dist/helpers/index.d.mts +0 -5
  125. package/dist/helpers/refkey.d.cts +0 -13
  126. package/dist/helpers/refkey.d.cts.map +0 -1
  127. package/dist/helpers/refkey.d.mts +0 -13
  128. package/dist/helpers/refkey.d.mts.map +0 -1
  129. package/dist/helpers/refkey.mjs.map +0 -1
  130. package/dist/helpers/typescript.d.cts +0 -26
  131. package/dist/helpers/typescript.d.cts.map +0 -1
  132. package/dist/helpers/typescript.d.mts +0 -26
  133. package/dist/helpers/typescript.d.mts.map +0 -1
  134. package/dist/helpers/typescript.mjs.map +0 -1
  135. package/dist/index.d.cts +0 -19
  136. package/dist/index.d.cts.map +0 -1
  137. package/dist/index.d.mts +0 -19
  138. package/dist/index.d.mts.map +0 -1
  139. package/dist/index.mjs.map +0 -1
  140. package/dist/markdown/components/front-matter.d.cts +0 -16
  141. package/dist/markdown/components/front-matter.d.cts.map +0 -1
  142. package/dist/markdown/components/front-matter.d.mts +0 -16
  143. package/dist/markdown/components/front-matter.d.mts.map +0 -1
  144. package/dist/markdown/components/front-matter.mjs.map +0 -1
  145. package/dist/markdown/components/index.d.cts +0 -4
  146. package/dist/markdown/components/index.d.mts +0 -4
  147. package/dist/markdown/components/markdown-file.d.cts +0 -29
  148. package/dist/markdown/components/markdown-file.d.cts.map +0 -1
  149. package/dist/markdown/components/markdown-file.d.mts +0 -29
  150. package/dist/markdown/components/markdown-file.d.mts.map +0 -1
  151. package/dist/markdown/components/markdown-file.mjs.map +0 -1
  152. package/dist/markdown/components/markdown-table.d.cts +0 -28
  153. package/dist/markdown/components/markdown-table.d.cts.map +0 -1
  154. package/dist/markdown/components/markdown-table.d.mts +0 -28
  155. package/dist/markdown/components/markdown-table.d.mts.map +0 -1
  156. package/dist/markdown/components/markdown-table.mjs.map +0 -1
  157. package/dist/markdown/contexts/index.d.cts +0 -2
  158. package/dist/markdown/contexts/index.d.mts +0 -2
  159. package/dist/markdown/contexts/markdown-table.d.cts +0 -38
  160. package/dist/markdown/contexts/markdown-table.d.cts.map +0 -1
  161. package/dist/markdown/contexts/markdown-table.d.mts +0 -38
  162. package/dist/markdown/contexts/markdown-table.d.mts.map +0 -1
  163. package/dist/markdown/contexts/markdown-table.mjs.map +0 -1
  164. package/dist/markdown/index.d.cts +0 -5
  165. package/dist/markdown/index.d.mts +0 -5
  166. package/dist/render.d.cts +0 -38
  167. package/dist/render.d.cts.map +0 -1
  168. package/dist/render.d.mts +0 -38
  169. package/dist/render.d.mts.map +0 -1
  170. package/dist/render.mjs.map +0 -1
  171. package/dist/types/components.d.cts +0 -142
  172. package/dist/types/components.d.cts.map +0 -1
  173. package/dist/types/components.d.mts +0 -142
  174. package/dist/types/components.d.mts.map +0 -1
  175. package/dist/types/index.d.cts +0 -3
  176. package/dist/types/index.d.mts +0 -3
  177. package/dist/types/plugin.d.cts +0 -39
  178. package/dist/types/plugin.d.cts.map +0 -1
  179. package/dist/types/plugin.d.mts +0 -39
  180. package/dist/types/plugin.d.mts.map +0 -1
  181. package/dist/typescript/components/builtin-file.d.cts +0 -35
  182. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  183. package/dist/typescript/components/builtin-file.d.mts +0 -35
  184. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  185. package/dist/typescript/components/builtin-file.mjs.map +0 -1
  186. package/dist/typescript/components/class-declaration.d.cts +0 -145
  187. package/dist/typescript/components/class-declaration.d.cts.map +0 -1
  188. package/dist/typescript/components/class-declaration.d.mts +0 -145
  189. package/dist/typescript/components/class-declaration.d.mts.map +0 -1
  190. package/dist/typescript/components/class-declaration.mjs.map +0 -1
  191. package/dist/typescript/components/dynamic-import-statement.d.cts +0 -33
  192. package/dist/typescript/components/dynamic-import-statement.d.cts.map +0 -1
  193. package/dist/typescript/components/dynamic-import-statement.d.mts +0 -33
  194. package/dist/typescript/components/dynamic-import-statement.d.mts.map +0 -1
  195. package/dist/typescript/components/dynamic-import-statement.mjs.map +0 -1
  196. package/dist/typescript/components/entry-file.d.cts +0 -28
  197. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  198. package/dist/typescript/components/entry-file.d.mts +0 -28
  199. package/dist/typescript/components/entry-file.d.mts.map +0 -1
  200. package/dist/typescript/components/entry-file.mjs.map +0 -1
  201. package/dist/typescript/components/index.d.cts +0 -15
  202. package/dist/typescript/components/index.d.mts +0 -15
  203. package/dist/typescript/components/infrastructure-file.d.cts +0 -21
  204. package/dist/typescript/components/infrastructure-file.d.cts.map +0 -1
  205. package/dist/typescript/components/infrastructure-file.d.mts +0 -21
  206. package/dist/typescript/components/infrastructure-file.d.mts.map +0 -1
  207. package/dist/typescript/components/infrastructure-file.mjs.map +0 -1
  208. package/dist/typescript/components/interface-declaration.d.cts +0 -86
  209. package/dist/typescript/components/interface-declaration.d.cts.map +0 -1
  210. package/dist/typescript/components/interface-declaration.d.mts +0 -86
  211. package/dist/typescript/components/interface-declaration.d.mts.map +0 -1
  212. package/dist/typescript/components/interface-declaration.mjs.map +0 -1
  213. package/dist/typescript/components/object-declaration.d.cts +0 -30
  214. package/dist/typescript/components/object-declaration.d.cts.map +0 -1
  215. package/dist/typescript/components/object-declaration.d.mts +0 -30
  216. package/dist/typescript/components/object-declaration.d.mts.map +0 -1
  217. package/dist/typescript/components/object-declaration.mjs.map +0 -1
  218. package/dist/typescript/components/property-name.d.cts +0 -24
  219. package/dist/typescript/components/property-name.d.cts.map +0 -1
  220. package/dist/typescript/components/property-name.d.mts +0 -24
  221. package/dist/typescript/components/property-name.d.mts.map +0 -1
  222. package/dist/typescript/components/property-name.mjs.map +0 -1
  223. package/dist/typescript/components/record-expression.d.cts +0 -13
  224. package/dist/typescript/components/record-expression.d.cts.map +0 -1
  225. package/dist/typescript/components/record-expression.d.mts +0 -13
  226. package/dist/typescript/components/record-expression.d.mts.map +0 -1
  227. package/dist/typescript/components/record-expression.mjs.map +0 -1
  228. package/dist/typescript/components/tsdoc-reflection.d.cts +0 -44
  229. package/dist/typescript/components/tsdoc-reflection.d.cts.map +0 -1
  230. package/dist/typescript/components/tsdoc-reflection.d.mts +0 -44
  231. package/dist/typescript/components/tsdoc-reflection.d.mts.map +0 -1
  232. package/dist/typescript/components/tsdoc-reflection.mjs.map +0 -1
  233. package/dist/typescript/components/tsdoc.d.cts +0 -164
  234. package/dist/typescript/components/tsdoc.d.cts.map +0 -1
  235. package/dist/typescript/components/tsdoc.d.mts +0 -164
  236. package/dist/typescript/components/tsdoc.d.mts.map +0 -1
  237. package/dist/typescript/components/tsdoc.mjs.map +0 -1
  238. package/dist/typescript/components/type-declaration.d.cts +0 -18
  239. package/dist/typescript/components/type-declaration.d.cts.map +0 -1
  240. package/dist/typescript/components/type-declaration.d.mts +0 -18
  241. package/dist/typescript/components/type-declaration.d.mts.map +0 -1
  242. package/dist/typescript/components/type-declaration.mjs.map +0 -1
  243. package/dist/typescript/components/type-parameters.d.cts +0 -24
  244. package/dist/typescript/components/type-parameters.d.cts.map +0 -1
  245. package/dist/typescript/components/type-parameters.d.mts +0 -24
  246. package/dist/typescript/components/type-parameters.d.mts.map +0 -1
  247. package/dist/typescript/components/type-parameters.mjs.map +0 -1
  248. package/dist/typescript/components/typescript-file.d.cts +0 -50
  249. package/dist/typescript/components/typescript-file.d.cts.map +0 -1
  250. package/dist/typescript/components/typescript-file.d.mts +0 -50
  251. package/dist/typescript/components/typescript-file.d.mts.map +0 -1
  252. package/dist/typescript/components/typescript-file.mjs.map +0 -1
  253. package/dist/typescript/contexts/index.d.cts +0 -2
  254. package/dist/typescript/contexts/index.d.mts +0 -2
  255. package/dist/typescript/contexts/lexical-scope.d.cts +0 -17
  256. package/dist/typescript/contexts/lexical-scope.d.cts.map +0 -1
  257. package/dist/typescript/contexts/lexical-scope.d.mts +0 -17
  258. package/dist/typescript/contexts/lexical-scope.d.mts.map +0 -1
  259. package/dist/typescript/contexts/lexical-scope.mjs.map +0 -1
  260. package/dist/typescript/contexts/member-scope.d.cts +0 -20
  261. package/dist/typescript/contexts/member-scope.d.cts.map +0 -1
  262. package/dist/typescript/contexts/member-scope.d.mts +0 -20
  263. package/dist/typescript/contexts/member-scope.d.mts.map +0 -1
  264. package/dist/typescript/contexts/member-scope.mjs.map +0 -1
  265. package/dist/typescript/helpers/get-call-signature-props.d.cts +0 -14
  266. package/dist/typescript/helpers/get-call-signature-props.d.cts.map +0 -1
  267. package/dist/typescript/helpers/get-call-signature-props.d.mts +0 -14
  268. package/dist/typescript/helpers/get-call-signature-props.d.mts.map +0 -1
  269. package/dist/typescript/helpers/get-call-signature-props.mjs.map +0 -1
  270. package/dist/typescript/helpers/index.d.cts +0 -3
  271. package/dist/typescript/helpers/index.d.mts +0 -3
  272. package/dist/typescript/helpers/utilities.d.cts +0 -11
  273. package/dist/typescript/helpers/utilities.d.cts.map +0 -1
  274. package/dist/typescript/helpers/utilities.d.mts +0 -11
  275. package/dist/typescript/helpers/utilities.d.mts.map +0 -1
  276. package/dist/typescript/helpers/utilities.mjs.map +0 -1
  277. package/dist/typescript/index.d.cts +0 -18
  278. package/dist/typescript/index.d.mts +0 -18
  279. package/dist/yaml/components/index.d.cts +0 -2
  280. package/dist/yaml/components/index.d.mts +0 -2
  281. package/dist/yaml/components/yaml-file.d.cts +0 -34
  282. package/dist/yaml/components/yaml-file.d.cts.map +0 -1
  283. package/dist/yaml/components/yaml-file.d.mts +0 -34
  284. package/dist/yaml/components/yaml-file.d.mts.map +0 -1
  285. package/dist/yaml/components/yaml-file.mjs.map +0 -1
  286. package/dist/yaml/index.d.cts +0 -2
  287. package/dist/yaml/index.d.mts +0 -2
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>🔌 Powerlines</b> monorepo. Powerlines is the "
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.25.25-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.25.33-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -3,8 +3,8 @@ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
3
  const require_core_contexts_context = require('../contexts/context.cjs');
4
4
  const require_core_contexts_meta = require('../contexts/meta.cjs');
5
5
  require('../contexts/index.cjs');
6
- let _alloy_js_core = require("@alloy-js/core");
7
6
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
+ let _alloy_js_core = require("@alloy-js/core");
8
8
 
9
9
  //#region src/core/components/output.tsx
10
10
  /**
@@ -17,16 +17,23 @@ function Output(props) {
17
17
  "meta"
18
18
  ]);
19
19
  const contextRef = (0, _alloy_js_core.computed)(() => context);
20
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(require_core_contexts_meta.MetaContext.Provider, {
20
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_meta.MetaContext.Provider, {
21
21
  value: meta,
22
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(require_core_contexts_context.PowerlinesContext.Provider, {
23
- value: contextRef.value,
24
- children: /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Output, {
25
- ...rest,
26
- basePath: contextRef.value.workspaceConfig.workspaceRoot,
27
- children
28
- })
29
- })
22
+ get children() {
23
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_context.PowerlinesContext.Provider, {
24
+ get value() {
25
+ return contextRef.value;
26
+ },
27
+ get children() {
28
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Output, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
29
+ get basePath() {
30
+ return contextRef.value.workspaceConfig.workspaceRoot;
31
+ },
32
+ children
33
+ }));
34
+ }
35
+ });
36
+ }
30
37
  });
31
38
  }
32
39
 
@@ -1,8 +1,8 @@
1
1
  import { PowerlinesContext } from "../contexts/context.mjs";
2
2
  import { MetaContext } from "../contexts/meta.mjs";
3
3
  import "../contexts/index.mjs";
4
+ import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
4
5
  import { Output as Output$1, computed, splitProps } from "@alloy-js/core";
5
- import { jsx } from "@alloy-js/core/jsx-runtime";
6
6
 
7
7
  //#region src/core/components/output.tsx
8
8
  /**
@@ -15,19 +15,25 @@ function Output(props) {
15
15
  "meta"
16
16
  ]);
17
17
  const contextRef = computed(() => context);
18
- return /* @__PURE__ */ jsx(MetaContext.Provider, {
18
+ return createComponent(MetaContext.Provider, {
19
19
  value: meta,
20
- children: /* @__PURE__ */ jsx(PowerlinesContext.Provider, {
21
- value: contextRef.value,
22
- children: /* @__PURE__ */ jsx(Output$1, {
23
- ...rest,
24
- basePath: contextRef.value.workspaceConfig.workspaceRoot,
25
- children
26
- })
27
- })
20
+ get children() {
21
+ return createComponent(PowerlinesContext.Provider, {
22
+ get value() {
23
+ return contextRef.value;
24
+ },
25
+ get children() {
26
+ return createComponent(Output$1, mergeProps(rest, {
27
+ get basePath() {
28
+ return contextRef.value.workspaceConfig.workspaceRoot;
29
+ },
30
+ children
31
+ }));
32
+ }
33
+ });
34
+ }
28
35
  });
29
36
  }
30
37
 
31
38
  //#endregion
32
- export { Output };
33
- //# sourceMappingURL=output.mjs.map
39
+ export { Output };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- let _alloy_js_core = require("@alloy-js/core");
4
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let _alloy_js_core = require("@alloy-js/core");
5
5
 
6
6
  //#region src/core/components/single-line-comment.tsx
7
7
  /**
@@ -11,10 +11,12 @@ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
11
11
  function SingleLineComment(props) {
12
12
  const { variant = "double-slash", children } = props;
13
13
  const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : variant === "yaml" ? "# " : "// ";
14
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [commentStart, /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)("align", {
14
+ return [commentStart, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("align", {
15
15
  string: commentStart,
16
- children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""]
17
- })] });
16
+ get children() {
17
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
18
+ }
19
+ })];
18
20
  }
19
21
 
20
22
  //#endregion
@@ -1,5 +1,5 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
1
2
  import { Prose } from "@alloy-js/core";
2
- import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
3
 
4
4
  //#region src/core/components/single-line-comment.tsx
5
5
  /**
@@ -9,12 +9,13 @@ import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
9
9
  function SingleLineComment(props) {
10
10
  const { variant = "double-slash", children } = props;
11
11
  const commentStart = variant === "slash-star" ? "/* " : variant === "slash-star-star" ? "/** " : variant === "triple-slash" ? "/// " : variant === "markdown" ? "<!-- " : variant === "yaml" ? "# " : "// ";
12
- return /* @__PURE__ */ jsxs(Fragment, { children: [commentStart, /* @__PURE__ */ jsxs("align", {
12
+ return [commentStart, createIntrinsic("align", {
13
13
  string: commentStart,
14
- children: [/* @__PURE__ */ jsx(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""]
15
- })] });
14
+ get children() {
15
+ return [createComponent(Prose, { children }), variant === "slash-star" || variant === "slash-star-star" ? " */ " : variant === "markdown" ? " -->" : ""];
16
+ }
17
+ })];
16
18
  }
17
19
 
18
20
  //#endregion
19
- export { SingleLineComment };
20
- //# sourceMappingURL=single-line-comment.mjs.map
21
+ export { SingleLineComment };
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
3
  const require_core_contexts_meta = require('../contexts/meta.cjs');
4
- let _alloy_js_core = require("@alloy-js/core");
5
4
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
5
+ let _alloy_js_core = require("@alloy-js/core");
6
6
  let _stryke_path_append = require("@stryke/path/append");
7
7
  let defu = require("defu");
8
8
  defu = require_runtime.__toESM(defu);
@@ -47,12 +47,16 @@ function SourceFile(props) {
47
47
  storage,
48
48
  ...meta ?? {}
49
49
  };
50
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.SourceFileContext.Provider, {
50
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.SourceFileContext.Provider, {
51
51
  value: sourceFile,
52
- children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core.Show, {
53
- when: header !== void 0,
54
- children: [header, /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {})]
55
- }), children]
52
+ get children() {
53
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
54
+ when: header !== void 0,
55
+ get children() {
56
+ return [header, (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})];
57
+ }
58
+ }), children];
59
+ }
56
60
  });
57
61
  }
58
62
 
@@ -1,6 +1,6 @@
1
1
  import { useMeta } from "../contexts/meta.mjs";
2
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
2
3
  import { Show, SourceDirectoryContext, SourceFileContext, getContext, splitProps, useContext, useFormatOptions } from "@alloy-js/core";
3
- import { jsx, jsxs } from "@alloy-js/core/jsx-runtime";
4
4
  import { appendPath } from "@stryke/path/append";
5
5
  import defu from "defu";
6
6
 
@@ -44,15 +44,18 @@ function SourceFile(props) {
44
44
  storage,
45
45
  ...meta ?? {}
46
46
  };
47
- return /* @__PURE__ */ jsxs(SourceFileContext.Provider, {
47
+ return createComponent(SourceFileContext.Provider, {
48
48
  value: sourceFile,
49
- children: [/* @__PURE__ */ jsxs(Show, {
50
- when: header !== void 0,
51
- children: [header, /* @__PURE__ */ jsx("hbr", {})]
52
- }), children]
49
+ get children() {
50
+ return [createComponent(Show, {
51
+ when: header !== void 0,
52
+ get children() {
53
+ return [header, createIntrinsic("hbr", {})];
54
+ }
55
+ }), children];
56
+ }
53
57
  });
54
58
  }
55
59
 
56
60
  //#endregion
57
- export { SourceFile };
58
- //# sourceMappingURL=source-file.mjs.map
61
+ export { SourceFile };
@@ -1,16 +1,18 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- let _alloy_js_core = require("@alloy-js/core");
4
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let _alloy_js_core = require("@alloy-js/core");
5
5
 
6
6
  //#region src/core/components/spacing.tsx
7
7
  /**
8
8
  * A simple component that renders two horizontal breaks to create vertical spacing between elements.
9
9
  */
10
10
  function Spacing({ scale = 1 }) {
11
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.For, {
12
- each: Array.from({ length: scale }),
13
- children: (_) => /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}), /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {})] })
11
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
12
+ get each() {
13
+ return Array.from({ length: scale });
14
+ },
15
+ children: (_) => [(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}), (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})]
14
16
  });
15
17
  }
16
18
 
@@ -1,17 +1,18 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
1
2
  import { For } from "@alloy-js/core";
2
- import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
3
 
4
4
  //#region src/core/components/spacing.tsx
5
5
  /**
6
6
  * A simple component that renders two horizontal breaks to create vertical spacing between elements.
7
7
  */
8
8
  function Spacing({ scale = 1 }) {
9
- return /* @__PURE__ */ jsx(For, {
10
- each: Array.from({ length: scale }),
11
- children: (_) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("hbr", {}), /* @__PURE__ */ jsx("hbr", {})] })
9
+ return createComponent(For, {
10
+ get each() {
11
+ return Array.from({ length: scale });
12
+ },
13
+ children: (_) => [createIntrinsic("hbr", {}), createIntrinsic("hbr", {})]
12
14
  });
13
15
  }
14
16
 
15
17
  //#endregion
16
- export { Spacing };
17
- //# sourceMappingURL=spacing.mjs.map
18
+ export { Spacing };
@@ -33,5 +33,4 @@ function usePowerlines() {
33
33
  }
34
34
 
35
35
  //#endregion
36
- export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
37
- //# sourceMappingURL=context.mjs.map
36
+ export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -33,5 +33,4 @@ function useMeta() {
33
33
  }
34
34
 
35
35
  //#endregion
36
- export { MetaContext, useMeta, useMetaContext, useMetaSafe };
37
- //# sourceMappingURL=meta.mjs.map
36
+ export { MetaContext, useMeta, useMetaContext, useMetaSafe };
@@ -57,5 +57,4 @@ function useReflectionParameter() {
57
57
  }
58
58
 
59
59
  //#endregion
60
- export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
61
- //# sourceMappingURL=reflection.mjs.map
60
+ export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
@@ -29,5 +29,4 @@ function code(template, ...substitutions) {
29
29
  }
30
30
 
31
31
  //#endregion
32
- export { code };
33
- //# sourceMappingURL=code.mjs.map
32
+ export { code };
@@ -256,5 +256,4 @@ function generateCapnpPrimitive(type) {
256
256
  }
257
257
 
258
258
  //#endregion
259
- export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
260
- //# sourceMappingURL=capnp.mjs.map
259
+ export { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue };
@@ -15,5 +15,4 @@ function createBuiltin(options) {
15
15
  }
16
16
 
17
17
  //#endregion
18
- export { createBuiltin };
19
- //# sourceMappingURL=create-builtin.mjs.map
18
+ export { createBuiltin };
@@ -12,5 +12,4 @@ function refkey(...args) {
12
12
  }
13
13
 
14
14
  //#endregion
15
- export { refkey };
16
- //# sourceMappingURL=refkey.mjs.map
15
+ export { refkey };
@@ -42,5 +42,4 @@ export const ${camelCase(options.overrideName || reflection.getName())}${options
42
42
  }
43
43
 
44
44
  //#endregion
45
- export { generateObjectDeclaration };
46
- //# sourceMappingURL=typescript.mjs.map
45
+ export { generateObjectDeclaration };
package/dist/index.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
2
  const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
- let _alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
4
- _alloy_js_rollup_plugin = require_runtime.__toESM(_alloy_js_rollup_plugin);
5
- let _powerlines_plugin_babel_helpers = require("@powerlines/plugin-babel/helpers");
3
+ let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
4
+ _powerlines_plugin_babel = require_runtime.__toESM(_powerlines_plugin_babel);
6
5
  let _stryke_json_storm_json = require("@stryke/json/storm-json");
7
6
 
8
7
  //#region src/index.tsx
@@ -13,7 +12,7 @@ let _stryke_json_storm_json = require("@stryke/json/storm-json");
13
12
  * @returns A Powerlines plugin that integrates Alloy-js transformations.
14
13
  */
15
14
  const plugin = (options = {}) => {
16
- return [{
15
+ return [(0, _powerlines_plugin_babel.default)(), {
17
16
  name: "alloy",
18
17
  config() {
19
18
  this.debug("Updating configuration options to support Alloy-js builds.");
@@ -22,28 +21,19 @@ const plugin = (options = {}) => {
22
21
  typescript: true,
23
22
  ...options
24
23
  },
25
- resolve: { external: [/^@alloy-js\//] },
26
- tsdown: {
27
- inputOptions: { transform: { jsx: {
28
- runtime: "automatic",
29
- importSource: "@alloy-js/core"
30
- } } },
31
- plugins: [(0, _alloy_js_rollup_plugin.default)()]
32
- }
24
+ babel: { presets: ["@alloy-js/babel-preset"] },
25
+ tsdown: { inputOptions: { transform: { jsx: "preserve" } } },
26
+ resolve: { external: [/^@alloy-js\//] }
33
27
  };
34
28
  },
35
29
  async configResolved() {
36
30
  this.debug("Ensuring TypeScript configuration is set up for Alloy-js.");
37
- if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "react-jsx" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
31
+ if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
38
32
  this.tsconfig.tsconfigJson.compilerOptions ??= {};
39
- if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "react-jsx") this.tsconfig.tsconfigJson.compilerOptions.jsx = "react-jsx";
33
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
40
34
  if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
41
35
  await this.fs.write(this.tsconfig.tsconfigFilePath, _stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
42
36
  }
43
- if (this.config.babel && (!this.config.babel.plugins || !(0, _powerlines_plugin_babel_helpers.isDuplicatePlugin)(this.config.babel.plugins, "@babel/plugin-syntax-jsx"))) {
44
- this.config.babel.plugins ??= [];
45
- this.config.babel.plugins.push("@babel/plugin-syntax-jsx");
46
- }
47
37
  }
48
38
  }];
49
39
  };
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
- import rollupPlugin from "@alloy-js/rollup-plugin";
2
- import { isDuplicatePlugin } from "@powerlines/plugin-babel/helpers";
1
+ import babel from "@powerlines/plugin-babel";
3
2
  import { StormJSON } from "@stryke/json/storm-json";
4
3
 
5
4
  //#region src/index.tsx
@@ -10,7 +9,7 @@ import { StormJSON } from "@stryke/json/storm-json";
10
9
  * @returns A Powerlines plugin that integrates Alloy-js transformations.
11
10
  */
12
11
  const plugin = (options = {}) => {
13
- return [{
12
+ return [babel(), {
14
13
  name: "alloy",
15
14
  config() {
16
15
  this.debug("Updating configuration options to support Alloy-js builds.");
@@ -19,32 +18,22 @@ const plugin = (options = {}) => {
19
18
  typescript: true,
20
19
  ...options
21
20
  },
22
- resolve: { external: [/^@alloy-js\//] },
23
- tsdown: {
24
- inputOptions: { transform: { jsx: {
25
- runtime: "automatic",
26
- importSource: "@alloy-js/core"
27
- } } },
28
- plugins: [rollupPlugin()]
29
- }
21
+ babel: { presets: ["@alloy-js/babel-preset"] },
22
+ tsdown: { inputOptions: { transform: { jsx: "preserve" } } },
23
+ resolve: { external: [/^@alloy-js\//] }
30
24
  };
31
25
  },
32
26
  async configResolved() {
33
27
  this.debug("Ensuring TypeScript configuration is set up for Alloy-js.");
34
- if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "react-jsx" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
28
+ if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
35
29
  this.tsconfig.tsconfigJson.compilerOptions ??= {};
36
- if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "react-jsx") this.tsconfig.tsconfigJson.compilerOptions.jsx = "react-jsx";
30
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
37
31
  if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
38
32
  await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
39
33
  }
40
- if (this.config.babel && (!this.config.babel.plugins || !isDuplicatePlugin(this.config.babel.plugins, "@babel/plugin-syntax-jsx"))) {
41
- this.config.babel.plugins ??= [];
42
- this.config.babel.plugins.push("@babel/plugin-syntax-jsx");
43
- }
44
34
  }
45
35
  }];
46
36
  };
47
37
 
48
38
  //#endregion
49
- export { plugin as default, plugin };
50
- //# sourceMappingURL=index.mjs.map
39
+ export { plugin as default, plugin };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
3
- let _alloy_js_core = require("@alloy-js/core");
4
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
+ let _alloy_js_core = require("@alloy-js/core");
5
5
 
6
6
  //#region src/markdown/components/front-matter.tsx
7
7
  /**
@@ -10,17 +10,19 @@ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
10
10
  * @see https://jekyllrb.com/docs/front-matter/
11
11
  */
12
12
  function FrontMatter(props) {
13
- return /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsxs)(_alloy_js_core_jsx_runtime.Fragment, { children: [
13
+ return [
14
14
  "---",
15
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {}),
16
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)(_alloy_js_core.For, {
17
- each: Object.entries(props.data),
15
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
16
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
17
+ get each() {
18
+ return Object.entries(props.data);
19
+ },
18
20
  hardline: true,
19
21
  children: ([key, value]) => _alloy_js_core.code`${key}: ${JSON.stringify(value)}`
20
22
  }),
21
23
  "---",
22
- /* @__PURE__ */ (0, _alloy_js_core_jsx_runtime.jsx)("hbr", {})
23
- ] });
24
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
25
+ ];
24
26
  }
25
27
 
26
28
  //#endregion
@@ -1,5 +1,5 @@
1
+ import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
1
2
  import { For, code } from "@alloy-js/core";
2
- import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
3
3
 
4
4
  //#region src/markdown/components/front-matter.tsx
5
5
  /**
@@ -8,19 +8,20 @@ import { Fragment, jsx, jsxs } from "@alloy-js/core/jsx-runtime";
8
8
  * @see https://jekyllrb.com/docs/front-matter/
9
9
  */
10
10
  function FrontMatter(props) {
11
- return /* @__PURE__ */ jsxs(Fragment, { children: [
11
+ return [
12
12
  "---",
13
- /* @__PURE__ */ jsx("hbr", {}),
14
- /* @__PURE__ */ jsx(For, {
15
- each: Object.entries(props.data),
13
+ createIntrinsic("hbr", {}),
14
+ createComponent(For, {
15
+ get each() {
16
+ return Object.entries(props.data);
17
+ },
16
18
  hardline: true,
17
19
  children: ([key, value]) => code`${key}: ${JSON.stringify(value)}`
18
20
  }),
19
21
  "---",
20
- /* @__PURE__ */ jsx("hbr", {})
21
- ] });
22
+ createIntrinsic("hbr", {})
23
+ ];
22
24
  }
23
25
 
24
26
  //#endregion
25
- export { FrontMatter };
26
- //# sourceMappingURL=front-matter.mjs.map
27
+ export { FrontMatter };