@powerlines/plugin-alloy 0.14.0 → 0.15.0

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 (97) hide show
  1. package/dist/{builtin-file-BU93ve2k.d.cts → builtin-file-BAJFTpM1.d.mts} +4 -4
  2. package/dist/{builtin-file-CG53y-09.d.mts → builtin-file-C6O1_A2o.d.cts} +4 -4
  3. package/dist/{capnp-CKLYTfgy.d.mts → capnp-C5d2Z3gP.d.cts} +1 -1
  4. package/dist/{capnp-wJ2_HpAN.d.cts → capnp-CbBwObRD.d.mts} +1 -1
  5. package/dist/{components-B0A7LpQD.d.cts → components-C8Qs2PB0.d.cts} +1 -1
  6. package/dist/{components-B2kXCrty.d.mts → components-IB9A7YaB.d.mts} +1 -1
  7. package/dist/{context-GtZoIVx8.d.mts → context-0Spyyas6.d.mts} +1 -1
  8. package/dist/{context-CBG6Pv09.d.cts → context-BDGjT3c-.d.cts} +1 -1
  9. package/dist/{context-BO25KgR_.d.cts → context-BsDdxy5g.d.cts} +1 -1
  10. package/dist/{context-DzaJOnXh.d.mts → context-D-UHaRnr.d.mts} +1 -1
  11. package/dist/core/components/index.d.cts +5 -5
  12. package/dist/core/components/index.d.mts +5 -5
  13. package/dist/core/components/output.d.cts +2 -2
  14. package/dist/core/components/output.d.mts +2 -2
  15. package/dist/core/components/single-line-comment.d.cts +3 -3
  16. package/dist/core/components/single-line-comment.d.mts +3 -3
  17. package/dist/core/components/source-file.d.cts +3 -3
  18. package/dist/core/components/source-file.d.mts +3 -3
  19. package/dist/core/contexts/context.d.cts +2 -2
  20. package/dist/core/contexts/context.d.mts +2 -2
  21. package/dist/core/contexts/index.d.cts +4 -4
  22. package/dist/core/contexts/index.d.mts +4 -4
  23. package/dist/core/contexts/reflection.d.cts +3 -3
  24. package/dist/core/contexts/reflection.d.mts +3 -3
  25. package/dist/core/index.d.cts +7 -7
  26. package/dist/core/index.d.mts +7 -7
  27. package/dist/{dynamic-import-statement-BhY2a13r.d.cts → dynamic-import-statement-C13MnQgp.d.mts} +2 -2
  28. package/dist/{dynamic-import-statement-DyVWBclX.d.mts → dynamic-import-statement-Dk3bSR8x.d.cts} +2 -2
  29. package/dist/{entry-file-B159R5XY.d.cts → entry-file-BgfBy5f5.d.mts} +4 -4
  30. package/dist/{entry-file-DfFhEkLi.d.mts → entry-file-ohVtSEuT.d.cts} +4 -4
  31. package/dist/helpers/capnp.d.cts +2 -2
  32. package/dist/helpers/capnp.d.mts +2 -2
  33. package/dist/helpers/index.d.cts +2 -2
  34. package/dist/helpers/index.d.mts +2 -2
  35. package/dist/index.cjs +27 -12
  36. package/dist/index.d.cts +19 -19
  37. package/dist/index.d.mts +19 -19
  38. package/dist/index.mjs +27 -12
  39. package/dist/markdown/components/index.d.cts +5 -5
  40. package/dist/markdown/components/index.d.mts +5 -5
  41. package/dist/markdown/components/markdown-file.d.cts +4 -4
  42. package/dist/markdown/components/markdown-file.d.mts +4 -4
  43. package/dist/markdown/components/markdown-table.d.cts +3 -3
  44. package/dist/markdown/components/markdown-table.d.mts +3 -3
  45. package/dist/markdown/index.d.cts +5 -5
  46. package/dist/markdown/index.d.mts +5 -5
  47. package/dist/{markdown-file-Bsuu9aIk.d.cts → markdown-file-DJvf2bqR.d.mts} +5 -5
  48. package/dist/{markdown-file-CB6u4Cp1.d.mts → markdown-file-KpLxNKr5.d.cts} +5 -5
  49. package/dist/{markdown-table-CMaQVkwJ.d.mts → markdown-table-C2op3MrF.d.mts} +5 -5
  50. package/dist/{markdown-table-SvbpUdq-.d.cts → markdown-table-Es5LOw2a.d.cts} +5 -5
  51. package/dist/{output-D9RlZeCO.d.mts → output-Cos2Dz1j.d.mts} +3 -3
  52. package/dist/{output-ChpN7bQM.d.cts → output-H0VYYc8s.d.cts} +3 -3
  53. package/dist/{plugin-C0DspKAF.d.mts → plugin-DfBq0RfU.d.cts} +17 -11
  54. package/dist/{plugin-DYBdUgTF.d.cts → plugin-DmLCIqx0.d.mts} +17 -11
  55. package/dist/{reflection-Bka9prwJ.d.mts → reflection-BiWgd3An.d.mts} +1 -1
  56. package/dist/{reflection-CkVyW69y.d.cts → reflection-CL_Lrq2o.d.cts} +1 -1
  57. package/dist/{single-line-comment-DZAmp_BZ.d.mts → single-line-comment-BkcbxQk-.d.cts} +3 -3
  58. package/dist/{single-line-comment-BjL_Z4Qn.d.cts → single-line-comment-DFZNU5hP.d.mts} +1 -1
  59. package/dist/{source-file-4J1OvLed.d.cts → source-file-DddsxT-0.d.mts} +2 -2
  60. package/dist/{source-file-BBbuhOKz.d.mts → source-file-F6Y5b57g.d.cts} +4 -4
  61. package/dist/{tsdoc-C39LB5Mn.d.cts → tsdoc-CK6J_ap5.d.cts} +1 -1
  62. package/dist/{tsdoc-OE37Ht2l.d.mts → tsdoc-DzCqaUAX.d.mts} +1 -1
  63. package/dist/{tsdoc-reflection-BtEk3cDW.d.mts → tsdoc-reflection-DllAx-qb.d.cts} +5 -5
  64. package/dist/{tsdoc-reflection-3ZoV_Mjz.d.cts → tsdoc-reflection-iM_fIiQz.d.mts} +5 -5
  65. package/dist/types/components.d.cts +2 -2
  66. package/dist/types/components.d.mts +2 -2
  67. package/dist/types/index.d.cts +3 -3
  68. package/dist/types/index.d.mts +3 -3
  69. package/dist/types/plugin.d.cts +2 -2
  70. package/dist/types/plugin.d.mts +2 -2
  71. package/dist/typescript/components/builtin-file.d.cts +6 -6
  72. package/dist/typescript/components/builtin-file.d.mts +6 -6
  73. package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
  74. package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
  75. package/dist/typescript/components/entry-file.d.cts +5 -5
  76. package/dist/typescript/components/entry-file.d.mts +5 -5
  77. package/dist/typescript/components/index.d.cts +11 -11
  78. package/dist/typescript/components/index.d.mts +11 -11
  79. package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
  80. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
  81. package/dist/typescript/components/tsdoc.d.cts +3 -3
  82. package/dist/typescript/components/tsdoc.d.mts +3 -3
  83. package/dist/typescript/components/typescript-file.d.cts +4 -4
  84. package/dist/typescript/components/typescript-file.d.mts +4 -4
  85. package/dist/typescript/components/typescript-interface.d.cts +3 -3
  86. package/dist/typescript/components/typescript-interface.d.mts +3 -3
  87. package/dist/typescript/components/typescript-object.d.cts +3 -3
  88. package/dist/typescript/components/typescript-object.d.mts +3 -3
  89. package/dist/typescript/index.d.cts +11 -11
  90. package/dist/typescript/index.d.mts +11 -11
  91. package/dist/{typescript-file-BR9I7R1v.d.cts → typescript-file-D4rnAsBm.d.mts} +2 -2
  92. package/dist/{typescript-file-BWq9GIUt.d.mts → typescript-file-ocXl9a61.d.cts} +2 -2
  93. package/dist/{typescript-interface-fGS4VBnW.d.cts → typescript-interface-4JyWA4LS.d.cts} +4 -4
  94. package/dist/{typescript-interface-CKjljRFu.d.mts → typescript-interface-DzvRyYXT.d.mts} +4 -4
  95. package/dist/{typescript-object-CxC5Qo5P.d.cts → typescript-object-DDunmVmx.d.mts} +5 -5
  96. package/dist/{typescript-object-I6Huh12F.d.mts → typescript-object-IfL-BYqv.d.cts} +5 -5
  97. package/package.json +7 -7
