@powerlines/plugin-alloy 0.19.21 → 0.19.22

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 (98) hide show
  1. package/dist/{builtin-file-CnpVr7_0.d.cts → builtin-file-BEI8BoX1.d.cts} +4 -4
  2. package/dist/{builtin-file-xc-QSTiJ.d.mts.map → builtin-file-BEI8BoX1.d.cts.map} +1 -1
  3. package/dist/{builtin-file-PDckmfzE.d.cts → builtin-file-BT9X6yL5.d.cts} +3 -3
  4. package/dist/{builtin-file-CnpVr7_0.d.cts.map → builtin-file-BT9X6yL5.d.cts.map} +1 -1
  5. package/dist/{builtin-file-xc-QSTiJ.d.mts → builtin-file-q7bTHn0Z.d.mts} +3 -3
  6. package/dist/{builtin-file-PDckmfzE.d.cts.map → builtin-file-q7bTHn0Z.d.mts.map} +1 -1
  7. package/dist/{dynamic-import-statement-kxVxtCBQ.d.cts → dynamic-import-statement-BgLOAe4B.d.cts} +3 -3
  8. package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts.map → dynamic-import-statement-BgLOAe4B.d.cts.map} +1 -1
  9. package/dist/{dynamic-import-statement-DSNDMC9Y.d.mts → dynamic-import-statement-CVIYwXyi.d.mts} +3 -3
  10. package/dist/{dynamic-import-statement-kxVxtCBQ.d.cts.map → dynamic-import-statement-CVIYwXyi.d.mts.map} +1 -1
  11. package/dist/dynamic-import-statement-DY4P85VU.d.cts +33 -0
  12. package/dist/dynamic-import-statement-DY4P85VU.d.cts.map +1 -0
  13. package/dist/{entry-file-1NnKc2YT.d.cts → entry-file-BSeZ8v1a.d.cts} +3 -3
  14. package/dist/{entry-file-1NnKc2YT.d.cts.map → entry-file-BSeZ8v1a.d.cts.map} +1 -1
  15. package/dist/{entry-file-CmJcd0C4.d.mts → entry-file-DX0kQrYj.d.mts} +3 -3
  16. package/dist/{entry-file-CmJcd0C4.d.mts.map → entry-file-DX0kQrYj.d.mts.map} +1 -1
  17. package/dist/{entry-file-D5chvp2V.d.cts → entry-file-DxkNlpQK.d.cts} +4 -4
  18. package/dist/{entry-file-Cu4-ISnT.d.mts.map → entry-file-DxkNlpQK.d.cts.map} +1 -1
  19. package/dist/{entry-file-Cu4-ISnT.d.mts → entry-file-MuGUgxSQ.d.mts} +3 -3
  20. package/dist/{entry-file-D5chvp2V.d.cts.map → entry-file-MuGUgxSQ.d.mts.map} +1 -1
  21. package/dist/{front-matter-CXfCT8a8.d.mts → front-matter-C2cMS2sE.d.cts} +3 -3
  22. package/dist/{front-matter-CXfCT8a8.d.mts.map → front-matter-C2cMS2sE.d.cts.map} +1 -1
  23. package/dist/{front-matter-DTorR58b.d.cts → front-matter-C6N64d5-.d.mts} +3 -3
  24. package/dist/{front-matter-DTorR58b.d.cts.map → front-matter-C6N64d5-.d.mts.map} +1 -1
  25. package/dist/front-matter-UYbPe74h.d.mts +16 -0
  26. package/dist/front-matter-UYbPe74h.d.mts.map +1 -0
  27. package/dist/index.cjs +2 -4
  28. package/dist/index.d.cts +1 -1
  29. package/dist/index.d.mts +1 -1
  30. package/dist/index.mjs +2 -4
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/markdown/components/front-matter.d.mts +1 -1
  33. package/dist/markdown/components/index.d.mts +2 -2
  34. package/dist/markdown/components/markdown-file.d.mts +2 -2
  35. package/dist/markdown/index.d.mts +2 -2
  36. package/dist/{markdown-file-DIzN9Gvv.d.cts → markdown-file-C3CmylQL.d.cts} +6 -6
  37. package/dist/{markdown-file-BlCHLUUm.d.mts.map → markdown-file-C3CmylQL.d.cts.map} +1 -1
  38. package/dist/{markdown-file-BlCHLUUm.d.mts → markdown-file-CDmAJ44K.d.mts} +5 -5
  39. package/dist/{markdown-file-DIzN9Gvv.d.cts.map → markdown-file-CDmAJ44K.d.mts.map} +1 -1
  40. package/dist/{markdown-file-T8cRtyd8.d.mts → markdown-file-xY2HcIWY.d.mts} +2 -2
  41. package/dist/{markdown-file-T8cRtyd8.d.mts.map → markdown-file-xY2HcIWY.d.mts.map} +1 -1
  42. package/dist/{markdown-table-Bc1owEry.d.cts → markdown-table-BVtAeDoa.d.mts} +3 -3
  43. package/dist/{markdown-table-Bc1owEry.d.cts.map → markdown-table-BVtAeDoa.d.mts.map} +1 -1
  44. package/dist/markdown-table-Dx1oH0jF.d.cts +28 -0
  45. package/dist/markdown-table-Dx1oH0jF.d.cts.map +1 -0
  46. package/dist/{output-BDtHu7ey.d.cts → output-BpavliF2.d.cts} +3 -3
  47. package/dist/{output-BDtHu7ey.d.cts.map → output-BpavliF2.d.cts.map} +1 -1
  48. package/dist/{plugin-D3ENcdlL.d.mts → plugin-C-cbPXaG.d.cts} +2 -2
  49. package/dist/plugin-C-cbPXaG.d.cts.map +1 -0
  50. package/dist/{plugin-BxSt55Oo.d.cts → plugin-Dn0UNaQ3.d.mts} +2 -2
  51. package/dist/plugin-Dn0UNaQ3.d.mts.map +1 -0
  52. package/dist/single-line-comment-Cc9yT69w.d.cts +23 -0
  53. package/dist/single-line-comment-Cc9yT69w.d.cts.map +1 -0
  54. package/dist/{source-file-OtWS66Kr.d.cts → source-file-BQLMUvbX.d.cts} +3 -3
  55. package/dist/{source-file-OtWS66Kr.d.cts.map → source-file-BQLMUvbX.d.cts.map} +1 -1
  56. package/dist/{tsdoc-reflection-D_3kwA_m.d.cts → tsdoc-reflection-BGmCcaYs.d.cts} +5 -5
  57. package/dist/{tsdoc-reflection-Cak-O_qk.d.mts.map → tsdoc-reflection-BGmCcaYs.d.cts.map} +1 -1
  58. package/dist/{tsdoc-reflection-hz0WQ70o.d.cts → tsdoc-reflection-BY7lTu6v.d.mts} +2 -2
  59. package/dist/{tsdoc-reflection-D_3kwA_m.d.cts.map → tsdoc-reflection-BY7lTu6v.d.mts.map} +1 -1
  60. package/dist/{tsdoc-reflection-Cak-O_qk.d.mts → tsdoc-reflection-CY74veLL.d.mts} +5 -5
  61. package/dist/{tsdoc-reflection-hz0WQ70o.d.cts.map → tsdoc-reflection-CY74veLL.d.mts.map} +1 -1
  62. package/dist/tsdoc-reflection-DpF0t1Xj.d.cts +19 -0
  63. package/dist/tsdoc-reflection-DpF0t1Xj.d.cts.map +1 -0
  64. package/dist/types/index.d.cts +1 -1
  65. package/dist/types/index.d.mts +1 -1
  66. package/dist/types/plugin.d.cts +1 -1
  67. package/dist/types/plugin.d.mts +1 -1
  68. package/dist/typescript/components/builtin-file.d.cts +1 -1
  69. package/dist/typescript/components/builtin-file.d.mts +1 -1
  70. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  71. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  72. package/dist/typescript/components/entry-file.d.cts +1 -1
  73. package/dist/typescript/components/entry-file.d.mts +1 -1
  74. package/dist/typescript/components/index.d.cts +4 -4
  75. package/dist/typescript/components/index.d.mts +6 -6
  76. package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
  77. package/dist/typescript/components/tsdoc-reflection.d.mts +1 -1
  78. package/dist/typescript/components/typescript-interface.d.mts +1 -1
  79. package/dist/typescript/components/typescript-object.d.mts +1 -1
  80. package/dist/typescript/index.d.cts +4 -4
  81. package/dist/typescript/index.d.mts +6 -6
  82. package/dist/{typescript-file--NT6aFEW.d.cts → typescript-file-CIErllnE.d.cts} +2 -2
  83. package/dist/{typescript-file--NT6aFEW.d.cts.map → typescript-file-CIErllnE.d.cts.map} +1 -1
  84. package/dist/{typescript-interface-CTyDcMdt.d.mts → typescript-interface-BLIUo1oa.d.mts} +4 -4
  85. package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-BLIUo1oa.d.mts.map} +1 -1
  86. package/dist/{typescript-interface-BowohfN5.d.cts → typescript-interface-ByzRVWAD.d.mts} +3 -3
  87. package/dist/{typescript-interface-BowohfN5.d.cts.map → typescript-interface-ByzRVWAD.d.mts.map} +1 -1
  88. package/dist/{typescript-interface-DX0WJLCa.d.mts → typescript-interface-LTD6nhQZ.d.cts} +3 -3
  89. package/dist/{typescript-interface-DX0WJLCa.d.mts.map → typescript-interface-LTD6nhQZ.d.cts.map} +1 -1
  90. package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-DBPxpkoP.d.cts} +6 -6
  91. package/dist/{typescript-object-D3gccyfV.d.cts.map → typescript-object-DBPxpkoP.d.cts.map} +1 -1
  92. package/dist/{typescript-object-D3gccyfV.d.cts → typescript-object-DvOxbo55.d.mts} +3 -3
  93. package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-DvOxbo55.d.mts.map} +1 -1
  94. package/package.json +6 -6
  95. package/dist/plugin-BxSt55Oo.d.cts.map +0 -1
  96. package/dist/plugin-D3ENcdlL.d.mts.map +0 -1
  97. package/dist/typescript-object-DK3sl8cB.d.mts +0 -30
  98. package/dist/typescript-object-DK3sl8cB.d.mts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { h as TSDocModuleProps } from "./tsdoc-BpOXtq0v.cjs";
