@power-plant/alloy-js 0.0.8 → 0.0.12

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 (93) hide show
  1. package/README.md +1 -1
  2. package/dist/core/components/index.d.cts +2 -2
  3. package/dist/core/components/index.d.mts +2 -2
  4. package/dist/core/components/output.d.cts +1 -1
  5. package/dist/core/components/output.d.mts +1 -1
  6. package/dist/core/components/source-file.d.cts +1 -1
  7. package/dist/core/components/source-file.d.mts +1 -1
  8. package/dist/core/contexts/index.d.cts +1 -1
  9. package/dist/core/contexts/index.d.mts +1 -1
  10. package/dist/core/contexts/meta.d.cts +1 -1
  11. package/dist/core/contexts/meta.d.mts +1 -1
  12. package/dist/core/index.d.cts +3 -3
  13. package/dist/core/index.d.mts +3 -3
  14. package/dist/hcl/components/hcl-file.d.cts +1 -1
  15. package/dist/hcl/components/hcl-file.d.mts +1 -1
  16. package/dist/hcl/components/index.d.cts +3 -3
  17. package/dist/hcl/components/index.d.mts +3 -3
  18. package/dist/hcl/components/packer-file.d.cts +1 -1
  19. package/dist/hcl/components/packer-file.d.mts +1 -1
  20. package/dist/hcl/components/terraform-file.d.cts +1 -1
  21. package/dist/hcl/components/terraform-file.d.mts +1 -1
  22. package/dist/hcl/index.d.cts +3 -3
  23. package/dist/hcl/index.d.mts +3 -3
  24. package/dist/{hcl-file-CxR4hw4B.d.cts → hcl-file--Xw2QoG-.d.cts} +2 -2
  25. package/dist/{hcl-file-CxR4hw4B.d.cts.map → hcl-file--Xw2QoG-.d.cts.map} +1 -1
  26. package/dist/{hcl-file-CDeOXiO0.d.mts → hcl-file-CvTgnT-k.d.mts} +2 -2
  27. package/dist/hcl-file-CvTgnT-k.d.mts.map +1 -0
  28. package/dist/markdown/components/index.d.cts +1 -1
  29. package/dist/markdown/components/index.d.mts +1 -1
  30. package/dist/markdown/components/markdown-file.d.cts +1 -1
  31. package/dist/markdown/components/markdown-file.d.mts +1 -1
  32. package/dist/markdown/index.d.cts +1 -1
  33. package/dist/markdown/index.d.mts +1 -1
  34. package/dist/{markdown-file-BsiASIVZ.d.cts → markdown-file-BQPJqz6O.d.cts} +2 -2
  35. package/dist/{markdown-file-BsiASIVZ.d.cts.map → markdown-file-BQPJqz6O.d.cts.map} +1 -1
  36. package/dist/{markdown-file-CG6y_nCf.d.mts → markdown-file-BnQ3FZRb.d.mts} +2 -2
  37. package/dist/markdown-file-BnQ3FZRb.d.mts.map +1 -0
  38. package/dist/{meta-ClbpDxeS.d.cts → meta-DtIlHZG5.d.cts} +4 -4
  39. package/dist/meta-DtIlHZG5.d.cts.map +1 -0
  40. package/dist/{meta-ClbpDxeS.d.mts → meta-DtIlHZG5.d.mts} +4 -4
  41. package/dist/meta-DtIlHZG5.d.mts.map +1 -0
  42. package/dist/{output-CIbYv2pQ.d.mts → output-BkpCCt7S.d.mts} +2 -2
  43. package/dist/output-BkpCCt7S.d.mts.map +1 -0
  44. package/dist/{output-BFL54LWl.d.cts → output-ClsNdCNh.d.cts} +2 -2
  45. package/dist/output-ClsNdCNh.d.cts.map +1 -0
  46. package/dist/{packer-file-DVdUCeHH.d.cts → packer-file-CzIOXHDg.d.mts} +2 -2
  47. package/dist/packer-file-CzIOXHDg.d.mts.map +1 -0
  48. package/dist/{packer-file-DeJWrlcR.d.mts → packer-file-DM7RAJ79.d.cts} +2 -2
  49. package/dist/packer-file-DM7RAJ79.d.cts.map +1 -0
  50. package/dist/render.cjs +1 -1
  51. package/dist/render.mjs +1 -1
  52. package/dist/{source-file-DfP35Z8l.d.cts → source-file-DBuMr4pw.d.cts} +2 -2
  53. package/dist/{source-file-DfP35Z8l.d.cts.map → source-file-DBuMr4pw.d.cts.map} +1 -1
  54. package/dist/{source-file-BiWHfxCC.d.mts → source-file-DEnSdxL2.d.mts} +2 -2
  55. package/dist/source-file-DEnSdxL2.d.mts.map +1 -0
  56. package/dist/{terraform-file-DS0uAb5z.d.mts → terraform-file-BnopjnBR.d.cts} +2 -2
  57. package/dist/terraform-file-BnopjnBR.d.cts.map +1 -0
  58. package/dist/{terraform-file-gr1_jJWO.d.cts → terraform-file-Df4Z_240.d.mts} +2 -2
  59. package/dist/terraform-file-Df4Z_240.d.mts.map +1 -0
  60. package/dist/typescript/components/index.d.cts +1 -1
  61. package/dist/typescript/components/index.d.mts +1 -1
  62. package/dist/typescript/components/typescript-file.d.cts +1 -1
  63. package/dist/typescript/components/typescript-file.d.mts +1 -1
  64. package/dist/typescript/index.d.cts +1 -1
  65. package/dist/typescript/index.d.mts +1 -1
  66. package/dist/{typescript-file-YdpvA2Y-.d.mts → typescript-file-BDDL0B04.d.mts} +2 -2
  67. package/dist/typescript-file-BDDL0B04.d.mts.map +1 -0
  68. package/dist/{typescript-file-C0GR7QWh.d.cts → typescript-file-BnCsEkIG.d.cts} +2 -2
  69. package/dist/{typescript-file-C0GR7QWh.d.cts.map → typescript-file-BnCsEkIG.d.cts.map} +1 -1
  70. package/dist/yaml/components/index.d.cts +1 -1
  71. package/dist/yaml/components/index.d.mts +1 -1
  72. package/dist/yaml/components/yaml-file.d.cts +1 -1
  73. package/dist/yaml/components/yaml-file.d.mts +1 -1
  74. package/dist/yaml/index.d.cts +1 -1
  75. package/dist/yaml/index.d.mts +1 -1
  76. package/dist/{yaml-file-BBXSkeRl.d.cts → yaml-file-B1qW3SHE.d.cts} +2 -2
  77. package/dist/{yaml-file-BBXSkeRl.d.cts.map → yaml-file-B1qW3SHE.d.cts.map} +1 -1
  78. package/dist/{yaml-file-BRSIxFdU.d.mts → yaml-file-CDCen0K7.d.mts} +2 -2
  79. package/dist/yaml-file-CDCen0K7.d.mts.map +1 -0
  80. package/package.json +7 -7
  81. package/dist/hcl-file-CDeOXiO0.d.mts.map +0 -1
  82. package/dist/markdown-file-CG6y_nCf.d.mts.map +0 -1
  83. package/dist/meta-ClbpDxeS.d.cts.map +0 -1
  84. package/dist/meta-ClbpDxeS.d.mts.map +0 -1
  85. package/dist/output-BFL54LWl.d.cts.map +0 -1
  86. package/dist/output-CIbYv2pQ.d.mts.map +0 -1
  87. package/dist/packer-file-DVdUCeHH.d.cts.map +0 -1
  88. package/dist/packer-file-DeJWrlcR.d.mts.map +0 -1
  89. package/dist/source-file-BiWHfxCC.d.mts.map +0 -1
  90. package/dist/terraform-file-DS0uAb5z.d.mts.map +0 -1
  91. package/dist/terraform-file-gr1_jJWO.d.cts.map +0 -1
  92. package/dist/typescript-file-YdpvA2Y-.d.mts.map +0 -1
  93. package/dist/yaml-file-BRSIxFdU.d.mts.map +0 -1
