@powerlines/plugin-alloy 0.15.8 → 0.15.9
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/chunk-554SZY2F.cjs +12556 -0
- package/dist/{vendor.js → chunk-J2T6KGQO.js} +192 -215
- 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 +2 -2
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/index.cjs +13 -10
- package/dist/index.d.ts +2 -0
- package/dist/index.js +23 -0
- package/dist/index.mjs +8 -5
- package/dist/jsx-runtime.cjs +35 -0
- package/dist/jsx-runtime.d.cts +1 -0
- package/dist/jsx-runtime.d.ts +1 -0
- package/dist/jsx-runtime.js +5 -0
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.mts +3 -3
- package/dist/markdown/components/markdown-table.d.cts +4 -4
- package/dist/typescript/components/builtin-file.d.cts +2 -2
- package/dist/typescript/components/builtin-file.d.mts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
- package/dist/typescript/components/entry-file.d.cts +2 -2
- package/dist/typescript/components/tsdoc-reflection.d.cts +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/{vendor.cjs → vendor/index.cjs} +2 -2
- package/dist/{vendor.mjs → vendor/index.mjs} +2 -2
- package/package.json +25 -11
- package/dist/vendor.d.cts +0 -1
- package/dist/vendor.d.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
3
|
const require_core_components_output = require('./core/components/output.cjs');
|
|
4
|
-
const
|
|
4
|
+
const require_index = require('./vendor/index.cjs');
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
7
7
|
__alloy_js_rollup_plugin = require_rolldown_runtime.__toESM(__alloy_js_rollup_plugin);
|
|
@@ -32,20 +32,19 @@ const plugin = (options = {}) => {
|
|
|
32
32
|
inputOptions: { transform: { jsx: {
|
|
33
33
|
runtime: "classic",
|
|
34
34
|
pragma: "Alloy.createElement",
|
|
35
|
-
importSource: "@alloy
|
|
35
|
+
importSource: "@powerlines/plugin-alloy/vendor"
|
|
36
36
|
} } },
|
|
37
37
|
plugins: [(0, __alloy_js_rollup_plugin.default)()]
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
41
|
async configResolved() {
|
|
42
|
-
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy
|
|
42
|
+
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@powerlines/plugin-alloy/vendor") {
|
|
43
43
|
this.tsconfig.tsconfigJson.compilerOptions ??= {};
|
|
44
44
|
if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
|
|
45
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy
|
|
45
|
+
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@powerlines/plugin-alloy/vendor") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@powerlines/plugin-alloy/vendor";
|
|
46
46
|
await this.fs.write(this.tsconfig.tsconfigFilePath, __stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
47
47
|
}
|
|
48
|
-
this.dependencies["@alloy-js/core"] = "^0.22.0";
|
|
49
48
|
if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
|
|
50
49
|
if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
|
|
51
50
|
if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
|
|
@@ -55,6 +54,10 @@ const plugin = (options = {}) => {
|
|
|
55
54
|
id: "@powerlines/plugin-alloy/vendor",
|
|
56
55
|
external: true
|
|
57
56
|
};
|
|
57
|
+
if (id === "@alloy-js/core/jsx-runtime") return {
|
|
58
|
+
id: "@powerlines/plugin-alloy/vendor/jsx-runtime",
|
|
59
|
+
external: true
|
|
60
|
+
};
|
|
58
61
|
return null;
|
|
59
62
|
}
|
|
60
63
|
}, {
|
|
@@ -64,7 +67,7 @@ const plugin = (options = {}) => {
|
|
|
64
67
|
async handler() {
|
|
65
68
|
this.render = async (children) => {
|
|
66
69
|
const _self$ = this;
|
|
67
|
-
const tree = (0,
|
|
70
|
+
const tree = (0, require_index.vendor_exports.renderTree)((0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_output.Output, {
|
|
68
71
|
context: _self$,
|
|
69
72
|
get basePath() {
|
|
70
73
|
return _self$.workspaceConfig.workspaceRoot;
|
|
@@ -85,14 +88,14 @@ var src_default = plugin;
|
|
|
85
88
|
* @param tree - The rendered output files.
|
|
86
89
|
*/
|
|
87
90
|
async function writeTree(context, tree, options = {}) {
|
|
88
|
-
await (0,
|
|
91
|
+
await (0, require_index.vendor_exports.flushJobsAsync)();
|
|
89
92
|
let result;
|
|
90
93
|
const generateOutput = async (currentDirectory, root) => {
|
|
91
94
|
if (!Array.isArray(root)) return;
|
|
92
95
|
const recurse = async (cwd) => {
|
|
93
96
|
for (const child of root) await generateOutput(cwd, child);
|
|
94
97
|
};
|
|
95
|
-
const renderContext = (0,
|
|
98
|
+
const renderContext = (0, require_index.vendor_exports.getContextForRenderNode)(root);
|
|
96
99
|
if (!renderContext) return recurse(currentDirectory);
|
|
97
100
|
if (renderContext.meta?.directory) {
|
|
98
101
|
const directory = {
|
|
@@ -171,7 +174,7 @@ async function printTree(context, tree, options = {}) {
|
|
|
171
174
|
options.tabWidth ??= 2;
|
|
172
175
|
options.useTabs ??= false;
|
|
173
176
|
options.insertFinalNewLine ??= true;
|
|
174
|
-
await (0,
|
|
177
|
+
await (0, require_index.vendor_exports.flushJobsAsync)();
|
|
175
178
|
const result = prettier_doc_js.printer.printDocToString(printTreeWorker(tree), options).formatted;
|
|
176
179
|
return options.insertFinalNewLine && !result.endsWith("\n") ? `${result}\n` : result;
|
|
177
180
|
}
|
|
@@ -180,7 +183,7 @@ function printTreeWorker(tree) {
|
|
|
180
183
|
for (const node of tree) if (typeof node === "string") {
|
|
181
184
|
const normalizedNode = node.split(/\r?\n/).flatMap((line, index, array) => index < array.length - 1 ? [line] : [line]);
|
|
182
185
|
doc.push(normalizedNode);
|
|
183
|
-
} else if ((0,
|
|
186
|
+
} else if ((0, require_index.vendor_exports.isPrintHook)(node)) doc.push(node.print(node.subtree, printTreeWorker));
|
|
184
187
|
else doc.push(printTreeWorker(node));
|
|
185
188
|
return doc;
|
|
186
189
|
}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { init_esm_shims, import_reactivity } from './chunk-J2T6KGQO.js';
|
|
2
|
+
export { AppendFile, AppendRegion, AssignmentContext, BasicScope, BasicSymbol, BinderContext, Block, CopyFile, Declaration, DeclarationContext, For, FormatOptions, Indent, List, Match, MemberContext, MemberDeclaration, MemberDeclarationContext, MemberName, MemberScope, Name, NamePolicyContext, Output, OutputDeclarationSpace, OutputMemberSpace, OutputScope, OutputSymbol, Prose, REFKEYABLE, RENDERABLE, ReactiveUnionSet, ReferenceOrContent, Scope, ScopeContext, Show, SourceDirectory, SourceDirectoryContext, SourceFile, SourceFileContext, StatementList, Switch, SymbolTable, TO_SYMBOL, TemplateFile, TemplateVariable, UpdateFile, Wrap, baseListPropsToMapJoinArgs, children, childrenArray, code, contextsByKey, createAssignmentContext, createComponent, createContentSlot, createContext, createCustomContext, createDeclarationTap, createFileResource, createFormatOptionsContextFor, createIntrinsic, createMemberTap, createNamePolicy, createNamedContext, createOutputBinder, createRenderTreeHook, createResource, createScopeTap, createSourceFileTap, createSymbolSlot, createTap, decl, defaultProps, effect, emitSymbol, findKeyedChild, findKeyedChildren, findUnkeyedChildren, flushJobs, flushJobsAsync, getAssignmentSymbol, getContext, getContextForRenderNode, getElementCache, getSymbolCreator, getSymbolCreatorSymbol, inspectRefkey, instantiateTakenMembersTo, intrinsicElementKey, isComponentCreator, isCustomContext, isIntrinsicElement, isKeyedChild, isLibrarySymbolReference, isMemberRefkey, isNamekey, isPrintHook, isRefkey, isRefkeyable, isRenderableObject, isSymbolRefkey, join, mapJoin, matchTag, memberRefkey, memo, mergeProps, moveTakenMembersTo, namekey, notifyContentState, onCleanup, popStack, printHookTag, printRenderStack, printTree, pushStack, queueJob, refId, refkey, render, renderAsync, renderTree, resolve, root, scheduler, shouldDebug, sourceFilesForTree, sourceFilesForTreeAsync, splitProps, stc, sti, symbolForRefkey, taggedComponent, takeSymbols, text, toRefkey, trackPromise, traverseOutput, unresolvedRefkey, untrack, useBinder, useContext, useFormatOptions, useMemberContext, useMemberDeclaration, useMemberScope, useNamePolicy, useScope, writeOutput } from './chunk-J2T6KGQO.js';
|
|
3
|
+
|
|
4
|
+
// src/vendor/index.ts
|
|
5
|
+
init_esm_shims();
|
|
6
|
+
var export_TrackOpTypes = import_reactivity.TrackOpTypes;
|
|
7
|
+
var export_TriggerOpTypes = import_reactivity.TriggerOpTypes;
|
|
8
|
+
var export_computed = import_reactivity.computed;
|
|
9
|
+
var export_isProxy = import_reactivity.isProxy;
|
|
10
|
+
var export_isReactive = import_reactivity.isReactive;
|
|
11
|
+
var export_isRef = import_reactivity.isRef;
|
|
12
|
+
var export_reactive = import_reactivity.reactive;
|
|
13
|
+
var export_ref = import_reactivity.ref;
|
|
14
|
+
var export_shallowReactive = import_reactivity.shallowReactive;
|
|
15
|
+
var export_shallowRef = import_reactivity.shallowRef;
|
|
16
|
+
var export_toRaw = import_reactivity.toRaw;
|
|
17
|
+
var export_toRef = import_reactivity.toRef;
|
|
18
|
+
var export_toRefs = import_reactivity.toRefs;
|
|
19
|
+
var export_track = import_reactivity.track;
|
|
20
|
+
var export_trigger = import_reactivity.trigger;
|
|
21
|
+
var export_watch = import_reactivity.watch;
|
|
22
|
+
|
|
23
|
+
export { export_TrackOpTypes as TrackOpTypes, export_TriggerOpTypes as TriggerOpTypes, export_computed as computed, export_isProxy as isProxy, export_isReactive as isReactive, export_isRef as isRef, export_reactive as reactive, export_ref as ref, export_shallowReactive as shallowReactive, export_shallowRef as shallowRef, export_toRaw as toRaw, export_toRef as toRef, export_toRefs as toRefs, export_track as track, export_trigger as trigger, export_watch as watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Output } from "./core/components/output.mjs";
|
|
2
|
-
import { vendor_exports } from "./vendor.mjs";
|
|
2
|
+
import { vendor_exports } from "./vendor/index.mjs";
|
|
3
3
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import alloy from "@alloy-js/rollup-plugin";
|
|
5
5
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
@@ -29,20 +29,19 @@ const plugin = (options = {}) => {
|
|
|
29
29
|
inputOptions: { transform: { jsx: {
|
|
30
30
|
runtime: "classic",
|
|
31
31
|
pragma: "Alloy.createElement",
|
|
32
|
-
importSource: "@alloy
|
|
32
|
+
importSource: "@powerlines/plugin-alloy/vendor"
|
|
33
33
|
} } },
|
|
34
34
|
plugins: [alloy()]
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
38
|
async configResolved() {
|
|
39
|
-
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy
|
|
39
|
+
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@powerlines/plugin-alloy/vendor") {
|
|
40
40
|
this.tsconfig.tsconfigJson.compilerOptions ??= {};
|
|
41
41
|
if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
|
|
42
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy
|
|
42
|
+
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@powerlines/plugin-alloy/vendor") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@powerlines/plugin-alloy/vendor";
|
|
43
43
|
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
44
44
|
}
|
|
45
|
-
this.dependencies["@alloy-js/core"] = "^0.22.0";
|
|
46
45
|
if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
|
|
47
46
|
if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
|
|
48
47
|
if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
|
|
@@ -52,6 +51,10 @@ const plugin = (options = {}) => {
|
|
|
52
51
|
id: "@powerlines/plugin-alloy/vendor",
|
|
53
52
|
external: true
|
|
54
53
|
};
|
|
54
|
+
if (id === "@alloy-js/core/jsx-runtime") return {
|
|
55
|
+
id: "@powerlines/plugin-alloy/vendor/jsx-runtime",
|
|
56
|
+
external: true
|
|
57
|
+
};
|
|
55
58
|
return null;
|
|
56
59
|
}
|
|
57
60
|
}, {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk554SZY2F_cjs = require('./chunk-554SZY2F.cjs');
|
|
4
|
+
|
|
5
|
+
// src/vendor/jsx-runtime.ts
|
|
6
|
+
chunk554SZY2F_cjs.init_cjs_shims();
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "JSX", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk554SZY2F_cjs.JSX; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "createComponent", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk554SZY2F_cjs.createComponent; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "createIntrinsic", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk554SZY2F_cjs.createIntrinsic; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "jsx", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk554SZY2F_cjs.jsx; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "jsxs", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunk554SZY2F_cjs.jsxs; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "memo", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunk554SZY2F_cjs.memo; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "mergeProps", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunk554SZY2F_cjs.mergeProps; }
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@alloy-js/core/jsx-runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@alloy-js/core/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
|
|
2
2
|
import { SourceFileProps } from "../../core/components/source-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core2 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-file.d.ts
|
|
6
6
|
type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps;
|
|
@@ -10,14 +10,14 @@ type MarkdownFileProps = Omit<SourceFileProps, "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_core2.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_core2.Children;
|
|
21
21
|
declare type __ΩMarkdownFileProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
|
|
2
2
|
import { SourceFileProps } from "../../core/components/source-file.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-file.d.ts
|
|
6
6
|
type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps;
|
|
@@ -10,14 +10,14 @@ type MarkdownFileProps = Omit<SourceFileProps, "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_core4.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_core4.Children;
|
|
21
21
|
declare type __ΩMarkdownFileProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
2
|
import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core5 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_core5.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_core5.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_core5.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.cjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core15.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.mjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core15.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core16.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core16.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedEntryTypeDefinition } from "../../powerlines/src/types/resolved.cjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
6
6
|
type EntryFileProps = TypescriptFileProps & {
|
|
@@ -21,7 +21,7 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core13.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TSDocProps } from "./tsdoc.cjs";
|
|
2
|
-
import * as
|
|
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):
|
|
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):
|
|
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):
|
|
16
|
+
declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core10.Children;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
3
3
|
import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/typescript-interface.d.ts
|
|
@@ -13,11 +13,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
|
|
|
13
13
|
/**
|
|
14
14
|
* Generates a TypeScript interface for the given reflection class.
|
|
15
15
|
*/
|
|
16
|
-
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>):
|
|
16
|
+
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core8.Children;
|
|
17
17
|
/**
|
|
18
18
|
* Generates a TypeScript interface property for the given reflection class.
|
|
19
19
|
*/
|
|
20
|
-
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps):
|
|
20
|
+
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core8.Children;
|
|
21
21
|
declare type __ΩTypeScriptInterfaceProps = any[];
|
|
22
22
|
declare type __ΩTypescriptInterfacePropertyProps = any[];
|
|
23
23
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core6 from "@alloy-js/core";
|
|
3
3
|
import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/typescript-interface.d.ts
|
|
@@ -13,11 +13,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
|
|
|
13
13
|
/**
|
|
14
14
|
* Generates a TypeScript interface for the given reflection class.
|
|
15
15
|
*/
|
|
16
|
-
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>):
|
|
16
|
+
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core6.Children;
|
|
17
17
|
/**
|
|
18
18
|
* Generates a TypeScript interface property for the given reflection class.
|
|
19
19
|
*/
|
|
20
|
-
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps):
|
|
20
|
+
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core6.Children;
|
|
21
21
|
declare type __ΩTypeScriptInterfaceProps = any[];
|
|
22
22
|
declare type __ΩTypescriptInterfacePropertyProps = any[];
|
|
23
23
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ComputedRef } from "@vue/reactivity";
|
|
5
5
|
|
|
@@ -14,11 +14,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* Generates a TypeScript object for the given reflection class.
|
|
16
16
|
*/
|
|
17
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
17
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core0.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Generates a TypeScript object property for the given reflection class.
|
|
20
20
|
*/
|
|
21
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
21
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core0.Children;
|
|
22
22
|
declare type __ΩTypescriptObjectProps = any[];
|
|
23
23
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
24
24
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core9 from "@alloy-js/core";
|
|
3
3
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ComputedRef } from "@vue/reactivity";
|
|
5
5
|
|
|
@@ -14,11 +14,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* Generates a TypeScript object for the given reflection class.
|
|
16
16
|
*/
|
|
17
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
17
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core9.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Generates a TypeScript object property for the given reflection class.
|
|
20
20
|
*/
|
|
21
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
21
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core9.Children;
|
|
22
22
|
declare type __ΩTypescriptObjectProps = any[];
|
|
23
23
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
24
24
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
|
|
3
|
-
//#region src/vendor.ts
|
|
3
|
+
//#region src/vendor/index.ts
|
|
4
4
|
var vendor_exports = {};
|
|
5
5
|
require_rolldown_runtime.__reExport(vendor_exports, require("@alloy-js/core"));
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __reExport } from "
|
|
1
|
+
import { __reExport } from "../_virtual/rolldown_runtime.mjs";
|
|
2
2
|
|
|
3
3
|
export * from "@alloy-js/core"
|
|
4
4
|
|
|
5
|
-
//#region src/vendor.ts
|
|
5
|
+
//#region src/vendor/index.ts
|
|
6
6
|
var vendor_exports = {};
|
|
7
7
|
import * as import___alloy_js_core from "@alloy-js/core";
|
|
8
8
|
__reExport(vendor_exports, import___alloy_js_core);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-alloy",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various Alloy framework components and helper utilities.",
|
|
6
6
|
"repository": {
|
|
@@ -73,16 +73,30 @@
|
|
|
73
73
|
},
|
|
74
74
|
"./vendor": {
|
|
75
75
|
"import": {
|
|
76
|
-
"types": "./dist/vendor.d.ts",
|
|
77
|
-
"default": "./dist/vendor.js"
|
|
76
|
+
"types": "./dist/vendor/index.d.ts",
|
|
77
|
+
"default": "./dist/vendor/index.js"
|
|
78
78
|
},
|
|
79
79
|
"require": {
|
|
80
|
-
"types": "./dist/vendor.d.cts",
|
|
81
|
-
"default": "./dist/vendor.cjs"
|
|
80
|
+
"types": "./dist/vendor/index.d.cts",
|
|
81
|
+
"default": "./dist/vendor/index.cjs"
|
|
82
82
|
},
|
|
83
83
|
"default": {
|
|
84
|
-
"types": "./dist/vendor.d.ts",
|
|
85
|
-
"default": "./dist/vendor.js"
|
|
84
|
+
"types": "./dist/vendor/index.d.ts",
|
|
85
|
+
"default": "./dist/vendor/index.js"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"./vendor/jsx-runtime": {
|
|
89
|
+
"import": {
|
|
90
|
+
"types": "./dist/vendor/jsx-runtime.d.ts",
|
|
91
|
+
"default": "./dist/vendor/jsx-runtime.js"
|
|
92
|
+
},
|
|
93
|
+
"require": {
|
|
94
|
+
"types": "./dist/vendor/jsx-runtime.d.cts",
|
|
95
|
+
"default": "./dist/vendor/jsx-runtime.cjs"
|
|
96
|
+
},
|
|
97
|
+
"default": {
|
|
98
|
+
"types": "./dist/vendor/jsx-runtime.d.ts",
|
|
99
|
+
"default": "./dist/vendor/jsx-runtime.js"
|
|
86
100
|
}
|
|
87
101
|
},
|
|
88
102
|
"./types": {
|
|
@@ -373,8 +387,8 @@
|
|
|
373
387
|
"@alloy-js/markdown": "^0.22.0",
|
|
374
388
|
"@alloy-js/rollup-plugin": "^0.1.0",
|
|
375
389
|
"@alloy-js/typescript": "^0.22.0",
|
|
376
|
-
"@powerlines/deepkit": "^0.5.
|
|
377
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
390
|
+
"@powerlines/deepkit": "^0.5.27",
|
|
391
|
+
"@powerlines/plugin-plugin": "^0.12.64",
|
|
378
392
|
"@storm-software/config-tools": "^1.188.74",
|
|
379
393
|
"@stryke/capnp": "^0.12.51",
|
|
380
394
|
"@stryke/convert": "^0.6.29",
|
|
@@ -387,7 +401,7 @@
|
|
|
387
401
|
"@stryke/types": "^0.10.28",
|
|
388
402
|
"@stryke/unique-id": "^0.3.37",
|
|
389
403
|
"defu": "^6.1.4",
|
|
390
|
-
"powerlines": "^0.36.
|
|
404
|
+
"powerlines": "^0.36.17",
|
|
391
405
|
"prettier": "^3.7.4"
|
|
392
406
|
},
|
|
393
407
|
"devDependencies": {
|
|
@@ -397,5 +411,5 @@
|
|
|
397
411
|
"@types/node": "^24.10.4"
|
|
398
412
|
},
|
|
399
413
|
"publishConfig": { "access": "public" },
|
|
400
|
-
"gitHead": "
|
|
414
|
+
"gitHead": "80d181e4eee59d93db27d4a40e1ca4be8751f722"
|
|
401
415
|
}
|
package/dist/vendor.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@alloy-js/core';
|
package/dist/vendor.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@alloy-js/core';
|