@storm-software/terraform-tools 0.61.1 → 0.62.1

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 (37) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-VWGJH5XZ.mjs → chunk-4UUC5PL5.mjs} +1 -1
  4. package/dist/{chunk-LHLWLQYI.mjs → chunk-ASN7N3MD.mjs} +1 -1
  5. package/dist/{chunk-RIOD6BBP.js → chunk-C3TATPNG.js} +2 -2
  6. package/dist/{chunk-HJPLYKIK.js → chunk-EBBFG7FE.js} +2 -2
  7. package/dist/{chunk-OTXSJUFN.js → chunk-EDARDEZL.js} +2 -2
  8. package/dist/{chunk-PTGHK4O2.mjs → chunk-LDL6GDGI.mjs} +1 -1
  9. package/dist/{chunk-W3KFGH6F.mjs → chunk-LLEL65DB.mjs} +1 -1
  10. package/dist/{chunk-IRQ6ATAT.js → chunk-O6ULIZTX.js} +2 -2
  11. package/dist/{chunk-A3AZGCZW.mjs → chunk-OW3Z6C4U.mjs} +6 -4
  12. package/dist/{chunk-XLCDBNTQ.js → chunk-OZAMHBE3.js} +2 -2
  13. package/dist/{chunk-3HCCGFVA.js → chunk-P7TIR2I6.js} +552 -249
  14. package/dist/{chunk-QEMBK6MY.mjs → chunk-VD7U2ISL.mjs} +552 -249
  15. package/dist/{chunk-TTTXG2FP.mjs → chunk-VM73HSDX.mjs} +1 -1
  16. package/dist/{chunk-QDREZDRA.js → chunk-YAQKI2DU.js} +110 -108
  17. package/dist/executors.js +6 -6
  18. package/dist/executors.mjs +6 -6
  19. package/dist/generators.js +3 -3
  20. package/dist/generators.mjs +2 -2
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/base/index.js +3 -3
  24. package/dist/src/base/index.mjs +2 -2
  25. package/dist/src/base/terraform-executor.js +3 -3
  26. package/dist/src/base/terraform-executor.mjs +2 -2
  27. package/dist/src/executors/apply/executor.js +4 -4
  28. package/dist/src/executors/apply/executor.mjs +3 -3
  29. package/dist/src/executors/destroy/executor.js +4 -4
  30. package/dist/src/executors/destroy/executor.mjs +3 -3
  31. package/dist/src/executors/output/executor.js +4 -4
  32. package/dist/src/executors/output/executor.mjs +3 -3
  33. package/dist/src/executors/plan/executor.js +4 -4
  34. package/dist/src/executors/plan/executor.mjs +3 -3
  35. package/dist/src/generators/init/init.js +3 -3
  36. package/dist/src/generators/init/init.mjs +2 -2
  37. package/package.json +2 -2
@@ -596,12 +596,8 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
596
596
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
597
597
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
598
598
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
599
- var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
600
599
  var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
601
- var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
602
600
  var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
603
- var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
604
- var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
605
601
  var STORM_DEFAULT_RELEASE_FOOTER = `
606
602
  Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
607
603
 
@@ -610,234 +606,488 @@ Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, rec
610
606
  If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_SOCIAL_SLACK}) channel!
611
607
  `;
612
608
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
609
+ var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
613
610
 
614
611
  // ../config/src/schema.ts