package/README.md CHANGED
@@ -33,7 +33,7 @@ The Power Plant monorepo is a collection of packages that are designed to work t
33
33
 
34
34
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
35
35
 
36
- [![Version](https://img.shields.io/badge/version-0.0.7-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
36
+ [![Version](https://img.shields.io/badge/version-0.0.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://docs.stormsoftware.com/projects/power-plant)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/power-plant/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
37
37
 
38
38
  <!-- prettier-ignore-start -->
39
39
  <!-- markdownlint-disable -->
@@ -1,5 +1,5 @@
1
- import { n as OutputProps, t as Output } from "../../output-BFL54LWl.cjs";
1
+ import { n as OutputProps, t as Output } from "../../output-ClsNdCNh.cjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-BbbyteDv.cjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-DfP35Z8l.cjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DBuMr4pw.cjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.cjs";
5
5
  export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
@@ -1,5 +1,5 @@
1
- import { n as OutputProps, t as Output } from "../../output-CIbYv2pQ.mjs";
1
+ import { n as OutputProps, t as Output } from "../../output-BkpCCt7S.mjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../../single-line-comment-DB4XWAmh.mjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-BiWHfxCC.mjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DEnSdxL2.mjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../../spacing-HIHoQdxS.mjs";
5
5
  export { Output, OutputProps, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, Spacing, SpacingProps };
@@ -1,2 +1,2 @@
1
- import { n as OutputProps, t as Output } from "../../output-BFL54LWl.cjs";
1
+ import { n as OutputProps, t as Output } from "../../output-ClsNdCNh.cjs";
2
2
  export { Output, OutputProps };
@@ -1,2 +1,2 @@
1
- import { n as OutputProps, t as Output } from "../../output-CIbYv2pQ.mjs";
1
+ import { n as OutputProps, t as Output } from "../../output-BkpCCt7S.mjs";
2
2
  export { Output, OutputProps };
@@ -1,2 +1,2 @@
1
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-DfP35Z8l.cjs";
1
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DBuMr4pw.cjs";
2
2
  export { SourceFile, SourceFileProps };
@@ -1,2 +1,2 @@
1
- import { n as SourceFileProps, t as SourceFile } from "../../source-file-BiWHfxCC.mjs";
1
+ import { n as SourceFileProps, t as SourceFile } from "../../source-file-DEnSdxL2.mjs";
2
2
  export { SourceFile, SourceFileProps };
@@ -1,5 +1,5 @@
1
1
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.cjs";
2
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.cjs";
2
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-DtIlHZG5.cjs";
3
3
  import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.cjs";
4
4
  import { n as useSession, r as useSessionSafe, t as SessionContext } from "../../session-C2p15ap9.cjs";
5
5
  export { ExecutionContext, MetaContext, SchemaContext, SchemaPropertyContext, SessionContext, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe };
@@ -1,5 +1,5 @@
1
1
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../../execution-BGY24cO8.mjs";
2
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.mjs";
2
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-DtIlHZG5.mjs";
3
3
  import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../../schema-CkCXkDzU.mjs";
4
4
  import { n as useSession, r as useSessionSafe, t as SessionContext } from "../../session-C2p15ap9.mjs";
5
5
  export { ExecutionContext, MetaContext, SchemaContext, SchemaPropertyContext, SessionContext, useExecution, useExecutionSafe, useMeta, useMetaSafe, useSchema, useSchemaProperty, useSchemaPropertySafe, useSchemaSafe, useSession, useSessionSafe };
@@ -1,2 +1,2 @@
1
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.cjs";
1
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-DtIlHZG5.cjs";
2
2
  export { MetaContext, useMeta, useMetaSafe };
@@ -1,2 +1,2 @@
1
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-ClbpDxeS.mjs";
1
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../../meta-DtIlHZG5.mjs";
2
2
  export { MetaContext, useMeta, useMetaSafe };
@@ -1,10 +1,10 @@
1
- import { n as OutputProps, t as Output } from "../output-BFL54LWl.cjs";
1
+ import { n as OutputProps, t as Output } from "../output-ClsNdCNh.cjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-BbbyteDv.cjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../source-file-DfP35Z8l.cjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../source-file-DBuMr4pw.cjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.cjs";
5
5
  import "./components/index.cjs";
6
6
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.cjs";
7
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.cjs";
7
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-DtIlHZG5.cjs";
8
8
  import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.cjs";
9
9
  import { n as useSession, r as useSessionSafe, t as SessionContext } from "../session-C2p15ap9.cjs";
10
10
  import "./contexts/index.cjs";
@@ -1,10 +1,10 @@
1
- import { n as OutputProps, t as Output } from "../output-CIbYv2pQ.mjs";
1
+ import { n as OutputProps, t as Output } from "../output-BkpCCt7S.mjs";
2
2
  import { n as SingleLineCommentProps, r as SingleLineCommentVariant, t as SingleLineComment } from "../single-line-comment-DB4XWAmh.mjs";
3
- import { n as SourceFileProps, t as SourceFile } from "../source-file-BiWHfxCC.mjs";
3
+ import { n as SourceFileProps, t as SourceFile } from "../source-file-DEnSdxL2.mjs";
4
4
  import { n as SpacingProps, t as Spacing } from "../spacing-HIHoQdxS.mjs";
5
5
  import "./components/index.mjs";
6
6
  import { n as useExecution, r as useExecutionSafe, t as ExecutionContext } from "../execution-BGY24cO8.mjs";
7
- import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-ClbpDxeS.mjs";
7
+ import { n as useMeta, r as useMetaSafe, t as MetaContext } from "../meta-DtIlHZG5.mjs";
8
8
  import { a as useSchemaPropertySafe, i as useSchemaProperty, n as SchemaPropertyContext, o as useSchemaSafe, r as useSchema, t as SchemaContext } from "../schema-CkCXkDzU.mjs";
9
9
  import { n as useSession, r as useSessionSafe, t as SessionContext } from "../session-C2p15ap9.mjs";
10
10
  import "./contexts/index.mjs";
@@ -1,2 +1,2 @@
1
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CxR4hw4B.cjs";
1
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file--Xw2QoG-.cjs";
2
2
  export { HCLFile, HCLFileHeader, HCLFileProps };
@@ -1,2 +1,2 @@
1
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CDeOXiO0.mjs";
1
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CvTgnT-k.mjs";
2
2
  export { HCLFile, HCLFileHeader, HCLFileProps };
@@ -1,5 +1,5 @@
1
1
  import { n as BlockDeclarationProps, t as BlockDeclaration } from "../../block-declaration-DbMuMxXx.cjs";
2
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CxR4hw4B.cjs";
3
- import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DVdUCeHH.cjs";
4
- import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-gr1_jJWO.cjs";
2
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file--Xw2QoG-.cjs";
3
+ import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DM7RAJ79.cjs";
4
+ import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-BnopjnBR.cjs";
5
5
  export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
@@ -1,5 +1,5 @@
1
1
  import { n as BlockDeclarationProps, t as BlockDeclaration } from "../../block-declaration-Yq4hWFFT.mjs";
2
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CDeOXiO0.mjs";
3
- import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DeJWrlcR.mjs";
4
- import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-DS0uAb5z.mjs";
2
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../../hcl-file-CvTgnT-k.mjs";
3
+ import { n as PackerFileProps, t as PackerFile } from "../../packer-file-CzIOXHDg.mjs";
4
+ import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-Df4Z_240.mjs";
5
5
  export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
@@ -1,2 +1,2 @@
1
- import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DVdUCeHH.cjs";
1
+ import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DM7RAJ79.cjs";
2
2
  export { PackerFile, PackerFileProps };
@@ -1,2 +1,2 @@
1
- import { n as PackerFileProps, t as PackerFile } from "../../packer-file-DeJWrlcR.mjs";
1
+ import { n as PackerFileProps, t as PackerFile } from "../../packer-file-CzIOXHDg.mjs";
2
2
  export { PackerFile, PackerFileProps };
@@ -1,2 +1,2 @@
1
- import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-gr1_jJWO.cjs";
1
+ import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-BnopjnBR.cjs";
2
2
  export { TerraformFile, TerraformFileProps };
@@ -1,2 +1,2 @@
1
- import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-DS0uAb5z.mjs";
1
+ import { n as TerraformFileProps, t as TerraformFile } from "../../terraform-file-Df4Z_240.mjs";
2
2
  export { TerraformFile, TerraformFileProps };
@@ -1,6 +1,6 @@
1
1
  import { n as BlockDeclarationProps, t as BlockDeclaration } from "../block-declaration-DbMuMxXx.cjs";
2
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file-CxR4hw4B.cjs";
3
- import { n as PackerFileProps, t as PackerFile } from "../packer-file-DVdUCeHH.cjs";
4
- import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-gr1_jJWO.cjs";
2
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file--Xw2QoG-.cjs";
3
+ import { n as PackerFileProps, t as PackerFile } from "../packer-file-DM7RAJ79.cjs";
4
+ import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-BnopjnBR.cjs";
5
5
  import "./components/index.cjs";
6
6
  export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
@@ -1,6 +1,6 @@
1
1
  import { n as BlockDeclarationProps, t as BlockDeclaration } from "../block-declaration-Yq4hWFFT.mjs";
2
- import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file-CDeOXiO0.mjs";
3
- import { n as PackerFileProps, t as PackerFile } from "../packer-file-DeJWrlcR.mjs";
4
- import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-DS0uAb5z.mjs";
2
+ import { n as HCLFileHeader, r as HCLFileProps, t as HCLFile } from "../hcl-file-CvTgnT-k.mjs";
3
+ import { n as PackerFileProps, t as PackerFile } from "../packer-file-CzIOXHDg.mjs";
4
+ import { n as TerraformFileProps, t as TerraformFile } from "../terraform-file-Df4Z_240.mjs";
5
5
  import "./components/index.mjs";
6
6
  export { BlockDeclaration, BlockDeclarationProps, HCLFile, HCLFileHeader, HCLFileProps, PackerFile, PackerFileProps, TerraformFile, TerraformFileProps };
@@ -1,5 +1,5 @@
1
1
  import { t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DBuMr4pw.cjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
  //#region src/hcl/components/hcl-file.d.ts
5
5
  type HCLFileProps = Omit<SourceFileProps$1, "header" | "filetype"> & ComponentProps & {
@@ -22,4 +22,4 @@ declare function HCLFile(props: HCLFileProps): Children;
22
22
  declare function HCLFileHeader(props: ComponentProps): Children;
23
23
  //#endregion
24
24
  export { HCLFileHeader as n, HCLFileProps as r, HCLFile as t };
25
- //# sourceMappingURL=hcl-file-CxR4hw4B.d.cts.map
25
+ //# sourceMappingURL=hcl-file--Xw2QoG-.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hcl-file-CxR4hw4B.d.cts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":";;;;KA4BY,eAAe,KAAK,4CAC9B;EACE,SAAS;EACT;;;;;;;;iBASY,QAAQ,OAAO,eAAY;;;;;;;iBAyB3B,cAAc,OAAO,iBAAc"}
1
+ {"version":3,"file":"hcl-file--Xw2QoG-.d.cts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":";;;;KA4BY,eAAe,KAAK,4CAC9B;EACE,SAAS;EACT;;;;;;;;iBASY,QAAQ,OAAO,eAAY;;;;;;;iBAyB3B,cAAc,OAAO,iBAAc"}
@@ -1,5 +1,5 @@
1
1
  import { t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
- import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DEnSdxL2.mjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
  //#region src/hcl/components/hcl-file.d.ts
5
5
  type HCLFileProps = Omit<SourceFileProps$1, "header" | "filetype"> & ComponentProps & {
@@ -22,4 +22,4 @@ declare function HCLFile(props: HCLFileProps): Children;
22
22
  declare function HCLFileHeader(props: ComponentProps): Children;
23
23
  //#endregion
24
24
  export { HCLFileHeader as n, HCLFileProps as r, HCLFile as t };
25
- //# sourceMappingURL=hcl-file-CDeOXiO0.d.mts.map
25
+ //# sourceMappingURL=hcl-file-CvTgnT-k.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hcl-file-CvTgnT-k.d.mts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../../alert-BZRTtU1X.cjs";
2
2
  import { n as FrontMatterProps, t as FrontMatter } from "../../front-matter-N6kiCG9y.cjs";
3
3
  import { n as HeadingProps, t as Heading } from "../../heading-CG6LmaB5.cjs";
4
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BsiASIVZ.cjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BQPJqz6O.cjs";
5
5
  import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-P04wFKse.cjs";
6
6
  export { Alert, AlertProps, AlertVariantProps, CautionAlert, FrontMatter, FrontMatterProps, Heading, HeadingProps, ImportantAlert, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, NoteAlert, TipAlert, WarningAlert };
@@ -1,6 +1,6 @@
1
1
  import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../../alert-BZRTtU1X.mjs";
2
2
  import { n as FrontMatterProps, t as FrontMatter } from "../../front-matter-N6kiCG9y.mjs";
3
3
  import { n as HeadingProps, t as Heading } from "../../heading-D0he7iDI.mjs";
4
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-CG6y_nCf.mjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BnQ3FZRb.mjs";
5
5
  import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-H4veEJCn.mjs";
6
6
  export { Alert, AlertProps, AlertVariantProps, CautionAlert, FrontMatter, FrontMatterProps, Heading, HeadingProps, ImportantAlert, MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, NoteAlert, TipAlert, WarningAlert };
@@ -1,2 +1,2 @@
1
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BsiASIVZ.cjs";
1
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BQPJqz6O.cjs";
2
2
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps };
@@ -1,2 +1,2 @@
1
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-CG6y_nCf.mjs";
1
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../../markdown-file-BnQ3FZRb.mjs";
2
2
  export { MarkdownFile, MarkdownFileHeader, MarkdownFileHeaderProps, MarkdownFileProps };
@@ -1,7 +1,7 @@
1
1
  import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../alert-BZRTtU1X.cjs";
2
2
  import { n as FrontMatterProps, t as FrontMatter } from "../front-matter-N6kiCG9y.cjs";
3
3
  import { n as HeadingProps, t as Heading } from "../heading-CG6LmaB5.cjs";
4
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-BsiASIVZ.cjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-BQPJqz6O.cjs";
5
5
  import { a as useMarkdownTable, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as useMarkdownTableColumn, r as MarkdownTableContext, t as MarkdownTableColumnContext } from "../markdown-table-BxfTr3lV.cjs";
6
6
  import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-P04wFKse.cjs";
7
7
  import "./components/index.cjs";
@@ -1,7 +1,7 @@
1
1
  import { a as ImportantAlert, c as WarningAlert, i as CautionAlert, n as AlertProps, o as NoteAlert, r as AlertVariantProps, s as TipAlert, t as Alert } from "../alert-BZRTtU1X.mjs";
2
2
  import { n as FrontMatterProps, t as FrontMatter } from "../front-matter-N6kiCG9y.mjs";
3
3
  import { n as HeadingProps, t as Heading } from "../heading-D0he7iDI.mjs";
4
- import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-CG6y_nCf.mjs";
4
+ import { i as MarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileHeaderProps, t as MarkdownFile } from "../markdown-file-BnQ3FZRb.mjs";
5
5
  import { a as useMarkdownTable, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as useMarkdownTableColumn, r as MarkdownTableContext, t as MarkdownTableColumnContext } from "../markdown-table-BxfTr3lV.mjs";
6
6
  import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-H4veEJCn.mjs";
7
7
  import "./components/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
- import { n as SourceFileProps } from "./source-file-DfP35Z8l.cjs";
2
+ import { n as SourceFileProps } from "./source-file-DBuMr4pw.cjs";
3
3
  import { n as FrontMatterProps } from "./front-matter-N6kiCG9y.cjs";
4
4
  //#region src/markdown/components/markdown-file.d.ts
5
5
  type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -22,4 +22,4 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
22
22
  declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): import("@alloy-js/core").Children;
23
23
  //#endregion
24
24
  export { MarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileHeaderProps as r, MarkdownFile as t };
25
- //# sourceMappingURL=markdown-file-BsiASIVZ.d.cts.map
25
+ //# sourceMappingURL=markdown-file-BQPJqz6O.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-file-BsiASIVZ.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":";;;;KAmCY,oBAAoB,KAAK,+BACnC,iBACA;;;;;;;iBAQc,aAAa,OAAO,6CAAiB;KAiBzC,0BAA0B;EACpC,cAAc;;;;;;;;iBASA,mBAAmB,OAAO,mDAAuB"}
1
+ {"version":3,"file":"markdown-file-BQPJqz6O.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":";;;;KAmCY,oBAAoB,KAAK,+BACnC,iBACA;;;;;;;iBAQc,aAAa,OAAO,6CAAiB;KAiBzC,0BAA0B;EACpC,cAAc;;;;;;;;iBASA,mBAAmB,OAAO,mDAAuB"}
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
- import { n as SourceFileProps } from "./source-file-BiWHfxCC.mjs";
2
+ import { n as SourceFileProps } from "./source-file-DEnSdxL2.mjs";
3
3
  import { n as FrontMatterProps } from "./front-matter-N6kiCG9y.mjs";
4
4
  //#region src/markdown/components/markdown-file.d.ts
5
5
  type MarkdownFileProps = Omit<SourceFileProps, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
@@ -22,4 +22,4 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
22
22
  declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): import("@alloy-js/core").Children;
23
23
  //#endregion
24
24
  export { MarkdownFileProps as i, MarkdownFileHeader as n, MarkdownFileHeaderProps as r, MarkdownFile as t };
25
- //# sourceMappingURL=markdown-file-CG6y_nCf.d.mts.map
25
+ //# sourceMappingURL=markdown-file-BnQ3FZRb.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-file-BnQ3FZRb.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":""}
@@ -4,20 +4,20 @@ import { MetaConfig } from "@power-plant/core";
4
4
  /**
5
5
  * The Meta context used in template rendering.
6
6
  */
7
- declare const MetaContext: ComponentContext<Record<string, MetaConfig<any, any>>>;
7
+ declare const MetaContext: ComponentContext<Record<string, MetaConfig>>;
8
8
  /**
9
9
  * Hook to access the {@link MetaContext | Meta context}.
10
10
  *
11
11
  * @returns The Meta context.
12
12
  * @throws An error if the Meta context is not set.
13
13
  */
14
- declare function useMeta(): Record<string, MetaConfig<any, any>>;
14
+ declare function useMeta(): Record<string, MetaConfig>;
15
15
  /**
16
16
  * Hook to safely access the {@link MetaContext | Meta context}.
17
17
  *
18
18
  * @returns The Meta context or undefined if not set.
19
19
  */
20
- declare function useMetaSafe(): Record<string, MetaConfig<any, any>> | undefined;
20
+ declare function useMetaSafe(): Record<string, MetaConfig> | undefined;
21
21
  //#endregion
22
22
  export { useMeta as n, useMetaSafe as r, MetaContext as t };
23
- //# sourceMappingURL=meta-ClbpDxeS.d.cts.map
23
+ //# sourceMappingURL=meta-DtIlHZG5.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-DtIlHZG5.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":";;;;;;cAyBa,aAAa,iBAAiB,eAAe;;;;;;;iBAS1C,WAAW,eAAe;;;;;;iBAgB1B,eAAe,eAAe"}
@@ -4,20 +4,20 @@ import { MetaConfig } from "@power-plant/core";
4
4
  /**
5
5
  * The Meta context used in template rendering.
6
6
  */
7
- declare const MetaContext: ComponentContext<Record<string, MetaConfig<any, any>>>;
7
+ declare const MetaContext: ComponentContext<Record<string, MetaConfig>>;
8
8
  /**
9
9
  * Hook to access the {@link MetaContext | Meta context}.
10
10
  *
11
11
  * @returns The Meta context.
12
12
  * @throws An error if the Meta context is not set.
13
13
  */
14
- declare function useMeta(): Record<string, MetaConfig<any, any>>;
14
+ declare function useMeta(): Record<string, MetaConfig>;
15
15
  /**
16
16
  * Hook to safely access the {@link MetaContext | Meta context}.
17
17
  *
18
18
  * @returns The Meta context or undefined if not set.
19
19
  */
20
- declare function useMetaSafe(): Record<string, MetaConfig<any, any>> | undefined;
20
+ declare function useMetaSafe(): Record<string, MetaConfig> | undefined;
21
21
  //#endregion
22
22
  export { useMeta as n, useMetaSafe as r, MetaContext as t };
23
- //# sourceMappingURL=meta-ClbpDxeS.d.mts.map
23
+ //# sourceMappingURL=meta-DtIlHZG5.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-DtIlHZG5.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":""}
@@ -9,7 +9,7 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
9
9
  /**
10
10
  * The current meta context.
11
11
  */
12
- meta?: Record<string, MetaConfig<any, TContext["options"]>>;
12
+ meta?: Record<string, MetaConfig>;
13
13
  /**
14
14
  * The current specification.
15
15
  */
@@ -21,4 +21,4 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
21
21
  declare function Output$1<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>>(props: OutputProps$1<TContext>): import("@alloy-js/core").Children;
22
22
  //#endregion
23
23
  export { OutputProps$1 as n, Output$1 as t };
24
- //# sourceMappingURL=output-CIbYv2pQ.d.mts.map
24
+ //# sourceMappingURL=output-BkpCCt7S.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-BkpCCt7S.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":""}
@@ -9,7 +9,7 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
9
9
  /**
10
10
  * The current meta context.
11
11
  */
12
- meta?: Record<string, MetaConfig<any, TContext["options"]>>;
12
+ meta?: Record<string, MetaConfig>;
13
13
  /**
14
14
  * The current specification.
15
15
  */
@@ -21,4 +21,4 @@ interface OutputProps$1<TContext extends ExecutionContext<any, any, any> = Execu
21
21
  declare function Output<TContext extends ExecutionContext<any, any, any> = ExecutionContext<any, any, any>>(props: OutputProps$1<TContext>): import("@alloy-js/core").Children;
22
22
  //#endregion
23
23
  export { OutputProps$1 as n, Output as t };
24
- //# sourceMappingURL=output-BFL54LWl.d.cts.map
24
+ //# sourceMappingURL=output-ClsNdCNh.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-ClsNdCNh.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":";;;UA4BiB,cACf,iBAAiB,kCAAsC,yCAK/C,KAAK;;;;EAIb,SAAS;;;;EAKT,OAAO,eAAe;;;;EAKtB,OAAO;;;;;iBAMO,OACd,iBAAiB,kCAAsC,iCAKvD,OAAO,cAAY,qCAAS"}
@@ -1,4 +1,4 @@
1
- import { r as HCLFileProps } from "./hcl-file-CxR4hw4B.cjs";
1
+ import { r as HCLFileProps } from "./hcl-file-CvTgnT-k.mjs";
2
2
  import { PartialKeys } from "@stryke/types/base";
3
3
  //#region src/hcl/components/packer-file.d.ts
4
4
  type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
@@ -13,4 +13,4 @@ type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
13
13
  declare function PackerFile(props: PackerFileProps): import("@alloy-js/core").Children;
14
14
  //#endregion
15
15
  export { PackerFileProps as n, PackerFile as t };
16
- //# sourceMappingURL=packer-file-DVdUCeHH.d.cts.map
16
+ //# sourceMappingURL=packer-file-CzIOXHDg.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packer-file-CzIOXHDg.d.mts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { r as HCLFileProps } from "./hcl-file-CDeOXiO0.mjs";
1
+ import { r as HCLFileProps } from "./hcl-file--Xw2QoG-.cjs";
2
2
  import { PartialKeys } from "@stryke/types/base";
3
3
  //#region src/hcl/components/packer-file.d.ts
4
4
  type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
@@ -13,4 +13,4 @@ type PackerFileProps = PartialKeys<HCLFileProps, "filetype">;
13
13
  declare function PackerFile(props: PackerFileProps): import("@alloy-js/core").Children;
14
14
  //#endregion
15
15
  export { PackerFileProps as n, PackerFile as t };
16
- //# sourceMappingURL=packer-file-DeJWrlcR.d.mts.map
16
+ //# sourceMappingURL=packer-file-DM7RAJ79.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packer-file-DM7RAJ79.d.cts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":";;;KAuBY,kBAAkB,YAAY;;;;;;;;;iBAU1B,WAAW,OAAO,2CAAe"}
package/dist/render.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./core/components/output.cjs");require("./core/index.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core"),i=require("@stryke/helpers/noop"),a=require("@stryke/path/replace"),o=require("@stryke/string-format/list"),s=require("defu");s=e.t(s,1);async function c(e,c,l){let u={},{cwd:d,logger:f}=e,p=await(0,r.renderAsync)((0,n.createComponent)(t.Output,{context:e,spec:c,meta:u,children:l})),m=[];if(await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>m.push(e)}),!m.length)return f.debug(`No output files were rendered by the Alloy-js components.`),{};f.debug(`Rendering ${m.length} output files from Alloy-js components: ${(0,o.list)(m.map(e=>(0,a.replacePath)(e.path,d)))}.`);let h={};return await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>{if(`contents`in e){let t=u[e.path]??{};h[e.path]={path:e.path,source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&h[e.sourcePath]){let t=u[e.path]??{};h[e.path]={...h[e.sourcePath],path:e.path,source:h[e.sourcePath]?.source?.map(e=>(0,s.default)(e,{meta:t}))??[]}}}}),h}exports.render=c;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./core/components/output.cjs");require("./core/index.cjs");let n=require("@alloy-js/core/jsx-runtime"),r=require("@alloy-js/core"),i=require("@stryke/helpers/noop"),a=require("@stryke/path/replace"),o=require("@stryke/string-format/list"),s=require("defu");s=e.t(s,1);async function c(e,c,l){let u={},{cwd:d,logger:f}=e,p=await(0,r.renderAsync)((0,n.createComponent)(t.Output,{context:e,spec:c,meta:u,children:l})),m=[];if(await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>m.push(e)}),!m.length)return f.debug(`No output files were rendered by the Alloy-js components.`),{};f.debug(`Rendering ${m.length} output files from Alloy-js components: ${(0,o.list)(m.map(e=>(0,a.replacePath)(e.path,d)))}.`);let h={},g={};await(0,r.traverseOutput)(p,{visitDirectory:i.noop,visitFile:e=>{if(`contents`in e){let t=u[e.path]??{};h[e.path]={path:e.path,chunks:[{content:e.contents,meta:t}]}}else e.sourcePath&&(g[e.sourcePath]=e.path)}});for(let[e,t]of Object.entries(g))if(h[e])h[t]={...h[e],path:t,chunks:h[e].chunks?.map(e=>(0,s.default)(e,{meta:u[t]??{}}))};else throw Error(`Source path ${e} not found in documents.`);return h}exports.render=c;
package/dist/render.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{Output as e}from"./core/components/output.mjs";import"./core/index.mjs";import{createComponent as t}from"@alloy-js/core/jsx-runtime";import{renderAsync as n,traverseOutput as r}from"@alloy-js/core";import{noop as i}from"@stryke/helpers/noop";import{replacePath as a}from"@stryke/path/replace";import{list as o}from"@stryke/string-format/list";import s from"defu";async function c(c,l,u){let d={},{cwd:f,logger:p}=c,m=await n(t(e,{context:c,spec:l,meta:d,children:u})),h=[];if(await r(m,{visitDirectory:i,visitFile:e=>h.push(e)}),!h.length)return p.debug(`No output files were rendered by the Alloy-js components.`),{};p.debug(`Rendering ${h.length} output files from Alloy-js components: ${o(h.map(e=>a(e.path,f)))}.`);let g={};return await r(m,{visitDirectory:i,visitFile:e=>{if(`contents`in e){let t=d[e.path]??{};g[e.path]={path:e.path,source:[{content:e.contents,meta:t}]}}else if(e.sourcePath&&g[e.sourcePath]){let t=d[e.path]??{};g[e.path]={...g[e.sourcePath],path:e.path,source:g[e.sourcePath]?.source?.map(e=>s(e,{meta:t}))??[]}}}}),g}export{c as render};
1
+ import{Output as e}from"./core/components/output.mjs";import"./core/index.mjs";import{createComponent as t}from"@alloy-js/core/jsx-runtime";import{renderAsync as n,traverseOutput as r}from"@alloy-js/core";import{noop as i}from"@stryke/helpers/noop";import{replacePath as a}from"@stryke/path/replace";import{list as o}from"@stryke/string-format/list";import s from"defu";async function c(c,l,u){let d={},{cwd:f,logger:p}=c,m=await n(t(e,{context:c,spec:l,meta:d,children:u})),h=[];if(await r(m,{visitDirectory:i,visitFile:e=>h.push(e)}),!h.length)return p.debug(`No output files were rendered by the Alloy-js components.`),{};p.debug(`Rendering ${h.length} output files from Alloy-js components: ${o(h.map(e=>a(e.path,f)))}.`);let g={},_={};await r(m,{visitDirectory:i,visitFile:e=>{if(`contents`in e){let t=d[e.path]??{};g[e.path]={path:e.path,chunks:[{content:e.contents,meta:t}]}}else e.sourcePath&&(_[e.sourcePath]=e.path)}});for(let[e,t]of Object.entries(_))if(g[e])g[t]={...g[e],path:t,chunks:g[e].chunks?.map(e=>s(e,{meta:d[t]??{}}))};else throw Error(`Source path ${e} not found in documents.`);return g}export{c as render};
2
2
  //# sourceMappingURL=render.mjs.map
@@ -9,7 +9,7 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
9
9
  * @remarks
10
10
  * The values stored in the metadata will be available in the rendering context.
11
11
  */
12
- meta?: MetaConfig<any, any>;
12
+ meta?: MetaConfig;
13
13
  };
14
14
  /**
15
15
  * A base component representing a generated source file.
@@ -20,4 +20,4 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
20
20
  declare function SourceFile(props: SourceFileProps$1): import("@alloy-js/core").Children;
21
21
  //#endregion
22
22
  export { SourceFileProps$1 as n, SourceFile as t };
23
- //# sourceMappingURL=source-file-DfP35Z8l.d.cts.map
23
+ //# sourceMappingURL=source-file-DBuMr4pw.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source-file-DfP35Z8l.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;KAkCY,oBAAkB,kBAC5B;;;;;;;EAOE,OAAO;;;;;;;;iBASK,WAAW,OAAO,6CAAe"}
1
+ {"version":3,"file":"source-file-DBuMr4pw.d.cts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":";;;;KAkCY,oBAAkB,kBAC5B;;;;;;;EAOE,OAAO;;;;;;;;iBASK,WAAW,OAAO,6CAAe"}
@@ -9,7 +9,7 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
9
9
  * @remarks
10
10
  * The values stored in the metadata will be available in the rendering context.
11
11
  */
12
- meta?: MetaConfig<any, any>;
12
+ meta?: MetaConfig;
13
13
  };
