@powerlines/plugin-alloy 0.26.305 → 0.26.307

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 (50) hide show
  1. package/dist/builtin-file-B4ShzPxB.d.cts +38 -0
  2. package/dist/builtin-file-B4ShzPxB.d.cts.map +1 -0
  3. package/dist/builtin-file-B4ShzPxB.d.mts +38 -0
  4. package/dist/builtin-file-B4ShzPxB.d.mts.map +1 -0
  5. package/dist/context-CSS1JRC3.d.cts +28 -0
  6. package/dist/context-CSS1JRC3.d.cts.map +1 -0
  7. package/dist/context-CSS1JRC3.d.mts +28 -0
  8. package/dist/context-CSS1JRC3.d.mts.map +1 -0
  9. package/dist/core/components/index.d.cts +1 -1
  10. package/dist/core/components/index.d.mts +1 -1
  11. package/dist/core/components/infrastructure-file.cjs +2 -2
  12. package/dist/core/components/infrastructure-file.d.cts +2 -25
  13. package/dist/core/components/infrastructure-file.d.mts +2 -25
  14. package/dist/core/contexts/context.d.cts +2 -28
  15. package/dist/core/contexts/context.d.mts +2 -28
  16. package/dist/core/contexts/index.d.cts +1 -1
  17. package/dist/core/contexts/index.d.mts +1 -1
  18. package/dist/core/index.d.cts +2 -2
  19. package/dist/core/index.d.mts +2 -2
  20. package/dist/entry-file-BVQrXRYY.d.mts +25 -0
  21. package/dist/entry-file-BVQrXRYY.d.mts.map +1 -0
  22. package/dist/entry-file-CORadUER.d.cts +25 -0
  23. package/dist/entry-file-CORadUER.d.cts.map +1 -0
  24. package/dist/helpers/capnp.cjs +2 -2
  25. package/dist/index.cjs +2 -2
  26. package/dist/infrastructure-file-tOW0ePen.d.cts +25 -0
  27. package/dist/infrastructure-file-tOW0ePen.d.cts.map +1 -0
  28. package/dist/infrastructure-file-tOW0ePen.d.mts +25 -0
  29. package/dist/infrastructure-file-tOW0ePen.d.mts.map +1 -0
  30. package/dist/{_virtual/_rolldown/runtime.cjs → rolldown-runtime-C24Yb2bl.cjs} +6 -1
  31. package/dist/types/index.cjs +1 -0
  32. package/dist/types/index.mjs +2 -0
  33. package/dist/typescript/components/builtin-file.d.cts +2 -38
  34. package/dist/typescript/components/builtin-file.d.mts +2 -38
  35. package/dist/typescript/components/entry-file.cjs +2 -2
  36. package/dist/typescript/components/entry-file.d.cts +2 -25
  37. package/dist/typescript/components/entry-file.d.mts +2 -25
  38. package/dist/typescript/components/index.d.cts +2 -2
  39. package/dist/typescript/components/index.d.mts +2 -2
  40. package/dist/typescript/index.d.cts +2 -2
  41. package/dist/typescript/index.d.mts +2 -2
  42. package/package.json +7 -7
  43. package/dist/core/components/infrastructure-file.d.cts.map +0 -1
  44. package/dist/core/components/infrastructure-file.d.mts.map +0 -1
  45. package/dist/core/contexts/context.d.cts.map +0 -1
  46. package/dist/core/contexts/context.d.mts.map +0 -1
  47. package/dist/typescript/components/builtin-file.d.cts.map +0 -1
  48. package/dist/typescript/components/builtin-file.d.mts.map +0 -1
  49. package/dist/typescript/components/entry-file.d.cts.map +0 -1
  50. package/dist/typescript/components/entry-file.d.mts.map +0 -1