package/dist/index.d.mts CHANGED
@@ -1,35 +1,35 @@
1
- import { i as Plugin } from "./context-GtZoIVx8.mjs";
2
- import { n as OutputProps, r as __ΩOutputProps, t as Output } from "./output-D9RlZeCO.mjs";
3
- import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "./components-B2kXCrty.mjs";
4
- import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "./single-line-comment-DZAmp_BZ.mjs";
5
- import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "./source-file-BBbuhOKz.mjs";
1
+ import { i as Plugin } from "./context-0Spyyas6.mjs";
2
+ import { n as OutputProps, r as __ΩOutputProps, t as Output } from "./output-Cos2Dz1j.mjs";
3
+ import { A as __ΩTypescriptFileImportItem, C as __ΩOutputFile, D as __ΩRenderEntryContext, E as __ΩRenderContext, M as __ΩWriteOutputFile, O as __ΩRenderOutputContext, S as __ΩOutputDirectory, T as __ΩRenderBuiltinContext, _ as __ΩBuiltinSourceFileContext, a as CopyOutputFile, b as __ΩCopyFileOutputContext, c as ReflectionOverrideInterface, d as RenderEntryContext, f as RenderOutputContext, g as WriteOutputFile, h as TypescriptFileImports, i as CopyFileOutputContext, j as __ΩTypescriptFileImports, k as __ΩSourceFileHeaderProps, l as RenderBuiltinContext, m as TypescriptFileImportItem, n as ComponentProps, o as OutputDirectory, p as SourceFileHeaderProps, r as ComponentPropsWithChildren, s as OutputFile, t as BuiltinSourceFileContext, u as RenderContext, v as __ΩComponentProps, w as __ΩReflectionOverrideInterface, x as __ΩCopyOutputFile, y as __ΩComponentPropsWithChildren } from "./components-IB9A7YaB.mjs";
4
+ import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "./single-line-comment-DFZNU5hP.mjs";
5
+ import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "./source-file-DddsxT-0.mjs";
6
6
  import "./index-DBGd4WeR.mjs";