2
- import { o as TypescriptFileProps } from "./typescript-file--NT6aFEW.cjs";
3
- import * as _alloy_js_core15 from "@alloy-js/core";
2
+ import { o as TypescriptFileProps } from "./typescript-file-CIErllnE.cjs";
3
+ import * as _alloy_js_core14 from "@alloy-js/core";
4
4
 
5
5
  //#region src/typescript/components/builtin-file.d.ts
6
6
  type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
@@ -28,8 +28,8 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
28
28
  * @param props - The properties for the source file.
29
29
  * @returns The rendered source file component.
30
30
  */
31
- declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core15.Children;
31
+ declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core14.Children;
32
32
  declare type __ΩBuiltinFileProps = any[];
33
33
  //#endregion
34
34
  export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
35
- //# sourceMappingURL=builtin-file-CnpVr7_0.d.cts.map
35
+ //# sourceMappingURL=builtin-file-BEI8BoX1.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"builtin-file-xc-QSTiJ.d.mts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
1
+ {"version":3,"file":"builtin-file-BEI8BoX1.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { h as TSDocModuleProps } from "./tsdoc-BpOXtq0v.cjs";
2
2
  import { o as TypescriptFileProps } from "./typescript-file-BqamPJcI.cjs";
3
- import * as _alloy_js_core17 from "@alloy-js/core";
3
+ import * as _alloy_js_core14 from "@alloy-js/core";
4
4
 
5
5
  //#region src/typescript/components/builtin-file.d.ts
6
6
  type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
@@ -28,8 +28,8 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
28
28
  * @param props - The properties for the source file.
29
29
  * @returns The rendered source file component.
30
30
  */
31
- declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core17.Children;
31
+ declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core14.Children;
32
32
  declare type __ΩBuiltinFileProps = any[];
33
33
  //#endregion
34
34
  export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
35
- //# sourceMappingURL=builtin-file-PDckmfzE.d.cts.map
35
+ //# sourceMappingURL=builtin-file-BT9X6yL5.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"builtin-file-CnpVr7_0.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
1
+ {"version":3,"file":"builtin-file-BT9X6yL5.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { h as TSDocModuleProps } from "./tsdoc-CwqGhmLe.mjs";
2
2
  import { o as TypescriptFileProps } from "./typescript-file-dsHm_Y5Y.mjs";
3
- import * as _alloy_js_core17 from "@alloy-js/core";
3
+ import * as _alloy_js_core16 from "@alloy-js/core";
4
4
 
5
5
  //#region src/typescript/components/builtin-file.d.ts
6
6
  type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
@@ -28,8 +28,8 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
28
28
  * @param props - The properties for the source file.
29
29
  * @returns The rendered source file component.
30
30
  */
31
- declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core17.Children;
31
+ declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core16.Children;
32
32
  declare type __ΩBuiltinFileProps = any[];
33
33
  //#endregion
34
34
  export { BuiltinFileProps as n, __ΩBuiltinFileProps as r, BuiltinFile as t };
35
- //# sourceMappingURL=builtin-file-xc-QSTiJ.d.mts.map
35
+ //# sourceMappingURL=builtin-file-q7bTHn0Z.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"builtin-file-PDckmfzE.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
1
+ {"version":3,"file":"builtin-file-q7bTHn0Z.d.mts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCY,gBAAA,GAAmB,KAAK,+BAClC,KAAK;;;AADP;;;;EACE,EAAA,EAAA,MAAA;EAAI;AA4BN;;;;;;;;;;;;;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core16 from "@alloy-js/core";
1
+ import * as _alloy_js_core15 from "@alloy-js/core";
2
2
  import { VarDeclarationProps } from "@alloy-js/typescript";
3
3
 
4
4
  //#region src/typescript/components/dynamic-import-statement.d.ts
@@ -26,8 +26,8 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
26
26
  * @param props - The properties for the dynamic import statement.
27
27
  * @returns A `VarDeclaration` component representing the dynamic import statement.
28
28
  */
29
- declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core16.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core15.Children;
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
33
- //# sourceMappingURL=dynamic-import-statement-kxVxtCBQ.d.cts.map
33
+ //# sourceMappingURL=dynamic-import-statement-BgLOAe4B.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-import-statement-DSNDMC9Y.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
1
+ {"version":3,"file":"dynamic-import-statement-BgLOAe4B.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core16 from "@alloy-js/core";
1
+ import * as _alloy_js_core15 from "@alloy-js/core";
2
2
  import { VarDeclarationProps } from "@alloy-js/typescript";
3
3
 
4
4
  //#region src/typescript/components/dynamic-import-statement.d.ts
@@ -26,8 +26,8 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
26
26
  * @param props - The properties for the dynamic import statement.
27
27
  * @returns A `VarDeclaration` component representing the dynamic import statement.
28
28
  */
29
- declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core16.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core15.Children;
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
33
- //# sourceMappingURL=dynamic-import-statement-DSNDMC9Y.d.mts.map
33
+ //# sourceMappingURL=dynamic-import-statement-CVIYwXyi.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-import-statement-kxVxtCBQ.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
1
+ {"version":3,"file":"dynamic-import-statement-CVIYwXyi.d.mts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
@@ -0,0 +1,33 @@
1
+ import * as _alloy_js_core12 from "@alloy-js/core";
2
+ import { VarDeclarationProps } from "@alloy-js/typescript";
3
+
4
+ //#region src/typescript/components/dynamic-import-statement.d.ts
5
+ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initializer"> {
6
+ /**
7
+ * The path of the module to import.
8
+ */
9
+ importPath: string;
10
+ /**
11
+ * The name of the export to import from the module.
12
+ *
13
+ * @defaultValue "default"
14
+ */
15
+ exportName?: string;
16
+ }
17
+ /**
18
+ * Generates a dynamic import statement for a given module path and export name.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <DynamicImportStatement importPath="./my-module" exportName="myExport" const={true} name="myVar" />
23
+ * // const myVar = await import("./my-module").then(m => m.myExport);
24
+ * ```
25
+ *
26
+ * @param props - The properties for the dynamic import statement.
27
+ * @returns A `VarDeclaration` component representing the dynamic import statement.
28
+ */
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core12.Children;
30
+ declare type __ΩDynamicImportStatementProps = any[];
31
+ //#endregion
32
+ export { DynamicImportStatementProps as n, __ΩDynamicImportStatementProps as r, DynamicImportStatement as t };
33
+ //# sourceMappingURL=dynamic-import-statement-DY4P85VU.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-import-statement-DY4P85VU.d.cts","names":[],"sources":["../src/typescript/components/dynamic-import-statement.tsx"],"sourcesContent":[],"mappings":";;;;UAqBiB,2BAAA,SAAoC,KACnD;;;AADF;EA6BgB,UAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;iBAAA,sBAAA,QAA8B,8BAA2B,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { o as TypescriptFileProps } from "./typescript-file-BqamPJcI.cjs";
2
- import * as _alloy_js_core12 from "@alloy-js/core";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core12.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core13.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-1NnKc2YT.d.cts.map
28
+ //# sourceMappingURL=entry-file-BSeZ8v1a.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-1NnKc2YT.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-BSeZ8v1a.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
1
  import { o as TypescriptFileProps } from "./typescript-file-dsHm_Y5Y.mjs";
2
- import * as _alloy_js_core15 from "@alloy-js/core";
2
+ import * as _alloy_js_core14 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core15.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core14.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-CmJcd0C4.d.mts.map
28
+ //# sourceMappingURL=entry-file-DX0kQrYj.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-CmJcd0C4.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-DX0kQrYj.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { o as TypescriptFileProps } from "./typescript-file--NT6aFEW.cjs";
2
- import * as _alloy_js_core14 from "@alloy-js/core";
1
+ import { o as TypescriptFileProps } from "./typescript-file-CIErllnE.cjs";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core14.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core13.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-D5chvp2V.d.cts.map
28
+ //# sourceMappingURL=entry-file-DxkNlpQK.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-Cu4-ISnT.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-DxkNlpQK.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
1
  import { o as TypescriptFileProps } from "./typescript-file-D-HdSyYk.mjs";
2
- import * as _alloy_js_core15 from "@alloy-js/core";
2
+ import * as _alloy_js_core16 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,8 +21,8 @@ type EntryFileProps = TypescriptFileProps & {
21
21
  * @param props - The properties for the source file.
22
22
  * @returns The rendered source file component.
23
23
  */
24
- declare function EntryFile(props: EntryFileProps): _alloy_js_core15.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core16.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFileProps as n, __ΩEntryFileProps as r, EntryFile as t };
28
- //# sourceMappingURL=entry-file-Cu4-ISnT.d.mts.map
28
+ //# sourceMappingURL=entry-file-MuGUgxSQ.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry-file-D5chvp2V.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"sourcesContent":[],"mappings":";;;;;KA4BY,cAAA,GAAiB;;;AAA7B;AAoBA;;;;;;mBATmB;;;;;;;;iBASH,SAAA,QAAiB,iBAAc,gBAAA,CAAA"}
1
+ {"version":3,"file":"entry-file-MuGUgxSQ.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,4 +1,4 @@
1
- import * as _alloy_js_core7 from "@alloy-js/core";
1
+ import * as _alloy_js_core1 from "@alloy-js/core";
2
2
 
3
3
  //#region src/markdown/components/front-matter.d.ts
4
4
  interface FrontMatterProps {
@@ -9,8 +9,8 @@ interface FrontMatterProps {
9
9
  *
10
10
  * @see https://jekyllrb.com/docs/front-matter/
11
11
  */
12
- declare function FrontMatter(props: FrontMatterProps): _alloy_js_core7.Children;
12
+ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core1.Children;
13
13
  declare type __ΩFrontMatterProps = any[];
14
14
  //#endregion
15
15
  export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
16
- //# sourceMappingURL=front-matter-CXfCT8a8.d.mts.map
16
+ //# sourceMappingURL=front-matter-C2cMS2sE.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-matter-CXfCT8a8.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
1
+ {"version":3,"file":"front-matter-C2cMS2sE.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core0 from "@alloy-js/core";
1
+ import * as _alloy_js_core9 from "@alloy-js/core";
2
2
 
3
3
  //#region src/markdown/components/front-matter.d.ts
4
4
  interface FrontMatterProps {
@@ -9,8 +9,8 @@ interface FrontMatterProps {
9
9
  *
10
10
  * @see https://jekyllrb.com/docs/front-matter/
11
11
  */
12
- declare function FrontMatter(props: FrontMatterProps): _alloy_js_core0.Children;
12
+ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core9.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-DTorR58b.d.cts.map
16
+ //# sourceMappingURL=front-matter-C6N64d5-.d.mts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"front-matter-C6N64d5-.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,eAAA,CAAA"}
@@ -0,0 +1,16 @@
1
+ import * as _alloy_js_core17 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_core17.Children;
13
+ declare type __ΩFrontMatterProps = any[];
14
+ //#endregion
15
+ export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
16
+ //# sourceMappingURL=front-matter-UYbPe74h.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"front-matter-UYbPe74h.d.mts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
package/dist/index.cjs CHANGED
@@ -49,7 +49,7 @@ const plugin = (options = {}) => {
49
49
  order: "pre",
50
50
  async handler() {
51
51
  this.debug("Attaching the `render` method to the context object.");
52
- this.render = async (renderCallback) => {
52
+ this.render = async (child) => {
53
53
  const _self$ = this;
54
54
  const meta = {};
55
55
  const output = await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_meta.MetaContext.Provider, {
@@ -60,9 +60,7 @@ const plugin = (options = {}) => {
60
60
  get basePath() {
61
61
  return _self$.workspaceConfig.workspaceRoot;
62
62
  },
63
- get children() {
64
- return renderCallback();
65
- }
63
+ children: child
66
64
  });
67
65
  }
68
66
  }));
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-BxSt55Oo.cjs";
1
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-C-cbPXaG.cjs";
2
2
  import { Plugin } from "powerlines/types/plugin";
3
3
 
4
4
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-D3ENcdlL.mjs";
1
+ import { n as AlloyPluginOptions, t as AlloyPluginContext } from "./plugin-Dn0UNaQ3.mjs";
2
2
  import { Plugin } from "powerlines/types/plugin";
3
3
 
4
4
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ const plugin = (options = {}) => {
46
46
  order: "pre",
47
47
  async handler() {
48
48
  this.debug("Attaching the `render` method to the context object.");
49
- this.render = async (renderCallback) => {
49
+ this.render = async (child) => {
50
50
  const _self$ = this;
51
51
  const meta = {};
52
52
  const output = await renderAsync(createComponent(MetaContext.Provider, {
@@ -57,9 +57,7 @@ const plugin = (options = {}) => {
57
57
  get basePath() {
58
58
  return _self$.workspaceConfig.workspaceRoot;
59
59
  },
60
- get children() {
61
- return renderCallback();
62
- }
60
+ children: child
63
61
  });
64
62
  }
65
63
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","Output","MetaContext","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify","order","handler","render","renderCallback","_self$","meta","output","_$createComponent","Provider","value","children","context","basePath","workspaceConfig","workspaceRoot","visitDirectory","directory","existsSync","path","mkdirSync","visitFile","file","metadata","kind","id","Error","emitBuiltinSync","contents","skipFormat","storage","extension","emitEntrySync","typeDefinition","emitSync","copySync","sourcePath"],"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 type { Children } from \"@alloy-js/core\";\nimport { renderAsync, traverseOutput } from \"@alloy-js/core\";\nimport rollupPlugin from \"@alloy-js/rollup-plugin\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { findFileExtension } from \"@stryke/path/file-path-fns\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { Output } from \"./core/components/output\";\nimport { MetaContext, MetaItem } from \"./core/contexts/meta\";\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:config\",\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 {\n name: \"alloy:attach-render\",\n configResolved: {\n order: \"pre\",\n async handler() {\n this.debug(\"Attaching the `render` method to the context object.\");\n\n this.render = async (renderCallback: () => Children) => {\n const meta = {} as Record<string, MetaItem>;\n\n const output = await renderAsync(\n <MetaContext.Provider value={meta}>\n <Output<TContext>\n context={this}\n basePath={this.workspaceConfig.workspaceRoot}>\n {renderCallback()}\n </Output>\n </MetaContext.Provider>\n );\n\n this.debug(\"Processing rendered output from Alloy-js.\");\n\n await traverseOutput(output, {\n visitDirectory: directory => {\n if (this.fs.existsSync(directory.path)) {\n return;\n }\n\n this.fs.mkdirSync(directory.path);\n },\n visitFile: file => {\n if (\"contents\" in file) {\n const metadata = meta[file.path] ?? {};\n if (metadata.kind === \"builtin\") {\n if (!metadata.id) {\n throw new Error(\n `Built-in file \"${file.path}\" is missing its ID in the render metadata.`\n );\n }\n\n this.emitBuiltinSync(file.contents, metadata.id, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n extension: findFileExtension(file.path)\n });\n } else if (metadata.kind === \"entry\") {\n this.emitEntrySync(file.contents, file.path, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n ...(metadata.typeDefinition ?? {})\n });\n } else {\n this.emitSync(file.contents, file.path, metadata);\n }\n } else {\n this.fs.copySync(file.sourcePath, file.path);\n }\n }\n });\n };\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":["renderAsync","traverseOutput","rollupPlugin","StormJSON","findFileExtension","Output","MetaContext","plugin","options","name","config","debug","alloy","typescript","build","inputOptions","transform","jsx","plugins","external","configResolved","tsconfig","tsconfigJson","compilerOptions","jsxImportSource","fs","write","tsconfigFilePath","stringify","order","handler","render","child","_self$","meta","output","_$createComponent","Provider","value","children","context","basePath","workspaceConfig","workspaceRoot","visitDirectory","directory","existsSync","path","mkdirSync","visitFile","file","metadata","kind","id","Error","emitBuiltinSync","contents","skipFormat","storage","extension","emitEntrySync","typeDefinition","emitSync","copySync","sourcePath"],"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 type { Children } from \"@alloy-js/core\";\nimport { renderAsync, traverseOutput } from \"@alloy-js/core\";\nimport rollupPlugin from \"@alloy-js/rollup-plugin\";\nimport { StormJSON } from \"@stryke/json/storm-json\";\nimport { findFileExtension } from \"@stryke/path/file-path-fns\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport { Output } from \"./core/components/output\";\nimport { MetaContext, MetaItem } from \"./core/contexts/meta\";\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:config\",\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 {\n name: \"alloy:attach-render\",\n configResolved: {\n order: \"pre\",\n async handler() {\n this.debug(\"Attaching the `render` method to the context object.\");\n\n this.render = async (child: Children) => {\n const meta = {} as Record<string, MetaItem>;\n\n const output = await renderAsync(\n <MetaContext.Provider value={meta}>\n <Output<TContext>\n context={this}\n basePath={this.workspaceConfig.workspaceRoot}>\n {child}\n </Output>\n </MetaContext.Provider>\n );\n\n this.debug(\"Processing rendered output from Alloy-js.\");\n\n await traverseOutput(output, {\n visitDirectory: directory => {\n if (this.fs.existsSync(directory.path)) {\n return;\n }\n\n this.fs.mkdirSync(directory.path);\n },\n visitFile: file => {\n if (\"contents\" in file) {\n const metadata = meta[file.path] ?? {};\n if (metadata.kind === \"builtin\") {\n if (!metadata.id) {\n throw new Error(\n `Built-in file \"${file.path}\" is missing its ID in the render metadata.`\n );\n }\n\n this.emitBuiltinSync(file.contents, metadata.id, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n extension: findFileExtension(file.path)\n });\n } else if (metadata.kind === \"entry\") {\n this.emitEntrySync(file.contents, file.path, {\n skipFormat: metadata.skipFormat,\n storage: metadata.storage,\n ...(metadata.typeDefinition ?? {})\n });\n } else {\n this.emitSync(file.contents, file.path, metadata);\n }\n } else {\n this.fs.copySync(file.sourcePath, file.path);\n }\n }\n });\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-CXfCT8a8.mjs";
1
+ import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-UYbPe74h.mjs";
2
2
  export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
@@ -1,7 +1,7 @@
1
1
  import "../../components-REdw2IIi.mjs";
2
2
  import "../../source-file-YrHdUb8H.mjs";
3
- import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-CXfCT8a8.mjs";
4
- import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-T8cRtyd8.mjs";
3
+ import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../../front-matter-UYbPe74h.mjs";
4
+ import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-xY2HcIWY.mjs";
5
5
  import "../../markdown-table-t6Z-cmxX.mjs";
6
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-DFbl_3T_.mjs";
7
7
  import "../../index-D13oYj4_.mjs";
@@ -1,5 +1,5 @@
1
1
  import "../../components-REdw2IIi.mjs";
2
2
  import "../../source-file-YrHdUb8H.mjs";
3
- import "../../front-matter-CXfCT8a8.mjs";
4
- import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-T8cRtyd8.mjs";
3
+ import "../../front-matter-UYbPe74h.mjs";
4
+ import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-xY2HcIWY.mjs";
5
5
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, __ΩMarkdownFileHeaderProps, __ΩMarkdownFileProps };
@@ -1,7 +1,7 @@
1
1
  import "../components-REdw2IIi.mjs";
2
2
  import "../source-file-YrHdUb8H.mjs";
3
- import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../front-matter-CXfCT8a8.mjs";
4
- import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-T8cRtyd8.mjs";
3
+ import { n as FrontMatterProps, r as __ΩFrontMatterProps, t as FrontMatter } from "../front-matter-UYbPe74h.mjs";
4
+ import { a as __ΩMarkdownFileHeaderProps, i as MarkdownFileProps, n as MarkdownFileHeader, o as __ΩMarkdownFileProps, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-xY2HcIWY.mjs";
5
5
  import { a as __ΩMarkdownTableColumnContextInterface, c as useMarkdownTableColumn, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as __ΩMarkdownTableContextInterface, r as MarkdownTableContext, s as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-t6Z-cmxX.mjs";
6
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-DFbl_3T_.mjs";
7
7
  import "../index-D13oYj4_.mjs";
@@ -1,7 +1,7 @@
1
1
  import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-DqfyRVFO.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-OtWS66Kr.cjs";
3
- import { n as FrontMatterProps } from "./front-matter-DTorR58b.cjs";
4
- import * as _alloy_js_core1 from "@alloy-js/core";
2
+ import { n as SourceFileProps$1 } from "./source-file-BQLMUvbX.cjs";
3
+ import { n as FrontMatterProps } from "./front-matter-C2cMS2sE.cjs";
4
+ import * as _alloy_js_core0 from "@alloy-js/core";
5
5
 
6
6
  //#region src/markdown/components/markdown-file.d.ts
7
7
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
11
11
  * @param props - The properties for the source file.
12
12
  * @returns The rendered source file component.
13
13
  */
14
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core1.Children;
14
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core0.Children;
15
15
  type MarkdownFileHeaderProps = SourceFileHeaderProps & {
16
16
  frontMatter?: FrontMatterProps["data"];
17
17
  };
@@ -21,9 +21,9 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
21
21
  * @param props - The properties for the source file header.
22
22
  * @returns The rendered source file header.
23
23
  */
24
- declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core1.Children;
24
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core0.Children;
25
25
  declare type __ΩMarkdownFileProps = any[];
26
26
  declare type __ΩMarkdownFileHeaderProps = any[];
27
27
  //#endregion
28
28
  export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
29
- //# sourceMappingURL=markdown-file-DIzN9Gvv.d.cts.map
29
+ //# sourceMappingURL=markdown-file-C3CmylQL.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-file-BlCHLUUm.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
1
+ {"version":3,"file":"markdown-file-C3CmylQL.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-REdw2IIi.mjs";
2
2
  import { n as SourceFileProps$1 } from "./source-file-Cw1cdlHb.mjs";
3
- import { n as FrontMatterProps } from "./front-matter-CXfCT8a8.mjs";
4
- import * as _alloy_js_core5 from "@alloy-js/core";
3
+ import { n as FrontMatterProps } from "./front-matter-C6N64d5-.mjs";
4
+ import * as _alloy_js_core2 from "@alloy-js/core";
5
5
 
6
6
  //#region src/markdown/components/markdown-file.d.ts
7
7
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
11
11
  * @param props - The properties for the source file.
12
12
  * @returns The rendered source file component.
13
13
  */
14
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core5.Children;
14
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core2.Children;
15
15
  type MarkdownFileHeaderProps = SourceFileHeaderProps & {
16
16
  frontMatter?: FrontMatterProps["data"];
17
17
  };
@@ -21,9 +21,9 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
21
21
  * @param props - The properties for the source file header.
22
22
  * @returns The rendered source file header.
23
23
  */
24
- declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core5.Children;
24
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core2.Children;
25
25
  declare type __ΩMarkdownFileProps = any[];
26
26
  declare type __ΩMarkdownFileHeaderProps = any[];
27
27
  //#endregion
28
28
  export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
29
- //# sourceMappingURL=markdown-file-BlCHLUUm.d.mts.map
29
+ //# sourceMappingURL=markdown-file-CDmAJ44K.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-file-DIzN9Gvv.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
1
+ {"version":3,"file":"markdown-file-CDmAJ44K.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-REdw2IIi.mjs";
2
2
  import { n as SourceFileProps$1 } from "./source-file-YrHdUb8H.mjs";
3
- import { n as FrontMatterProps } from "./front-matter-CXfCT8a8.mjs";
3
+ import { n as FrontMatterProps } from "./front-matter-UYbPe74h.mjs";
4
4
  import * as _alloy_js_core5 from "@alloy-js/core";
5
5
 
6
6
  //#region src/markdown/components/markdown-file.d.ts
@@ -26,4 +26,4 @@ declare type __ΩMarkdownFileProps = any[];
26
26
  declare type __ΩMarkdownFileHeaderProps = any[];
27
27
  //#endregion
28
28
  export { __ΩMarkdownFileHeaderProps as a, MarkdownFileProps as i, MarkdownFileHeader as n, __ΩMarkdownFileProps as o, MarkdownFileHeaderProps as r, MarkdownFile as t };
29
- //# sourceMappingURL=markdown-file-T8cRtyd8.d.mts.map
29
+ //# sourceMappingURL=markdown-file-xY2HcIWY.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-file-T8cRtyd8.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
1
+ {"version":3,"file":"markdown-file-xY2HcIWY.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
2
- import { n as MarkdownTableColumnContextInterface } from "./markdown-table-CZMEY6IR.cjs";
1
+ import { n as ComponentProps } from "./components-REdw2IIi.mjs";
2
+ import { n as MarkdownTableColumnContextInterface } from "./markdown-table-t6Z-cmxX.mjs";
3
3
  import * as _alloy_js_core4 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
@@ -25,4 +25,4 @@ declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
27
27
  export { MarkdownTableProps as a, MarkdownTableColumnProps as i, MarkdownTableColumn as n, __ΩMarkdownTableColumnProps as o, MarkdownTableColumnHeader as r, __ΩMarkdownTableProps as s, MarkdownTable as t };
28
- //# sourceMappingURL=markdown-table-Bc1owEry.d.cts.map
28
+ //# sourceMappingURL=markdown-table-BVtAeDoa.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-table-Bc1owEry.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"markdown-table-BVtAeDoa.d.mts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,eAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,eAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,eAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}