@@ -0,0 +1,38 @@
1
+ import { TSDocModuleProps } from "@power-plant/alloy-js/typescript/components/tsdoc";
2
+ import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
+ //#region src/typescript/components/builtin-file.d.ts
4
+ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
5
+ /**
6
+ * The runtime module identifier.
7
+ *
8
+ * @remarks
9
+ * This value will be included after the \`storm:\` prefix in the import statement.
10
+ */
11
+ id: string;
12
+ /**
13
+ * The description for the builtin module.
14
+ */
15
+ description?: string;
16
+ /**
17
+ * Whether the file is a TSX file.
18
+ *
19
+ * @defaultValue false
20
+ */
21
+ tsx?: boolean;
22
+ /**
23
+ * Whether the file is internal and should not be included in the public API documentation.
24
+ *
25
+ * @defaultValue false
26
+ */
27
+ internal?: boolean;
28
+ };
29
+ /**
30
+ * A base component representing a Powerlines generated Typescript source file.
31
+ *
32
+ * @param props - The properties for the source file.
33
+ * @returns The rendered source file component.
34
+ */
35
+ declare function BuiltinFile(props: BuiltinFileProps): import("@alloy-js/core").Children;
36
+ //#endregion
37
+ export { BuiltinFileProps as n, BuiltinFile as t };
38
+ //# sourceMappingURL=builtin-file-B4ShzPxB.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-file-B4ShzPxB.d.cts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"mappings":";;;KAiCY,mBAAmB,KAAK,+BAClC,KAAK;;;;;;;EAOH;;;;EAKA;;;;;;EAOA;;;;;;EAOA;;;;;;;;iBASY,YAAY,OAAO,4CAAgB"}
@@ -0,0 +1,38 @@
1
+ import { TSDocModuleProps } from "@power-plant/alloy-js/typescript/components/tsdoc";
2
+ import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
+ //#region src/typescript/components/builtin-file.d.ts
4
+ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
5
+ /**
6
+ * The runtime module identifier.
7
+ *
8
+ * @remarks
9
+ * This value will be included after the \`storm:\` prefix in the import statement.
10
+ */
11
+ id: string;
12
+ /**
13
+ * The description for the builtin module.
14
+ */
15
+ description?: string;
16
+ /**
17
+ * Whether the file is a TSX file.
18
+ *
19
+ * @defaultValue false
20
+ */
21
+ tsx?: boolean;
22
+ /**
23
+ * Whether the file is internal and should not be included in the public API documentation.
24
+ *
25
+ * @defaultValue false
26
+ */
27
+ internal?: boolean;
28
+ };
29
+ /**
30
+ * A base component representing a Powerlines generated Typescript source file.
31
+ *
32
+ * @param props - The properties for the source file.
33
+ * @returns The rendered source file component.
34
+ */
35
+ declare function BuiltinFile(props: BuiltinFileProps): import("@alloy-js/core").Children;
36
+ //#endregion
37
+ export { BuiltinFileProps as n, BuiltinFile as t };
38
+ //# sourceMappingURL=builtin-file-B4ShzPxB.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-file-B4ShzPxB.d.mts","names":[],"sources":["../src/typescript/components/builtin-file.tsx"],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import { ComponentContext } from "@alloy-js/core";
2
+ import { PluginContext } from "powerlines";
3
+ //#region src/core/contexts/context.d.ts
4
+ /**
5
+ * The Powerlines context used in template rendering.
6
+ */
7
+ declare const PowerlinesContext: ComponentContext<PluginContext>;
8
+ /**
9
+ * Hook to access the Powerlines Context.
10
+ *
11
+ * @returns The Context.
12
+ */
13
+ declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
14
+ /**
15
+ * Hook to safely access the {@link PluginContext | Powerlines context}.
16
+ *
17
+ * @returns The Powerlines context or undefined if not set.
18
+ */
19
+ declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
20
+ /**
21
+ * Hook to access the {@link PluginContext | Powerlines context}.
22
+ *
23
+ * @returns The Powerlines context.
24
+ */
25
+ declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
26
+ //#endregion
27
+ export { usePowerlinesSafe as i, usePowerlines as n, usePowerlinesContext as r, PowerlinesContext as t };
28
+ //# sourceMappingURL=context-CSS1JRC3.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-CSS1JRC3.d.cts","names":[],"sources":["../src/core/contexts/context.ts"],"mappings":";;;;;;cA4Ba,mBAAmB,iBAAiB;;;;;;iBAQjC,qBACd,iBAAiB,gBAAgB,kBAC9B;;;;;;iBASW,kBACd,iBAAiB,gBAAgB,kBAC9B;;;;;;iBAWW,cACd,iBAAiB,gBAAgB,kBAC9B"}
@@ -0,0 +1,28 @@
1
+ import { ComponentContext } from "@alloy-js/core";
2
+ import { PluginContext } from "powerlines";
3
+ //#region src/core/contexts/context.d.ts
4
+ /**
5
+ * The Powerlines context used in template rendering.
6
+ */
7
+ declare const PowerlinesContext: ComponentContext<PluginContext>;
8
+ /**
9
+ * Hook to access the Powerlines Context.
10
+ *
11
+ * @returns The Context.
12
+ */
13
+ declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
14
+ /**
15
+ * Hook to safely access the {@link PluginContext | Powerlines context}.
16
+ *
17
+ * @returns The Powerlines context or undefined if not set.
18
+ */
19
+ declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
20
+ /**
21
+ * Hook to access the {@link PluginContext | Powerlines context}.
22
+ *
23
+ * @returns The Powerlines context.
24
+ */
25
+ declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
26
+ //#endregion
27
+ export { usePowerlinesSafe as i, usePowerlines as n, usePowerlinesContext as r, PowerlinesContext as t };
28
+ //# sourceMappingURL=context-CSS1JRC3.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-CSS1JRC3.d.mts","names":[],"sources":["../src/core/contexts/context.ts"],"mappings":""}
@@ -1,2 +1,2 @@
1
- import { InfrastructureFile, InfrastructureFileProps } from "./infrastructure-file.cjs";
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../../infrastructure-file-tOW0ePen.cjs";
2
2
  export { InfrastructureFile, InfrastructureFileProps };