7
- import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "./context-DzaJOnXh.mjs";
8
- import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "./reflection-Bka9prwJ.mjs";
7
+ import { a as usePowerlinesContext, i as usePowerlines, n as PowerlinesContextInterface, r as __ΩPowerlinesContextInterface, t as PowerlinesContext } from "./context-D-UHaRnr.mjs";
8
+ import { a as ReflectionPropertyContext, c as useReflectionMethod, i as ReflectionParameterContext, l as useReflectionParameter, n as ReflectionClassContextInterface, o as __ΩReflectionClassContextInterface, r as ReflectionMethodContext, s as useReflectionClass, t as ReflectionClassContext, u as useReflectionProperty } from "./reflection-BiWgd3An.mjs";
9
9
  import "./index-BINnViIh.mjs";
10
10
  import "./index-lIMqGGJz.mjs";
11
- 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-CKLYTfgy.mjs";
11
+ 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-CbBwObRD.mjs";
12
12
  import { n as __ΩCreateBuiltinOptions, r as createBuiltin, t as CreateBuiltinOptions } from "./create-builtin-wEbNOWNw.mjs";
13
13
  import { t as refkey } from "./refkey-B0XSqdGY.mjs";
14
14
  import { a as generateTypeScriptObject, i as __ΩGenerateTypeScriptObjectOptions, n as GenerateTypeScriptObjectOptions, r as __ΩGenerateTypeScriptInterfaceOptions, t as GenerateTypeScriptInterfaceOptions } from "./typescript-DG1-qdBQ.mjs";
15
15
  import "./index-BwFl_eS0.mjs";
16
- import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "./plugin-C0DspKAF.mjs";
17
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "./markdown-file-CB6u4Cp1.mjs";
16
+ import { a as __ΩAlloyPluginContext, c as __ΩAlloyPluginUserConfig, i as AlloyPluginUserConfig, n as AlloyPluginOptions, o as __ΩAlloyPluginOptions, r as AlloyPluginResolvedConfig, s as __ΩAlloyPluginResolvedConfig, t as AlloyPluginContext } from "./plugin-DmLCIqx0.mjs";
17
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "./markdown-file-DJvf2bqR.mjs";
18
18
  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-kFQoqKQt.mjs";
19
- 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-CMaQVkwJ.mjs";
19
+ 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-C2op3MrF.mjs";
20
20
  import "./index-Deol7ZWO.mjs";
21
21
  import "./index-BrGZHEgX.mjs";
22
22
  import "./index-CoUVmp_Q.mjs";
23
23
  import "./index-bHnO4ZKt.mjs";
