@powerlines/plugin-alloy 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{builtin-file-BU93ve2k.d.cts → builtin-file-C-AX3Zai.d.cts} +2 -2
- package/dist/{builtin-file-CG53y-09.d.mts → builtin-file-CIBzJ6jy.d.mts} +4 -4
- package/dist/{capnp-CKLYTfgy.d.mts → capnp-C5d2Z3gP.d.cts} +1 -1
- package/dist/{capnp-wJ2_HpAN.d.cts → capnp-CbBwObRD.d.mts} +1 -1
- package/dist/{components-B0A7LpQD.d.cts → components-C8Qs2PB0.d.cts} +1 -1
- package/dist/{components-B2kXCrty.d.mts → components-IB9A7YaB.d.mts} +1 -1
- package/dist/{context-GtZoIVx8.d.mts → context-0Spyyas6.d.mts} +1 -1
- package/dist/{context-CBG6Pv09.d.cts → context-BDGjT3c-.d.cts} +1 -1
- package/dist/{context-BO25KgR_.d.cts → context-BsDdxy5g.d.cts} +1 -1
- package/dist/{context-DzaJOnXh.d.mts → context-D-UHaRnr.d.mts} +1 -1
- package/dist/core/components/index.d.cts +5 -5
- package/dist/core/components/index.d.mts +5 -5
- package/dist/core/components/output.d.cts +2 -2
- package/dist/core/components/output.d.mts +2 -2
- package/dist/core/components/single-line-comment.d.cts +3 -3
- package/dist/core/components/single-line-comment.d.mts +3 -3
- package/dist/core/components/source-file.d.cts +3 -3
- package/dist/core/components/source-file.d.mts +3 -3
- package/dist/core/contexts/context.d.cts +2 -2
- package/dist/core/contexts/context.d.mts +2 -2
- package/dist/core/contexts/index.d.cts +4 -4
- package/dist/core/contexts/index.d.mts +4 -4
- package/dist/core/contexts/reflection.d.cts +3 -3
- package/dist/core/contexts/reflection.d.mts +3 -3
- package/dist/core/index.d.cts +7 -7
- package/dist/core/index.d.mts +7 -7
- package/dist/{dynamic-import-statement-BhY2a13r.d.cts → dynamic-import-statement-DO0ewx0l.d.cts} +2 -2
- package/dist/{dynamic-import-statement-DyVWBclX.d.mts → dynamic-import-statement-tQyMvDe7.d.mts} +2 -2
- package/dist/{entry-file-DfFhEkLi.d.mts → entry-file-BEHDg4dR.d.cts} +4 -4
- package/dist/{entry-file-B159R5XY.d.cts → entry-file-BgTZY0YN.d.mts} +4 -4
- package/dist/helpers/capnp.d.cts +2 -2
- package/dist/helpers/capnp.d.mts +2 -2
- package/dist/helpers/index.d.cts +2 -2
- package/dist/helpers/index.d.mts +2 -2
- package/dist/index.cjs +27 -12
- package/dist/index.d.cts +19 -19
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +27 -12
- package/dist/markdown/components/index.d.cts +5 -5
- package/dist/markdown/components/index.d.mts +5 -5
- package/dist/markdown/components/markdown-file.d.cts +4 -4
- package/dist/markdown/components/markdown-file.d.mts +4 -4
- package/dist/markdown/components/markdown-table.d.cts +3 -3
- package/dist/markdown/components/markdown-table.d.mts +3 -3
- package/dist/markdown/index.d.cts +5 -5
- package/dist/markdown/index.d.mts +5 -5
- package/dist/{markdown-file-Bsuu9aIk.d.cts → markdown-file-BhMk-_1z.d.mts} +5 -5
- package/dist/{markdown-file-CB6u4Cp1.d.mts → markdown-file-BjhcGybj.d.cts} +5 -5
- package/dist/{markdown-table-CMaQVkwJ.d.mts → markdown-table-DhDqQVt_.d.cts} +2 -2
- package/dist/{markdown-table-SvbpUdq-.d.cts → markdown-table-DxL06EFD.d.mts} +6 -6
- package/dist/{output-ChpN7bQM.d.cts → output-C2C9L6Ho.d.cts} +1 -1
- package/dist/{output-D9RlZeCO.d.mts → output-Cos2Dz1j.d.mts} +3 -3
- package/dist/{plugin-C0DspKAF.d.mts → plugin-DfBq0RfU.d.cts} +17 -11
- package/dist/{plugin-DYBdUgTF.d.cts → plugin-DmLCIqx0.d.mts} +17 -11
- package/dist/{reflection-Bka9prwJ.d.mts → reflection-BiWgd3An.d.mts} +1 -1
- package/dist/{reflection-CkVyW69y.d.cts → reflection-CL_Lrq2o.d.cts} +1 -1
- package/dist/{single-line-comment-BjL_Z4Qn.d.cts → single-line-comment-CuFhTxLD.d.cts} +3 -3
- package/dist/{single-line-comment-DZAmp_BZ.d.mts → single-line-comment-DRU3a4Qy.d.mts} +3 -3
- package/dist/{source-file-BBbuhOKz.d.mts → source-file-DK_PJbR-.d.cts} +2 -2
- package/dist/{source-file-4J1OvLed.d.cts → source-file-dpP3BrmV.d.mts} +4 -4
- package/dist/{tsdoc-C39LB5Mn.d.cts → tsdoc-CK6J_ap5.d.cts} +1 -1
- package/dist/{tsdoc-OE37Ht2l.d.mts → tsdoc-DzCqaUAX.d.mts} +1 -1
- package/dist/{tsdoc-reflection-3ZoV_Mjz.d.cts → tsdoc-reflection-BOvlOXzR.d.cts} +1 -1
- package/dist/{tsdoc-reflection-BtEk3cDW.d.mts → tsdoc-reflection-BbLwFCUm.d.mts} +5 -5
- package/dist/types/components.d.cts +2 -2
- package/dist/types/components.d.mts +2 -2
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.d.cts +2 -2
- package/dist/types/plugin.d.mts +2 -2
- package/dist/typescript/components/builtin-file.d.cts +6 -6
- package/dist/typescript/components/builtin-file.d.mts +6 -6
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/entry-file.d.cts +5 -5
- package/dist/typescript/components/entry-file.d.mts +5 -5
- package/dist/typescript/components/index.d.cts +11 -11
- package/dist/typescript/components/index.d.mts +11 -11
- package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
- package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
- package/dist/typescript/components/tsdoc.d.cts +3 -3
- package/dist/typescript/components/tsdoc.d.mts +3 -3
- package/dist/typescript/components/typescript-file.d.cts +4 -4
- package/dist/typescript/components/typescript-file.d.mts +4 -4
- package/dist/typescript/components/typescript-interface.d.cts +3 -3
- package/dist/typescript/components/typescript-interface.d.mts +3 -3
- package/dist/typescript/components/typescript-object.d.cts +3 -3
- package/dist/typescript/components/typescript-object.d.mts +3 -3
- package/dist/typescript/index.d.cts +11 -11
- package/dist/typescript/index.d.mts +11 -11
- package/dist/{typescript-file-BR9I7R1v.d.cts → typescript-file-BjpHsTUl.d.cts} +2 -2
- package/dist/{typescript-file-BWq9GIUt.d.mts → typescript-file-CxHfiE2u.d.mts} +2 -2
- package/dist/{typescript-interface-fGS4VBnW.d.cts → typescript-interface-CVB4juPk.d.cts} +4 -4
- package/dist/{typescript-interface-CKjljRFu.d.mts → typescript-interface-D8u8bgxN.d.mts} +1 -1
- package/dist/{typescript-object-I6Huh12F.d.mts → typescript-object-BPZlvCrZ.d.cts} +5 -5
- package/dist/{typescript-object-CxC5Qo5P.d.cts → typescript-object-qZFhyXJU.d.mts} +2 -2
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { i as Plugin } from "./context-
|
|
2
|
-
import { n as OutputProps, r as __ΩOutputProps, t as Output } from "./output-
|
|
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-
|
|
4
|
-
import { a as __ΩSingleLineCommentVariant, i as __ΩSingleLineCommentProps, n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "./single-line-comment-
|
|
5
|
-
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "./source-file-
|
|
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-DRU3a4Qy.mjs";
|
|
5
|
+
import { n as SourceFileProps, r as __ΩSourceFileProps, t as SourceFile } from "./source-file-dpP3BrmV.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-
|
|
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-
|
|
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-
|
|
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-
|
|
17
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "./markdown-file-
|
|
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-BhMk-_1z.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-
|
|
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-DxL06EFD.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-
|
|
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-
|
|
26
|
-
import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "./builtin-file-
|
|
27
|
-
import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "./dynamic-import-statement-
|
|
28
|
-
import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "./entry-file-
|
|
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-CxHfiE2u.mjs";
|
|
26
|
+
import { n as BuiltinFileProps, r as __ΩBuiltinFileProps, t as BuiltinFile } from "./builtin-file-CIBzJ6jy.mjs";
|
|
27
|
+
import { n as DynamicImportStatementProps, r as __ΩDynamicImportStatementProps, t as DynamicImportStatement } from "./dynamic-import-statement-tQyMvDe7.mjs";
|
|
28
|
+
import { n as EntryFileProps, r as __ΩEntryFileProps, t as EntryFile } from "./entry-file-BgTZY0YN.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-
|
|
31
|
-
import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-
|
|
32
|
-
import { a as __ΩTypescriptObjectPropertyProps, i as TypescriptObjectProps, n as TypescriptObjectProperty, o as __ΩTypescriptObjectProps, r as TypescriptObjectPropertyProps, t as TypescriptObject } from "./typescript-object-
|
|
30
|
+
import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-BbLwFCUm.mjs";
|
|
31
|
+
import { a as __ΩTypeScriptInterfaceProps, i as TypescriptInterfacePropertyProps, n as TypeScriptInterfaceProps, o as __ΩTypescriptInterfacePropertyProps, r as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-D8u8bgxN.mjs";
|
|
32
|
+
import { a as __ΩTypescriptObjectPropertyProps, i as TypescriptObjectProps, n as TypescriptObjectProperty, o as __ΩTypescriptObjectProps, r as TypescriptObjectPropertyProps, t as TypescriptObject } from "./typescript-object-qZFhyXJU.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:
|
|
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,
|
|
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-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-BsDdxy5g.cjs";
|
|
2
|
+
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
+
import "../../source-file-DK_PJbR-.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-BjhcGybj.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-
|
|
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-DhDqQVt_.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-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-0Spyyas6.mjs";
|
|
2
|
+
import "../../components-IB9A7YaB.mjs";
|
|
3
|
+
import "../../source-file-dpP3BrmV.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-BhMk-_1z.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-
|
|
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-DxL06EFD.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-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-BsDdxy5g.cjs";
|
|
2
|
+
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
+
import "../../source-file-DK_PJbR-.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-BjhcGybj.cjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-0Spyyas6.mjs";
|
|
2
|
+
import "../../components-IB9A7YaB.mjs";
|
|
3
|
+
import "../../source-file-dpP3BrmV.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-BhMk-_1z.mjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
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-
|
|
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-DhDqQVt_.cjs";
|
|
5
5
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
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-
|
|
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-DxL06EFD.mjs";
|
|
5
5
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
import "../components-
|
|
3
|
-
import "../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-
|
|
1
|
+
import "../context-BsDdxy5g.cjs";
|
|
2
|
+
import "../components-C8Qs2PB0.cjs";
|
|
3
|
+
import "../source-file-DK_PJbR-.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-BjhcGybj.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-
|
|
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-DhDqQVt_.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-
|
|
2
|
-
import "../components-
|
|
3
|
-
import "../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-
|
|
1
|
+
import "../context-0Spyyas6.mjs";
|
|
2
|
+
import "../components-IB9A7YaB.mjs";
|
|
3
|
+
import "../source-file-dpP3BrmV.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-BhMk-_1z.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-
|
|
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-DxL06EFD.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-
|
|
2
|
-
import { n as SourceFileProps$1 } from "./source-file-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-IB9A7YaB.mjs";
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-dpP3BrmV.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):
|
|
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):
|
|
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-
|
|
2
|
-
import { n as SourceFileProps$1 } from "./source-file-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as ComponentProps, p as SourceFileHeaderProps } from "./components-C8Qs2PB0.cjs";
|
|
2
|
+
import { n as SourceFileProps$1 } from "./source-file-DK_PJbR-.cjs";
|
|
3
|
+
import * as _alloy_js_core14 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):
|
|
13
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core14.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):
|
|
20
|
+
declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core14.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,5 +1,5 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
1
|
+
import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-CZMEY6IR.cjs";
|
|
3
3
|
import * as _alloy_js_core10 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-
|
|
3
|
-
import * as
|
|
1
|
+
import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
|
|
2
|
+
import { n as MarkdownTableColumnContextInterface } from "./markdown-table-kFQoqKQt.mjs";
|
|
3
|
+
import * as _alloy_js_core7 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>):
|
|
12
|
+
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core7.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):
|
|
19
|
+
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core7.Children;
|
|
20
20
|
/**
|
|
21
21
|
* Component that provides a context for rendering markdown tables.
|
|
22
22
|
*/
|
|
23
|
-
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps):
|
|
23
|
+
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core7.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-
|
|
2
|
-
import * as
|
|
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>):
|
|
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,28 +1,34 @@
|
|
|
1
|
-
import { a as ResolvedConfig, n as PluginContext, r as UserConfig } from "./context-
|
|
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
|
|
7
|
-
type
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
|
7
|
-
type
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
|
|
2
|
+
import * as _alloy_js_core13 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):
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core13.Children;
|
|
19
19
|
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ComponentProps } from "./components-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
|
|
2
|
+
import * as _alloy_js_core15 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):
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core15.Children;
|
|
19
19
|
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as StoragePreset } from "./context-
|
|
2
|
-
import { n as ComponentProps } from "./components-
|
|
1
|
+
import { s as StoragePreset } from "./context-BsDdxy5g.cjs";
|
|
2
|
+
import { n as ComponentProps } from "./components-C8Qs2PB0.cjs";
|
|
3
3
|
import * as _alloy_js_core9 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-
|
|
2
|
-
import { n as ComponentProps } from "./components-
|
|
3
|
-
import * as
|
|
1
|
+
import { s as StoragePreset } from "./context-0Spyyas6.mjs";
|
|
2
|
+
import { n as ComponentProps } from "./components-IB9A7YaB.mjs";
|
|
3
|
+
import * as _alloy_js_core13 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):
|
|
28
|
+
declare function SourceFile(props: SourceFileProps$1): _alloy_js_core13.Children;
|
|
29
29
|
declare type __ΩSourceFileProps = any[];
|
|
30
30
|
//#endregion
|
|
31
31
|
export { SourceFileProps$1 as n, __ΩSourceFileProps as r, SourceFile as t };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { x as TSDocProps } from "./tsdoc-
|
|
2
|
-
import * as
|
|
1
|
+
import { x as TSDocProps } from "./tsdoc-DzCqaUAX.mjs";
|
|
2
|
+
import * as _alloy_js_core3 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):
|
|
8
|
+
declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core3.Children;
|
|
9
9
|
/**
|
|
10
10
|
* Generates a TypeScript interface property for the given reflection class.
|
|
11
11
|
*/
|
|
12
|
-
declare function TSDocReflectionProperty(props: TSDocProps):
|
|
12
|
+
declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core3.Children;
|
|
13
13
|
/**
|
|
14
14
|
* Generates a TypeScript interface property for the given reflection class.
|
|
15
15
|
*/
|
|
16
|
-
declare function TSDocReflectionMethod(props: TSDocProps):
|
|
16
|
+
declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core3.Children;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TSDocReflectionMethod as n, TSDocReflectionProperty as r, TSDocReflectionClass as t };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
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-
|
|
1
|
+
import "../context-BsDdxy5g.cjs";
|
|
2
|
+
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-C8Qs2PB0.cjs";
|
|
3
3
|
export { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
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-
|
|
1
|
+
import "../context-0Spyyas6.mjs";
|
|
2
|
+
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";
|
|
3
3
|
export { BuiltinSourceFileContext, ComponentProps, ComponentPropsWithChildren, CopyFileOutputContext, CopyOutputFile, OutputDirectory, OutputFile, ReflectionOverrideInterface, RenderBuiltinContext, RenderContext, RenderEntryContext, RenderOutputContext, SourceFileHeaderProps, TypescriptFileImportItem, TypescriptFileImports, WriteOutputFile, __ΩBuiltinSourceFileContext, __ΩComponentProps, __ΩComponentPropsWithChildren, __ΩCopyFileOutputContext, __ΩCopyOutputFile, __ΩOutputDirectory, __ΩOutputFile, __ΩReflectionOverrideInterface, __ΩRenderBuiltinContext, __ΩRenderContext, __ΩRenderEntryContext, __ΩRenderOutputContext, __ΩSourceFileHeaderProps, __ΩTypescriptFileImportItem, __ΩTypescriptFileImports, __ΩWriteOutputFile };
|