@@ -1,2 +1,2 @@
1
- import { InfrastructureFile, InfrastructureFileProps } from "./infrastructure-file.mjs";
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../../infrastructure-file-tOW0ePen.mjs";
2
2
  export { InfrastructureFile, InfrastructureFileProps };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../../rolldown-runtime-C24Yb2bl.cjs');
3
3
  const require_core_contexts_context = require('../contexts/context.cjs');
4
4
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
5
5
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
@@ -8,7 +8,7 @@ let _stryke_path_replace = require("@stryke/path/replace");
8
8
  let _power_plant_alloy_js_core_components_source_file = require("@power-plant/alloy-js/core/components/source-file");
9
9
  let _stryke_path_append = require("@stryke/path/append");
10
10
  let defu = require("defu");
11
- defu = require_runtime.__toESM(defu, 1);
11
+ defu = require_rolldown_runtime.__toESM(defu, 1);
12
12
 
13
13
  //#region src/core/components/infrastructure-file.tsx
14
14
  /**
@@ -1,25 +1,2 @@
1
- import { SourceFileProps } from "@power-plant/alloy-js/core/components/source-file";
2
- //#region src/core/components/infrastructure-file.d.ts
3
- type InfrastructureFileProps = Omit<SourceFileProps, "path"> & {
4
- /**
5
- * The infrastructure module identifier.
6
- */
7
- id: string;
8
- /**
9
- * The extension for the infrastructure file. This is used to determine the file extension if the `id` does not already include one.
10
- *
11
- * @remarks
12
- * If none is provided, the file extension will be determined by the {@link SourceFileProps.filetype | filetype} property.
13
- */
14
- extension?: string;
15
- };
16
- /**
17
- * A base component representing a Powerlines generated infrastructure file.
18
- *
19
- * @param props - The properties for the infrastructure file.
20
- * @returns The rendered infrastructure file component.
21
- */
22
- declare function InfrastructureFile(props: InfrastructureFileProps): import("@alloy-js/core").Children;
23
- //#endregion
24
- export { InfrastructureFile, InfrastructureFileProps };
25
- //# sourceMappingURL=infrastructure-file.d.cts.map
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../../infrastructure-file-tOW0ePen.cjs";
2
+ export { InfrastructureFile, InfrastructureFileProps };
@@ -1,25 +1,2 @@
1
- import { SourceFileProps } from "@power-plant/alloy-js/core/components/source-file";
2
- //#region src/core/components/infrastructure-file.d.ts
3
- type InfrastructureFileProps = Omit<SourceFileProps, "path"> & {
4
- /**
5
- * The infrastructure module identifier.
6
- */
7
- id: string;
8
- /**
9
- * The extension for the infrastructure file. This is used to determine the file extension if the `id` does not already include one.
10
- *
11
- * @remarks
12
- * If none is provided, the file extension will be determined by the {@link SourceFileProps.filetype | filetype} property.
13
- */
14
- extension?: string;
15
- };
16
- /**
17
- * A base component representing a Powerlines generated infrastructure file.
18
- *
19
- * @param props - The properties for the infrastructure file.
20
- * @returns The rendered infrastructure file component.
21
- */
22
- declare function InfrastructureFile(props: InfrastructureFileProps): import("@alloy-js/core").Children;
23
- //#endregion
24
- export { InfrastructureFile, InfrastructureFileProps };
25
- //# sourceMappingURL=infrastructure-file.d.mts.map
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../../infrastructure-file-tOW0ePen.mjs";
2
+ export { InfrastructureFile, InfrastructureFileProps };
@@ -1,28 +1,2 @@
1
- import { ComponentContext } from "@alloy-js/core";
2
- import { PluginContext } from "powerlines";
3
- //#region src/core/contexts/context.d.ts
4
- /**
5
- * The Powerlines context used in template rendering.
6
- */
7
- declare const PowerlinesContext: ComponentContext<PluginContext>;
8
- /**
9
- * Hook to access the Powerlines Context.
10
- *
11
- * @returns The Context.
12
- */
13
- declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
14
- /**
15
- * Hook to safely access the {@link PluginContext | Powerlines context}.
16
- *
17
- * @returns The Powerlines context or undefined if not set.
18
- */
19
- declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
20
- /**
21
- * Hook to access the {@link PluginContext | Powerlines context}.
22
- *
23
- * @returns The Powerlines context.
24
- */
25
- declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
26
- //#endregion
27
- export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
28
- //# sourceMappingURL=context.d.cts.map
1
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-CSS1JRC3.cjs";
2
+ export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,28 +1,2 @@
1
- import { ComponentContext } from "@alloy-js/core";
2
- import { PluginContext } from "powerlines";
3
- //#region src/core/contexts/context.d.ts
4
- /**
5
- * The Powerlines context used in template rendering.
6
- */
7
- declare const PowerlinesContext: ComponentContext<PluginContext>;
8
- /**
9
- * Hook to access the Powerlines Context.
10
- *
11
- * @returns The Context.
12
- */
13
- declare function usePowerlinesContext<TContext extends PluginContext = PluginContext>(): TContext | undefined;
14
- /**
15
- * Hook to safely access the {@link PluginContext | Powerlines context}.
16
- *
17
- * @returns The Powerlines context or undefined if not set.
18
- */
19
- declare function usePowerlinesSafe<TContext extends PluginContext = PluginContext>(): TContext | undefined;
20
- /**
21
- * Hook to access the {@link PluginContext | Powerlines context}.
22
- *
23
- * @returns The Powerlines context.
24
- */
25
- declare function usePowerlines<TContext extends PluginContext = PluginContext>(): TContext;
26
- //#endregion
27
- export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
28
- //# sourceMappingURL=context.d.mts.map
1
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-CSS1JRC3.mjs";
2
+ export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,2 +1,2 @@
1
- import { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.cjs";
1
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-CSS1JRC3.cjs";
2
2
  export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,2 +1,2 @@
1
- import { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
1
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../../context-CSS1JRC3.mjs";
2
2
  export { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,5 +1,5 @@
1
- import { InfrastructureFile, InfrastructureFileProps } from "./components/infrastructure-file.cjs";
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../infrastructure-file-tOW0ePen.cjs";
2
2
  import "./components/index.cjs";
3
- import { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.cjs";
3
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-CSS1JRC3.cjs";
4
4
  import "./contexts/index.cjs";
5
5
  export { InfrastructureFile, InfrastructureFileProps, PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -1,5 +1,5 @@
1
- import { InfrastructureFile, InfrastructureFileProps } from "./components/infrastructure-file.mjs";
1
+ import { n as InfrastructureFileProps, t as InfrastructureFile } from "../infrastructure-file-tOW0ePen.mjs";
2
2
  import "./components/index.mjs";
3
- import { PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.mjs";
3
+ import { i as usePowerlinesSafe, n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "../context-CSS1JRC3.mjs";
4
4
  import "./contexts/index.mjs";
5
5
  export { InfrastructureFile, InfrastructureFileProps, PowerlinesContext, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
@@ -0,0 +1,25 @@
1
+ import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
2
+ import { ResolvedEntryFileReference } from "powerlines";
3
+ //#region src/typescript/components/entry-file.d.ts
4
+ type EntryFileProps = TypescriptFileProps & {
5
+ /**
6
+ * Whether the file is a TSX file.
7
+ *
8
+ * @defaultValue false
9
+ */
10
+ tsx?: boolean;
11
+ /**
12
+ * Render metadata information about the entrypoint
13
+ */
14
+ typeDefinition?: ResolvedEntryFileReference;
15
+ };
16
+ /**
17
+ * A base component representing a Powerlines generated Typescript source file.
18
+ *
19
+ * @param props - The properties for the source file.
20
+ * @returns The rendered source file component.
21
+ */
22
+ declare function EntryFile(props: EntryFileProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { EntryFileProps as n, EntryFile as t };
25
+ //# sourceMappingURL=entry-file-BVQrXRYY.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry-file-BVQrXRYY.d.mts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { ResolvedEntryFileReference } from "powerlines";
2
+ import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
+ //#region src/typescript/components/entry-file.d.ts
4
+ type EntryFileProps = TypescriptFileProps & {
5
+ /**
6
+ * Whether the file is a TSX file.
7
+ *
8
+ * @defaultValue false
9
+ */
10
+ tsx?: boolean;
11
+ /**
12
+ * Render metadata information about the entrypoint
13
+ */
14
+ typeDefinition?: ResolvedEntryFileReference;
15
+ };
16
+ /**
17
+ * A base component representing a Powerlines generated Typescript source file.
18
+ *
19
+ * @param props - The properties for the source file.
20
+ * @returns The rendered source file component.
21
+ */
22
+ declare function EntryFile(props: EntryFileProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { EntryFileProps as n, EntryFile as t };
25
+ //# sourceMappingURL=entry-file-CORadUER.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry-file-CORadUER.d.cts","names":[],"sources":["../src/typescript/components/entry-file.tsx"],"mappings":";;;KA8BY,iBAAiB;;;;;;EAM3B;;;;EAKA,iBAAiB;;;;;;;;iBASH,UAAU,OAAO,0CAAc"}
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
3
3
  let defu = require("defu");
4
- defu = require_runtime.__toESM(defu, 1);
4
+ defu = require_rolldown_runtime.__toESM(defu, 1);
5
5
  let _power_plant_schema = require("@power-plant/schema");
6
6
  let _stryke_capnp_compile = require("@stryke/capnp/compile");
7
7
  let _stryke_capnp_helpers = require("@stryke/capnp/helpers");
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
3
  let _powerlines_plugin_babel = require("@powerlines/plugin-babel");
4
- _powerlines_plugin_babel = require_runtime.__toESM(_powerlines_plugin_babel, 1);
4
+ _powerlines_plugin_babel = require_rolldown_runtime.__toESM(_powerlines_plugin_babel, 1);
5
5
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
6
6
 
7
7
  //#region src/index.tsx
@@ -0,0 +1,25 @@
1
+ import { SourceFileProps } from "@power-plant/alloy-js/core/components/source-file";
2
+ //#region src/core/components/infrastructure-file.d.ts
3
+ type InfrastructureFileProps = Omit<SourceFileProps, "path"> & {
4
+ /**
5
+ * The infrastructure module identifier.
6
+ */
7
+ id: string;
8
+ /**
9
+ * The extension for the infrastructure file. This is used to determine the file extension if the `id` does not already include one.
10
+ *
11
+ * @remarks
12
+ * If none is provided, the file extension will be determined by the {@link SourceFileProps.filetype | filetype} property.
13
+ */
14
+ extension?: string;
15
+ };
16
+ /**
17
+ * A base component representing a Powerlines generated infrastructure file.
18
+ *
19
+ * @param props - The properties for the infrastructure file.
20
+ * @returns The rendered infrastructure file component.
21
+ */
22
+ declare function InfrastructureFile(props: InfrastructureFileProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { InfrastructureFileProps as n, InfrastructureFile as t };
25
+ //# sourceMappingURL=infrastructure-file-tOW0ePen.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infrastructure-file-tOW0ePen.d.cts","names":[],"sources":["../src/core/components/infrastructure-file.tsx"],"mappings":";;KA8BY,0BAA0B,KAAK;;;;EAIzC;;;;;;;EAQA;;;;;;;;iBASc,mBAAmB,OAAO,mDAAuB"}
@@ -0,0 +1,25 @@
1
+ import { SourceFileProps } from "@power-plant/alloy-js/core/components/source-file";
2
+ //#region src/core/components/infrastructure-file.d.ts
3
+ type InfrastructureFileProps = Omit<SourceFileProps, "path"> & {
4
+ /**
5
+ * The infrastructure module identifier.
6
+ */
7
+ id: string;
8
+ /**
9
+ * The extension for the infrastructure file. This is used to determine the file extension if the `id` does not already include one.
10
+ *
11
+ * @remarks
12
+ * If none is provided, the file extension will be determined by the {@link SourceFileProps.filetype | filetype} property.
13
+ */
14
+ extension?: string;
15
+ };
16
+ /**
17
+ * A base component representing a Powerlines generated infrastructure file.
18
+ *
19
+ * @param props - The properties for the infrastructure file.
20
+ * @returns The rendered infrastructure file component.
21
+ */
22
+ declare function InfrastructureFile(props: InfrastructureFileProps): import("@alloy-js/core").Children;
23
+ //#endregion
24
+ export { InfrastructureFileProps as n, InfrastructureFile as t };
25
+ //# sourceMappingURL=infrastructure-file-tOW0ePen.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infrastructure-file-tOW0ePen.d.mts","names":[],"sources":["../src/core/components/infrastructure-file.tsx"],"mappings":""}
@@ -25,4 +25,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
- exports.__toESM = __toESM;
28
+ Object.defineProperty(exports, '__toESM', {
29
+ enumerable: true,
30
+ get: function () {
31
+ return __toESM;
32
+ }
33
+ });
@@ -0,0 +1 @@
1
+ require('./plugin.cjs');
@@ -1 +1,3 @@
1
+ import "./plugin.mjs";
2
+
1
3
  export { };
@@ -1,38 +1,2 @@
1
- import { TSDocModuleProps } from "@power-plant/alloy-js/typescript/components/tsdoc";
2
- import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
- //#region src/typescript/components/builtin-file.d.ts
4
- type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
5
- /**
6
- * The runtime module identifier.
7
- *
8
- * @remarks
9
- * This value will be included after the \`storm:\` prefix in the import statement.
10
- */
11
- id: string;
12
- /**
13
- * The description for the builtin module.
14
- */
15
- description?: string;
16
- /**
17
- * Whether the file is a TSX file.
18
- *
19
- * @defaultValue false
20
- */
21
- tsx?: boolean;
22
- /**
23
- * Whether the file is internal and should not be included in the public API documentation.
24
- *
25
- * @defaultValue false
26
- */
27
- internal?: boolean;
28
- };
29
- /**
30
- * A base component representing a Powerlines generated Typescript source file.
31
- *
32
- * @param props - The properties for the source file.
33
- * @returns The rendered source file component.
34
- */
35
- declare function BuiltinFile(props: BuiltinFileProps): import("@alloy-js/core").Children;
36
- //#endregion
37
- export { BuiltinFile, BuiltinFileProps };
38
- //# sourceMappingURL=builtin-file.d.cts.map
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../../builtin-file-B4ShzPxB.cjs";
2
+ export { BuiltinFile, BuiltinFileProps };
@@ -1,38 +1,2 @@
1
- import { TSDocModuleProps } from "@power-plant/alloy-js/typescript/components/tsdoc";
2
- import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
- //#region src/typescript/components/builtin-file.d.ts
4
- type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
5
- /**
6
- * The runtime module identifier.
7
- *
8
- * @remarks
9
- * This value will be included after the \`storm:\` prefix in the import statement.
10
- */
11
- id: string;
12
- /**
13
- * The description for the builtin module.
14
- */
15
- description?: string;
16
- /**
17
- * Whether the file is a TSX file.
18
- *
19
- * @defaultValue false
20
- */
21
- tsx?: boolean;
22
- /**
23
- * Whether the file is internal and should not be included in the public API documentation.
24
- *
25
- * @defaultValue false
26
- */
27
- internal?: boolean;
28
- };
29
- /**
30
- * A base component representing a Powerlines generated Typescript source file.
31
- *
32
- * @param props - The properties for the source file.
33
- * @returns The rendered source file component.
34
- */
35
- declare function BuiltinFile(props: BuiltinFileProps): import("@alloy-js/core").Children;
36
- //#endregion
37
- export { BuiltinFile, BuiltinFileProps };
38
- //# sourceMappingURL=builtin-file.d.mts.map
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../../builtin-file-B4ShzPxB.mjs";
2
+ export { BuiltinFile, BuiltinFileProps };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
2
+ const require_rolldown_runtime = require('../../rolldown-runtime-C24Yb2bl.cjs');
3
3
  const require_core_contexts_context = require('../../core/contexts/context.cjs');
4
4
  const require_helpers_prefix = require('../../helpers/prefix.cjs');
5
5
  let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
@@ -8,7 +8,7 @@ let _alloy_js_core = require("@alloy-js/core");
8
8
  let _stryke_path_replace = require("@stryke/path/replace");
9
9
  let _stryke_path_append = require("@stryke/path/append");
10
10
  let defu = require("defu");
11
- defu = require_runtime.__toESM(defu, 1);
11
+ defu = require_rolldown_runtime.__toESM(defu, 1);
12
12
  let _power_plant_alloy_js_typescript_components_typescript_file = require("@power-plant/alloy-js/typescript/components/typescript-file");
13
13
  let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
14
14
 
@@ -1,25 +1,2 @@
1
- import { ResolvedEntryFileReference } from "powerlines";
2
- import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
3
- //#region src/typescript/components/entry-file.d.ts
4
- type EntryFileProps = TypescriptFileProps & {
5
- /**
6
- * Whether the file is a TSX file.
7
- *
8
- * @defaultValue false
9
- */
10
- tsx?: boolean;
11
- /**
12
- * Render metadata information about the entrypoint
13
- */
14
- typeDefinition?: ResolvedEntryFileReference;
15
- };
16
- /**
17
- * A base component representing a Powerlines generated Typescript source file.
18
- *
19
- * @param props - The properties for the source file.
20
- * @returns The rendered source file component.
21
- */
22
- declare function EntryFile(props: EntryFileProps): import("@alloy-js/core").Children;
23
- //#endregion
24
- export { EntryFile, EntryFileProps };
25
- //# sourceMappingURL=entry-file.d.cts.map
1
+ import { n as EntryFileProps, t as EntryFile } from "../../entry-file-CORadUER.cjs";
2
+ export { EntryFile, EntryFileProps };
@@ -1,25 +1,2 @@
1
- import { TypescriptFileProps } from "@power-plant/alloy-js/typescript/components/typescript-file";
2
- import { ResolvedEntryFileReference } from "powerlines";
3
- //#region src/typescript/components/entry-file.d.ts
4
- type EntryFileProps = TypescriptFileProps & {
5
- /**
6
- * Whether the file is a TSX file.
7
- *
8
- * @defaultValue false
9
- */
10
- tsx?: boolean;
11
- /**
12
- * Render metadata information about the entrypoint
13
- */
14
- typeDefinition?: ResolvedEntryFileReference;
15
- };
16
- /**
17
- * A base component representing a Powerlines generated Typescript source file.
18
- *
19
- * @param props - The properties for the source file.
20
- * @returns The rendered source file component.
21
- */
22
- declare function EntryFile(props: EntryFileProps): import("@alloy-js/core").Children;
23
- //#endregion
24
- export { EntryFile, EntryFileProps };
25
- //# sourceMappingURL=entry-file.d.mts.map
1
+ import { n as EntryFileProps, t as EntryFile } from "../../entry-file-BVQrXRYY.mjs";
2
+ export { EntryFile, EntryFileProps };
@@ -1,3 +1,3 @@
1
- import { BuiltinFile, BuiltinFileProps } from "./builtin-file.cjs";
2
- import { EntryFile, EntryFileProps } from "./entry-file.cjs";
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../../builtin-file-B4ShzPxB.cjs";
2
+ import { n as EntryFileProps, t as EntryFile } from "../../entry-file-CORadUER.cjs";
3
3
  export { BuiltinFile, BuiltinFileProps, EntryFile, EntryFileProps };
@@ -1,3 +1,3 @@
1
- import { BuiltinFile, BuiltinFileProps } from "./builtin-file.mjs";
2
- import { EntryFile, EntryFileProps } from "./entry-file.mjs";
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../../builtin-file-B4ShzPxB.mjs";
2
+ import { n as EntryFileProps, t as EntryFile } from "../../entry-file-BVQrXRYY.mjs";
3
3
  export { BuiltinFile, BuiltinFileProps, EntryFile, EntryFileProps };
@@ -1,4 +1,4 @@
1
- import { BuiltinFile, BuiltinFileProps } from "./components/builtin-file.cjs";
2
- import { EntryFile, EntryFileProps } from "./components/entry-file.cjs";
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../builtin-file-B4ShzPxB.cjs";
2
+ import { n as EntryFileProps, t as EntryFile } from "../entry-file-CORadUER.cjs";
3
3
  import "./components/index.cjs";
4
4
  export { BuiltinFile, BuiltinFileProps, EntryFile, EntryFileProps };
@@ -1,4 +1,4 @@
1
- import { BuiltinFile, BuiltinFileProps } from "./components/builtin-file.mjs";
2
- import { EntryFile, EntryFileProps } from "./components/entry-file.mjs";
1
+ import { n as BuiltinFileProps, t as BuiltinFile } from "../builtin-file-B4ShzPxB.mjs";
2
+ import { n as EntryFileProps, t as EntryFile } from "../entry-file-BVQrXRYY.mjs";
3
3
  import "./components/index.mjs";
4
4
  export { BuiltinFile, BuiltinFileProps, EntryFile, EntryFileProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-alloy",
3
- "version": "0.26.305",
3
+ "version": "0.26.307",
4
4
  "description": "A Powerlines plugin to generate project code using Alloy JS via Power Plant.",
5
5
  "keywords": ["alloy-js", "powerlines", "powerlines-plugin"],
6
6
  "homepage": "https://stormsoftware.com",
@@ -302,11 +302,11 @@
302
302
  "@alloy-js/core": "^0.24.1",
303
303
  "@alloy-js/typescript": "^0.24.0",
304
304
  "@babel/preset-typescript": "^8.0.1",
305
- "@power-plant/alloy-js": "^0.0.85",
305
+ "@power-plant/alloy-js": "^0.0.86",
306
306
  "@power-plant/core": "^0.0.89",
307
307
  "@power-plant/schema": "^0.0.87",
308
- "@powerlines/plugin-babel": "^0.13.205",
309
- "@powerlines/plugin-power-plant": "^0.1.64",
308
+ "@powerlines/plugin-babel": "^0.13.206",
309
+ "@powerlines/plugin-power-plant": "^0.1.66",
310
310
  "@storm-software/config-tools": "^1.190.133",
311
311
  "@stryke/capnp": "^0.12.137",
312
312
  "@stryke/convert": "^0.7.39",
@@ -316,15 +316,15 @@
316
316
  "@stryke/string-format": "^0.17.50",
317
317
  "@stryke/type-checks": "^0.6.41",
318
318
  "defu": "^6.1.7",
319
- "powerlines": "^0.47.208"
319
+ "powerlines": "^0.47.209"
320
320
  },
321
321
  "devDependencies": {
322
322
  "@alloy-js/babel-preset": "^0.3.0",
323
- "@powerlines/plugin-plugin": "^0.12.620",
323
+ "@powerlines/plugin-plugin": "^0.12.622",
324
324
  "@types/node": "^25.9.5"
325
325
  },
326
326
  "peerDependencies": { "@alloy-js/babel-preset": ">=0.3.0" },
327
327
  "peerDependenciesMeta": { "@alloy-js/babel-preset": { "optional": false } },
328
328
  "publishConfig": { "access": "public" },
329
- "gitHead": "7f9a0df69c7021d02c29a0d0c0626465686566fa"
329
+ "gitHead": "88974b224a5cdb97dbd377373c9ed7f8a8780324"
330
330
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"infrastructure-file.d.cts","names":[],"sources":["../../../src/core/components/infrastructure-file.tsx"],"mappings":";;KA8BY,0BAA0B,KAAK;;;;EAIzC;;;;;;;EAQA;;;;;;;;iBASc,mBAAmB,OAAO,mDAAuB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"infrastructure-file.d.mts","names":[],"sources":["../../../src/core/components/infrastructure-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.d.cts","names":[],"sources":["../../../src/core/contexts/context.ts"],"mappings":";;;;;;cA4Ba,mBAAmB,iBAAiB;;;;;;iBAQjC,qBACd,iBAAiB,gBAAgB,kBAC9B;;;;;;iBASW,kBACd,iBAAiB,gBAAgB,kBAC9B;;;;;;iBAWW,cACd,iBAAiB,gBAAgB,kBAC9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.d.mts","names":[],"sources":["../../../src/core/contexts/context.ts"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"builtin-file.d.cts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":";;;KAiCY,mBAAmB,KAAK,+BAClC,KAAK;;;;;;;EAOH;;;;EAKA;;;;;;EAOA;;;;;;EAOA;;;;;;;;iBASY,YAAY,OAAO,4CAAgB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"builtin-file.d.mts","names":[],"sources":["../../../src/typescript/components/builtin-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry-file.d.cts","names":[],"sources":["../../../src/typescript/components/entry-file.tsx"],"mappings":";;;KA8BY,iBAAiB;;;;;;EAM3B;;;;EAKA,iBAAiB;;;;;;;;iBASH,UAAU,OAAO,0CAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry-file.d.mts","names":[],"sources":["../../../src/typescript/components/entry-file.tsx"],"mappings":""}