24
- import { A as __ΩTSDocDefaultValueProps, C as TSDocRemarks, D as TSDocThrows, E as TSDocTagProps, F as __ΩTSDocProps, I as __ΩTSDocTagProps, M as __ΩTSDocModuleProps, N as __ΩTSDocParamProps, O as TSDocTitle, P as __ΩTSDocParamsProps, S as TSDocReadonly, T as TSDocTag, _ as TSDocParamProps, a as TSDocDefaultValue, b as TSDocPermission, c as TSDocExample, d as TSDocIgnore, f as TSDocInternal, g as TSDocParam, h as TSDocModuleProps, i as TSDocAttributesTagsProps, j as __ΩTSDocExampleProps, k as __ΩTSDocAttributesTagsProps, l as TSDocExampleProps, m as TSDocModule, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocLink, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocHidden, v as TSDocParams, w as TSDocReturns, x as TSDocProps, y as TSDocParamsProps } from "./tsdoc-OE37Ht2l.mjs";
25
- import { a as TypescriptFileHeaderProps, c as __ΩTypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, l as __ΩTypescriptFileProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, s as __ΩTypescriptFileHeaderImportsProps, t as TypescriptFile } from "./typescript-file-BWq9GIUt.mjs";
26
- import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "./builtin-file-CG53y-09.mjs";
27
- import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "./dynamic-import-statement-DyVWBclX.mjs";
28
- import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "./entry-file-DfFhEkLi.mjs";
24
+ import { A as __ΩTSDocDefaultValueProps, C as TSDocRemarks, D as TSDocThrows, E as TSDocTagProps, F as __ΩTSDocProps, I as __ΩTSDocTagProps, M as __ΩTSDocModuleProps, N as __ΩTSDocParamProps, O as TSDocTitle, P as __ΩTSDocParamsProps, S as TSDocReadonly, T as TSDocTag, _ as TSDocParamProps, a as TSDocDefaultValue, b as TSDocPermission, c as TSDocExample, d as TSDocIgnore, f as TSDocInternal, g as TSDocParam, h as TSDocModuleProps, i as TSDocAttributesTagsProps, j as __ΩTSDocExampleProps, k as __ΩTSDocAttributesTagsProps, l as TSDocExampleProps, m as TSDocModule, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocLink, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocHidden, v as TSDocParams, w as TSDocReturns, x as TSDocProps, y as TSDocParamsProps } from "./tsdoc-DzCqaUAX.mjs";
25
+ import { a as TypescriptFileHeaderProps, c as __ΩTypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, l as __ΩTypescriptFileProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, s as __ΩTypescriptFileHeaderImportsProps, t as TypescriptFile } from "./typescript-file-D4rnAsBm.mjs";
26
+ import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "./builtin-file-BAJFTpM1.mjs";
27
+ import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "./dynamic-import-statement-C13MnQgp.mjs";
28
+ import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "./entry-file-BgfBy5f5.mjs";
29
29
  import { n as RecordExpressionProps, r as __ΩRecordExpressionProps, t as RecordExpression } from "./record-expression-BOCZ9iqR.mjs";
30
- import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-BtEk3cDW.mjs";
31
- import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-CKjljRFu.mjs";
32
- import { a as __ΩTypescriptObjectPropertyProps, i as TypescriptObjectProps, n as TypescriptObjectProperty, o as __ΩTypescriptObjectProps, r as TypescriptObjectPropertyProps, t as TypescriptObject } from "./typescript-object-I6Huh12F.mjs";
30
+ import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-iM_fIiQz.mjs";
31
+ import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-DzvRyYXT.mjs";
32
+ import { a as __ΩTypescriptObjectPropertyProps, i as TypescriptObjectProps, n as TypescriptObjectProperty, o as __ΩTypescriptObjectProps, r as TypescriptObjectPropertyProps, t as TypescriptObject } from "./typescript-object-DDunmVmx.mjs";
33
33
  import "./index-CLTQPxoD.mjs";
34
34
  import "./index-BRJ_6A42.mjs";
35
35
 
package/dist/index.mjs CHANGED
@@ -57,6 +57,7 @@ import "@babel/helper-plugin-utils";
57
57
  import "@storm-software/config-tools/logger";
58
58
  import "@storm-software/config-tools/utilities/colors";
59
59
  import "@stryke/helpers/noop";
60
+ import "@stryke/string-format/kebab-case";
60
61
  import "@babel/types";
61
62
  import { printer } from "prettier/doc.js";
62
63
 
@@ -222,7 +223,31 @@ const plugin = (options = {}) => {
222
223
  }]
223
224
  ] }),
224
225
  {
225
- name: "alloy:init",
226
+ name: "alloy:config",
227
+ config() {
228
+ return {
229
+ alloy: {
230
+ typescript: true,
231
+ ...options
232
+ },
233
+ build: { inputOptions: { transform: { jsx: "react-jsx" } } }
234
+ };
235
+ },
236
+ async configResolved() {
237
+ if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "react-jsx" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
238
+ this.tsconfig.tsconfigJson.compilerOptions ??= {};
239
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "react-jsx") this.tsconfig.tsconfigJson.compilerOptions.jsx = "react-jsx";
240
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
241
+ await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
242
+ }
243
+ this.devDependencies["@alloy-js/core"] = "^0.21.0";
244
+ if (this.config.alloy?.typescript !== false) this.devDependencies["@alloy-js/typescript"] = "^0.21.0";
245
+ if (this.config.alloy?.json === true) this.devDependencies["@alloy-js/json"] = "^0.21.0";
246
+ if (this.config.alloy?.markdown === true) this.devDependencies["@alloy-js/markdown"] = "^0.21.0";
247
+ }
248
+ },
249
+ {
250
+ name: "alloy:update-context",
226
251
  configResolved: {
227
252
  order: "pre",
228
253
  async handler() {
@@ -232,20 +257,10 @@ const plugin = (options = {}) => {
232
257
  basePath: this.workspaceConfig.workspaceRoot,
233
258
  children
234
259
  }));
235
- await writeTree(this, tree, options);
260
+ await writeTree(this, tree, this.config.alloy);
236
261
  };