615
- var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
616
- var ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7);
617
- var DarkColorSchema = ColorSchema.default("#151718").describe(
618
- "The dark background color of the workspace"
612
+ var _mini = require('zod/mini'); var z = _interopRequireWildcard(_mini);
613
+ var schemaRegistry = z.registry();
614
+ var colorSchema = z.string().check(
615
+ z.length(7),
616
+ z.toLowerCase(),
617
+ z.regex(/^#([0-9a-f]{3}){1,2}$/i),
618
+ z.trim()
619
619
  );
620
- var LightColorSchema = ColorSchema.default("#cbd5e1").describe(
621
- "The light background color of the workspace"
620
+ schemaRegistry.add(colorSchema, {
621
+ description: "A base schema for describing the format of colors"
622
+ });
623
+ var darkColorSchema = z._default(colorSchema, "#151718");
624
+ schemaRegistry.add(darkColorSchema, {
625
+ description: "The dark background color of the workspace"
626
+ });
627
+ var lightColorSchema = z._default(colorSchema, "#cbd5e1");
628
+ schemaRegistry.add(lightColorSchema, {
629
+ description: "The light background color of the workspace"
630
+ });
631
+ var brandColorSchema = z._default(colorSchema, "#1fb2a6");
632
+ schemaRegistry.add(brandColorSchema, {
633
+ description: "The primary brand specific color of the workspace"
634
+ });
635
+ var alternateColorSchema = z.optional(colorSchema);
636
+ schemaRegistry.add(alternateColorSchema, {
637
+ description: "The alternate brand specific color of the workspace"
638
+ });
639
+ var accentColorSchema = z.optional(colorSchema);
640
+ schemaRegistry.add(accentColorSchema, {
641
+ description: "The secondary brand specific color of the workspace"
642
+ });
643
+ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
644
+ schemaRegistry.add(linkColorSchema, {
645
+ description: "The color used to display hyperlink text"
646
+ });
647
+ var helpColorSchema = z._default(colorSchema, "#818cf8");
648
+ schemaRegistry.add(helpColorSchema, {
649
+ description: "The second brand specific color of the workspace"
650
+ });
651
+ var successColorSchema = z._default(colorSchema, "#45b27e");
652
+ schemaRegistry.add(successColorSchema, {
653
+ description: "The success color of the workspace"
654
+ });
655
+ var infoColorSchema = z._default(colorSchema, "#38bdf8");
656
+ schemaRegistry.add(infoColorSchema, {
657
+ description: "The informational color of the workspace"
658
+ });
659
+ var warningColorSchema = z._default(colorSchema, "#f3d371");
660
+ schemaRegistry.add(warningColorSchema, {
661
+ description: "The warning color of the workspace"
662
+ });
663
+ var dangerColorSchema = z._default(colorSchema, "#d8314a");
664
+ schemaRegistry.add(dangerColorSchema, {
665
+ description: "The danger color of the workspace"
666
+ });
667
+ var fatalColorSchema = z.optional(colorSchema);
668
+ schemaRegistry.add(fatalColorSchema, {
669
+ description: "The fatal color of the workspace"
670
+ });
671
+ var positiveColorSchema = z._default(colorSchema, "#4ade80");
672
+ schemaRegistry.add(positiveColorSchema, {
673
+ description: "The positive number color of the workspace"
674
+ });
675
+ var negativeColorSchema = z._default(colorSchema, "#ef4444");
676
+ schemaRegistry.add(negativeColorSchema, {
677
+ description: "The negative number color of the workspace"
678
+ });
679
+ var gradientStopsSchema = z.optional(z.array(colorSchema));
680
+ schemaRegistry.add(gradientStopsSchema, {
681
+ description: "The color stops for the base gradient color pattern used in the workspace"
682
+ });
683
+ var darkColorsSchema = z.object({
684
+ foreground: lightColorSchema,
685
+ background: darkColorSchema,
686
+ brand: brandColorSchema,
687
+ alternate: alternateColorSchema,
688
+ accent: accentColorSchema,
689
+ link: linkColorSchema,
690
+ help: helpColorSchema,
691
+ success: successColorSchema,
692
+ info: infoColorSchema,
693
+ warning: warningColorSchema,
694
+ danger: dangerColorSchema,
695
+ fatal: fatalColorSchema,
696
+ positive: positiveColorSchema,
697
+ negative: negativeColorSchema,
698
+ gradient: gradientStopsSchema
699
+ });
700
+ var lightColorsSchema = z.object({
701
+ foreground: darkColorSchema,
702
+ background: lightColorSchema,
703
+ brand: brandColorSchema,
704
+ alternate: alternateColorSchema,
705
+ accent: accentColorSchema,
706
+ link: linkColorSchema,
707
+ help: helpColorSchema,
708
+ success: successColorSchema,
709
+ info: infoColorSchema,
710
+ warning: warningColorSchema,
711
+ danger: dangerColorSchema,
712
+ fatal: fatalColorSchema,
713
+ positive: positiveColorSchema,
714
+ negative: negativeColorSchema,
715
+ gradient: gradientStopsSchema
716
+ });
717
+ var multiColorsSchema = z.object({
718
+ dark: darkColorsSchema,
719
+ light: lightColorsSchema
720
+ });
721
+ var singleColorsSchema = z.object({
722
+ dark: darkColorSchema,
723
+ light: lightColorSchema,
724
+ brand: brandColorSchema,
725
+ alternate: alternateColorSchema,
726
+ accent: accentColorSchema,
727
+ link: linkColorSchema,
728
+ help: helpColorSchema,
729
+ success: successColorSchema,
730
+ info: infoColorSchema,
731
+ warning: warningColorSchema,
732
+ danger: dangerColorSchema,
733
+ fatal: fatalColorSchema,
734
+ positive: positiveColorSchema,
735
+ negative: negativeColorSchema,
736
+ gradient: gradientStopsSchema
737
+ });
738
+ var registryUrlConfigSchema = z.optional(z.url());
739
+ schemaRegistry.add(registryUrlConfigSchema, {
740
+ description: "A remote registry URL used to publish distributable packages"
741
+ });
742
+ var registrySchema = z._default(
743
+ z.object({
744
+ github: registryUrlConfigSchema,
745
+ npm: registryUrlConfigSchema,
746
+ cargo: registryUrlConfigSchema,
747
+ cyclone: registryUrlConfigSchema,
748
+ container: registryUrlConfigSchema
749
+ }),
750
+ {}
622
751
  );
623
- var BrandColorSchema = ColorSchema.default("#1fb2a6").describe(
624
- "The primary brand specific color of the workspace"
752
+ schemaRegistry.add(registrySchema, {
753
+ description: "A list of remote registry URLs used by Storm Software"
754
+ });
755
+ var colorsSchema = z.union([singleColorsSchema, multiColorsSchema]);
756
+ schemaRegistry.add(colorsSchema, {
757
+ description: "Colors used for various workspace elements"
758
+ });
759
+ var themeColorsSchema = z.record(
760
+ z.union([z.union([z.literal("base"), z.string()]), z.string()]),
761
+ colorsSchema
625
762
  );
626
- var AlternateColorSchema = ColorSchema.optional().describe(
627
- "The alternate brand specific color of the workspace"
763
+ schemaRegistry.add(themeColorsSchema, {
764
+ description: "Storm theme config values used for styling various package elements"
765
+ });
766
+ var extendsSchema = z.optional(
767
+ z.union([z.string().check(z.trim()), z.array(z.string().check(z.trim()))])
628
768
  );
629
- var AccentColorSchema = ColorSchema.optional().describe(
630
- "The secondary brand specific color of the workspace"
769
+ schemaRegistry.add(extendsSchema, {
770
+ description: "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
771
+ });
772
+ var workspaceBotNameSchema = z.string().check(z.trim());
773
+ schemaRegistry.add(workspaceBotNameSchema, {
774
+ description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
775
+ });
776
+ var workspaceBotEmailSchema = z.string().check(z.trim());
777
+ schemaRegistry.add(workspaceBotEmailSchema, {
778
+ description: "The email of the workspace bot"
779
+ });
780
+ var workspaceBotSchema = z.object({
781
+ name: workspaceBotNameSchema,
782
+ email: workspaceBotEmailSchema
783
+ });
784
+ schemaRegistry.add(workspaceBotSchema, {
785
+ description: "The workspace's bot user's config used to automated various operations tasks"
786
+ });
787
+ var workspaceReleaseBannerUrlSchema = z.optional(
788
+ z.string().check(z.trim(), z.url())
631
789
  );
632
- var LinkColorSchema = ColorSchema.default("#3fa6ff").describe(
633
- "The color used to display hyperlink text"
790
+ schemaRegistry.add(workspaceReleaseBannerUrlSchema, {
791
+ description: "A URL to a banner image used to display the workspace's release"
792
+ });
793
+ var workspaceReleaseBannerAltSchema = z._default(
794
+ z.string().check(z.trim()),
795
+ STORM_DEFAULT_BANNER_ALT
634
796
  );
635
- var HelpColorSchema = ColorSchema.default("#818cf8").describe(
636
- "The second brand specific color of the workspace"
797
+ schemaRegistry.add(workspaceReleaseBannerAltSchema, {
798
+ description: "The alt text for the workspace's release banner image"
799
+ });
800
+ var workspaceReleaseBannerSchema = z.object({
801
+ url: workspaceReleaseBannerUrlSchema,
802
+ alt: workspaceReleaseBannerAltSchema
803
+ });
804
+ schemaRegistry.add(workspaceReleaseBannerSchema, {
805
+ description: "The workspace's banner image used during the release process"
806
+ });
807
+ var workspaceReleaseHeaderSchema = z.optional(
808
+ z.string().check(z.trim())
637
809
  );
638
- var SuccessColorSchema = ColorSchema.default("#45b27e").describe(
639
- "The success color of the workspace"
810
+ schemaRegistry.add(workspaceReleaseHeaderSchema, {
811
+ description: "A header message appended to the start of the workspace's release notes"
812
+ });
813
+ var workspaceReleaseFooterSchema = z.optional(
814
+ z.string().check(z.trim())
640
815
  );
641
- var InfoColorSchema = ColorSchema.default("#38bdf8").describe(
642
- "The informational color of the workspace"
816
+ schemaRegistry.add(workspaceReleaseFooterSchema, {
817
+ description: "A footer message appended to the end of the workspace's release notes"
818
+ });
819
+ var workspaceReleaseSchema = z.object({
820
+ banner: z.union([
821
+ workspaceReleaseBannerSchema,
822
+ z.string().check(z.trim(), z.url())
823
+ ]),
824
+ header: workspaceReleaseHeaderSchema,
825
+ footer: workspaceReleaseFooterSchema
826
+ });
827
+ schemaRegistry.add(workspaceReleaseSchema, {
828
+ description: "The workspace's release config used during the release process"
829
+ });
830
+ var workspaceSocialsTwitterSchema = z.optional(
831
+ z.string().check(z.trim())
643
832
  );
644
- var WarningColorSchema = ColorSchema.default("#f3d371").describe(
645
- "The warning color of the workspace"
833
+ schemaRegistry.add(workspaceSocialsTwitterSchema, {
834
+ description: "A Twitter/X account associated with the organization/project"
835
+ });
836
+ var workspaceSocialsDiscordSchema = z.optional(
837
+ z.string().check(z.trim())
646
838
  );
647
- var DangerColorSchema = ColorSchema.default("#d8314a").describe(
648
- "The danger color of the workspace"
839
+ schemaRegistry.add(workspaceSocialsDiscordSchema, {
840
+ description: "A Discord account associated with the organization/project"
841
+ });
842
+ var workspaceSocialsTelegramSchema = z.optional(
843
+ z.string().check(z.trim())
649
844
  );
650
- var FatalColorSchema = ColorSchema.optional().describe(
651
- "The fatal color of the workspace"
845
+ schemaRegistry.add(workspaceSocialsTelegramSchema, {
846
+ description: "A Telegram account associated with the organization/project"
847
+ });
848
+ var workspaceSocialsSlackSchema = z.optional(
849
+ z.string().check(z.trim())
652
850
  );
653
- var PositiveColorSchema = ColorSchema.default("#4ade80").describe(
654
- "The positive number color of the workspace"
851
+ schemaRegistry.add(workspaceSocialsSlackSchema, {
852
+ description: "A Slack account associated with the organization/project"
853
+ });
854
+ var workspaceSocialsMediumSchema = z.optional(
855
+ z.string().check(z.trim())
655
856
  );
656
- var NegativeColorSchema = ColorSchema.default("#ef4444").describe(
657
- "The negative number color of the workspace"
857
+ schemaRegistry.add(workspaceSocialsMediumSchema, {
858
+ description: "A Medium account associated with the organization/project"
859
+ });
860
+ var workspaceSocialsGithubSchema = z.optional(
861
+ z.string().check(z.trim())
658
862
  );
659
- var GradientStopsSchema = z.array(ColorSchema).optional().describe(
660
- "The color stops for the base gradient color pattern used in the workspace"
863
+ schemaRegistry.add(workspaceSocialsGithubSchema, {
864
+ description: "A GitHub account associated with the organization/project"
865
+ });
866
+ var workspaceSocialsSchema = z.object({
867
+ twitter: workspaceSocialsTwitterSchema,
868
+ discord: workspaceSocialsDiscordSchema,
869
+ telegram: workspaceSocialsTelegramSchema,
870
+ slack: workspaceSocialsSlackSchema,
871
+ medium: workspaceSocialsMediumSchema,
872
+ github: workspaceSocialsGithubSchema
873
+ });
874
+ schemaRegistry.add(workspaceSocialsSchema, {
875
+ description: "The workspace's account config used to store various social media links"
876
+ });
877
+ var workspaceDirectoryCacheSchema = z.optional(
878
+ z.string().check(z.trim())
661
879
  );
662
- var DarkThemeColorConfigSchema = z.object({
663
- foreground: LightColorSchema,
664
- background: DarkColorSchema,
665
- brand: BrandColorSchema,
666
- alternate: AlternateColorSchema,
667
- accent: AccentColorSchema,
668
- link: LinkColorSchema,
669
- help: HelpColorSchema,
670
- success: SuccessColorSchema,
671
- info: InfoColorSchema,
672
- warning: WarningColorSchema,
673
- danger: DangerColorSchema,
674
- fatal: FatalColorSchema,
675
- positive: PositiveColorSchema,
676
- negative: NegativeColorSchema,
677
- gradient: GradientStopsSchema
678
- });
679
- var LightThemeColorConfigSchema = z.object({
680
- foreground: DarkColorSchema,
681
- background: LightColorSchema,
682
- brand: BrandColorSchema,
683
- alternate: AlternateColorSchema,
684
- accent: AccentColorSchema,
685
- link: LinkColorSchema,
686
- help: HelpColorSchema,
687
- success: SuccessColorSchema,
688
- info: InfoColorSchema,
689
- warning: WarningColorSchema,
690
- danger: DangerColorSchema,
691
- fatal: FatalColorSchema,
692
- positive: PositiveColorSchema,
693
- negative: NegativeColorSchema,
694
- gradient: GradientStopsSchema
695
- });
696
- var MultiThemeColorConfigSchema = z.object({
697
- dark: DarkThemeColorConfigSchema,
698
- light: LightThemeColorConfigSchema
699
- });
700
- var SingleThemeColorConfigSchema = z.object({
701
- dark: DarkColorSchema,
702
- light: LightColorSchema,
703
- brand: BrandColorSchema,
704
- alternate: AlternateColorSchema,
705
- accent: AccentColorSchema,
706
- link: LinkColorSchema,
707
- help: HelpColorSchema,
708
- success: SuccessColorSchema,
709
- info: InfoColorSchema,
710
- warning: WarningColorSchema,
711
- danger: DangerColorSchema,
712
- fatal: FatalColorSchema,
713
- positive: PositiveColorSchema,
714
- negative: NegativeColorSchema,
715
- gradient: GradientStopsSchema
716
- });
717
- var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
718
- var RegistryConfigSchema = z.object({
719
- github: RegistryUrlConfigSchema,
720
- npm: RegistryUrlConfigSchema,
721
- cargo: RegistryUrlConfigSchema,
722
- cyclone: RegistryUrlConfigSchema,
723
- container: RegistryUrlConfigSchema
724
- }).default({}).describe("A list of remote registry URLs used by Storm Software");
725
- var ColorConfigSchema = SingleThemeColorConfigSchema.or(
726
- MultiThemeColorConfigSchema
727
- ).describe("Colors used for various workspace elements");
728
- var ColorConfigMapSchema = z.record(
729
- z.union([z.literal("base"), z.string()]),
730
- ColorConfigSchema
880
+ schemaRegistry.add(workspaceDirectoryCacheSchema, {
881
+ description: "The directory used to store the environment's cached file data"
882
+ });
883
+ var workspaceDirectoryDataSchema = z.optional(
884
+ z.string().check(z.trim())
731
885
  );
732
- var ExtendsItemSchema = z.string().trim().describe(
733
- "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
886
+ schemaRegistry.add(workspaceDirectoryDataSchema, {
887
+ description: "The directory used to store the environment's data files"
888
+ });
889
+ var workspaceDirectoryConfigSchema = z.optional(
890
+ z.string().check(z.trim())
734
891
  );
735
- var ExtendsSchema = ExtendsItemSchema.or(
736
- z.array(ExtendsItemSchema)
737
- ).describe(
738
- "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
892
+ schemaRegistry.add(workspaceDirectoryConfigSchema, {
893
+ description: "The directory used to store the environment's configuration files"
894
+ });
895
+ var workspaceDirectoryTempSchema = z.optional(
896
+ z.string().check(z.trim())
739
897
  );
740
- var WorkspaceBotConfigSchema = z.object({
741
- name: z.string().trim().default("stormie-bot").describe(
742
- "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
743
- ),
744
- email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
745
- }).describe(
746
- "The workspace's bot user's config used to automated various operations tasks"
898
+ schemaRegistry.add(workspaceDirectoryTempSchema, {
899
+ description: "The directory used to store the environment's temp files"
900
+ });
901
+ var workspaceDirectoryLogSchema = z.optional(
902
+ z.string().check(z.trim())
747
903
  );
748
- var WorkspaceReleaseConfigSchema = z.object({
749
- banner: z.string().trim().optional().describe(
750
- "A URL to a banner image used to display the workspace's release"
751
- ),
752
- header: z.string().trim().optional().describe(
753
- "A header message appended to the start of the workspace's release notes"
754
- ),
755
- footer: z.string().trim().optional().describe(
756
- "A footer message appended to the end of the workspace's release notes"
757
- )
758
- }).describe("The workspace's release config used during the release process");
759
- var WorkspaceSocialsConfigSchema = z.object({
760
- twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
761
- discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
762
- telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
763
- slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
764
- medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
765
- github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
766
- }).describe(
767
- "The workspace's account config used to store various social media links"
904
+ schemaRegistry.add(workspaceDirectoryLogSchema, {
905
+ description: "The directory used to store the environment's log files"
906
+ });
907
+ var workspaceDirectoryBuildSchema = z._default(
908
+ z.string().check(z.trim()),
909
+ "dist"
768
910
  );
769
- var WorkspaceDirectoryConfigSchema = z.object({
770
- cache: z.string().trim().optional().describe(
771
- "The directory used to store the environment's cached file data"
772
- ),
773
- data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
774
- config: z.string().trim().optional().describe(
775
- "The directory used to store the environment's configuration files"
776
- ),
777
- temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
778
- log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
779
- build: z.string().trim().default("dist").describe(
780
- "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
781
- )
782
- }).describe(
783
- "Various directories used by the workspace to store data, cache, and configuration files"
911
+ schemaRegistry.add(workspaceDirectoryBuildSchema, {
912
+ description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
913
+ });
914
+ var workspaceDirectorySchema = z.object({
915
+ cache: workspaceDirectoryCacheSchema,
916
+ data: workspaceDirectoryDataSchema,
917
+ config: workspaceDirectoryConfigSchema,
918
+ temp: workspaceDirectoryTempSchema,
919
+ log: workspaceDirectoryLogSchema,
920
+ build: workspaceDirectoryBuildSchema
921
+ });
922
+ schemaRegistry.add(workspaceDirectorySchema, {
923
+ description: "Various directories used by the workspace to store data, cache, and configuration files"
924
+ });
925
+ var errorCodesFileSchema = z._default(
926
+ z.string().check(z.trim()),
927
+ STORM_DEFAULT_ERROR_CODES_FILE
784
928
  );
785
- var errorConfigSchema = z.object({
786
- codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
787
- url: z.url().optional().describe(
788
- "A URL to a page that looks up the workspace's error messages given a specific error code"
789
- )
790
- }).describe("The workspace's error config used during the error process");
791
- var organizationConfigSchema = z.object({
792
- name: z.string().trim().describe("The name of the organization"),
793
- description: z.string().trim().optional().describe("A description of the organization"),
794
- logo: z.url().optional().describe("A URL to the organization's logo image"),
795
- icon: z.url().optional().describe("A URL to the organization's icon image"),
796
- url: z.url().optional().describe(
797
- "A URL to a page that provides more information about the organization"
798
- )
799
- }).describe("The workspace's organization details");
800
- var stormWorkspaceConfigSchema = z.object({
801
- $schema: z.string().trim().default(
802
- "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
803
- ).describe(
804
- "The URL or file path to the JSON schema file that describes the Storm configuration file"
805
- ),
806
- extends: ExtendsSchema.optional(),
807
- name: z.string().trim().toLowerCase().optional().describe(
808
- "The name of the service/package/scope using this configuration"
809
- ),
810
- namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
811
- organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
812
- "The organization of the workspace. This can be a string or an object containing the organization's details"
813
- ),
814
- repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
815
- license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
816
- homepage: z.url().optional().describe("The homepage of the workspace"),
817
- docs: z.url().optional().describe("The documentation site for the workspace"),
818
- portal: z.url().optional().describe("The development portal site for the workspace"),
819
- licensing: z.url().optional().describe("The licensing site for the workspace"),
820
- contact: z.url().optional().describe("The contact site for the workspace"),
821
- support: z.url().optional().describe(
822
- "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
823
- ),
824
- branch: z.string().trim().default("main").describe("The branch of the workspace"),
825
- preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
826
- owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
827
- bot: WorkspaceBotConfigSchema,
828
- release: WorkspaceReleaseConfigSchema,
829
- socials: WorkspaceSocialsConfigSchema,
830
- error: errorConfigSchema,
831
- mode: z.string().trim().default("production").describe("The current runtime environment mode for the package"),
832
- workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
833
- skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
834
- directories: WorkspaceDirectoryConfigSchema,
835
- packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
836
- "The JavaScript/TypeScript package manager used by the repository"
837
- ),
838
- timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
839
- locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
840
- logLevel: z.enum([
929
+ schemaRegistry.add(errorCodesFileSchema, {
930
+ description: "The path to the workspace's error codes JSON file"
931
+ });
932
+ var errorUrlSchema = z.optional(z.url());
933
+ schemaRegistry.add(errorUrlSchema, {
934
+ description: "A URL to a page that looks up the workspace's error messages given a specific error code"
935
+ });
936
+ var errorSchema = z.object({
937
+ codesFile: errorCodesFileSchema,
938
+ url: errorUrlSchema
939
+ });
940
+ schemaRegistry.add(errorSchema, {
941
+ description: "The workspace's error config used when creating error details during a system error"
942
+ });
943
+ var organizationNameSchema = z.optional(
944
+ z.string().check(z.trim(), z.toLowerCase())
945
+ );
946
+ schemaRegistry.add(organizationNameSchema, {
947
+ description: "The name of the organization"
948
+ });
949
+ var organizationDescriptionSchema = z.optional(
950
+ z.string().check(z.trim())
951
+ );
952
+ schemaRegistry.add(organizationDescriptionSchema, {
953
+ description: "A description of the organization"
954
+ });
955
+ var organizationLogoSchema = z.optional(z.url());
956
+ schemaRegistry.add(organizationLogoSchema, {
957
+ description: "A URL to the organization's logo image"
958
+ });
959
+ var organizationIconSchema = z.optional(z.url());
960
+ schemaRegistry.add(organizationIconSchema, {
961
+ description: "A URL to the organization's icon image"
962
+ });
963
+ var organizationUrlSchema = z.optional(z.url());
964
+ schemaRegistry.add(organizationUrlSchema, {
965
+ description: "A URL to a page that provides more information about the organization"
966
+ });
967
+ var organizationSchema = z.object({
968
+ name: organizationNameSchema,
969
+ description: organizationDescriptionSchema,
970
+ logo: organizationLogoSchema,
971
+ icon: organizationIconSchema,
972
+ url: organizationUrlSchema
973
+ });
974
+ schemaRegistry.add(organizationSchema, {
975
+ description: "The workspace's organization details"
976
+ });
977
+ var schemaNameSchema = z._default(
978
+ z.string().check(z.trim(), z.toLowerCase()),
979
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
980
+ );
981
+ schemaRegistry.add(schemaNameSchema, {
982
+ description: "The URL or file path to the JSON schema file that describes the Storm configuration file"
983
+ });
984
+ var nameSchema = z.string().check(z.trim(), z.toLowerCase());
985
+ schemaRegistry.add(nameSchema, {
986
+ description: "The name of the workspace/project/service/package/scope using this configuration"
987
+ });
988
+ var namespaceSchema = z.string().check(z.trim(), z.toLowerCase());
989
+ schemaRegistry.add(namespaceSchema, {
990
+ description: "The namespace of the workspace/project/service/package/scope using this configuration"
991
+ });
992
+ var orgSchema = z.union([
993
+ organizationSchema,
994
+ z.string().check(z.trim(), z.toLowerCase())
995
+ ]);
996
+ schemaRegistry.add(orgSchema, {
997
+ description: "The organization of the workspace. This can be a string or an object containing the organization's details"
998
+ });
999
+ var repositorySchema = z.string().check(z.trim(), z.toLowerCase());
1000
+ schemaRegistry.add(repositorySchema, {
1001
+ description: "The repo URL of the workspace (i.e. the GitHub repository URL)"
1002
+ });
1003
+ var licenseSchema = z._default(
1004
+ z.string().check(z.trim()),
1005
+ "Apache-2.0"
1006
+ );
1007
+ schemaRegistry.add(licenseSchema, {
1008
+ description: "The license type of the package"
1009
+ });
1010
+ var homepageSchema = z.optional(z.url());
1011
+ schemaRegistry.add(homepageSchema, {
1012
+ description: "The homepage of the workspace"
1013
+ });
1014
+ var docsSchema = z.optional(z.url());
1015
+ schemaRegistry.add(docsSchema, {
1016
+ description: "The documentation site for the workspace"
1017
+ });
1018
+ var portalSchema = z.optional(z.url());
1019
+ schemaRegistry.add(portalSchema, {
1020
+ description: "The development portal site for the workspace"
1021
+ });
1022
+ var licensingSchema = z.optional(z.url());
1023
+ schemaRegistry.add(licensingSchema, {
1024
+ description: "The licensing site for the workspace"
1025
+ });
1026
+ var contactSchema = z.optional(z.url());
1027
+ schemaRegistry.add(contactSchema, {
1028
+ description: "The contact site for the workspace"
1029
+ });
1030
+ var supportSchema = z.optional(z.url());
1031
+ schemaRegistry.add(supportSchema, {
1032
+ description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
1033
+ });
1034
+ var branchSchema = z._default(
1035
+ z.string().check(z.trim(), z.toLowerCase()),
1036
+ "main"
1037
+ );
1038
+ schemaRegistry.add(branchSchema, {
1039
+ description: "The branch of the workspace"
1040
+ });
1041
+ var preidSchema = z.optional(
1042
+ z.string().check(z.trim(), z.toLowerCase())
1043
+ );
1044
+ schemaRegistry.add(preidSchema, {
1045
+ description: "A tag specifying the version pre-release identifier"
1046
+ });
1047
+ var ownerSchema = z.optional(
1048
+ z.string().check(z.trim(), z.toLowerCase())
1049
+ );
1050
+ schemaRegistry.add(ownerSchema, {
1051
+ description: "The owner of the package"
1052
+ });
1053
+ var modeSchema = z._default(
1054
+ z.enum(["development", "staging", "production"]).check(z.trim(), z.toLowerCase()),
1055
+ "production"
1056
+ );
1057
+ schemaRegistry.add(modeSchema, {
1058
+ description: "The current runtime environment mode for the package"
1059
+ });
1060
+ var workspaceRootSchema = z.string().check(z.trim(), z.toLowerCase());
1061
+ schemaRegistry.add(workspaceRootSchema, {
1062
+ description: "The root directory of the workspace"
1063
+ });
1064
+ var skipCacheSchema = z._default(z.boolean(), false);
1065
+ schemaRegistry.add(skipCacheSchema, {
1066
+ description: "Should all known types of workspace caching be skipped?"
1067
+ });
1068
+ var packageManagerSchema = z._default(
1069
+ z.enum(["npm", "yarn", "pnpm", "bun"]),
1070
+ "npm"
1071
+ );
1072
+ schemaRegistry.add(packageManagerSchema, {
1073
+ description: "The JavaScript/TypeScript package manager used by the repository"
1074
+ });
1075
+ var timezoneSchema = z._default(
1076
+ z.string().check(z.trim(), z.toLowerCase()),
1077
+ "America/New_York"
1078
+ );
1079
+ schemaRegistry.add(timezoneSchema, {
1080
+ description: "The default timezone of the workspace"
1081
+ });
1082
+ var localeSchema = z._default(
1083
+ z.string().check(z.trim(), z.toLowerCase()),
1084
+ "en-US"
1085
+ );
1086
+ schemaRegistry.add(localeSchema, {
1087
+ description: "The default locale of the workspace"
1088
+ });
1089
+ var logLevelSchema = z._default(
1090
+ z.enum([
841
1091
  "silent",
842
1092
  "fatal",
843
1093
  "error",
@@ -847,23 +1097,65 @@ var stormWorkspaceConfigSchema = z.object({
847
1097
  "debug",
848
1098
  "trace",
849
1099
  "all"
850
- ]).default("info").describe(
851
- "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
852
- ),
853
- skipConfigLogging: z.boolean().optional().describe(
854
- "Should the logging of the current Storm Workspace configuration be skipped?"
855
- ),
856
- registry: RegistryConfigSchema,
857
- configFile: z.string().trim().nullable().default(null).describe(
858
- "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
859
- ),
860
- colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
861
- "Storm theme config values used for styling various package elements"
862
- ),
863
- extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
864
- }).describe(
865
- "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
1100
+ ]),
1101
+ "info"
1102
+ );
1103
+ schemaRegistry.add(logLevelSchema, {
1104
+ description: "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
1105
+ });
1106
+ var skipConfigLoggingSchema = z._default(z.boolean(), true);
1107
+ schemaRegistry.add(skipConfigLoggingSchema, {
1108
+ description: "Should the logging of the current Storm Workspace configuration be skipped?"
1109
+ });
1110
+ var configFileSchema = z._default(
1111
+ z.nullable(z.string().check(z.trim())),
1112
+ null
866
1113
  );
1114
+ schemaRegistry.add(configFileSchema, {
1115
+ description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
1116
+ });
1117
+ var extensionsSchema = z._default(z.record(z.string(), z.any()), {});
1118
+ schemaRegistry.add(extensionsSchema, {
1119
+ description: "Configuration of each used extension"
1120
+ });
1121
+ var workspaceConfigSchema = z.object({
1122
+ $schema: schemaNameSchema,
1123
+ extends: extendsSchema,
1124
+ name: nameSchema,
1125
+ namespace: namespaceSchema,
1126
+ organization: orgSchema,
1127
+ repository: repositorySchema,
1128
+ license: licenseSchema,
1129
+ homepage: homepageSchema,
1130
+ docs: docsSchema,
1131
+ portal: portalSchema,
1132
+ licensing: licensingSchema,
1133
+ contact: contactSchema,
1134
+ support: supportSchema,
1135
+ branch: branchSchema,
1136
+ preid: preidSchema,
1137
+ owner: ownerSchema,
1138
+ bot: workspaceBotSchema,
1139
+ release: workspaceReleaseSchema,
1140
+ socials: workspaceSocialsSchema,
1141
+ error: errorSchema,
1142
+ mode: modeSchema,
1143
+ workspaceRoot: workspaceRootSchema,
1144
+ skipCache: skipCacheSchema,
1145
+ directories: workspaceDirectorySchema,
1146
+ packageManager: packageManagerSchema,
1147
+ timezone: timezoneSchema,
1148
+ locale: localeSchema,
1149
+ logLevel: logLevelSchema,
1150
+ skipConfigLogging: skipConfigLoggingSchema,
1151
+ registry: registrySchema,
1152
+ configFile: configFileSchema,
1153
+ colors: z.union([colorsSchema, themeColorsSchema]),
1154
+ extensions: extensionsSchema
1155
+ });
1156
+ schemaRegistry.add(extensionsSchema, {
1157
+ description: "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
1158
+ });
867
1159
 
868
1160
  // ../config/src/types.ts
869
1161
  var COLOR_KEYS = [
@@ -1075,7 +1367,10 @@ var getConfigEnv = () => {
1075
1367
  email: process.env[`${prefix}BOT_EMAIL`] || void 0
1076
1368
  },
1077
1369
  release: {
1078
- banner: process.env[`${prefix}RELEASE_BANNER`] || void 0,
1370
+ banner: {
1371
+ url: process.env[`${prefix}RELEASE_BANNER_URL`] || void 0,
1372
+ alt: process.env[`${prefix}RELEASE_BANNER_ALT`] || void 0
1373
+ },
1079
1374
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
1080
1375
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
1081
1376
  },
@@ -1152,11 +1447,11 @@ var getConfigEnv = () => {
1152
1447
  );
1153
1448
  config.colors = themeNames.length > 0 ? themeNames.reduce(
1154
1449
  (ret, themeName) => {
1155
- ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
1450
+ ret[themeName] = getThemeColorsEnv(prefix, themeName);
1156
1451
  return ret;
1157
1452
  },
1158
1453
  {}
1159
- ) : getThemeColorConfigEnv(prefix);
1454
+ ) : getThemeColorsEnv(prefix);
1160
1455
  if (config.docs === STORM_DEFAULT_DOCS) {
1161
1456
  if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
1162
1457
  config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
@@ -1183,11 +1478,11 @@ var getConfigEnv = () => {
1183
1478
  }
1184
1479
  return config;
1185
1480
  };
1186
- var getThemeColorConfigEnv = (prefix, theme) => {
1481
+ var getThemeColorsEnv = (prefix, theme) => {
1187
1482
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
1188
- return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
1483
+ return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorsEnv(prefix + themeName) : getSingleThemeColorsEnv(prefix + themeName);
1189
1484
  };
1190
- var getSingleThemeColorConfigEnv = (prefix) => {
1485
+ var getSingleThemeColorsEnv = (prefix) => {
1191
1486
  const gradient = [];
1192
1487
  if (process.env[`${prefix}GRADIENT_START`] && process.env[`${prefix}GRADIENT_END`]) {
1193
1488
  gradient.push(
@@ -1219,15 +1514,13 @@ var getSingleThemeColorConfigEnv = (prefix) => {
1219
1514
  gradient
1220
1515
  };
1221
1516
  };
1222
- var getMultiThemeColorConfigEnv = (prefix) => {
1517
+ var getMultiThemeColorsEnv = (prefix) => {
1223
1518
  return {
1224
- light: getBaseThemeColorConfigEnv(
1225
- `${prefix}_LIGHT_`
1226
- ),
1227
- dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
1519
+ light: getBaseThemeColorsEnv(`${prefix}_LIGHT_`),
1520
+ dark: getBaseThemeColorsEnv(`${prefix}_DARK_`)
1228
1521
  };
1229
1522
  };
1230
- var getBaseThemeColorConfigEnv = (prefix) => {
1523
+ var getBaseThemeColorsEnv = (prefix) => {
1231
1524
  const gradient = [];
1232
1525
  if (process.env[`${prefix}GRADIENT_START`] && process.env[`${prefix}GRADIENT_END`]) {
1233
1526
  gradient.push(
@@ -1306,7 +1599,16 @@ var setConfigEnv = (config) => {
1306
1599
  process.env[`${prefix}ERROR_URL`] = config.error.url;
1307
1600
  }
1308
1601
  if (config.release) {
1309
- process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
1602
+ if (config.release.banner) {
1603
+ if (typeof config.release.banner === "string") {
1604
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
1605
+ process.env[`${prefix}RELEASE_BANNER_URL`] = config.release.banner;
1606
+ } else {
1607
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner.url;
1608
+ process.env[`${prefix}RELEASE_BANNER_URL`] = config.release.banner.url;
1609
+ process.env[`${prefix}RELEASE_BANNER_ALT`] = config.release.banner.alt;
1610
+ }
1611
+ }
1310
1612
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
1311
1613
  process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
1312
1614
  }
@@ -1449,10 +1751,10 @@ var setConfigEnv = (config) => {
1449
1751
  }
1450
1752
  if (_optionalChain([config, 'access', _52 => _52.colors, 'optionalAccess', _53 => _53.base, 'optionalAccess', _54 => _54.light]) || _optionalChain([config, 'access', _55 => _55.colors, 'optionalAccess', _56 => _56.base, 'optionalAccess', _57 => _57.dark])) {
1451
1753
  for (const key of Object.keys(config.colors)) {
1452
- setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
1754
+ setThemeColorsEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
1453
1755
  }
1454
1756
  } else {
1455
- setThemeColorConfigEnv(
1757
+ setThemeColorsEnv(
1456
1758
  `${prefix}COLOR_`,
1457
1759
  config.colors
1458
1760
  );
@@ -1507,10 +1809,10 @@ var setConfigEnv = (config) => {
1507
1809
  }
1508
1810
  }
1509
1811
  };
1510
- var setThemeColorConfigEnv = (prefix, config) => {
1511
- return _optionalChain([config, 'optionalAccess', _58 => _58.light, 'optionalAccess', _59 => _59.brand]) || _optionalChain([config, 'optionalAccess', _60 => _60.dark, 'optionalAccess', _61 => _61.brand]) ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
1812
+ var setThemeColorsEnv = (prefix, config) => {
1813
+ return _optionalChain([config, 'optionalAccess', _58 => _58.light, 'optionalAccess', _59 => _59.brand]) || _optionalChain([config, 'optionalAccess', _60 => _60.dark, 'optionalAccess', _61 => _61.brand]) ? setMultiThemeColorsEnv(prefix, config) : setSingleThemeColorsEnv(prefix, config);
1512
1814
  };
1513
- var setSingleThemeColorConfigEnv = (prefix, config) => {
1815
+ var setSingleThemeColorsEnv = (prefix, config) => {
1514
1816
  if (config.dark) {
1515
1817
  process.env[`${prefix}DARK`] = config.dark;
1516
1818
  }
@@ -1559,13 +1861,13 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
1559
1861
  }
1560
1862
  }
1561
1863
  };
1562
- var setMultiThemeColorConfigEnv = (prefix, config) => {
1864
+ var setMultiThemeColorsEnv = (prefix, config) => {
1563
1865
  return {
1564
- light: setBaseThemeColorConfigEnv(`${prefix}LIGHT_`, config.light),
1565
- dark: setBaseThemeColorConfigEnv(`${prefix}DARK_`, config.dark)
1866
+ light: setBaseThemeColorsEnv(`${prefix}LIGHT_`, config.light),
1867
+ dark: setBaseThemeColorsEnv(`${prefix}DARK_`, config.dark)
1566
1868
  };
1567
1869
  };
1568
- var setBaseThemeColorConfigEnv = (prefix, config) => {
1870
+ var setBaseThemeColorsEnv = (prefix, config) => {
1569
1871
  if (config.foreground) {
1570
1872
  process.env[`${prefix}FOREGROUND`] = config.foreground;
1571
1873
  }
@@ -1646,7 +1948,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1646
1948
  );
1647
1949
  try {
1648
1950
  result = applyDefaultConfig(
1649
- await stormWorkspaceConfigSchema.parseAsync(configInput)
1951
+ await workspaceConfigSchema.parseAsync(configInput)
1650
1952
  );
1651
1953
  result.workspaceRoot ??= _workspaceRoot;
1652
1954
  } catch (error) {
@@ -1859,4 +2161,5 @@ var _isFunction2 = (value) => {
1859
2161
 
1860
2162
 
1861
2163
 
1862
- exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.applyWorkspaceBaseTokens = applyWorkspaceBaseTokens; exports.applyWorkspaceTokens = applyWorkspaceTokens; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig; exports.withRunExecutor = withRunExecutor;
2164
+
2165
+ exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.applyWorkspaceBaseTokens = applyWorkspaceBaseTokens; exports.applyWorkspaceTokens = applyWorkspaceTokens; exports.schemaRegistry = schemaRegistry; exports.workspaceConfigSchema = workspaceConfigSchema; exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig; exports.withRunExecutor = withRunExecutor;