14
14
  /**
15
15
  * A base component representing a generated source file.
@@ -20,4 +20,4 @@ type SourceFileProps$1 = SourceFileProps & ComponentProps & {
20
20
  declare function SourceFile$1(props: SourceFileProps$1): import("@alloy-js/core").Children;
21
21
  //#endregion
22
22
  export { SourceFileProps$1 as n, SourceFile$1 as t };
23
- //# sourceMappingURL=source-file-BiWHfxCC.d.mts.map
23
+ //# sourceMappingURL=source-file-DEnSdxL2.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-file-DEnSdxL2.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { r as HCLFileProps } from "./hcl-file-CDeOXiO0.mjs";
1
+ import { r as HCLFileProps } from "./hcl-file--Xw2QoG-.cjs";
2
2
  import { PartialKeys } from "@stryke/types/base";
3
3
  //#region src/hcl/components/terraform-file.d.ts
4
4
  type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
@@ -14,4 +14,4 @@ type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
14
14
  declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
15
15
  //#endregion
16
16
  export { TerraformFileProps as n, TerraformFile as t };
17
- //# sourceMappingURL=terraform-file-DS0uAb5z.d.mts.map
17
+ //# sourceMappingURL=terraform-file-BnopjnBR.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terraform-file-BnopjnBR.d.cts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":";;;KAuBY,qBAAqB,YAAY;;;;;;;;;;iBAW7B,cAAc,OAAO,8CAAkB"}
@@ -1,4 +1,4 @@
1
- import { r as HCLFileProps } from "./hcl-file-CxR4hw4B.cjs";
1
+ import { r as HCLFileProps } from "./hcl-file-CvTgnT-k.mjs";
2
2
  import { PartialKeys } from "@stryke/types/base";
3
3
  //#region src/hcl/components/terraform-file.d.ts
4
4
  type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
@@ -14,4 +14,4 @@ type TerraformFileProps = PartialKeys<HCLFileProps, "filetype">;
14
14
  declare function TerraformFile(props: TerraformFileProps): import("@alloy-js/core").Children;
15
15
  //#endregion
16
16
  export { TerraformFileProps as n, TerraformFile as t };
17
- //# sourceMappingURL=terraform-file-gr1_jJWO.d.cts.map
17
+ //# sourceMappingURL=terraform-file-Df4Z_240.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terraform-file-Df4Z_240.d.mts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":""}
@@ -8,5 +8,5 @@ import { n as RecordExpressionProps, t as RecordExpression } from "../../record-
8
8
  import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../../tsdoc-B6Hw9jOF.cjs";
9
9
  import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../../tsdoc-schema-DJ_3JLuh.cjs";
10
10
  import { n as TypeDeclarationProps, t as TypeDeclaration } from "../../type-declaration-BLvkozNR.cjs";
11
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-C0GR7QWh.cjs";
11
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-BnCsEkIG.cjs";
12
12
  export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -8,5 +8,5 @@ import { n as RecordExpressionProps, t as RecordExpression } from "../../record-
8
8
  import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime, O as TSDocTagProps, S as TSDocProps, T as TSDocReturns, _ as TSDocParam, a as TSDocDefaultValue, b as TSDocParamsProps, c as TSDocExample, d as TSDocHidden, f as TSDocIgnore, g as TSDocModuleProps, h as TSDocModule, i as TSDocAttributesTagsProps, k as TSDocThrows, l as TSDocExampleProps, m as TSDocLink, n as TSDocAlias, o as TSDocDefaultValueProps, p as TSDocInternal, r as TSDocAttributesTags, s as TSDocDomain, t as TSDoc, u as TSDocGroup, v as TSDocParamProps, w as TSDocRemarks, x as TSDocPermission, y as TSDocParams } from "../../tsdoc-CFdZtTw6.mjs";
9
9
  import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../../tsdoc-schema-B4yKswI-.mjs";
10
10
  import { n as TypeDeclarationProps, t as TypeDeclaration } from "../../type-declaration-BLvkozNR.mjs";
11
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-YdpvA2Y-.mjs";
11
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-BDDL0B04.mjs";
12
12
  export { ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, DynamicImportStatement, DynamicImportStatementProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfaceSchemaMemberProps, InterfaceTypeMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocGroup, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocObjectSchema, TSDocObjectSchemaProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocRuntime, TSDocSchemaProperty, TSDocSchemaPropertyProps, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -1,2 +1,2 @@
1
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-C0GR7QWh.cjs";
1
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-BnCsEkIG.cjs";
2
2
  export { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -1,2 +1,2 @@
1
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-YdpvA2Y-.mjs";
1
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../../typescript-file-BDDL0B04.mjs";
2
2
  export { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps };
@@ -9,7 +9,7 @@ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime,
9
9
  import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../tsdoc-schema-DJ_3JLuh.cjs";
10
10
  import { n as TypeDeclarationProps, t as TypeDeclaration } from "../type-declaration-BLvkozNR.cjs";
11
11
  import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../components-D8UkrP5Q.cjs";
12
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-C0GR7QWh.cjs";
12
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-BnCsEkIG.cjs";
13
13
  import "./components/index.cjs";
14
14
  import { i as LexicalScopePropsWithScopeValue, n as LexicalScopeProps, r as LexicalScopePropsWithScopeInfo, t as LexicalScope } from "../lexical-scope-DghPwq5Q.cjs";
15
15
  import "./contexts/index.cjs";
@@ -9,7 +9,7 @@ import { A as TSDocTitle, C as TSDocReadonly, D as TSDocTag, E as TSDocRuntime,
9
9
  import { i as TSDocSchemaPropertyProps, n as TSDocObjectSchemaProps, r as TSDocSchemaProperty, t as TSDocObjectSchema } from "../tsdoc-schema-B4yKswI-.mjs";
10
10
  import { n as TypeDeclarationProps, t as TypeDeclaration } from "../type-declaration-BLvkozNR.mjs";
11
11
  import { n as TypescriptFileImports, t as TypescriptFileImportItem } from "../components-D8UkrP5Q.mjs";
12
- import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-YdpvA2Y-.mjs";
12
+ import { a as TypescriptFileHeaderProps, i as TypescriptFileHeaderImportsProps, n as TypescriptFileHeader, o as TypescriptFileProps, r as TypescriptFileHeaderImports, t as TypescriptFile } from "../typescript-file-BDDL0B04.mjs";
13
13
  import "./components/index.mjs";
14
14
  import { i as LexicalScopePropsWithScopeValue, n as LexicalScopeProps, r as LexicalScopePropsWithScopeInfo, t as LexicalScope } from "../lexical-scope-DghPwq5Q.mjs";
15
15
  import "./contexts/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
- import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DEnSdxL2.mjs";
3
3
  import { n as TypescriptFileImports } from "./components-D8UkrP5Q.mjs";
4
4
  import { Children } from "@alloy-js/core";
5
5
  import { TSModuleScope } from "@alloy-js/typescript";
@@ -46,4 +46,4 @@ interface TypescriptFileHeaderImportsProps extends SourceFileHeaderProps {
46
46
  declare function TypescriptFileHeaderImports(props: TypescriptFileHeaderImportsProps): Children;
47
47
  //#endregion
48
48
  export { TypescriptFileHeaderProps as a, TypescriptFileHeaderImportsProps as i, TypescriptFileHeader as n, TypescriptFileProps as o, TypescriptFileHeaderImports as r, TypescriptFile as t };
49
- //# sourceMappingURL=typescript-file-YdpvA2Y-.d.mts.map
49
+ //# sourceMappingURL=typescript-file-BDDL0B04.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-file-BDDL0B04.d.mts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DBuMr4pw.cjs";
3
3
  import { n as TypescriptFileImports } from "./components-D8UkrP5Q.cjs";
4
4
  import { Children } from "@alloy-js/core";
5
5
  import { TSModuleScope } from "@alloy-js/typescript";
@@ -46,4 +46,4 @@ interface TypescriptFileHeaderImportsProps extends SourceFileHeaderProps {
46
46
  declare function TypescriptFileHeaderImports(props: TypescriptFileHeaderImportsProps): Children;
47
47
  //#endregion
48
48
  export { TypescriptFileHeaderProps as a, TypescriptFileHeaderImportsProps as i, TypescriptFileHeader as n, TypescriptFileProps as o, TypescriptFileHeaderImports as r, TypescriptFile as t };
49
- //# sourceMappingURL=typescript-file-C0GR7QWh.d.cts.map
49
+ //# sourceMappingURL=typescript-file-BnCsEkIG.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-file-C0GR7QWh.d.cts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":";;;;;;KA0DY,sBAAsB,KAAK,iCACrC;EACE,WAAW;EACX,SAAS;EACT,UAAU;EACV,iBAAiB;EACjB;EACA;;;;;;;;iBASY,eAAe,OAAO,sBAAmB;UAgExC,kCAAkC;EACjD,SAAS;EACT,WAAW;EACX;;;;;;;;iBASc,qBAAqB,OAAO,4BAAyB;UAgEpD,yCAAyC;EACxD,UAAU;EACV,iBAAiB;EACjB,QAAQ;EACR;;;;;;;;iBASc,4BACd,OAAO,mCAAgC"}
1
+ {"version":3,"file":"typescript-file-BnCsEkIG.d.cts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":";;;;;;KA0DY,sBAAsB,KAAK,iCACrC;EACE,WAAW;EACX,SAAS;EACT,UAAU;EACV,iBAAiB;EACjB;EACA;;;;;;;;iBASY,eAAe,OAAO,sBAAmB;UAgExC,kCAAkC;EACjD,SAAS;EACT,WAAW;EACX;;;;;;;;iBASc,qBAAqB,OAAO,4BAAyB;UAgEpD,yCAAyC;EACxD,UAAU;EACV,iBAAiB;EACjB,QAAQ;EACR;;;;;;;;iBASc,4BACd,OAAO,mCAAgC"}
@@ -1,2 +1,2 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BBXSkeRl.cjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-B1qW3SHE.cjs";
2
2
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,2 +1,2 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BRSIxFdU.mjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-CDCen0K7.mjs";
2
2
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,2 +1,2 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BBXSkeRl.cjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-B1qW3SHE.cjs";
2
2
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,2 +1,2 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-BRSIxFdU.mjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../../yaml-file-CDCen0K7.mjs";
2
2
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,3 +1,3 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-BBXSkeRl.cjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-B1qW3SHE.cjs";
2
2
  import "./components/index.cjs";
3
3
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,3 +1,3 @@
1
- import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-BRSIxFdU.mjs";
1
+ import { i as YamlFileProps, n as YamlFile, r as YamlFileHeader, t as YamlData } from "../yaml-file-CDCen0K7.mjs";
2
2
  import "./components/index.mjs";
3
3
  export { YamlData, YamlFile, YamlFileHeader, YamlFileProps };
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.cjs";
2
- import { n as SourceFileProps$1 } from "./source-file-DfP35Z8l.cjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DBuMr4pw.cjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
  //#region src/yaml/components/yaml-file.d.ts
5
5
  interface YamlData {
@@ -28,4 +28,4 @@ declare function YamlFile(props: YamlFileProps): Children;
28
28
  declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
29
29
  //#endregion
30
30
  export { YamlFileProps as i, YamlFile as n, YamlFileHeader as r, YamlData as t };
31
- //# sourceMappingURL=yaml-file-BBXSkeRl.d.cts.map
31
+ //# sourceMappingURL=yaml-file-B1qW3SHE.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"yaml-file-BBXSkeRl.d.cts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":";;;;UAiCiB;GACd,0CAA0C,WAAW;;KAoD5C,gBAAgB,KAAK,iCAC/B;EACE,SAAS;EACT,OAAO;;;;;;;;;;;iBAYK,SAAS,OAAO,gBAAa;;;;;;;iBAiC7B,eAAe,OAAO,wBAAqB"}
1
+ {"version":3,"file":"yaml-file-B1qW3SHE.d.cts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":";;;;UAiCiB;GACd,0CAA0C,WAAW;;KAoD5C,gBAAgB,KAAK,iCAC/B;EACE,SAAS;EACT,OAAO;;;;;;;;;;;iBAYK,SAAS,OAAO,gBAAa;;;;;;;iBAiC7B,eAAe,OAAO,wBAAqB"}
@@ -1,5 +1,5 @@
1
1
  import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-vJaCHt1A.mjs";
2
- import { n as SourceFileProps$1 } from "./source-file-BiWHfxCC.mjs";
2
+ import { n as SourceFileProps$1 } from "./source-file-DEnSdxL2.mjs";
3
3
  import { Children } from "@alloy-js/core";
4
4
  //#region src/yaml/components/yaml-file.d.ts
5
5
  interface YamlData {
@@ -28,4 +28,4 @@ declare function YamlFile(props: YamlFileProps): Children;
28
28
  declare function YamlFileHeader(props: SourceFileHeaderProps): Children;
29
29
  //#endregion
30
30
  export { YamlFileProps as i, YamlFile as n, YamlFileHeader as r, YamlData as t };
31
- //# sourceMappingURL=yaml-file-BRSIxFdU.d.mts.map
31
+ //# sourceMappingURL=yaml-file-CDCen0K7.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml-file-CDCen0K7.d.mts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@power-plant/alloy-js",
3
- "version": "0.0.8",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "description": "A Power Plant generator for using Alloy JS to generate source code.",
6
6
  "keywords": [
@@ -869,8 +869,8 @@
869
869
  "@alloy-js/json": "^0.24.0",
870
870
  "@alloy-js/markdown": "^0.24.0",
871
871
  "@alloy-js/typescript": "^0.24.0",
872
- "@power-plant/core": "^0.0.12",
873
- "@power-plant/schema": "^0.0.12",
872
+ "@power-plant/core": "^0.0.16",
873
+ "@power-plant/schema": "^0.0.16",
874
874
  "@stryke/convert": "^0.7.26",
875
875
  "@stryke/helpers": "^0.10.35",
876
876
  "@stryke/path": "^0.29.22",
@@ -884,13 +884,13 @@
884
884
  "@alloy-js/babel-preset": "^0.3.0",
885
885
  "@babel/core": "^8.0.1",
886
886
  "@babel/preset-typescript": "^8.0.1",
887
- "@powerlines/plugin-babel": "^0.13.138",
888
- "@powerlines/plugin-tsdown": "^0.1.543",
887
+ "@powerlines/plugin-babel": "^0.13.140",
888
+ "@powerlines/plugin-tsdown": "^0.1.545",
889
889
  "@types/node": "^25.9.5",
890
- "powerlines": "^0.47.142"
890
+ "powerlines": "^0.47.144"
891
891
  },
892
892
  "peerDependencies": { "@alloy-js/babel-preset": ">=0.3.0" },
893
893
  "peerDependenciesMeta": { "@alloy-js/babel-preset": { "optional": false } },
894
894
  "publishConfig": { "access": "public" },
895
- "gitHead": "27e84d9116561bc573590459566dc4443b02b9c6"
895
+ "gitHead": "8cb4ebd50961de43b9482885f5ba5779b8ded913"
896
896
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"hcl-file-CDeOXiO0.d.mts","names":[],"sources":["../src/hcl/components/hcl-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown-file-CG6y_nCf.d.mts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta-ClbpDxeS.d.cts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":";;;;;;cAyBa,aAAa,iBACxB,eAAe;;;;;;;iBASD,WAAW,eAAe;;;;;;iBAgB1B,eACd,eAAe"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta-ClbpDxeS.d.mts","names":[],"sources":["../src/core/contexts/meta.ts"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"output-BFL54LWl.d.cts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":";;;UA4BiB,cACf,iBAAiB,kCAAsC,yCAK/C,KAAK;;;;EAIb,SAAS;;;;EAKT,OAAO,eAAe,gBAAgB;;;;EAKtC,OAAO;;;;;iBAMO,OACd,iBAAiB,kCAAsC,iCAKvD,OAAO,cAAY,qCAAS"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"output-CIbYv2pQ.d.mts","names":[],"sources":["../src/core/components/output.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"packer-file-DVdUCeHH.d.cts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":";;;KAuBY,kBAAkB,YAAY;;;;;;;;;iBAU1B,WAAW,OAAO,2CAAe"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"packer-file-DeJWrlcR.d.mts","names":[],"sources":["../src/hcl/components/packer-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-file-BiWHfxCC.d.mts","names":[],"sources":["../src/core/components/source-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"terraform-file-DS0uAb5z.d.mts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"terraform-file-gr1_jJWO.d.cts","names":[],"sources":["../src/hcl/components/terraform-file.tsx"],"mappings":";;;KAuBY,qBAAqB,YAAY;;;;;;;;;;iBAW7B,cAAc,OAAO,8CAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"typescript-file-YdpvA2Y-.d.mts","names":[],"sources":["../src/typescript/components/typescript-file.tsx"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"yaml-file-BRSIxFdU.d.mts","names":[],"sources":["../src/yaml/components/yaml-file.tsx"],"mappings":""}