237
262
  }
238
263
  }
239
- },
240
- {
241
- name: "alloy:config",
242
- config() {
243
- return { build: { inputOptions: { transform: { jsx: "react-jsx" } } } };
244
- },
245
- async configResolved() {
246
- if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "react-jsx") this.tsconfig.tsconfigJson.compilerOptions.jsx = "react-jsx";
247
- await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
248
- }
249
264
  }
250
265
  ];
251
266
  };
@@ -1,8 +1,8 @@
1
- import "../../context-BO25KgR_.cjs";
2
- import "../../components-B0A7LpQD.cjs";
3
- import "../../source-file-4J1OvLed.cjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-Bsuu9aIk.cjs";
1
+ import "../../context-BsDdxy5g.cjs";
2
+ import "../../components-C8Qs2PB0.cjs";
3
+ import "../../source-file-F6Y5b57g.cjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-KpLxNKr5.cjs";
5
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-SvbpUdq-.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-Es5LOw2a.cjs";
7
7
  import "../../index-DpEKQcoR.cjs";
8
8
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
@@ -1,8 +1,8 @@
1
- import "../../context-GtZoIVx8.mjs";
2
- import "../../components-B2kXCrty.mjs";
3
- import "../../source-file-BBbuhOKz.mjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-CB6u4Cp1.mjs";
1
+ import "../../context-0Spyyas6.mjs";
2
+ import "../../components-IB9A7YaB.mjs";
3
+ import "../../source-file-DddsxT-0.mjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-DJvf2bqR.mjs";
5
5
  import "../../markdown-table-kFQoqKQt.mjs";
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-CMaQVkwJ.mjs";
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-C2op3MrF.mjs";
7
7
  import "../../index-Deol7ZWO.mjs";
8
8
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
@@ -1,5 +1,5 @@
1
- import "../../context-BO25KgR_.cjs";
2
- import "../../components-B0A7LpQD.cjs";
3
- import "../../source-file-4J1OvLed.cjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-Bsuu9aIk.cjs";
1
+ import "../../context-BsDdxy5g.cjs";
2
+ import "../../components-C8Qs2PB0.cjs";
3
+ import "../../source-file-F6Y5b57g.cjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-KpLxNKr5.cjs";
5
5
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
@@ -1,5 +1,5 @@
1
- import "../../context-GtZoIVx8.mjs";
2
- import "../../components-B2kXCrty.mjs";
3
- import "../../source-file-BBbuhOKz.mjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-CB6u4Cp1.mjs";
1
+ import "../../context-0Spyyas6.mjs";
2
+ import "../../components-IB9A7YaB.mjs";
3
+ import "../../source-file-DddsxT-0.mjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-DJvf2bqR.mjs";
5
5
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
@@ -1,5 +1,5 @@
1
- import "../../context-BO25KgR_.cjs";
2
- import "../../components-B0A7LpQD.cjs";
1
+ import "../../context-BsDdxy5g.cjs";
2
+ import "../../components-C8Qs2PB0.cjs";
3
3
  import "../../markdown-table-CZMEY6IR.cjs";
4
- 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-SvbpUdq-.cjs";
4
+ 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-Es5LOw2a.cjs";
5
5
  export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
@@ -1,5 +1,5 @@
1
- import "../../context-GtZoIVx8.mjs";
2
- import "../../components-B2kXCrty.mjs";
1
+ import "../../context-0Spyyas6.mjs";
2
+ import "../../components-IB9A7YaB.mjs";
3
3
  import "../../markdown-table-kFQoqKQt.mjs";
4
- 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-CMaQVkwJ.mjs";
4
+ 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-C2op3MrF.mjs";
5
5
  export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
@@ -1,9 +1,9 @@
1
- import "../context-BO25KgR_.cjs";
2
- import "../components-B0A7LpQD.cjs";
3
- import "../source-file-4J1OvLed.cjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-Bsuu9aIk.cjs";
1
+ import "../context-BsDdxy5g.cjs";
2
+ import "../components-C8Qs2PB0.cjs";
3
+ import "../source-file-F6Y5b57g.cjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-KpLxNKr5.cjs";
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-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-SvbpUdq-.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-Es5LOw2a.cjs";
7
7
  import "../index-DpEKQcoR.cjs";
8
8
  import "../index-BXpMZvwA.cjs";
9
9
  import "../index-D1aKd2tO.cjs";
