@powerlines/plugin-alloy 0.19.3 → 0.19.4

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 (46) hide show
  1. package/dist/core/components/output.cjs +5 -15
  2. package/dist/core/components/output.d.cts +2 -2
  3. package/dist/core/components/output.mjs +5 -15
  4. package/dist/core/components/single-line-comment.d.cts +2 -2
  5. package/dist/core/components/source-file.d.cts +2 -2
  6. package/dist/core/contexts/context.cjs +6 -12
  7. package/dist/core/contexts/context.d.cts +6 -11
  8. package/dist/core/contexts/context.d.mts +6 -11
  9. package/dist/core/contexts/context.mjs +7 -11
  10. package/dist/core/contexts/index.cjs +0 -1
  11. package/dist/core/contexts/index.d.cts +2 -2
  12. package/dist/core/contexts/index.d.mts +2 -2
  13. package/dist/core/contexts/index.mjs +2 -2
  14. package/dist/core/index.cjs +1 -2
  15. package/dist/core/index.d.cts +2 -2
  16. package/dist/core/index.d.mts +2 -2
  17. package/dist/core/index.mjs +2 -2
  18. package/dist/index.cjs +35 -30
  19. package/dist/index.mjs +35 -30
  20. package/dist/internal/unctx.cjs +7 -0
  21. package/dist/internal/unctx.mjs +7 -0
  22. package/dist/markdown/components/front-matter.d.cts +2 -2
  23. package/dist/markdown/components/front-matter.d.mts +2 -2
  24. package/dist/markdown/components/markdown-file.cjs +1 -1
  25. package/dist/markdown/components/markdown-file.d.cts +3 -3
  26. package/dist/markdown/components/markdown-file.d.mts +3 -3
  27. package/dist/markdown/components/markdown-file.mjs +1 -1
  28. package/dist/markdown/components/markdown-table.d.cts +4 -4
  29. package/dist/markdown/components/markdown-table.d.mts +4 -4
  30. package/dist/node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.cjs +83 -0
  31. package/dist/node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs +82 -0
  32. package/dist/typescript/components/builtin-file.d.cts +2 -2
  33. package/dist/typescript/components/builtin-file.d.mts +2 -2
  34. package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
  35. package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
  36. package/dist/typescript/components/entry-file.d.cts +2 -2
  37. package/dist/typescript/components/entry-file.d.mts +2 -2
  38. package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
  39. package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
  40. package/dist/typescript/components/typescript-file.cjs +1 -1
  41. package/dist/typescript/components/typescript-file.mjs +1 -1
  42. package/dist/typescript/components/typescript-interface.d.cts +3 -3
  43. package/dist/typescript/components/typescript-interface.d.mts +3 -3
  44. package/dist/typescript/components/typescript-object.d.cts +3 -3
  45. package/dist/typescript/components/typescript-object.d.mts +3 -3
  46. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core7 from "@alloy-js/core";
1
+ import * as _alloy_js_core2 from "@alloy-js/core";
2
2
 
3
3
  //#region src/markdown/components/front-matter.d.ts
