@powerlines/plugin-alloy 0.19.31 → 0.19.32
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.
- package/dist/{builtin-file-Bw1bYOCQ.mjs → builtin-file-BNp7C-BU.mjs} +5 -5
- package/dist/{builtin-file-Bw1bYOCQ.mjs.map → builtin-file-BNp7C-BU.mjs.map} +1 -1
- package/dist/{builtin-file-K7Mjsnci.d.mts → builtin-file-C-TpxdCP.d.mts} +5 -5
- package/dist/{builtin-file-K7Mjsnci.d.mts.map → builtin-file-C-TpxdCP.d.mts.map} +1 -1
- package/dist/{builtin-file-DBVEIrzq.d.cts → builtin-file-CDLuGDg7.d.cts} +5 -5
- package/dist/{builtin-file-DBVEIrzq.d.cts.map → builtin-file-CDLuGDg7.d.cts.map} +1 -1
- package/dist/{builtin-file-DWgYSvGi.cjs → builtin-file-CQAeHqiO.cjs} +3 -3
- package/dist/builtin-file-DWcpFOVB.d.mts +35 -0
- package/dist/builtin-file-DWcpFOVB.d.mts.map +1 -0
- package/dist/builtin-file-I0ejC9w0.d.cts +35 -0
- package/dist/builtin-file-I0ejC9w0.d.cts.map +1 -0
- package/dist/{capnp-BfsEWHU2.d.cts → capnp-CLxcoMcG.d.mts} +2 -2
- package/dist/{capnp-BfsEWHU2.d.cts.map → capnp-CLxcoMcG.d.mts.map} +1 -1
- package/dist/{capnp-XK1IvfIR.mjs → capnp-CPbob9Cm.mjs} +1 -1
- package/dist/{capnp-XK1IvfIR.mjs.map → capnp-CPbob9Cm.mjs.map} +1 -1
- package/dist/{capnp-DcnwPttP.d.mts → capnp-DbPtfpg2.d.cts} +2 -2
- package/dist/{capnp-DcnwPttP.d.mts.map → capnp-DbPtfpg2.d.cts.map} +1 -1
- package/dist/{components-DPPi58b5.d.cts → components-CvqTz7Q9.d.cts} +2 -2
- package/dist/{components-DPPi58b5.d.cts.map → components-CvqTz7Q9.d.cts.map} +1 -1
- package/dist/{components-oHSM7vmp.d.mts → components-_4e2YMfT.d.mts} +1 -1
- package/dist/{components-oHSM7vmp.d.mts.map → components-_4e2YMfT.d.mts.map} +1 -1
- package/dist/{context-CiHsTXX7.d.cts → context-C7gW4eqa.d.cts} +1 -1
- package/dist/{context-C-CzW-8C.d.mts.map → context-C7gW4eqa.d.cts.map} +1 -1
- package/dist/{context-CKFN898c.mjs → context-CdPajCh6.mjs} +1 -1
- package/dist/{context-CKFN898c.mjs.map → context-CdPajCh6.mjs.map} +1 -1
- package/dist/{context-C-CzW-8C.d.mts → context-D5pAjVbn.d.mts} +1 -1
- package/dist/{context-CiHsTXX7.d.cts.map → context-D5pAjVbn.d.mts.map} +1 -1
- package/dist/core/components/index.cjs +7 -5
- package/dist/core/components/index.d.cts +9 -5
- package/dist/core/components/index.d.mts +9 -5
- package/dist/core/components/index.mjs +8 -6
- package/dist/core/components/output.cjs +4 -1
- package/dist/core/components/output.d.cts +6 -1
- package/dist/core/components/output.d.mts +6 -1
- package/dist/core/components/output.mjs +5 -2
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +2 -2
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/source-file.cjs +2 -3
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/components/source-file.mjs +2 -3
- package/dist/core/contexts/context.d.cts +1 -1
- package/dist/core/contexts/context.d.mts +1 -1
- package/dist/core/contexts/context.mjs +1 -1
- package/dist/core/contexts/index.cjs +5 -3
- package/dist/core/contexts/index.d.cts +6 -6
- package/dist/core/contexts/index.d.mts +6 -6
- package/dist/core/contexts/index.mjs +5 -5
- package/dist/core/contexts/meta.cjs +3 -2
- package/dist/core/contexts/meta.d.cts +2 -2
- package/dist/core/contexts/meta.d.mts +2 -2
- package/dist/core/contexts/meta.mjs +2 -3
- package/dist/core/contexts/reflection.cjs +1 -1
- package/dist/core/contexts/reflection.d.cts +2 -2
- package/dist/core/contexts/reflection.d.mts +2 -2
- package/dist/core/contexts/reflection.mjs +1 -1
- package/dist/core/index.cjs +9 -7
- package/dist/core/index.d.cts +10 -11
- package/dist/core/index.d.mts +10 -11
- package/dist/core/index.mjs +9 -9
- package/dist/{create-builtin-C4n9BYjY.mjs → create-builtin-Be3J_vqf.mjs} +1 -1
- package/dist/{create-builtin-C4n9BYjY.mjs.map → create-builtin-Be3J_vqf.mjs.map} +1 -1
- package/dist/{create-builtin-BvtcWfWV.d.mts → create-builtin-Bpswa0ZT.d.cts} +1 -1
- package/dist/{create-builtin-BvtcWfWV.d.mts.map → create-builtin-Bpswa0ZT.d.cts.map} +1 -1
- package/dist/{create-builtin-CI8g-abA.d.cts → create-builtin-CbEjJreB.d.mts} +1 -1
- package/dist/{create-builtin-CI8g-abA.d.cts.map → create-builtin-CbEjJreB.d.mts.map} +1 -1
- package/dist/{dynamic-import-statement-Bqjroltk.mjs → dynamic-import-statement-B4Ov9C7y.mjs} +2 -2
- package/dist/{dynamic-import-statement-Bqjroltk.mjs.map → dynamic-import-statement-B4Ov9C7y.mjs.map} +1 -1
- package/dist/{dynamic-import-statement-DAmCRVet.d.cts → dynamic-import-statement-CNsIFAva.d.cts} +3 -3
- package/dist/{dynamic-import-statement-DAmCRVet.d.cts.map → dynamic-import-statement-CNsIFAva.d.cts.map} +1 -1
- package/dist/{dynamic-import-statement-HRfx1nlm.d.mts → dynamic-import-statement-CVIYwXyi.d.mts} +3 -3
- package/dist/{dynamic-import-statement-HRfx1nlm.d.mts.map → dynamic-import-statement-CVIYwXyi.d.mts.map} +1 -1
- package/dist/dynamic-import-statement-DDEpZVlQ.d.cts +33 -0
- package/dist/dynamic-import-statement-DDEpZVlQ.d.cts.map +1 -0
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts +33 -0
- package/dist/dynamic-import-statement-DSNDMC9Y.d.mts.map +1 -0
- package/dist/{dynamic-import-statement-CQrBX87Z.cjs → dynamic-import-statement-Dy_MY_Ua.cjs} +1 -1
- package/dist/{entry-file-CO-bFg_2.cjs → entry-file-CYPWFUfe.cjs} +4 -4
- package/dist/{entry-file-CadgbWeB.mjs → entry-file-CrZ-k87r.mjs} +6 -6
- package/dist/{entry-file-CadgbWeB.mjs.map → entry-file-CrZ-k87r.mjs.map} +1 -1
- package/dist/{entry-file-C8P-fdd8.d.cts → entry-file-DOcjyCDG.d.mts} +4 -4
- package/dist/{entry-file-C8P-fdd8.d.cts.map → entry-file-DOcjyCDG.d.mts.map} +1 -1
- package/dist/{entry-file-CEFpERUV.d.mts → entry-file-DVf4SGx4.d.cts} +4 -4
- package/dist/{entry-file-CEFpERUV.d.mts.map → entry-file-DVf4SGx4.d.cts.map} +1 -1
- package/dist/entry-file-DXv3HtYV.d.mts +28 -0
- package/dist/entry-file-DXv3HtYV.d.mts.map +1 -0
- package/dist/entry-file-y0caTLfc.d.cts +28 -0
- package/dist/entry-file-y0caTLfc.d.cts.map +1 -0
- package/dist/{front-matter-CEkoeaky.mjs → front-matter-BeTG0uJA.mjs} +2 -2
- package/dist/{front-matter-CEkoeaky.mjs.map → front-matter-BeTG0uJA.mjs.map} +1 -1
- package/dist/{front-matter-BZuLGCXi.d.mts → front-matter-CXfCT8a8.d.mts} +1 -1
- package/dist/{front-matter-BZuLGCXi.d.mts.map → front-matter-CXfCT8a8.d.mts.map} +1 -1
- package/dist/{front-matter-tYvUQe2w.d.cts → front-matter-DTorR58b.d.cts} +1 -1
- package/dist/{front-matter-tYvUQe2w.d.cts.map → front-matter-DTorR58b.d.cts.map} +1 -1
- package/dist/{front-matter-CHooHk9R.cjs → front-matter-DZ1tB-Uj.cjs} +1 -1
- package/dist/front-matter-DySGMCRE.d.cts +16 -0
- package/dist/front-matter-DySGMCRE.d.cts.map +1 -0
- package/dist/helpers/capnp.d.cts +1 -1
- package/dist/helpers/capnp.d.mts +1 -1
- package/dist/helpers/capnp.mjs +1 -1
- package/dist/helpers/create-builtin.d.cts +1 -1
- package/dist/helpers/create-builtin.d.mts +1 -1
- package/dist/helpers/create-builtin.mjs +1 -1
- package/dist/helpers/index.d.cts +4 -4
- package/dist/helpers/index.d.mts +4 -4
- package/dist/helpers/index.mjs +4 -4
- package/dist/helpers/refkey.d.cts +1 -1
- package/dist/helpers/refkey.d.mts +1 -1
- package/dist/helpers/refkey.mjs +1 -1
- package/dist/helpers/typescript.d.cts +1 -1
- package/dist/helpers/typescript.d.mts +1 -1
- package/dist/helpers/typescript.mjs +1 -1
- package/dist/index.cjs +1 -44
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -44
- package/dist/index.mjs.map +1 -1
- package/dist/markdown/components/front-matter.cjs +1 -1
- package/dist/markdown/components/front-matter.d.cts +1 -1
- package/dist/markdown/components/front-matter.d.mts +1 -1
- package/dist/markdown/components/front-matter.mjs +1 -1
- package/dist/markdown/components/index.cjs +6 -6
- package/dist/markdown/components/index.d.cts +7 -7
- package/dist/markdown/components/index.d.mts +7 -7
- package/dist/markdown/components/index.mjs +9 -9
- package/dist/markdown/components/markdown-file.cjs +5 -5
- package/dist/markdown/components/markdown-file.d.cts +4 -4
- package/dist/markdown/components/markdown-file.d.mts +4 -4
- package/dist/markdown/components/markdown-file.mjs +6 -6
- package/dist/markdown/components/markdown-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +3 -3
- package/dist/markdown/components/markdown-table.d.mts +3 -3
- package/dist/markdown/components/markdown-table.mjs +2 -2
- package/dist/markdown/contexts/index.d.cts +2 -2
- package/dist/markdown/contexts/index.d.mts +2 -2
- package/dist/markdown/contexts/index.mjs +2 -2
- package/dist/markdown/contexts/markdown-table.d.cts +1 -1
- package/dist/markdown/contexts/markdown-table.d.mts +1 -1
- package/dist/markdown/contexts/markdown-table.mjs +1 -1
- package/dist/markdown/index.cjs +6 -6
- package/dist/markdown/index.d.cts +8 -8
- package/dist/markdown/index.d.mts +8 -8
- package/dist/markdown/index.mjs +10 -10
- package/dist/markdown-file-BkmvexMF.d.cts +29 -0
- package/dist/markdown-file-BkmvexMF.d.cts.map +1 -0
- package/dist/{markdown-file-C-b4PJoF.d.cts → markdown-file-C7o9bn--.d.mts} +7 -7
- package/dist/{markdown-file-BEUAWPHg.d.mts.map → markdown-file-C7o9bn--.d.mts.map} +1 -1
- package/dist/{markdown-file-ea7OzK-k.cjs → markdown-file-CFt8hI37.cjs} +4 -4
- package/dist/{markdown-file-RKe2FbuF.mjs → markdown-file-CX8auFpl.mjs} +6 -6
- package/dist/{markdown-file-RKe2FbuF.mjs.map → markdown-file-CX8auFpl.mjs.map} +1 -1
- package/dist/markdown-file-CbVNKFje.d.cts +29 -0
- package/dist/{markdown-file-C-b4PJoF.d.cts.map → markdown-file-CbVNKFje.d.cts.map} +1 -1
- package/dist/{markdown-file-BEUAWPHg.d.mts → markdown-file-DMrhFhUU.d.mts} +4 -4
- package/dist/markdown-file-DMrhFhUU.d.mts.map +1 -0
- package/dist/{markdown-table-75TAAul6.d.mts → markdown-table-B7EUUNbl.d.mts} +3 -3
- package/dist/{markdown-table-75TAAul6.d.mts.map → markdown-table-B7EUUNbl.d.mts.map} +1 -1
- package/dist/{markdown-table-Bq35u0iA.d.cts → markdown-table-CGXp5JbS.d.mts} +7 -7
- package/dist/{markdown-table-Bq35u0iA.d.cts.map → markdown-table-CGXp5JbS.d.mts.map} +1 -1
- package/dist/markdown-table-CKMEMcyb.d.cts +28 -0
- package/dist/markdown-table-CKMEMcyb.d.cts.map +1 -0
- package/dist/{markdown-table-DIfM03TF.d.mts → markdown-table-CZMEY6IR.d.cts} +1 -1
- package/dist/{markdown-table-Dxxupt8O.d.cts.map → markdown-table-CZMEY6IR.d.cts.map} +1 -1
- package/dist/{markdown-table-C_Hf6eBe.mjs → markdown-table-CnEur72Z.mjs} +3 -3
- package/dist/{markdown-table-C_Hf6eBe.mjs.map → markdown-table-CnEur72Z.mjs.map} +1 -1
- package/dist/markdown-table-Cv3P72sN.d.cts +28 -0
- package/dist/markdown-table-Cv3P72sN.d.cts.map +1 -0
- package/dist/{markdown-table-BKaAfa6u.mjs → markdown-table-PT2TFFY3.mjs} +1 -1
- package/dist/{markdown-table-BKaAfa6u.mjs.map → markdown-table-PT2TFFY3.mjs.map} +1 -1
- package/dist/{markdown-table-Cgk4CzYe.cjs → markdown-table-eTnxxb46.cjs} +1 -1
- package/dist/{markdown-table-Dxxupt8O.d.cts → markdown-table-t6Z-cmxX.d.mts} +1 -1
- package/dist/{markdown-table-DIfM03TF.d.mts.map → markdown-table-t6Z-cmxX.d.mts.map} +1 -1
- package/dist/{meta-B_DjEFR_.cjs → meta-BEeFPjoM.mjs} +16 -14
- package/dist/meta-BEeFPjoM.mjs.map +1 -0
- package/dist/meta-BVJcyXVs.cjs +60 -0
- package/dist/{meta-CW_VzTrH.d.cts → meta-D0y5uZo4.d.cts} +13 -2
- package/dist/meta-D0y5uZo4.d.cts.map +1 -0
- package/dist/{meta-Cx5Eo5XM.d.mts → meta-DJqWxY95.d.mts} +13 -2
- package/dist/meta-DJqWxY95.d.mts.map +1 -0
- package/dist/{output-Do5udygo.cjs → output-B5O_qz0i.cjs} +18 -14
- package/dist/output-C5BkcdCd.d.cts +24 -0
- package/dist/output-C5BkcdCd.d.cts.map +1 -0
- package/dist/{output-DIrAcd1E.d.mts → output-C7mlHz0P.d.mts} +9 -4
- package/dist/output-C7mlHz0P.d.mts.map +1 -0
- package/dist/output-DcuryjuV.mjs +39 -0
- package/dist/output-DcuryjuV.mjs.map +1 -0
- package/dist/{output-D2_r5fQS.d.cts → output-XvUhyMSi.d.cts} +9 -4
- package/dist/output-XvUhyMSi.d.cts.map +1 -0
- package/dist/plugin-CyBCpZyU.d.mts +39 -0
- package/dist/plugin-CyBCpZyU.d.mts.map +1 -0
- package/dist/plugin-DIlnN1SV.d.cts +39 -0
- package/dist/plugin-DIlnN1SV.d.cts.map +1 -0
- package/dist/{record-expression-B4Wa9HOn.d.cts → record-expression-ChoLAsVS.d.mts} +1 -1
- package/dist/{record-expression-B4Wa9HOn.d.cts.map → record-expression-ChoLAsVS.d.mts.map} +1 -1
- package/dist/{record-expression-BHpXe3mY.mjs → record-expression-D5W72rZN.mjs} +1 -1
- package/dist/{record-expression-BHpXe3mY.mjs.map → record-expression-D5W72rZN.mjs.map} +1 -1
- package/dist/{record-expression-DYCDlTyT.d.mts → record-expression-Dwg_PZpg.d.cts} +1 -1
- package/dist/{record-expression-DYCDlTyT.d.mts.map → record-expression-Dwg_PZpg.d.cts.map} +1 -1
- package/dist/{refkey-DqDd2Fzs.d.cts → refkey-CP7MJMac.d.cts} +1 -1
- package/dist/refkey-CP7MJMac.d.cts.map +1 -0
- package/dist/{refkey-CyhX8n2z.mjs → refkey-CQVHeuAq.mjs} +1 -1
- package/dist/{refkey-CyhX8n2z.mjs.map → refkey-CQVHeuAq.mjs.map} +1 -1
- package/dist/{refkey-CqkD5Tjp.d.mts → refkey-D6OjgKgS.d.mts} +1 -1
- package/dist/refkey-D6OjgKgS.d.mts.map +1 -0
- package/dist/{reflection-CAz7PWzK.d.mts → reflection-CfOmSgDn.d.mts} +2 -2
- package/dist/{reflection-CAz7PWzK.d.mts.map → reflection-CfOmSgDn.d.mts.map} +1 -1
- package/dist/{reflection-JGVev2J6.d.cts → reflection-Q87E_-w_.d.cts} +2 -2
- package/dist/{reflection-JGVev2J6.d.cts.map → reflection-Q87E_-w_.d.cts.map} +1 -1
- package/dist/{reflection-ExLWJ473.mjs → reflection-TXYxCAwV.mjs} +1 -1
- package/dist/{reflection-ExLWJ473.mjs.map → reflection-TXYxCAwV.mjs.map} +1 -1
- package/dist/{single-line-comment-PMv_zrfe.d.mts → single-line-comment-BKFqKn-D.d.mts} +2 -2
- package/dist/{single-line-comment-B0sVqs7Q.d.cts.map → single-line-comment-BKFqKn-D.d.mts.map} +1 -1
- package/dist/{single-line-comment-B0sVqs7Q.d.cts → single-line-comment-Ct_putR7.d.mts} +2 -2
- package/dist/{single-line-comment-PMv_zrfe.d.mts.map → single-line-comment-Ct_putR7.d.mts.map} +1 -1
- package/dist/single-line-comment-D2y_A8e1.d.cts +23 -0
- package/dist/single-line-comment-D2y_A8e1.d.cts.map +1 -0
- package/dist/{single-line-comment-BrU33od6.mjs → single-line-comment-DW0LUIQ2.mjs} +2 -2
- package/dist/{single-line-comment-BrU33od6.mjs.map → single-line-comment-DW0LUIQ2.mjs.map} +1 -1
- package/dist/single-line-comment-DWQy5rrk.d.cts +23 -0
- package/dist/single-line-comment-DWQy5rrk.d.cts.map +1 -0
- package/dist/{single-line-comment-Ch8k9S0E.cjs → single-line-comment-tAWBgL9v.cjs} +1 -1
- package/dist/{source-file-CQl0UCgf.d.mts → source-file-B51pGSXX.d.mts} +4 -4
- package/dist/{source-file-Bhx5nuCf.d.cts.map → source-file-B51pGSXX.d.mts.map} +1 -1
- package/dist/{source-file-Bhx5nuCf.d.cts → source-file-BhqYj8m-.d.mts} +2 -2
- package/dist/{source-file-CQl0UCgf.d.mts.map → source-file-BhqYj8m-.d.mts.map} +1 -1
- package/dist/{source-file-xG4WodHS.mjs → source-file-Bl7eV0Li.mjs} +3 -3
- package/dist/{source-file-xG4WodHS.mjs.map → source-file-Bl7eV0Li.mjs.map} +1 -1
- package/dist/source-file-DiisOeS2.d.cts +33 -0
- package/dist/source-file-DiisOeS2.d.cts.map +1 -0
- package/dist/{source-file-BVPcj5P1.cjs → source-file-DnqaQY90.cjs} +2 -2
- package/dist/source-file-gMJwiJAw.d.cts +33 -0
- package/dist/source-file-gMJwiJAw.d.cts.map +1 -0
- package/dist/{tsdoc-BCx8RAZm.cjs → tsdoc-BufL8muf.cjs} +1 -1
- package/dist/{tsdoc-AFK8LOIR.mjs → tsdoc-DB1Qzwsn.mjs} +3 -3
- package/dist/{tsdoc-AFK8LOIR.mjs.map → tsdoc-DB1Qzwsn.mjs.map} +1 -1
- package/dist/{tsdoc-BlBkyIWO.d.cts → tsdoc-DiBR7m1J.d.cts} +3 -3
- package/dist/{tsdoc-BlBkyIWO.d.cts.map → tsdoc-DiBR7m1J.d.cts.map} +1 -1
- package/dist/{tsdoc-cuL_4mkw.d.mts → tsdoc-KHfXy9HE.d.mts} +2 -2
- package/dist/{tsdoc-cuL_4mkw.d.mts.map → tsdoc-KHfXy9HE.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-DunqwDOh.cjs → tsdoc-reflection-B5-J4ia-.cjs} +3 -3
- package/dist/{tsdoc-reflection-cx_-R04W.mjs → tsdoc-reflection-BGPyymTb.mjs} +4 -4
- package/dist/{tsdoc-reflection-cx_-R04W.mjs.map → tsdoc-reflection-BGPyymTb.mjs.map} +1 -1
- package/dist/{tsdoc-reflection-CsSzmNvA.d.mts → tsdoc-reflection-CYz5udTh.d.mts} +6 -6
- package/dist/{tsdoc-reflection-CsSzmNvA.d.mts.map → tsdoc-reflection-CYz5udTh.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-D6D_9W1j.d.cts → tsdoc-reflection-DTYkFxKy.d.cts} +6 -6
- package/dist/{tsdoc-reflection-D6D_9W1j.d.cts.map → tsdoc-reflection-DTYkFxKy.d.cts.map} +1 -1
- package/dist/tsdoc-reflection-cRd43W18.d.cts +19 -0
- package/dist/tsdoc-reflection-cRd43W18.d.cts.map +1 -0
- package/dist/types/components.d.cts +1 -1
- package/dist/types/components.d.mts +1 -1
- package/dist/types/components.mjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/dist/typescript/components/builtin-file.cjs +6 -6
- package/dist/typescript/components/builtin-file.d.cts +5 -5
- package/dist/typescript/components/builtin-file.d.mts +5 -5
- package/dist/typescript/components/builtin-file.mjs +7 -7
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
- package/dist/typescript/components/entry-file.cjs +5 -5
- package/dist/typescript/components/entry-file.d.cts +4 -4
- package/dist/typescript/components/entry-file.d.mts +4 -4
- package/dist/typescript/components/entry-file.mjs +6 -6
- package/dist/typescript/components/index.cjs +12 -12
- package/dist/typescript/components/index.d.cts +12 -12
- package/dist/typescript/components/index.d.mts +12 -12
- package/dist/typescript/components/index.mjs +15 -15
- package/dist/typescript/components/record-expression.d.cts +1 -1
- package/dist/typescript/components/record-expression.d.mts +1 -1
- package/dist/typescript/components/record-expression.mjs +1 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.cts +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.mts +3 -3
- package/dist/typescript/components/tsdoc-reflection.mjs +4 -4
- package/dist/typescript/components/tsdoc.cjs +1 -1
- package/dist/typescript/components/tsdoc.d.cts +2 -2
- package/dist/typescript/components/tsdoc.d.mts +2 -2
- package/dist/typescript/components/tsdoc.mjs +2 -2
- package/dist/typescript/components/typescript-file.cjs +4 -4
- package/dist/typescript/components/typescript-file.d.cts +3 -3
- package/dist/typescript/components/typescript-file.d.mts +3 -3
- package/dist/typescript/components/typescript-file.mjs +5 -5
- package/dist/typescript/components/typescript-interface.cjs +4 -4
- package/dist/typescript/components/typescript-interface.d.cts +2 -2
- package/dist/typescript/components/typescript-interface.d.mts +2 -2
- package/dist/typescript/components/typescript-interface.mjs +5 -5
- package/dist/typescript/components/typescript-object.cjs +4 -4
- package/dist/typescript/components/typescript-object.d.cts +2 -2
- package/dist/typescript/components/typescript-object.d.mts +2 -2
- package/dist/typescript/components/typescript-object.mjs +5 -5
- package/dist/typescript/index.cjs +12 -12
- package/dist/typescript/index.d.cts +12 -12
- package/dist/typescript/index.d.mts +12 -12
- package/dist/typescript/index.mjs +15 -15
- package/dist/{typescript-CrVxDaSo.mjs → typescript-BXhP0qIJ.mjs} +1 -1
- package/dist/{typescript-CrVxDaSo.mjs.map → typescript-BXhP0qIJ.mjs.map} +1 -1
- package/dist/{typescript-BpWiXYf3.d.mts → typescript-CXP7Oa6_.d.cts} +1 -1
- package/dist/{typescript-BpWiXYf3.d.mts.map → typescript-CXP7Oa6_.d.cts.map} +1 -1
- package/dist/{typescript-CJjS7_9C.d.cts → typescript-DvynKONm.d.mts} +1 -1
- package/dist/{typescript-CJjS7_9C.d.cts.map → typescript-DvynKONm.d.mts.map} +1 -1
- package/dist/{typescript-file-DyHjzkBn.cjs → typescript-file-4oY1sIRB.cjs} +3 -3
- package/dist/{typescript-file-CWoL1YfK.d.mts → typescript-file-C9TPcvPm.d.mts} +3 -3
- package/dist/{typescript-file-CWoL1YfK.d.mts.map → typescript-file-C9TPcvPm.d.mts.map} +1 -1
- package/dist/{typescript-file-Fc4x93jB.d.cts → typescript-file-CJxOp_Xl.d.cts} +3 -3
- package/dist/{typescript-file-Fc4x93jB.d.cts.map → typescript-file-CJxOp_Xl.d.cts.map} +1 -1
- package/dist/typescript-file-CY0SmW6n.d.mts +50 -0
- package/dist/typescript-file-CY0SmW6n.d.mts.map +1 -0
- package/dist/typescript-file-DWYfy1-C.d.cts +50 -0
- package/dist/typescript-file-DWYfy1-C.d.cts.map +1 -0
- package/dist/{typescript-file-Bi1qvGaE.mjs → typescript-file-iXGdOTZv.mjs} +5 -5
- package/dist/{typescript-file-Bi1qvGaE.mjs.map → typescript-file-iXGdOTZv.mjs.map} +1 -1
- package/dist/{typescript-interface-BleA7_Sa.d.cts → typescript-interface-4Kxgaglq.d.mts} +6 -6
- package/dist/{typescript-interface-BleA7_Sa.d.cts.map → typescript-interface-4Kxgaglq.d.mts.map} +1 -1
- package/dist/{typescript-interface-DT_7W_xl.cjs → typescript-interface-B0AoZx3f.cjs} +3 -3
- package/dist/typescript-interface-B1mhCCoV.d.cts +26 -0
- package/dist/typescript-interface-B1mhCCoV.d.cts.map +1 -0
- package/dist/{typescript-interface-D-9IsIBo.d.mts → typescript-interface-C0mgTtdj.d.cts} +5 -5
- package/dist/{typescript-interface-D-9IsIBo.d.mts.map → typescript-interface-C0mgTtdj.d.cts.map} +1 -1
- package/dist/{typescript-interface-Dv60KOOZ.mjs → typescript-interface-DoEGxV_8.mjs} +4 -4
- package/dist/{typescript-interface-Dv60KOOZ.mjs.map → typescript-interface-DoEGxV_8.mjs.map} +1 -1
- package/dist/{typescript-object-D3RQtfqC.cjs → typescript-object-C4d4fThY.cjs} +3 -3
- package/dist/{typescript-object-Dz6RCmCZ.mjs → typescript-object-C5oh925V.mjs} +4 -4
- package/dist/{typescript-object-Dz6RCmCZ.mjs.map → typescript-object-C5oh925V.mjs.map} +1 -1
- package/dist/{typescript-object-CTkohEIG.d.cts → typescript-object-DAepqTrw.d.cts} +6 -6
- package/dist/{typescript-object-CTkohEIG.d.cts.map → typescript-object-DAepqTrw.d.cts.map} +1 -1
- package/dist/{typescript-object-WobVpqpw.d.mts → typescript-object-DUivJKpz.d.cts} +5 -5
- package/dist/{typescript-object-WobVpqpw.d.mts.map → typescript-object-DUivJKpz.d.cts.map} +1 -1
- package/dist/typescript-object-TlHt1hQc.d.mts +30 -0
- package/dist/typescript-object-TlHt1hQc.d.mts.map +1 -0
- package/package.json +2 -16
- package/dist/index-sViox9YW.d.mts +0 -1
- package/dist/index-uY8Qbwfx.d.mts +0 -1
- package/dist/meta-CW_VzTrH.d.cts.map +0 -1
- package/dist/meta-Cx5Eo5XM.d.mts.map +0 -1
- package/dist/meta-nicfM4rP.mjs +0 -25
- package/dist/meta-nicfM4rP.mjs.map +0 -1
- package/dist/output-BfyCbY3q.mjs +0 -35
- package/dist/output-BfyCbY3q.mjs.map +0 -1
- package/dist/output-D2_r5fQS.d.cts.map +0 -1
- package/dist/output-DIrAcd1E.d.mts.map +0 -1
- package/dist/plugin-CPRkKBy2.d.cts +0 -72
- package/dist/plugin-CPRkKBy2.d.cts.map +0 -1
- package/dist/plugin-D459iJ5d.d.mts +0 -72
- package/dist/plugin-D459iJ5d.d.mts.map +0 -1
- package/dist/refkey-CqkD5Tjp.d.mts.map +0 -1
- package/dist/refkey-DqDd2Fzs.d.cts.map +0 -1
- package/dist/types/_internal.cjs +0 -0
- package/dist/types/_internal.d.cts +0 -42
- package/dist/types/_internal.d.cts.map +0 -1
- package/dist/types/_internal.d.mts +0 -42
- package/dist/types/_internal.d.mts.map +0 -1
- package/dist/types/_internal.mjs +0 -1
- /package/dist/{components-BYyc8-6U.cjs → components-B0evB5xd.cjs} +0 -0
- /package/dist/{components-BHsPgUVD.mjs → components-ByryZacA.mjs} +0 -0
- /package/dist/{components-C4MWIzKk.mjs → components-C3qpgLKV.mjs} +0 -0
- /package/dist/{components-DTKCKgWS.mjs → components-Cr-i-ofB.mjs} +0 -0
- /package/dist/{components-bxkcKDVx.mjs → components-NXgsRgB4.mjs} +0 -0
- /package/dist/{contexts-D631HKlO.mjs → contexts-BqTplHQH.mjs} +0 -0
- /package/dist/{contexts-DppcDJxB.mjs → contexts-D-vYhGdM.mjs} +0 -0
- /package/dist/{contexts-Do5bLA7f.cjs → contexts-DWGMeWga.cjs} +0 -0
- /package/dist/{index--p6oQT9I.d.mts → index-BJ8-FA6N.d.cts} +0 -0
- /package/dist/{index-BUYyA1Xh.d.cts → index-BXpMZvwA.d.cts} +0 -0
- /package/dist/{index-CryTAIZM.d.mts → index-BhY1qu3m.d.cts} +0 -0
- /package/dist/{index-CyJfB4lt.d.cts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-D9IqtUDs.d.cts → index-D13oYj4_.d.mts} +0 -0
- /package/dist/{index-Dt_vyhB_.d.cts → index-DBGd4WeR.d.mts} +0 -0
- /package/dist/{index-Iujpc9_6.d.mts → index-DdxxIAKU.d.cts} +0 -0
- /package/dist/{index-gxEAO6Ad.d.cts → index-DpEKQcoR.d.cts} +0 -0
- /package/dist/{index-qCd8f7Um.d.cts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{plugin-DTwUbNHt.mjs → plugin-BzF8Q2v1.mjs} +0 -0
- /package/dist/{reflection-BSrdR0Qz.cjs → reflection-BktS88RM.cjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-CrZ-k87r.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,5 +1,5 @@
|
|
|
1
|
-
import { o as TypescriptFileProps } from "./typescript-file-
|
|
2
|
-
import * as
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-C9TPcvPm.mjs";
|
|
2
|
+
import * as _alloy_js_core15 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):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core15.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-
|
|
28
|
+
//# sourceMappingURL=entry-file-DOcjyCDG.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-DOcjyCDG.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-
|
|
2
|
-
import * as
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-CJxOp_Xl.cjs";
|
|
2
|
+
import * as _alloy_js_core8 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):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core8.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-
|
|
28
|
+
//# sourceMappingURL=entry-file-DVf4SGx4.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-file-
|
|
1
|
+
{"version":3,"file":"entry-file-DVf4SGx4.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,eAAA,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-CY0SmW6n.mjs";
|
|
2
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
3
|
+
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/typescript/components/entry-file.d.ts
|
|
6
|
+
type EntryFileProps = TypescriptFileProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the file is a TSX file.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue false
|
|
11
|
+
*/
|
|
12
|
+
tsx?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Render metadata information about the entrypoint
|
|
15
|
+
*/
|
|
16
|
+
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A base component representing a Powerlines generated Typescript source file.
|
|
20
|
+
*
|
|
21
|
+
* @param props - The properties for the source file.
|
|
22
|
+
* @returns The rendered source file component.
|
|
23
|
+
*/
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core16.Children;
|
|
25
|
+
declare type __ΩEntryFileProps = any[];
|
|
26
|
+
//#endregion
|
|
27
|
+
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
+
//# sourceMappingURL=entry-file-DXv3HtYV.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-file-DXv3HtYV.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { o as TypescriptFileProps } from "./typescript-file-DWYfy1-C.cjs";
|
|
2
|
+
import * as _alloy_js_core11 from "@alloy-js/core";
|
|
3
|
+
import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/typescript/components/entry-file.d.ts
|
|
6
|
+
type EntryFileProps = TypescriptFileProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the file is a TSX file.
|
|
9
|
+
*
|
|
10
|
+
* @defaultValue false
|
|
11
|
+
*/
|
|
12
|
+
tsx?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Render metadata information about the entrypoint
|
|
15
|
+
*/
|
|
16
|
+
typeDefinition?: ResolvedEntryTypeDefinition;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A base component representing a Powerlines generated Typescript source file.
|
|
20
|
+
*
|
|
21
|
+
* @param props - The properties for the source file.
|
|
22
|
+
* @returns The rendered source file component.
|
|
23
|
+
*/
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core11.Children;
|
|
25
|
+
declare type __ΩEntryFileProps = any[];
|
|
26
|
+
//#endregion
|
|
27
|
+
export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
|
|
28
|
+
//# sourceMappingURL=entry-file-y0caTLfc.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-file-y0caTLfc.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 { For, code } from "@alloy-js/core";
|
|
2
1
|
import { createComponent, createIntrinsic } from "@alloy-js/core/jsx-runtime";
|
|
2
|
+
import { For, code } from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/markdown/components/front-matter.tsx
|
|
5
5
|
/**
|
|
@@ -25,4 +25,4 @@ function FrontMatter(props) {
|
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
export { FrontMatter as t };
|
|
28
|
-
//# sourceMappingURL=front-matter-
|
|
28
|
+
//# sourceMappingURL=front-matter-BeTG0uJA.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
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":""}
|
|
@@ -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-
|
|
16
|
+
//# sourceMappingURL=front-matter-CXfCT8a8.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
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"}
|
|
@@ -13,4 +13,4 @@ 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-
|
|
16
|
+
//# sourceMappingURL=front-matter-DTorR58b.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-
|
|
1
|
+
{"version":3,"file":"front-matter-DTorR58b.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
2
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/front-matter.tsx
|
|
6
6
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _alloy_js_core2 from "@alloy-js/core";
|
|
2
|
+
|
|
3
|
+
//#region src/markdown/components/front-matter.d.ts
|
|
4
|
+
interface FrontMatterProps {
|
|
5
|
+
data: Record<string, any>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Renders YAML front matter for a markdown file.
|
|
9
|
+
*
|
|
10
|
+
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
|
+
*/
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core2.Children;
|
|
13
|
+
declare type __ΩFrontMatterProps = any[];
|
|
14
|
+
//#endregion
|
|
15
|
+
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
+
//# sourceMappingURL=front-matter-DySGMCRE.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-matter-DySGMCRE.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
|
package/dist/helpers/capnp.d.cts
CHANGED
|
@@ -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-
|
|
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
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 };
|
package/dist/helpers/capnp.d.mts
CHANGED
|
@@ -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-
|
|
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
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 };
|
package/dist/helpers/capnp.mjs
CHANGED
|
@@ -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-
|
|
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";
|
|
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-
|
|
1
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-Bpswa0ZT.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-
|
|
1
|
+
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-CbEjJreB.mjs";
|
|
2
2
|
export { CreateBuiltinOptions, __ΩCreateBuiltinOptions, createBuiltin };
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -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-
|
|
2
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
3
|
-
import { t as refkey } from "../refkey-
|
|
4
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
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";
|
|
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 };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -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-
|
|
2
|
-
import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "../create-builtin-
|
|
3
|
-
import { t as refkey } from "../refkey-
|
|
4
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
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";
|
|
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 };
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as generateTypeScriptObject } from "../typescript-
|
|
2
|
-
import { t as refkey } from "../refkey-
|
|
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-
|
|
4
|
-
import { t as createBuiltin } from "../create-builtin-
|
|
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";
|
|
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-
|
|
1
|
+
import { t as refkey } from "../refkey-CP7MJMac.cjs";
|
|
2
2
|
export { refkey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as refkey } from "../refkey-
|
|
1
|
+
import { t as refkey } from "../refkey-D6OjgKgS.mjs";
|
|
2
2
|
export { refkey };
|
package/dist/helpers/refkey.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-
|
|
1
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-CXP7Oa6_.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-
|
|
1
|
+
import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "../typescript-DvynKONm.mjs";
|
|
2
2
|
export { GenerateTypeScriptInterfaceOptions, GenerateTypeScriptObjectOptions, __ΩGenerateTypeScriptInterfaceOptions, __ΩGenerateTypeScriptObjectOptions, generateTypeScriptObject };
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
3
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
4
3
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
5
4
|
__alloy_js_rollup_plugin = require_chunk.__toESM(__alloy_js_rollup_plugin);
|
|
6
5
|
let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
7
|
-
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
8
6
|
|
|
9
7
|
//#region src/index.tsx
|
|
10
8
|
/**
|
|
@@ -15,7 +13,7 @@ let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
|
15
13
|
*/
|
|
16
14
|
const plugin = (options = {}) => {
|
|
17
15
|
return [{
|
|
18
|
-
name: "alloy
|
|
16
|
+
name: "alloy",
|
|
19
17
|
config() {
|
|
20
18
|
this.debug("Updating configuration options to support Alloy-js builds.");
|
|
21
19
|
return {
|
|
@@ -39,47 +37,6 @@ const plugin = (options = {}) => {
|
|
|
39
37
|
await this.fs.write(this.tsconfig.tsconfigFilePath, __stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
|
-
}, {
|
|
43
|
-
name: "alloy:attach-render",
|
|
44
|
-
configResolved: {
|
|
45
|
-
order: "pre",
|
|
46
|
-
async handler() {
|
|
47
|
-
this.debug("Attaching the `render` method to the context object.");
|
|
48
|
-
const context = this;
|
|
49
|
-
context.$$internal.meta.alloy ??= {};
|
|
50
|
-
this.render = async (children) => {
|
|
51
|
-
const output = await (0, __alloy_js_core.renderAsync)(children);
|
|
52
|
-
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js component templates.");
|
|
53
|
-
else {
|
|
54
|
-
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js component templates.`);
|
|
55
|
-
await (0, __alloy_js_core.traverseOutput)(output, {
|
|
56
|
-
visitDirectory: (directory) => {
|
|
57
|
-
if (this.fs.existsSync(directory.path)) return;
|
|
58
|
-
this.fs.mkdirSync(directory.path);
|
|
59
|
-
},
|
|
60
|
-
visitFile: (file) => {
|
|
61
|
-
if ("contents" in file) {
|
|
62
|
-
const metadata = this.$$internal.meta.alloy[file.path] ?? {};
|
|
63
|
-
if (metadata.kind === "builtin") {
|
|
64
|
-
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
65
|
-
this.emitBuiltinSync(file.contents, metadata.id, {
|
|
66
|
-
skipFormat: metadata.skipFormat,
|
|
67
|
-
storage: metadata.storage,
|
|
68
|
-
extension: (0, __stryke_path_file_path_fns.findFileExtension)(file.path)
|
|
69
|
-
});
|
|
70
|
-
} else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
|
|
71
|
-
skipFormat: metadata.skipFormat,
|
|
72
|
-
storage: metadata.storage,
|
|
73
|
-
...metadata.typeDefinition ?? {}
|
|
74
|
-
});
|
|
75
|
-
else this.emitSync(file.contents, file.path, metadata);
|
|
76
|
-
} else this.fs.copySync(file.sourcePath, file.path);
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
40
|
}];
|
|
84
41
|
};
|
|
85
42
|
var src_default = plugin;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AA6BA;;;;AAyDc,cAzDD,MAyDC,EAAA,CAAA,iBAxDK,kBAwDL,GAxD0B,kBAwD1B,CAAA,CAAA,OAAA,CAAA,EAtDH,kBAsDG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AA6BA;;;;AAyDc,cAzDD,MAyDC,EAAA,CAAA,iBAxDK,kBAwDL,GAxD0B,kBAwD1B,CAAA,CAAA,OAAA,CAAA,EAtDH,kBAsDG,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA,EAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
2
1
|
import rollupPlugin from "@alloy-js/rollup-plugin";
|
|
3
2
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
4
|
-
import { findFileExtension } from "@stryke/path/file-path-fns";
|
|
5
3
|
|
|
6
4
|
//#region src/index.tsx
|
|
7
5
|
/**
|
|
@@ -12,7 +10,7 @@ import { findFileExtension } from "@stryke/path/file-path-fns";
|
|
|
12
10
|
*/
|
|
13
11
|
const plugin = (options = {}) => {
|
|
14
12
|
return [{
|
|
15
|
-
name: "alloy
|
|
13
|
+
name: "alloy",
|
|
16
14
|
config() {
|
|
17
15
|
this.debug("Updating configuration options to support Alloy-js builds.");
|
|
18
16
|
return {
|
|
@@ -36,47 +34,6 @@ const plugin = (options = {}) => {
|
|
|
36
34
|
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
|
-
}, {
|
|
40
|
-
name: "alloy:attach-render",
|
|
41
|
-
configResolved: {
|
|
42
|
-
order: "pre",
|
|
43
|
-
async handler() {
|
|
44
|
-
this.debug("Attaching the `render` method to the context object.");
|
|
45
|
-
const context = this;
|
|
46
|
-
context.$$internal.meta.alloy ??= {};
|
|
47
|
-
this.render = async (children) => {
|
|
48
|
-
const output = await renderAsync(children);
|
|
49
|
-
if (!Object.keys(output).length) this.debug("No output files were rendered by Alloy-js component templates.");
|
|
50
|
-
else {
|
|
51
|
-
this.debug(`Processing ${Object.keys(output).length} rendered output files from Alloy-js component templates.`);
|
|
52
|
-
await traverseOutput(output, {
|
|
53
|
-
visitDirectory: (directory) => {
|
|
54
|
-
if (this.fs.existsSync(directory.path)) return;
|
|
55
|
-
this.fs.mkdirSync(directory.path);
|
|
56
|
-
},
|
|
57
|
-
visitFile: (file) => {
|
|
58
|
-
if ("contents" in file) {
|
|
59
|
-
const metadata = this.$$internal.meta.alloy[file.path] ?? {};
|
|
60
|
-
if (metadata.kind === "builtin") {
|
|
61
|
-
if (!metadata.id) throw new Error(`Built-in file "${file.path}" is missing its ID in the render metadata.`);
|
|
62
|
-
this.emitBuiltinSync(file.contents, metadata.id, {
|
|
63
|
-
skipFormat: metadata.skipFormat,
|
|
64
|
-
storage: metadata.storage,
|
|
65
|
-
extension: findFileExtension(file.path)
|
|
66
|
-
});
|
|
67
|
-
} else if (metadata.kind === "entry") this.emitEntrySync(file.contents, file.path, {
|
|
68
|
-
skipFormat: metadata.skipFormat,
|
|
69
|
-
storage: metadata.storage,
|
|
70
|
-
...metadata.typeDefinition ?? {}
|
|
71
|
-
});
|
|
72
|
-
else this.emitSync(file.contents, file.path, metadata);
|
|
73
|
-
} else this.fs.copySync(file.sourcePath, file.path);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
37
|
}];
|
|
81
38
|
};
|
|
82
39
|
var src_default = plugin;
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["rollupPlugin","StormJSON","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify"],"sources":["../src/index.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 rollupPlugin from \"@alloy-js/rollup-plugin\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { AlloyPluginContext, AlloyPluginOptions } from \"./types/plugin\";\n\n/**\n * Alloy-js plugin for Powerlines.\n *\n * @param options - The Alloy-js plugin user configuration options.\n * @returns A Powerlines plugin that integrates Alloy-js transformations.\n */\nexport const plugin = <\n TContext extends AlloyPluginContext = AlloyPluginContext\n>(\n options: AlloyPluginOptions = {}\n) => {\n return [\n {\n name: \"alloy\",\n config() {\n this.debug(\n \"Updating configuration options to support Alloy-js builds.\"\n );\n\n return {\n alloy: {\n typescript: true,\n ...options\n },\n build: {\n inputOptions: {\n transform: {\n jsx: \"preserve\"\n }\n },\n plugins: [rollupPlugin()],\n external: [/^@alloy-js\\//]\n }\n };\n },\n async configResolved() {\n this.debug(\"Ensuring TypeScript configuration is set up for Alloy-js.\");\n if (\n this.tsconfig.tsconfigJson.compilerOptions?.jsx !== \"preserve\" ||\n this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !==\n \"@alloy-js/core\"\n ) {\n this.tsconfig.tsconfigJson.compilerOptions ??= {};\n\n if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== \"preserve\") {\n this.tsconfig.tsconfigJson.compilerOptions.jsx = \"preserve\";\n }\n\n if (\n this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !==\n \"@alloy-js/core\"\n ) {\n this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource =\n \"@alloy-js/core\";\n }\n\n await this.fs.write(\n this.tsconfig.tsconfigFilePath,\n StormJSON.stringify(this.tsconfig.tsconfigJson)\n );\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-
|
|
1
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-DTorR58b.cjs";
|
|
2
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-
|
|
1
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-CXfCT8a8.mjs";
|
|
2
2
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
require('../../context-DNdlL_gp.cjs');
|
|
2
|
-
require('../../
|
|
3
|
-
require('../../
|
|
4
|
-
require('../../source-file-
|
|
5
|
-
const require_front_matter = require('../../front-matter-
|
|
6
|
-
const require_markdown_file = require('../../markdown-file-
|
|
2
|
+
require('../../meta-BVJcyXVs.cjs');
|
|
3
|
+
require('../../single-line-comment-tAWBgL9v.cjs');
|
|
4
|
+
require('../../source-file-DnqaQY90.cjs');
|
|
5
|
+
const require_front_matter = require('../../front-matter-DZ1tB-Uj.cjs');
|
|
6
|
+
const require_markdown_file = require('../../markdown-file-CFt8hI37.cjs');
|
|
7
7
|
require('../../markdown-table-BWPm6GbJ.cjs');
|
|
8
|
-
const require_markdown_table$1 = require('../../markdown-table-
|
|
8
|
+
const require_markdown_table$1 = require('../../markdown-table-eTnxxb46.cjs');
|
|
9
9
|
require('../../components-DPKSrvP-.cjs');
|
|
10
10
|
|
|
11
11
|
exports.FrontMatter = require_front_matter.FrontMatter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../components-
|
|
2
|
-
import "../../source-file-
|
|
3
|
-
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-
|
|
4
|
-
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-
|
|
5
|
-
import "../../markdown-table-
|
|
6
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-
|
|
7
|
-
import "../../index-
|
|
1
|
+
import "../../components-CvqTz7Q9.cjs";
|
|
2
|
+
import "../../source-file-DiisOeS2.cjs";
|
|
3
|
+
import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-DTorR58b.cjs";
|
|
4
|
+
import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BkmvexMF.cjs";
|
|
5
|
+
import "../../markdown-table-CZMEY6IR.cjs";
|
|
6
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-CKMEMcyb.cjs";
|
|
7
|
+
import "../../index-DpEKQcoR.cjs";
|
|
8
8
|
export { FrontMatter, FrontMatterProps, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩFrontMatterProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|