@@ -1,9 +1,9 @@
1
- import "../context-GtZoIVx8.mjs";
2
- import "../components-B2kXCrty.mjs";
3
- import "../source-file-BBbuhOKz.mjs";
4
- import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-CB6u4Cp1.mjs";
1
+ import "../context-0Spyyas6.mjs";
2
+ import "../components-IB9A7YaB.mjs";
3
+ import "../source-file-DddsxT-0.mjs";
4
+ import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-DJvf2bqR.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-kFQoqKQt.mjs";
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-CMaQVkwJ.mjs";
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-C2op3MrF.mjs";
7
7
  import "../index-Deol7ZWO.mjs";
8
8
  import "../index-BrGZHEgX.mjs";
9
9
  import "../index-CoUVmp_Q.mjs";
@@ -1,6 +1,6 @@
1
- import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-B0A7LpQD.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-4J1OvLed.cjs";
3
- import * as _alloy_js_core12 from "@alloy-js/core";
1
+ import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-IB9A7YaB.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DddsxT-0.mjs";
3
+ import * as _alloy_js_core10 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-file.d.ts
6
6
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
@@ -10,14 +10,14 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
10
10
  * @param props - The properties for the source file.
11
11
  * @returns The rendered source file component.
12
12
  */
13
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core12.Children;
13
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core10.Children;
14
14
  /**
15
15
  * Renders the header for a Powerlines Typescript source file.
16
16
  *
17
17
  * @param props - The properties for the source file header.
18
18
  * @returns The rendered source file header.
19
19
  */
20
- declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core12.Children;
20
+ declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core10.Children;
21
21
  declare type __ΩMarkdownFileProps = any[];
22
22
  //#endregion
23
23
  export { __ΩMarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileProps as r, MarkdownFile as t };
@@ -1,6 +1,6 @@
1
- import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-B2kXCrty.mjs";
2
- import { n as SourceFileProps$1 } from "./source-file-BBbuhOKz.mjs";
3
- import * as _alloy_js_core15 from "@alloy-js/core";
1
+ import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-C8Qs2PB0.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-F6Y5b57g.cjs";
3
+ import * as _alloy_js_core5 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-file.d.ts
6
6
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
@@ -10,14 +10,14 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
10
10
  * @param props - The properties for the source file.
11
11
  * @returns The rendered source file component.
12
12
  */
13
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core15.Children;
13
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core5.Children;
14
14
  /**
15
15
  * Renders the header for a Powerlines Typescript source file.
16
16
  *
17
17
  * @param props - The properties for the source file header.
18
18
  * @returns The rendered source file header.
19
19
  */
20
- declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core15.Children;
20
+ declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core5.Children;
21
21
  declare type __ΩMarkdownFileProps = any[];
22
22
  //#endregion
23
23
  export { __ΩMarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileProps as r, MarkdownFile as t };
@@ -1,6 +1,6 @@
1
- import { n as ComponentProps } from "./components-B2kXCrty.mjs";
1
+ import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
2
2
  import { n as MarkdownTableColumnContextInterface } from "./markdown-table-kFQoqKQt.mjs";
3
- import * as _alloy_js_core10 from "@alloy-js/core";
3
+ import * as _alloy_js_core6 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
6
6
  interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
@@ -9,18 +9,18 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
9
9
  /**
10
10
  * Component that provides a context for rendering markdown tables.
11
11
  */
12
- declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core10.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core6.Children;
13
13
  type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
14
14
  width?: number;
15
15
  };
16
16
  /**
17
17
  * Component that provides a context for rendering markdown tables.
18
18
  */
19
- declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core10.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core6.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core10.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core6.Children;
24
24
  declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
@@ -1,6 +1,6 @@
1
- import { n as ComponentProps } from "./components-B0A7LpQD.cjs";
1
+ import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
2
2
  import { n as MarkdownTableColumnContextInterface } from "./markdown-table-CZMEY6IR.cjs";
3
- import * as _alloy_js_core9 from "@alloy-js/core";
3
+ import * as _alloy_js_core1 from "@alloy-js/core";
4
4
 
5
5
  //#region src/markdown/components/markdown-table.d.ts
6
6
  interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
@@ -9,18 +9,18 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
9
9
  /**
10
10
  * Component that provides a context for rendering markdown tables.
11
11
  */
12
- declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core9.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core1.Children;
13
13
  type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
14
14
  width?: number;
15
15
  };
16
16
  /**
17
17
  * Component that provides a context for rendering markdown tables.
18
18
  */
19
- declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core9.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core1.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core9.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core1.Children;
24
24
  declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
@@ -1,5 +1,5 @@
1
- import { n as PluginContext } from "./context-GtZoIVx8.mjs";
2
- import * as _alloy_js_core13 from "@alloy-js/core";
1
+ import { n as PluginContext } from "./context-0Spyyas6.mjs";
2
+ import * as _alloy_js_core16 from "@alloy-js/core";
3
3
  import { OutputProps } from "@alloy-js/core";
