@powerlines/plugin-alloy 0.15.8 → 0.15.10

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 (31) hide show
  1. package/README.md +2 -2
  2. package/dist/chunk-554SZY2F.cjs +12556 -0
  3. package/dist/{vendor.js → chunk-J2T6KGQO.js} +192 -215
  4. package/dist/core/components/output.d.mts +2 -2
  5. package/dist/core/components/single-line-comment.d.cts +2 -2
  6. package/dist/core/components/single-line-comment.d.mts +2 -2
  7. package/dist/core/components/source-file.d.cts +2 -2
  8. package/dist/index.cjs +18 -11
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +23 -0
  11. package/dist/index.mjs +13 -6
  12. package/dist/jsx-runtime.cjs +35 -0
  13. package/dist/jsx-runtime.d.cts +1 -0
  14. package/dist/jsx-runtime.d.ts +1 -0
  15. package/dist/jsx-runtime.js +5 -0
  16. package/dist/markdown/components/markdown-file.d.cts +3 -3
  17. package/dist/markdown/components/markdown-table.d.cts +4 -4
  18. package/dist/markdown/components/markdown-table.d.mts +4 -4
  19. package/dist/typescript/components/builtin-file.d.cts +2 -2
  20. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
  21. package/dist/typescript/components/entry-file.d.cts +2 -2
  22. package/dist/typescript/components/entry-file.d.mts +2 -2
  23. package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
  24. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
  25. package/dist/typescript/components/typescript-interface.d.cts +3 -3
  26. package/dist/typescript/components/typescript-object.d.cts +3 -3
  27. package/dist/{vendor.cjs → vendor/index.cjs} +2 -2
  28. package/dist/{vendor.mjs → vendor/index.mjs} +2 -2
  29. package/package.json +25 -11
  30. package/dist/vendor.d.cts +0 -1
  31. 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 require_vendor = require('./vendor.cjs');
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,23 @@ const plugin = (options = {}) => {
32
32
  inputOptions: { transform: { jsx: {
33
33
  runtime: "classic",
34
34
  pragma: "Alloy.createElement",
35
- importSource: "@alloy-js/core"
35
+ importSource: "@powerlines/plugin-alloy/vendor"
36
36
  } } },
37
- plugins: [(0, __alloy_js_rollup_plugin.default)()]
37
+ plugins: [(0, __alloy_js_rollup_plugin.default)()],
38
+ alias: {
39
+ "@alloy-js/core": "@powerlines/plugin-alloy/vendor",
40
+ "@alloy-js/core/jsx-runtime": "@powerlines/plugin-alloy/vendor/jsx-runtime"
41
+ }
38
42
  }
39
43
  };
40
44
  },
41
45
  async configResolved() {
42
- if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
46
+ if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@powerlines/plugin-alloy/vendor") {
43
47
  this.tsconfig.tsconfigJson.compilerOptions ??= {};
44
48
  if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
45
- if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
49
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@powerlines/plugin-alloy/vendor") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@powerlines/plugin-alloy/vendor";
46
50
  await this.fs.write(this.tsconfig.tsconfigFilePath, __stryke_json_storm_json.StormJSON.stringify(this.tsconfig.tsconfigJson));
47
51
  }
48
- this.dependencies["@alloy-js/core"] = "^0.22.0";
49
52
  if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
50
53
  if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
51
54
  if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
@@ -55,6 +58,10 @@ const plugin = (options = {}) => {
55
58
  id: "@powerlines/plugin-alloy/vendor",
56
59
  external: true
57
60
  };
61
+ if (id === "@alloy-js/core/jsx-runtime") return {
62
+ id: "@powerlines/plugin-alloy/vendor/jsx-runtime",
63
+ external: true
64
+ };
58
65
  return null;
59
66
  }
60
67
  }, {
@@ -64,7 +71,7 @@ const plugin = (options = {}) => {
64
71
  async handler() {
65
72
  this.render = async (children) => {
66
73
  const _self$ = this;
67
- const tree = (0, require_vendor.vendor_exports.renderTree)((0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_output.Output, {
74
+ const tree = (0, require_index.vendor_exports.renderTree)((0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_output.Output, {
68
75
  context: _self$,
69
76
  get basePath() {
70
77
  return _self$.workspaceConfig.workspaceRoot;
@@ -85,14 +92,14 @@ var src_default = plugin;
85
92
  * @param tree - The rendered output files.
86
93
  */
87
94
  async function writeTree(context, tree, options = {}) {
88
- await (0, require_vendor.vendor_exports.flushJobsAsync)();
95
+ await (0, require_index.vendor_exports.flushJobsAsync)();
89
96
  let result;
90
97
  const generateOutput = async (currentDirectory, root) => {
91
98
  if (!Array.isArray(root)) return;
92
99
  const recurse = async (cwd) => {
93
100
  for (const child of root) await generateOutput(cwd, child);
94
101
  };
95
- const renderContext = (0, require_vendor.vendor_exports.getContextForRenderNode)(root);
102
+ const renderContext = (0, require_index.vendor_exports.getContextForRenderNode)(root);
96
103
  if (!renderContext) return recurse(currentDirectory);
97
104
  if (renderContext.meta?.directory) {
98
105
  const directory = {
@@ -171,7 +178,7 @@ async function printTree(context, tree, options = {}) {
171
178
  options.tabWidth ??= 2;
172
179
  options.useTabs ??= false;
173
180
  options.insertFinalNewLine ??= true;
174
- await (0, require_vendor.vendor_exports.flushJobsAsync)();
181
+ await (0, require_index.vendor_exports.flushJobsAsync)();
175
182
  const result = prettier_doc_js.printer.printDocToString(printTreeWorker(tree), options).formatted;
176
183
  return options.insertFinalNewLine && !result.endsWith("\n") ? `${result}\n` : result;
177
184
  }
@@ -180,7 +187,7 @@ function printTreeWorker(tree) {
180
187
  for (const node of tree) if (typeof node === "string") {
181
188
  const normalizedNode = node.split(/\r?\n/).flatMap((line, index, array) => index < array.length - 1 ? [line] : [line]);
182
189
  doc.push(normalizedNode);
183
- } else if ((0, require_vendor.vendor_exports.isPrintHook)(node)) doc.push(node.print(node.subtree, printTreeWorker));
190
+ } else if ((0, require_index.vendor_exports.isPrintHook)(node)) doc.push(node.print(node.subtree, printTreeWorker));
184
191
  else doc.push(printTreeWorker(node));
185
192
  return doc;
186
193
  }
@@ -0,0 +1,2 @@
1
+ export * from '@alloy-js/core';
2
+ import '@alloy-js/core/jsx-runtime';
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,23 @@ const plugin = (options = {}) => {
29
29
  inputOptions: { transform: { jsx: {
30
30
  runtime: "classic",
31
31
  pragma: "Alloy.createElement",
32
- importSource: "@alloy-js/core"
32
+ importSource: "@powerlines/plugin-alloy/vendor"
33
33
  } } },
34
- plugins: [alloy()]
34
+ plugins: [alloy()],
35
+ alias: {
36
+ "@alloy-js/core": "@powerlines/plugin-alloy/vendor",
37
+ "@alloy-js/core/jsx-runtime": "@powerlines/plugin-alloy/vendor/jsx-runtime"
38
+ }
35
39
  }
36
40
  };
37
41
  },
38
42
  async configResolved() {
39
- if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
43
+ if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@powerlines/plugin-alloy/vendor") {
40
44
  this.tsconfig.tsconfigJson.compilerOptions ??= {};
41
45
  if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
42
- if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
46
+ if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@powerlines/plugin-alloy/vendor") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@powerlines/plugin-alloy/vendor";
43
47
  await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
44
48
  }
45
- this.dependencies["@alloy-js/core"] = "^0.22.0";
46
49
  if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
47
50
  if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
48
51
  if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
@@ -52,6 +55,10 @@ const plugin = (options = {}) => {
52
55
  id: "@powerlines/plugin-alloy/vendor",
53
56
  external: true
54
57
  };
58
+ if (id === "@alloy-js/core/jsx-runtime") return {
59
+ id: "@powerlines/plugin-alloy/vendor/jsx-runtime",
60
+ external: true
61
+ };
55
62
  return null;
56
63
  }
57
64
  }, {
@@ -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';
@@ -0,0 +1,5 @@
1
+ import { init_esm_shims } from './chunk-J2T6KGQO.js';
2
+ export { JSX, createComponent, createIntrinsic, jsx, jsxs, memo, mergeProps } from './chunk-J2T6KGQO.js';
3
+
4
+ // src/vendor/jsx-runtime.ts
5
+ init_esm_shims();
@@ -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 _alloy_js_core5 from "@alloy-js/core";
3
+ import * as _alloy_js_core1 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): _alloy_js_core5.Children;
13
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core1.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_core5.Children;
20
+ declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core1.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 _alloy_js_core0 from "@alloy-js/core";
3
+ import * as _alloy_js_core3 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_core0.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core3.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_core0.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core3.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core3.Children;
24
24
  declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
2
  import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.mjs";
3
- import * as _alloy_js_core1 from "@alloy-js/core";
3
+ import * as _alloy_js_core2 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_core1.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core2.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_core1.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core2.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core1.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core2.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 _alloy_js_core11 from "@alloy-js/core";
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): _alloy_js_core11.Children;
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 _alloy_js_core10 from "@alloy-js/core";
1
+ import * as _alloy_js_core14 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): _alloy_js_core10.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core14.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 _alloy_js_core9 from "@alloy-js/core";
3
+ import * as _alloy_js_core10 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): _alloy_js_core9.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core10.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFile, EntryFileProps, __ΩEntryFileProps };
@@ -1,6 +1,6 @@
1
1
  import { ResolvedEntryTypeDefinition } from "../../powerlines/src/types/resolved.mjs";
2
2
  import { TypescriptFileProps } from "./typescript-file.mjs";
3
- import * as _alloy_js_core11 from "@alloy-js/core";
3
+ import * as _alloy_js_core14 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): _alloy_js_core11.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core14.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 _alloy_js_core12 from "@alloy-js/core";
2
+ import * as _alloy_js_core11 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_core12.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core11.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_core12.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core11.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_core12.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core11.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
@@ -1,18 +1,18 @@
1
1
  import { TSDocProps } from "./tsdoc.mjs";
2
- import * as _alloy_js_core12 from "@alloy-js/core";
2
+ import * as _alloy_js_core11 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_core12.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core11.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_core12.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core11.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_core12.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core11.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 _alloy_js_core15 from "@alloy-js/core";
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>): _alloy_js_core15.Children;
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): _alloy_js_core15.Children;
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.cjs";
2
- import * as _alloy_js_core7 from "@alloy-js/core";
2
+ import * as _alloy_js_core6 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>): _alloy_js_core7.Children;
17
+ declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core6.Children;
18
18
  /**
19
19
  * Generates a TypeScript object property for the given reflection class.
20
20
  */
21
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core7.Children;
21
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core6.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('./_virtual/rolldown_runtime.cjs');
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 "./_virtual/rolldown_runtime.mjs";
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.8",
3
+ "version": "0.15.10",
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.26",
377
- "@powerlines/plugin-plugin": "^0.12.63",
390
+ "@powerlines/deepkit": "^0.5.28",
391
+ "@powerlines/plugin-plugin": "^0.12.65",
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.16",
404
+ "powerlines": "^0.36.18",
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": "d81b9da2628c49a75e654462be7062599d2c6441"
414
+ "gitHead": "3633a74a1f46949bc713044084e89a2b5efa4425"
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';