4
4
  interface FrontMatterProps {
@@ -9,7 +9,7 @@ interface FrontMatterProps {
9
9
  *
10
10
  * @see https://jekyllrb.com/docs/front-matter/
11
11
  */
12
- declare function FrontMatter(props: FrontMatterProps): _alloy_js_core7.Children;
12
+ declare function FrontMatter(props: FrontMatterProps): _alloy_js_core2.Children;
13
13
  declare type __ΩFrontMatterProps = any[];
14
14
  //#endregion
15
15
  export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_core_contexts_context = require('../../core/contexts/context.cjs');
3
2
  const require_single_line_comment = require('../../core/components/single-line-comment.cjs');
3
+ const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
4
  const require_source_file = require('../../core/components/source-file.cjs');
5
5
  const require_front_matter = require('./front-matter.cjs');
6
6
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
2
2
  import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
3
3
  import { FrontMatterProps } from "./front-matter.cjs";
4
- import * as _alloy_js_core2 from "@alloy-js/core";
4
+ import * as _alloy_js_core16 from "@alloy-js/core";
5
5
 
6
6
  //#region src/markdown/components/markdown-file.d.ts
7
7
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
11
11
  * @param props - The properties for the source file.
12
12
  * @returns The rendered source file component.
13
13
  */
14
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core2.Children;
14
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core16.Children;
15
15
  type MarkdownFileHeaderProps = SourceFileHeaderProps & {
16
16
  frontMatter?: FrontMatterProps["data"];
17
17
  };
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
21
21
  * @param props - The properties for the source file header.
22
22
  * @returns The rendered source file header.
23
23
  */
24
- declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core2.Children;
24
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core16.Children;
25
25
  declare type __ΩMarkdownFileProps = any[];
26
26
  declare type __ΩMarkdownFileHeaderProps = any[];
27
27
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
2
2
  import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
3
3
  import { FrontMatterProps } from "./front-matter.mjs";
4
- import * as _alloy_js_core9 from "@alloy-js/core";
4
+ import * as _alloy_js_core3 from "@alloy-js/core";
5
5
 
6
6
  //#region src/markdown/components/markdown-file.d.ts
7
7
  type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
11
11
  * @param props - The properties for the source file.
12
12
  * @returns The rendered source file component.
13
13
  */
14
- declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core9.Children;
14
+ declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core3.Children;
15
15
  type MarkdownFileHeaderProps = SourceFileHeaderProps & {
16
16
  frontMatter?: FrontMatterProps["data"];
17
17
  };
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
21
21
  * @param props - The properties for the source file header.
22
22
  * @returns The rendered source file header.
23
23
  */
24
- declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core9.Children;
24
+ declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core3.Children;
25
25
  declare type __ΩMarkdownFileProps = any[];
26
26
  declare type __ΩMarkdownFileHeaderProps = any[];
27
27
  //#endregion
@@ -1,5 +1,5 @@
1
- import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
2
1
  import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
2
+ import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
3
3
  import { SourceFile } from "../../core/components/source-file.mjs";
4
4
  import { FrontMatter } from "./front-matter.mjs";
5
5
  import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
@@ -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_core4 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_core4.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_core4.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_core4.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_core11 from "@alloy-js/core";
3
+ import * as _alloy_js_core15 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_core11.Children;
12
+ declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core15.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_core11.Children;
19
+ declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core15.Children;
20
20
  /**
21
21
  * Component that provides a context for rendering markdown tables.
22
22
  */
23
- declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core11.Children;
23
+ declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core15.Children;
24
24
  declare type __ΩMarkdownTableProps = any[];
25
25
  declare type __ΩMarkdownTableColumnProps = any[];
26
26
  //#endregion
@@ -0,0 +1,83 @@
1
+
2
+ //#region ../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs
3
+ function createContext(opts = {}) {
4
+ let currentInstance;
5
+ let isSingleton = false;
6
+ const checkConflict = (instance) => {
7
+ if (currentInstance && currentInstance !== instance) throw new Error("Context conflict");
8
+ };
9
+ let als;
10
+ if (opts.asyncContext) {
11
+ const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage;
12
+ if (_AsyncLocalStorage) als = new _AsyncLocalStorage();
13
+ else console.warn("[unctx] `AsyncLocalStorage` is not provided.");
14
+ }
15
+ const _getCurrentInstance = () => {
16
+ if (als) {
17
+ const instance = als.getStore();
18
+ if (instance !== void 0) return instance;
19
+ }
20
+ return currentInstance;
21
+ };
22
+ return {
23
+ use: () => {
24
+ const _instance = _getCurrentInstance();
25
+ if (_instance === void 0) throw new Error("Context is not available");
26
+ return _instance;
27
+ },
28
+ tryUse: () => {
29
+ return _getCurrentInstance();
30
+ },
31
+ set: (instance, replace) => {
32
+ if (!replace) checkConflict(instance);
33
+ currentInstance = instance;
34
+ isSingleton = true;
35
+ },
36
+ unset: () => {
37
+ currentInstance = void 0;
38
+ isSingleton = false;
39
+ },
40
+ call: (instance, callback) => {
41
+ checkConflict(instance);
42
+ currentInstance = instance;
43
+ try {
44
+ return als ? als.run(instance, callback) : callback();
45
+ } finally {
46
+ if (!isSingleton) currentInstance = void 0;
47
+ }
48
+ },
49
+ async callAsync(instance, callback) {
50
+ currentInstance = instance;
51
+ const onRestore = () => {
52
+ currentInstance = instance;
53
+ };
54
+ const onLeave = () => currentInstance === instance ? onRestore : void 0;
55
+ asyncHandlers.add(onLeave);
56
+ try {
57
+ const r = als ? als.run(instance, callback) : callback();
58
+ if (!isSingleton) currentInstance = void 0;
59
+ return await r;
60
+ } finally {
61
+ asyncHandlers.delete(onLeave);
62
+ }
63
+ }
64
+ };
65
+ }
66
+ function createNamespace(defaultOpts = {}) {
67
+ const contexts = {};
68
+ return { get(key, opts = {}) {
69
+ if (!contexts[key]) contexts[key] = createContext({
70
+ ...defaultOpts,
71
+ ...opts
72
+ });
73
+ return contexts[key];
74
+ } };
75
+ }
76
+ const _globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : {};
77
+ const globalKey = "__unctx__";
78
+ const defaultNamespace = _globalThis[globalKey] || (_globalThis[globalKey] = createNamespace());
79
+ const asyncHandlersKey = "__unctx_async_handlers__";
80
+ const asyncHandlers = _globalThis[asyncHandlersKey] || (_globalThis[asyncHandlersKey] = /* @__PURE__ */ new Set());
81
+
82
+ //#endregion
83
+ exports.createContext = createContext;
@@ -0,0 +1,82 @@
1
+ //#region ../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs
2
+ function createContext(opts = {}) {
3
+ let currentInstance;
4
+ let isSingleton = false;
5
+ const checkConflict = (instance) => {
6
+ if (currentInstance && currentInstance !== instance) throw new Error("Context conflict");
7
+ };
8
+ let als;
9
+ if (opts.asyncContext) {
10
+ const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage;
11
+ if (_AsyncLocalStorage) als = new _AsyncLocalStorage();
12
+ else console.warn("[unctx] `AsyncLocalStorage` is not provided.");
13
+ }
14
+ const _getCurrentInstance = () => {
15
+ if (als) {
16
+ const instance = als.getStore();
17
+ if (instance !== void 0) return instance;
18
+ }
19
+ return currentInstance;
20
+ };
21
+ return {
22
+ use: () => {
23
+ const _instance = _getCurrentInstance();
24
+ if (_instance === void 0) throw new Error("Context is not available");
25
+ return _instance;
26
+ },
27
+ tryUse: () => {
28
+ return _getCurrentInstance();
29
+ },
30
+ set: (instance, replace) => {
31
+ if (!replace) checkConflict(instance);
32
+ currentInstance = instance;
33
+ isSingleton = true;
34
+ },
35
+ unset: () => {
36
+ currentInstance = void 0;
37
+ isSingleton = false;
38
+ },
39
+ call: (instance, callback) => {
40
+ checkConflict(instance);
41
+ currentInstance = instance;
42
+ try {
43
+ return als ? als.run(instance, callback) : callback();
44
+ } finally {
45
+ if (!isSingleton) currentInstance = void 0;
46
+ }
47
+ },
48
+ async callAsync(instance, callback) {
49
+ currentInstance = instance;
50
+ const onRestore = () => {
51
+ currentInstance = instance;
52
+ };
53
+ const onLeave = () => currentInstance === instance ? onRestore : void 0;
54
+ asyncHandlers.add(onLeave);
55
+ try {
56
+ const r = als ? als.run(instance, callback) : callback();
57
+ if (!isSingleton) currentInstance = void 0;
58
+ return await r;
59
+ } finally {
60
+ asyncHandlers.delete(onLeave);
61
+ }
62
+ }
63
+ };
64
+ }
65
+ function createNamespace(defaultOpts = {}) {
66
+ const contexts = {};
67
+ return { get(key, opts = {}) {
68
+ if (!contexts[key]) contexts[key] = createContext({
69
+ ...defaultOpts,
70
+ ...opts
71
+ });
72
+ return contexts[key];
73
+ } };
74
+ }
75
+ const _globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : {};
76
+ const globalKey = "__unctx__";
77
+ const defaultNamespace = _globalThis[globalKey] || (_globalThis[globalKey] = createNamespace());
78
+ const asyncHandlersKey = "__unctx_async_handlers__";
79
+ const asyncHandlers = _globalThis[asyncHandlersKey] || (_globalThis[asyncHandlersKey] = /* @__PURE__ */ new Set());
80
+
81
+ //#endregion
82
+ export { createContext };
@@ -1,6 +1,6 @@
1
1
  import { TSDocModuleProps } from "./tsdoc.cjs";
2
2
  import { TypescriptFileProps } from "./typescript-file.cjs";
3
- import * as _alloy_js_core5 from "@alloy-js/core";
3
+ import * as _alloy_js_core12 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_core5.Children;
31
+ declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core12.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 _alloy_js_core8 from "@alloy-js/core";
3
+ import * as _alloy_js_core6 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_core8.Children;
31
+ declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core6.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_core14 from "@alloy-js/core";
1
+ import * as _alloy_js_core7 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_core14.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core7.Children;
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
@@ -1,4 +1,4 @@
1
- import * as _alloy_js_core2 from "@alloy-js/core";
1
+ import * as _alloy_js_core5 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_core2.Children;
29
+ declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core5.Children;
30
30
  declare type __ΩDynamicImportStatementProps = any[];
31
31
  //#endregion
32
32
  export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
@@ -1,5 +1,5 @@
1
1
  import { TypescriptFileProps } from "./typescript-file.cjs";
2
- import * as _alloy_js_core9 from "@alloy-js/core";
2
+ import * as _alloy_js_core8 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,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_core8.Children;
25
25
  declare type __ΩEntryFileProps = any[];
26
26
  //#endregion
27
27
  export { EntryFile, EntryFileProps, __ΩEntryFileProps };
@@ -1,5 +1,5 @@
1
1
  import { TypescriptFileProps } from "./typescript-file.mjs";
2
- import * as _alloy_js_core6 from "@alloy-js/core";
2
+ import * as _alloy_js_core9 from "@alloy-js/core";
3
3
  import { ResolvedEntryTypeDefinition } from "powerlines/types/resolved";
4
4
 
5
5
  //#region src/typescript/components/entry-file.d.ts
@@ -21,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_core6.Children;
24
+ declare function EntryFile(props: EntryFileProps): _alloy_js_core9.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_core6 from "@alloy-js/core";
2
+ import * as _alloy_js_core9 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_core6.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core9.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_core6.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core9.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_core6.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core9.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_core3 from "@alloy-js/core";
2
+ import * as _alloy_js_core10 from "@alloy-js/core";
3
3
 
4
4
  //#region src/typescript/components/tsdoc-reflection.d.ts
5
5
  /**
6
6
  * Generates a TypeScript interface property for the given reflection class.
7
7
  */
8
- declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core3.Children;
8
+ declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core10.Children;
9
9
  /**
10
10
  * Generates a TypeScript interface property for the given reflection class.
11
11
  */
12
- declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core3.Children;
12
+ declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core10.Children;
13
13
  /**
14
14
  * Generates a TypeScript interface property for the given reflection class.
15
15
  */
16
- declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core3.Children;
16
+ declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core10.Children;
17
17
  //#endregion
18
18
  export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_core_contexts_context = require('../../core/contexts/context.cjs');
3
2
  const require_single_line_comment = require('../../core/components/single-line-comment.cjs');
3
+ const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
4
  const require_source_file = require('../../core/components/source-file.cjs');
5
5
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
6
  let __alloy_js_core = require("@alloy-js/core");
@@ -1,5 +1,5 @@
1
- import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
2
1
  import { SingleLineComment } from "../../core/components/single-line-comment.mjs";
2
+ import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
3
3
  import { SourceFile } from "../../core/components/source-file.mjs";
4
4
  import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
5
5
  import { For, Scope, Show, SourceDirectoryContext, code, splitProps, useContext, useScope } from "@alloy-js/core";
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core10 from "@alloy-js/core";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
4
4
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
5
 
@@ -14,11 +14,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
14
14
  /**
15
15
  * Generates a TypeScript interface for the given reflection class.
16
16
  */
17
- declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core10.Children;
17
+ declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core13.Children;
18
18
  /**
19
19
  * Generates a TypeScript interface property for the given reflection class.
20
20
  */
21
- declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core10.Children;
21
+ declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core13.Children;
22
22
  declare type __ΩTypeScriptInterfaceProps = any[];
23
23
  declare type __ΩTypescriptInterfacePropertyProps = any[];
24
24
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core16 from "@alloy-js/core";
2
+ import * as _alloy_js_core13 from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
  import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
5
5
 
@@ -14,11 +14,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
14
14
  /**
15
15
  * Generates a TypeScript interface for the given reflection class.
16
16
  */
17
- declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core16.Children;
17
+ declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core13.Children;
18
18
  /**
19
19
  * Generates a TypeScript interface property for the given reflection class.
20
20
  */
21
- declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core16.Children;
21
+ declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core13.Children;
22
22
  declare type __ΩTypeScriptInterfaceProps = any[];
23
23
  declare type __ΩTypescriptInterfacePropertyProps = any[];
24
24
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.cjs";
2
- import * as _alloy_js_core12 from "@alloy-js/core";
2
+ import * as _alloy_js_core2 from "@alloy-js/core";
3
3
  import { VarDeclarationProps } from "@alloy-js/typescript";
4
4
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
5
5
 
@@ -17,11 +17,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
17
17
  /**
18
18
  * Generates a TypeScript object for the given reflection class.
19
19
  */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core12.Children;
20
+ declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core2.Children;
21
21
  /**
22
22
  * Generates a TypeScript object property for the given reflection class.
23
23
  */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core12.Children;
24
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core2.Children;
25
25
  declare type __ΩComputedRef = any[];
26
26
  declare type __ΩTypescriptObjectProps = any[];
27
27
  declare type __ΩTypescriptObjectPropertyProps = any[];
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps } from "../../types/components.mjs";
2
- import * as _alloy_js_core14 from "@alloy-js/core";
2
+ import * as _alloy_js_core7 from "@alloy-js/core";
3
3
  import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
4
4
  import { VarDeclarationProps } from "@alloy-js/typescript";
5
5
 
@@ -17,11 +17,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
17
17
  /**
18
18
  * Generates a TypeScript object for the given reflection class.
19
19
  */
20
- declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core14.Children;
20
+ declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core7.Children;
21
21
  /**
22
22
  * Generates a TypeScript object property for the given reflection class.
23
23
  */
24
- declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core14.Children;
24
+ declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core7.Children;
25
25
  declare type __ΩComputedRef = any[];
26
26
  declare type __ΩTypescriptObjectProps = any[];
27
27
  declare type __ΩTypescriptObjectPropertyProps = any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-alloy",
3
- "version": "0.19.3",
3
+ "version": "0.19.4",
4
4
  "type": "module",
5
5
  "description": "A package containing various Alloy framework components and helper utilities.",
6
6
  "repository": {
@@ -360,8 +360,8 @@
360
360
  "@alloy-js/json": "^0.22.0",
361
361
  "@alloy-js/markdown": "^0.22.0",
362
362
  "@alloy-js/typescript": "^0.22.0",
363
- "@powerlines/deepkit": "^0.6.9",
364
- "@powerlines/plugin-babel": "^0.12.237",
363
+ "@powerlines/deepkit": "^0.6.10",
364
+ "@powerlines/plugin-babel": "^0.12.238",
365
365
  "@storm-software/config-tools": "^1.189.0",
366
366
  "@stryke/capnp": "^0.12.62",
367
367
  "@stryke/convert": "^0.6.36",
@@ -374,14 +374,14 @@
374
374
  "@stryke/types": "^0.10.35",
375
375
  "@stryke/unique-id": "^0.3.48",
376
376
  "defu": "^6.1.4",
377
- "powerlines": "^0.37.99",
377
+ "powerlines": "^0.37.100",
378
378
  "prettier": "^3.8.1",
379
379
  "unctx": "^2.5.0"
380
380
  },
381
381
  "devDependencies": {
382
- "@powerlines/plugin-plugin": "^0.12.179",
382
+ "@powerlines/plugin-plugin": "^0.12.180",
383
383
  "@types/node": "^24.10.9"
384
384
  },
385
385
  "publishConfig": { "access": "public" },
386
- "gitHead": "72c01e3d3bd50d3de487c8c1e38bf4656654e55e"
386
+ "gitHead": "043c95182c0607708824fb98d89431e9b14e190c"
387
387
  }