4
4
 
5
5
  //#region src/core/components/output.d.ts
@@ -12,7 +12,7 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends
12
12
  /**
13
13
  * Output component for rendering the Powerlines plugin's output files via templates.
14
14
  */
15
- declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core13.Children;
15
+ declare function Output$1<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core16.Children;
16
16
  declare type __ΩOutputProps = any[];
17
17
  //#endregion
18
18
  export { OutputProps$1 as n, __ΩOutputProps as r, Output$1 as t };
@@ -1,5 +1,5 @@
1
- import { n as PluginContext } from "./context-BO25KgR_.cjs";
2
- import * as _alloy_js_core16 from "@alloy-js/core";
1
+ import { n as PluginContext } from "./context-BsDdxy5g.cjs";
2
+ import * as _alloy_js_core9 from "@alloy-js/core";
3
3
  import { OutputProps } from "@alloy-js/core";
4
4
 
5
5
  //#region src/core/components/output.d.ts
@@ -12,7 +12,7 @@ interface OutputProps$1<TContext extends PluginContext = PluginContext> extends
12
12
  /**
13
13
  * Output component for rendering the Powerlines plugin's output files via templates.
14
14
  */
15
- declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core16.Children;
15
+ declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps$1<TContext>): _alloy_js_core9.Children;
16
16
  declare type __ΩOutputProps = any[];
17
17
  //#endregion
18
18
  export { OutputProps$1 as n, __ΩOutputProps as r, Output as t };
@@ -1,28 +1,34 @@
1
- import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-GtZoIVx8.mjs";
1
+ import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-BsDdxy5g.cjs";
2
2
  import { PrintTreeOptions } from "@alloy-js/core";
3
3
  import { Children as Children$1 } from "@alloy-js/core/jsx-runtime";
4
- import { TypeDefinitionParameter } from "@stryke/types/configuration";
5
4
 
6
- //#region ../plugin-plugin/src/types/plugin.d.ts
7
- type PluginPluginAlloyOptions = Partial<PrintTreeOptions> & {
5
+ //#region src/types/plugin.d.ts
6
+ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
7
+ /**
8
+ * If true, the Alloy framework is used to generate Typescript output files.
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ typescript?: boolean;
8
13
  /**
9
14
  * If true, the Alloy framework is used to generate JSON output files.
10
15
  *
11
16
  * @defaultValue false
12
17
  */
13
- generatesJson?: boolean;
18
+ json?: boolean;
14
19
  /**
15
20
  * If true, the Alloy framework is used to generate Markdown output files.
16
21
  *
17
22
  * @defaultValue false
18
23
  */
19
- generatesMarkdown?: boolean;
24
+ markdown?: boolean;
25
+ };
26
+ type AlloyPluginUserConfig = UserConfig & {
27
+ alloy?: AlloyPluginOptions;
28
+ };
29
+ type AlloyPluginResolvedConfig = ResolvedConfig & {
30
+ alloy: AlloyPluginOptions;
20
31
  };
21
- //#endregion
22
- //#region src/types/plugin.d.ts
23
- type AlloyPluginOptions = PluginPluginAlloyOptions;
24
- type AlloyPluginUserConfig = UserConfig;
25
- type AlloyPluginResolvedConfig = ResolvedConfig;
26
32
  type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
27
33
  render: <TContext extends AlloyPluginContext>(this: TContext, children: Children$1) => Promise<void>;
28
34
  };
@@ -1,28 +1,34 @@
1
- import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-BO25KgR_.cjs";
1
+ import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-0Spyyas6.mjs";
2
2
  import { PrintTreeOptions } from "@alloy-js/core";
3
- import { TypeDefinitionParameter } from "@stryke/types/configuration";
4
3
  import { Children as Children$1 } from "@alloy-js/core/jsx-runtime";
5
4
 
6
- //#region ../plugin-plugin/src/types/plugin.d.ts
7
- type PluginPluginAlloyOptions = Partial<PrintTreeOptions> & {
5
+ //#region src/types/plugin.d.ts
6
+ type AlloyPluginOptions = Partial<PrintTreeOptions> & {
7
+ /**
8
+ * If true, the Alloy framework is used to generate Typescript output files.
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ typescript?: boolean;
8
13
  /**
9
14
  * If true, the Alloy framework is used to generate JSON output files.
10
15
  *
11
16
  * @defaultValue false
12
17
  */
13
- generatesJson?: boolean;
18
+ json?: boolean;
14
19
  /**
15
20
  * If true, the Alloy framework is used to generate Markdown output files.
16
21
  *
17
22
  * @defaultValue false
18
23
  */
19
- generatesMarkdown?: boolean;
24
+ markdown?: boolean;
25
+ };
26
+ type AlloyPluginUserConfig = UserConfig & {
27
+ alloy?: AlloyPluginOptions;
28
+ };
29
+ type AlloyPluginResolvedConfig = ResolvedConfig & {
30
+ alloy: AlloyPluginOptions;
20
31
  };
21
- //#endregion
22
- //#region src/types/plugin.d.ts
23
- type AlloyPluginOptions = PluginPluginAlloyOptions;
24
- type AlloyPluginUserConfig = UserConfig;
25
- type AlloyPluginResolvedConfig = ResolvedConfig;
26
32
  type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
27
33
  render: <TContext extends AlloyPluginContext>(this: TContext, children: Children$1) => Promise<void>;
28
34
  };
@@ -1,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-B2kXCrty.mjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-IB9A7YaB.mjs";
2
2
  import { ComponentContext } from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
 
@@ -1,4 +1,4 @@
1
- import { c as ReflectionOverrideInterface } from "./components-B0A7LpQD.cjs";
1
+ import { c as ReflectionOverrideInterface } from "./components-C8Qs2PB0.cjs";
2
2
  import { ComponentContext } from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionMethod, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
 
@@ -1,5 +1,5 @@
1
- import { n as ComponentProps } from "./components-B2kXCrty.mjs";
2
- import * as _alloy_js_core14 from "@alloy-js/core";
1
+ import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
2
+ import * as _alloy_js_core8 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
5
5
  type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
15
15
  * A single line comment block. The children are rendered as a prose element, which means that they
16
16
  * are broken into multiple lines
17
17
  */
18
- declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core14.Children;
18
+ declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core8.Children;
19
19
  declare type __ΩSingleLineCommentVariant = any[];
20
20
  declare type __ΩSingleLineCommentProps = any[];
21
21
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-B0A7LpQD.cjs";
1
+ import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
2
2
  import * as _alloy_js_core14 from "@alloy-js/core";
3
3
 
4
4
  //#region src/core/components/single-line-comment.d.ts
@@ -1,5 +1,5 @@
1
- import { s as StoragePreset } from "./context-BO25KgR_.cjs";
2
- import { n as ComponentProps } from "./components-B0A7LpQD.cjs";
1
+ import { s as StoragePreset } from "./context-0Spyyas6.mjs";
2
+ import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
3
3
  import * as _alloy_js_core15 from "@alloy-js/core";
4
4
  import { SourceFileProps } from "@alloy-js/core";
5
5
 
@@ -1,6 +1,6 @@
1
- import { s as StoragePreset } from "./context-GtZoIVx8.mjs";
2
- import { n as ComponentProps } from "./components-B2kXCrty.mjs";
3
- import * as _alloy_js_core9 from "@alloy-js/core";
1
+ import { s as StoragePreset } from "./context-BsDdxy5g.cjs";
2
+ import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
3
+ import * as _alloy_js_core7 from "@alloy-js/core";
4
4
  import { SourceFileProps } from "@alloy-js/core";
5
5
 
6
6
  //#region src/core/components/source-file.d.ts
@@ -25,7 +25,7 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
25
25
  * @param props - The properties for the source file.
26
26
  * @returns The rendered source file component.
27
27
  */
28
- declare function SourceFile(props: SourceFileProps$1): _alloy_js_core9.Children;
28
+ declare function SourceFile(props: SourceFileProps$1): _alloy_js_core7.Children;
29
29
  declare type __ΩSourceFileProps = any[];
30
30
  //#endregion
31
31
  export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-B0A7LpQD.cjs";
1
+ import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
2
2
  import { Children } from "@alloy-js/core";
3
3
  import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
4
 
@@ -1,4 +1,4 @@
1
- import { n as ComponentProps } from "./components-B2kXCrty.mjs";
1
+ import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
2
2
  import { Children } from "@alloy-js/core";
3
3
  import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
4
4
 
@@ -1,18 +1,18 @@
1
- import { x as TSDocProps } from "./tsdoc-OE37Ht2l.mjs";
2
- import * as _alloy_js_core4 from "@alloy-js/core";
1
+ import { x as TSDocProps } from "./tsdoc-CK6J_ap5.cjs";
2
+ import * as _alloy_js_core10 from "@alloy-js/core";
3
3
 
4
4
  //#region src/typescript/components/tsdoc-reflection.d.ts
5
5
  /**
6
6
  * Generates a TypeScript interface property for the given reflection class.
7
7
  */
8
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core4.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core10.Children;
9
9
  /**
10
10
  * Generates a TypeScript interface property for the given reflection class.
11
11
  */
12
- declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core4.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core10.Children;
13
13
  /**
14
14
  * Generates a TypeScript interface property for the given reflection class.
15
15
  */
16
- declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core4.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core10.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };