@storm-software/tsup 0.2.118 → 0.2.120

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.
@@ -16,7 +16,7 @@ init_esm_shims();
16
16
  // ../build-tools/dist/chunk-KVP3YMX6.mjs
17
17
  init_esm_shims();
18
18
 
19
- // ../build-tools/dist/chunk-LHWWILNN.mjs
19
+ // ../build-tools/dist/chunk-P3RDPIXU.mjs
20
20
  init_esm_shims();
21
21
 
22
22
  // ../build-tools/dist/chunk-B4H42WDA.mjs
@@ -29,7 +29,7 @@ init_esm_shims();
29
29
  import { existsSync } from "node:fs";
30
30
  import { join } from "node:path";
31
31
 
32
- // ../build-tools/dist/chunk-RBJMCJYF.mjs
32
+ // ../build-tools/dist/chunk-GIDQQPFS.mjs
33
33
  init_esm_shims();
34
34
  import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
35
35
  import chalk from "chalk";
@@ -40,6 +40,7 @@ var LogLevelLabel = {
40
40
  WARN: "warn",
41
41
  SUCCESS: "success",
42
42
  INFO: "info",
43
+ PERFORMANCE: "performance",
43
44
  DEBUG: "debug",
44
45
  TRACE: "trace",
45
46
  ALL: "all"
@@ -59,13 +60,14 @@ var CONSOLE_ICONS = {
59
60
  [LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
60
61
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
61
62
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
63
+ [LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
62
64
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
63
65
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
64
66
  [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
65
67
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
66
68
  };
67
69
 
68
- // ../build-tools/dist/chunk-LHWWILNN.mjs
70
+ // ../build-tools/dist/chunk-P3RDPIXU.mjs
69
71
  import { loadConfig } from "c12";
70
72
  import defu from "defu";
71
73
  import * as z from "zod/mini";
@@ -150,6 +152,10 @@ var fatalColorSchema = z.optional(colorSchema);
150
152
  schemaRegistry.add(fatalColorSchema, {
151
153
  description: "The fatal color of the workspace"
152
154
  });
155
+ var performanceColorSchema = z._default(colorSchema, "#00ff00");
156
+ schemaRegistry.add(performanceColorSchema, {
157
+ description: "The performance color of the workspace"
158
+ });
153
159
  var positiveColorSchema = z._default(colorSchema, "#4ade80");
154
160
  schemaRegistry.add(positiveColorSchema, {
155
161
  description: "The positive number color of the workspace"
@@ -176,6 +182,7 @@ var darkColorsSchema = z.object({
176
182
  warning: warningColorSchema,
177
183
  danger: dangerColorSchema,
178
184
  fatal: fatalColorSchema,
185
+ performance: performanceColorSchema,
179
186
  positive: positiveColorSchema,
180
187
  negative: negativeColorSchema,
181
188
  gradient: gradientStopsSchema
@@ -194,6 +201,7 @@ var lightColorsSchema = z.object({
194
201
  warning: warningColorSchema,
195
202
  danger: dangerColorSchema,
196
203
  fatal: fatalColorSchema,
204
+ performance: performanceColorSchema,
197
205
  positive: positiveColorSchema,
198
206
  negative: negativeColorSchema,
199
207
  gradient: gradientStopsSchema
@@ -216,6 +224,7 @@ var singleColorsSchema = z.object({
216
224
  warning: warningColorSchema,
217
225
  danger: dangerColorSchema,
218
226
  fatal: fatalColorSchema,
227
+ performance: performanceColorSchema,
219
228
  positive: positiveColorSchema,
220
229
  negative: negativeColorSchema,
221
230
  gradient: gradientStopsSchema
@@ -583,6 +592,7 @@ var logLevelSchema = z._default(
583
592
  "warn",
584
593
  "success",
585
594
  "info",
595
+ "performance",
586
596
  "debug",
587
597
  "trace",
588
598
  "all"
@@ -654,13 +664,13 @@ import {
654
664
  mapTargetDefaultsToDependencies
655
665
  } from "nx/src/tasks-runner/create-task-graph";
656
666
 
657
- // ../build-tools/dist/chunk-Y5BAO2UH.mjs
667
+ // ../build-tools/dist/chunk-337LPH6T.mjs
658
668
  init_esm_shims();
659
669
  import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
660
670
  import { glob } from "glob";
661
671
  import { readFile as readFile3, writeFile } from "node:fs/promises";
662
672
 
663
- // ../build-tools/dist/chunk-CFPR4SJM.mjs
673
+ // ../build-tools/dist/chunk-EXQPJWWX.mjs
664
674
  init_esm_shims();
665
675
  import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
666
676
  import { Glob } from "glob";
@@ -672,7 +682,7 @@ import {
672
682
  readProjectsConfigurationFromProjectGraph
673
683
  } from "nx/src/project-graph/project-graph";
674
684
 
675
- // ../build-tools/dist/chunk-3DLJAR7G.mjs
685
+ // ../build-tools/dist/chunk-Z4D4DE4H.mjs
676
686
  init_esm_shims();
677
687
  import { glob as glob2 } from "glob";
678
688
 
@@ -706,14 +716,14 @@ init_esm_shims();
706
716
  // ../build-tools/dist/chunk-UN3B7LBV.mjs
707
717
  init_esm_shims();
708
718
 
709
- // ../build-tools/dist/chunk-NXHXDYIG.mjs
719
+ // ../build-tools/dist/chunk-ZNDFNV23.mjs
710
720
  init_esm_shims();
711
721
 
712
722
  // ../build-tools/dist/chunk-7YKXR5JJ.mjs
713
723
  init_esm_shims();
714
724
  import { transform } from "@swc/core";
715
725
 
716
- // ../build-tools/dist/chunk-4K7KJ6JA.mjs
726
+ // ../build-tools/dist/chunk-77OPD7VA.mjs
717
727
  init_esm_shims();
718
728
  import fs from "node:fs";
719
729
  import { builtinModules } from "node:module";
@@ -728,13 +738,13 @@ import { relative } from "path";
728
738
  // ../config-tools/dist/get-config.js
729
739
  init_esm_shims();
730
740
 
731
- // ../config-tools/dist/chunk-T32OBFSH.js
741
+ // ../config-tools/dist/chunk-SKRN3T4M.js
732
742
  init_esm_shims();
733
743
 
734
- // ../config-tools/dist/chunk-VOEYKXJ6.js
744
+ // ../config-tools/dist/chunk-JIQOUQGG.js
735
745
  init_esm_shims();
736
746
 
737
- // ../config-tools/dist/chunk-ZFTN72CN.js
747
+ // ../config-tools/dist/chunk-HVUY6B36.js
738
748
  init_esm_shims();
739
749
 
740
750
  // ../config-tools/dist/chunk-LF3SAK2O.js
@@ -960,10 +970,10 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
960
970
  return result;
961
971
  }
962
972
 
963
- // ../config-tools/dist/chunk-SPHE3YEH.js
973
+ // ../config-tools/dist/chunk-V5S4LLZX.js
964
974
  init_esm_shims();
965
975
 
966
- // ../config-tools/dist/chunk-DJB7XLHA.js
976
+ // ../config-tools/dist/chunk-TEXP3QH5.js
967
977
  init_esm_shims();
968
978
  var DEFAULT_COLOR_CONFIG = {
969
979
  light: {
@@ -978,6 +988,7 @@ var DEFAULT_COLOR_CONFIG = {
978
988
  warning: "#e3b341",
979
989
  danger: "#D8314A",
980
990
  fatal: "#51070f",
991
+ performance: "#83ff83",
981
992
  link: "#3fa6ff",
982
993
  positive: "#22c55e",
983
994
  negative: "#dc2626",
@@ -995,6 +1006,7 @@ var DEFAULT_COLOR_CONFIG = {
995
1006
  warning: "#f3d371",
996
1007
  danger: "#D8314A",
997
1008
  fatal: "#a40e26",
1009
+ performance: "#00ff00",
998
1010
  link: "#3fa6ff",
999
1011
  positive: "#22c55e",
1000
1012
  negative: "#dc2626",
@@ -1036,7 +1048,7 @@ var getChalk = () => {
1036
1048
  return _chalk;
1037
1049
  };
1038
1050
 
1039
- // ../config-tools/dist/chunk-AITAR5W5.js
1051
+ // ../config-tools/dist/chunk-ZFNAUMQS.js
1040
1052
  init_esm_shims();
1041
1053
 
1042
1054
  // ../config-tools/dist/chunk-G2MK47WL.js
@@ -1051,7 +1063,7 @@ function isUnicodeSupported2() {
1051
1063
  process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
1052
1064
  }
1053
1065
 
1054
- // ../config-tools/dist/chunk-POXTJ6GF.js
1066
+ // ../config-tools/dist/chunk-RALMUN5C.js
1055
1067
  init_esm_shims();
1056
1068
  var LogLevel2 = {
1057
1069
  SILENT: 0,
@@ -1060,6 +1072,7 @@ var LogLevel2 = {
1060
1072
  WARN: 30,
1061
1073
  SUCCESS: 35,
1062
1074
  INFO: 40,
1075
+ PERFORMANCE: 50,
1063
1076
  DEBUG: 60,
1064
1077
  TRACE: 70,
1065
1078
  ALL: 100
@@ -1071,18 +1084,20 @@ var LogLevelLabel2 = {
1071
1084
  WARN: "warn",
1072
1085
  SUCCESS: "success",
1073
1086
  INFO: "info",
1087
+ PERFORMANCE: "performance",
1074
1088
  DEBUG: "debug",
1075
1089
  TRACE: "trace",
1076
1090
  ALL: "all"
1077
1091
  };
1078
1092
 
1079
- // ../config-tools/dist/chunk-AITAR5W5.js
1093
+ // ../config-tools/dist/chunk-ZFNAUMQS.js
1080
1094
  var useIcon2 = (c3, fallback) => isUnicodeSupported2() ? c3 : fallback;
1081
1095
  var CONSOLE_ICONS2 = {
1082
1096
  [LogLevelLabel2.ERROR]: useIcon2("\u2718", "\xD7"),
1083
1097
  [LogLevelLabel2.FATAL]: useIcon2("\u{1F571}", "\xD7"),
1084
1098
  [LogLevelLabel2.WARN]: useIcon2("\u26A0", "\u203C"),
1085
1099
  [LogLevelLabel2.INFO]: useIcon2("\u2139", "i"),
1100
+ [LogLevelLabel2.PERFORMANCE]: useIcon2("\u23F1", "\u23F1"),
1086
1101
  [LogLevelLabel2.SUCCESS]: useIcon2("\u2714", "\u221A"),
1087
1102
  [LogLevelLabel2.DEBUG]: useIcon2("\u{1F6E0}", "D"),
1088
1103
  [LogLevelLabel2.TRACE]: useIcon2("\u2699", "T"),
@@ -1095,7 +1110,7 @@ var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
1095
1110
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
1096
1111
  };
1097
1112
 
1098
- // ../config-tools/dist/chunk-K4CDYUQR.js
1113
+ // ../config-tools/dist/chunk-SXPH7ILL.js
1099
1114
  init_esm_shims();
1100
1115
  var getLogLevel2 = (label) => {
1101
1116
  switch (label) {
@@ -1105,6 +1120,8 @@ var getLogLevel2 = (label) => {
1105
1120
  return LogLevel2.TRACE;
1106
1121
  case "debug":
1107
1122
  return LogLevel2.DEBUG;
1123
+ case "performance":
1124
+ return LogLevel2.PERFORMANCE;
1108
1125
  case "info":
1109
1126
  return LogLevel2.INFO;
1110
1127
  case "warn":
@@ -1129,6 +1146,9 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
1129
1146
  if (logLevel >= LogLevel2.DEBUG) {
1130
1147
  return LogLevelLabel2.DEBUG;
1131
1148
  }
1149
+ if (logLevel >= LogLevel2.PERFORMANCE) {
1150
+ return LogLevelLabel2.PERFORMANCE;
1151
+ }
1132
1152
  if (logLevel >= LogLevel2.INFO) {
1133
1153
  return LogLevelLabel2.INFO;
1134
1154
  }
@@ -1147,7 +1167,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
1147
1167
  return LogLevelLabel2.INFO;
1148
1168
  };
1149
1169
 
1150
- // ../config-tools/dist/chunk-SPHE3YEH.js
1170
+ // ../config-tools/dist/chunk-V5S4LLZX.js
1151
1171
  var daysInYear = 365.2425;
1152
1172
  var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
1153
1173
  var minTime = -maxTime;
@@ -1900,6 +1920,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1900
1920
  )(
1901
1921
  `[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
1902
1922
  )}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1923
+ `
1924
+ );
1925
+ };
1926
+ }
1927
+ if (typeof logLevel === "number" && LogLevel2.PERFORMANCE >= logLevel) {
1928
+ return (message) => {
1929
+ console.debug(
1930
+ `
1931
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1932
+ colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
1933
+ )(
1934
+ `[${CONSOLE_ICONS2[LogLevelLabel2.PERFORMANCE]} Performance] `
1935
+ )}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1903
1936
  `
1904
1937
  );
1905
1938
  };
@@ -1941,18 +1974,16 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1941
1974
  };
1942
1975
  };
1943
1976
  var writeWarning2 = (message, config) => getLogFn(LogLevel2.WARN, config)(message);
1977
+ var writePerformance = (message, config) => getLogFn(LogLevel2.PERFORMANCE, config)(message);
1944
1978
  var writeDebug2 = (message, config) => getLogFn(LogLevel2.DEBUG, config)(message);
1945
1979
  var writeTrace2 = (message, config) => getLogFn(LogLevel2.TRACE, config)(message);
1946
1980
  var getStopwatch = (name) => {
1947
1981
  const start = /* @__PURE__ */ new Date();
1948
1982
  return () => {
1949
- console.info(
1950
- `> \u23F1 The${name ? ` ${name}` : ""} process took ${formatDistanceToNow2(
1951
- start,
1952
- {
1953
- includeSeconds: true
1954
- }
1955
- )} to complete`
1983
+ writePerformance(
1984
+ `The${name ? ` ${name}` : ""} process took ${formatDistanceToNow2(start, {
1985
+ includeSeconds: true
1986
+ })} to complete`
1956
1987
  );
1957
1988
  };
1958
1989
  };
@@ -1981,7 +2012,7 @@ var _isFunction = (value) => {
1981
2012
  }
1982
2013
  };
1983
2014
 
1984
- // ../config-tools/dist/chunk-ZFTN72CN.js
2015
+ // ../config-tools/dist/chunk-HVUY6B36.js
1985
2016
  import { loadConfig as loadConfig2 } from "c12";
1986
2017
  import defu3 from "defu";
1987
2018
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
@@ -2068,7 +2099,7 @@ init_esm_shims();
2068
2099
  // ../config/dist/chunk-5QIMO5EY.js
2069
2100
  init_esm_shims();
2070
2101
 
2071
- // ../config/dist/chunk-OIOMONUX.js
2102
+ // ../config/dist/chunk-WOVNFELF.js
2072
2103
  init_esm_shims();
2073
2104
 
2074
2105
  // ../config/dist/chunk-TYDRIJER.js
@@ -2090,17 +2121,17 @@ If this sounds interesting, and you would like to help us in creating the next g
2090
2121
  var S = "tools/errors/codes.json";
2091
2122
  var A = "The workspace's banner image";
2092
2123
 
2093
- // ../config/dist/chunk-OIOMONUX.js
2124
+ // ../config/dist/chunk-WOVNFELF.js
2094
2125
  import * as e2 from "zod/mini";
2095
2126
  var o2 = e2.registry();
2096
2127
  var t2 = e2.string().check(e2.length(7), e2.toLowerCase(), e2.regex(/^#([0-9a-f]{3}){1,2}$/i), e2.trim());
2097
2128
  o2.add(t2, { description: "A base schema for describing the format of colors" });
2098
2129
  var a2 = e2._default(t2, "#151718");
2099
2130
  o2.add(a2, { description: "The dark background color of the workspace" });
2100
- var i2 = e2._default(t2, "#cbd5e1");
2101
- o2.add(i2, { description: "The light background color of the workspace" });
2102
- var c = e2._default(t2, "#1fb2a6");
2103
- o2.add(c, { description: "The primary brand specific color of the workspace" });
2131
+ var c = e2._default(t2, "#cbd5e1");
2132
+ o2.add(c, { description: "The light background color of the workspace" });
2133
+ var i2 = e2._default(t2, "#1fb2a6");
2134
+ o2.add(i2, { description: "The primary brand specific color of the workspace" });
2104
2135
  var s2 = e2.optional(t2);
2105
2136
  o2.add(s2, { description: "The alternate brand specific color of the workspace" });
2106
2137
  var n = e2.optional(t2);
@@ -2119,150 +2150,152 @@ var z2 = e2._default(t2, "#f3d371");
2119
2150
  o2.add(z2, { description: "The warning color of the workspace" });
2120
2151
  var g = e2._default(t2, "#d8314a");
2121
2152
  o2.add(g, { description: "The danger color of the workspace" });
2122
- var u = e2.optional(t2);
2123
- o2.add(u, { description: "The fatal color of the workspace" });
2124
- var f = e2._default(t2, "#4ade80");
2125
- o2.add(f, { description: "The positive number color of the workspace" });
2126
- var k = e2._default(t2, "#ef4444");
2127
- o2.add(k, { description: "The negative number color of the workspace" });
2128
- var w = e2.optional(e2.array(t2));
2129
- o2.add(w, { description: "The color stops for the base gradient color pattern used in the workspace" });
2130
- var Ae = e2.object({ foreground: i2, background: a2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: u, positive: f, negative: k, gradient: w });
2131
- var Re = e2.object({ foreground: a2, background: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: u, positive: f, negative: k, gradient: w });
2132
- var Ue = e2.object({ dark: Ae, light: Re });
2133
- var De = e2.object({ dark: a2, light: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: u, positive: f, negative: k, gradient: w });
2153
+ var f = e2.optional(t2);
2154
+ o2.add(f, { description: "The fatal color of the workspace" });
2155
+ var u = e2._default(t2, "#00ff00");
2156
+ o2.add(u, { description: "The performance color of the workspace" });
2157
+ var k = e2._default(t2, "#4ade80");
2158
+ o2.add(k, { description: "The positive number color of the workspace" });
2159
+ var w = e2._default(t2, "#ef4444");
2160
+ o2.add(w, { description: "The negative number color of the workspace" });
2161
+ var S2 = e2.optional(e2.array(t2));
2162
+ o2.add(S2, { description: "The color stops for the base gradient color pattern used in the workspace" });
2163
+ var Re = e2.object({ foreground: c, background: a2, brand: i2, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: f, performance: u, positive: k, negative: w, gradient: S2 });
2164
+ var Ue = e2.object({ foreground: a2, background: c, brand: i2, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: f, performance: u, positive: k, negative: w, gradient: S2 });
2165
+ var De = e2.object({ dark: Re, light: Ue });
2166
+ var Be = e2.object({ dark: a2, light: c, brand: i2, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z2, danger: g, fatal: f, performance: u, positive: k, negative: w, gradient: S2 });
2134
2167
  var r2 = e2.optional(e2.url());
2135
2168
  o2.add(r2, { description: "A remote registry URL used to publish distributable packages" });
2136
- var v = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
2137
- o2.add(v, { description: "A list of remote registry URLs used by Storm Software" });
2138
- var S2 = e2.union([De, Ue]);
2139
- o2.add(S2, { description: "Colors used for various workspace elements" });
2140
- var y = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), S2);
2141
- o2.add(y, { description: "Storm theme config values used for styling various package elements" });
2142
- var C = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
2143
- o2.add(C, { 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." });
2144
- var _ = e2.string().check(e2.trim());
2145
- o2.add(_, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
2169
+ var y = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
2170
+ o2.add(y, { description: "A list of remote registry URLs used by Storm Software" });
2171
+ var b = e2.union([Be, De]);
2172
+ o2.add(b, { description: "Colors used for various workspace elements" });
2173
+ var C = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), b);
2174
+ o2.add(C, { description: "Storm theme config values used for styling various package elements" });
2175
+ var _ = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
2176
+ o2.add(_, { 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." });
2146
2177
  var L = e2.string().check(e2.trim());
2147
- o2.add(L, { description: "The email of the workspace bot" });
2148
- var j = e2.object({ name: _, email: L });
2149
- o2.add(j, { description: "The workspace's bot user's config used to automated various operations tasks" });
2150
- var A2 = e2.optional(e2.string().check(e2.trim(), e2.url()));
2151
- o2.add(A2, { description: "A URL to a banner image used to display the workspace's release" });
2152
- var R = e2._default(e2.string().check(e2.trim()), A);
2153
- o2.add(R, { description: "The alt text for the workspace's release banner image" });
2154
- var U = e2.object({ url: A2, alt: R });
2155
- o2.add(U, { description: "The workspace's banner image used during the release process" });
2156
- var D = e2.optional(e2.string().check(e2.trim()));
2157
- o2.add(D, { description: "A header message appended to the start of the workspace's release notes" });
2178
+ o2.add(L, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
2179
+ var j = e2.string().check(e2.trim());
2180
+ o2.add(j, { description: "The email of the workspace bot" });
2181
+ var A2 = e2.object({ name: L, email: j });
2182
+ o2.add(A2, { description: "The workspace's bot user's config used to automated various operations tasks" });
2183
+ var R = e2.optional(e2.string().check(e2.trim(), e2.url()));
2184
+ o2.add(R, { description: "A URL to a banner image used to display the workspace's release" });
2185
+ var U = e2._default(e2.string().check(e2.trim()), A);
2186
+ o2.add(U, { description: "The alt text for the workspace's release banner image" });
2187
+ var D = e2.object({ url: R, alt: U });
2188
+ o2.add(D, { description: "The workspace's banner image used during the release process" });
2158
2189
  var B = e2.optional(e2.string().check(e2.trim()));
2159
- o2.add(B, { description: "A footer message appended to the end of the workspace's release notes" });
2160
- var F = e2.object({ banner: e2.union([U, e2.string().check(e2.trim(), e2.url())]), header: D, footer: B });
2161
- o2.add(F, { description: "The workspace's release config used during the release process" });
2162
- var N = e2.optional(e2.string().check(e2.trim()));
2163
- o2.add(N, { description: "A Twitter/X account associated with the organization/project" });
2190
+ o2.add(B, { description: "A header message appended to the start of the workspace's release notes" });
2191
+ var F = e2.optional(e2.string().check(e2.trim()));
2192
+ o2.add(F, { description: "A footer message appended to the end of the workspace's release notes" });
2193
+ var N = e2.object({ banner: e2.union([D, e2.string().check(e2.trim(), e2.url())]), header: B, footer: F });
2194
+ o2.add(N, { description: "The workspace's release config used during the release process" });
2164
2195
  var E2 = e2.optional(e2.string().check(e2.trim()));
2165
- o2.add(E2, { description: "A Discord account associated with the organization/project" });
2196
+ o2.add(E2, { description: "A Twitter/X account associated with the organization/project" });
2166
2197
  var M = e2.optional(e2.string().check(e2.trim()));
2167
- o2.add(M, { description: "A Telegram account associated with the organization/project" });
2198
+ o2.add(M, { description: "A Discord account associated with the organization/project" });
2168
2199
  var O = e2.optional(e2.string().check(e2.trim()));
2169
- o2.add(O, { description: "A Slack account associated with the organization/project" });
2200
+ o2.add(O, { description: "A Telegram account associated with the organization/project" });
2170
2201
  var I = e2.optional(e2.string().check(e2.trim()));
2171
- o2.add(I, { description: "A Medium account associated with the organization/project" });
2202
+ o2.add(I, { description: "A Slack account associated with the organization/project" });
2172
2203
  var G = e2.optional(e2.string().check(e2.trim()));
2173
- o2.add(G, { description: "A GitHub account associated with the organization/project" });
2174
- var H = e2.object({ twitter: N, discord: E2, telegram: M, slack: O, medium: I, github: G });
2175
- o2.add(H, { description: "The workspace's account config used to store various social media links" });
2176
- var J = e2.optional(e2.string().check(e2.trim()));
2177
- o2.add(J, { description: "The directory used to store the environment's cached file data" });
2204
+ o2.add(G, { description: "A Medium account associated with the organization/project" });
2205
+ var H = e2.optional(e2.string().check(e2.trim()));
2206
+ o2.add(H, { description: "A GitHub account associated with the organization/project" });
2207
+ var J = e2.object({ twitter: E2, discord: M, telegram: O, slack: I, medium: G, github: H });
2208
+ o2.add(J, { description: "The workspace's account config used to store various social media links" });
2178
2209
  var W = e2.optional(e2.string().check(e2.trim()));
2179
- o2.add(W, { description: "The directory used to store the environment's data files" });
2210
+ o2.add(W, { description: "The directory used to store the environment's cached file data" });
2180
2211
  var P = e2.optional(e2.string().check(e2.trim()));
2181
- o2.add(P, { description: "The directory used to store the environment's configuration files" });
2212
+ o2.add(P, { description: "The directory used to store the environment's data files" });
2182
2213
  var $ = e2.optional(e2.string().check(e2.trim()));
2183
- o2.add($, { description: "The directory used to store the environment's temp files" });
2214
+ o2.add($, { description: "The directory used to store the environment's configuration files" });
2184
2215
  var V = e2.optional(e2.string().check(e2.trim()));
2185
- o2.add(V, { description: "The directory used to store the environment's log files" });
2186
- var X = e2._default(e2.string().check(e2.trim()), "dist");
2187
- o2.add(X, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
2188
- var Y = e2.object({ cache: J, data: W, config: P, temp: $, log: V, build: X });
2189
- o2.add(Y, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
2190
- var q = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
2191
- o2.add(q, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
2192
- var K = e2._default(e2.string().check(e2.trim()), S);
2193
- o2.add(K, { description: "The path to the workspace's error codes JSON file" });
2194
- var Q = e2.optional(e2.url());
2195
- o2.add(Q, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
2196
- var Z = e2.object({ codesFile: K, url: Q });
2197
- o2.add(Z, { description: "The workspace's error config used when creating error details during a system error" });
2198
- var ee = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2199
- o2.add(ee, { description: "The name of the organization" });
2200
- var oe = e2.optional(e2.string().check(e2.trim()));
2201
- o2.add(oe, { description: "A description of the organization" });
2202
- var te = e2.optional(e2.url());
2203
- o2.add(te, { description: "A URL to the organization's logo image" });
2216
+ o2.add(V, { description: "The directory used to store the environment's temp files" });
2217
+ var X = e2.optional(e2.string().check(e2.trim()));
2218
+ o2.add(X, { description: "The directory used to store the environment's log files" });
2219
+ var Y = e2._default(e2.string().check(e2.trim()), "dist");
2220
+ o2.add(Y, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
2221
+ var q = e2.object({ cache: W, data: P, config: $, temp: V, log: X, build: Y });
2222
+ o2.add(q, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
2223
+ var K = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
2224
+ o2.add(K, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
2225
+ var Q = e2._default(e2.string().check(e2.trim()), S);
2226
+ o2.add(Q, { description: "The path to the workspace's error codes JSON file" });
2227
+ var Z = e2.optional(e2.url());
2228
+ o2.add(Z, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
2229
+ var ee = e2.object({ codesFile: Q, url: Z });
2230
+ o2.add(ee, { description: "The workspace's error config used when creating error details during a system error" });
2231
+ var oe = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2232
+ o2.add(oe, { description: "The name of the organization" });
2233
+ var te = e2.optional(e2.string().check(e2.trim()));
2234
+ o2.add(te, { description: "A description of the organization" });
2204
2235
  var re = e2.optional(e2.url());
2205
- o2.add(re, { description: "A URL to the organization's icon image" });
2236
+ o2.add(re, { description: "A URL to the organization's logo image" });
2206
2237
  var ae = e2.optional(e2.url());
2207
- o2.add(ae, { description: "A URL to a page that provides more information about the organization" });
2208
- var ie = e2.object({ name: ee, description: oe, logo: te, icon: re, url: ae });
2238
+ o2.add(ae, { description: "A URL to the organization's icon image" });
2239
+ var ce = e2.optional(e2.url());
2240
+ o2.add(ce, { description: "A URL to a page that provides more information about the organization" });
2241
+ var ie = e2.object({ name: oe, description: te, logo: re, icon: ae, url: ce });
2209
2242
  o2.add(ie, { description: "The workspace's organization details" });
2210
- var ce = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
2211
- o2.add(ce, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
2212
- var se = e2.string().check(e2.trim(), e2.toLowerCase());
2213
- o2.add(se, { description: "The name of the workspace/project/service/package/scope using this configuration" });
2243
+ var se = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
2244
+ o2.add(se, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
2214
2245
  var ne = e2.string().check(e2.trim(), e2.toLowerCase());
2215
- o2.add(ne, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
2216
- var de = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
2217
- o2.add(de, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
2218
- var pe = e2.string().check(e2.trim(), e2.toLowerCase());
2219
- o2.add(pe, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
2220
- var he = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
2221
- o2.add(he, { description: "The license type of the package" });
2222
- var le = e2.optional(e2.url());
2223
- o2.add(le, { description: "The homepage of the workspace" });
2246
+ o2.add(ne, { description: "The name of the workspace/project/service/package/scope using this configuration" });
2247
+ var de = e2.string().check(e2.trim(), e2.toLowerCase());
2248
+ o2.add(de, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
2249
+ var pe = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
2250
+ o2.add(pe, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
2251
+ var he = e2.string().check(e2.trim(), e2.toLowerCase());
2252
+ o2.add(he, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
2253
+ var le = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
2254
+ o2.add(le, { description: "The license type of the package" });
2224
2255
  var me = e2.optional(e2.url());
2225
- o2.add(me, { description: "The documentation site for the workspace" });
2256
+ o2.add(me, { description: "The homepage of the workspace" });
2226
2257
  var ze = e2.optional(e2.url());
2227
- o2.add(ze, { description: "The development portal site for the workspace" });
2258
+ o2.add(ze, { description: "The documentation site for the workspace" });
2228
2259
  var ge = e2.optional(e2.url());
2229
- o2.add(ge, { description: "The licensing site for the workspace" });
2260
+ o2.add(ge, { description: "The development portal site for the workspace" });
2261
+ var fe = e2.optional(e2.url());
2262
+ o2.add(fe, { description: "The licensing site for the workspace" });
2230
2263
  var ue = e2.optional(e2.url());
2231
2264
  o2.add(ue, { description: "The contact site for the workspace" });
2232
- var fe = e2.optional(e2.url());
2233
- o2.add(fe, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
2234
- var ke = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
2235
- o2.add(ke, { description: "The branch of the workspace" });
2236
- var we = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2237
- o2.add(we, { description: "A tag specifying the version pre-release identifier" });
2265
+ var ke = e2.optional(e2.url());
2266
+ o2.add(ke, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
2267
+ var we = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
2268
+ o2.add(we, { description: "The branch of the workspace" });
2238
2269
  var Se = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2239
- o2.add(Se, { description: "The owner of the package" });
2240
- var be = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
2241
- o2.add(be, { description: "The current runtime environment mode for the package" });
2242
- var xe = e2.string().check(e2.trim(), e2.toLowerCase());
2243
- o2.add(xe, { description: "The root directory of the workspace" });
2244
- var Te = e2._default(e2.boolean(), false);
2245
- o2.add(Te, { description: "Should all known types of workspace caching be skipped?" });
2246
- var ve = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
2247
- o2.add(ve, { description: "The JavaScript/TypeScript package manager used by the repository" });
2248
- var ye = e2._default(e2.string().check(e2.trim()), "America/New_York");
2249
- o2.add(ye, { description: "The default timezone of the workspace" });
2250
- var Ce = e2._default(e2.string().check(e2.trim()), "en-US");
2251
- o2.add(Ce, { description: "The default locale of the workspace" });
2252
- var _e = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
2253
- o2.add(_e, { 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`)." });
2254
- var Le = e2._default(e2.boolean(), true);
2255
- o2.add(Le, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
2256
- var je = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
2257
- o2.add(je, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
2258
- var b = e2._default(e2.record(e2.string(), e2.any()), {});
2259
- o2.add(b, { description: "Configuration of each used extension" });
2260
- var Fe = e2.object({ $schema: ce, extends: C, name: se, variant: q, namespace: ne, organization: de, repository: pe, license: he, homepage: le, docs: me, portal: ze, licensing: ge, contact: ue, support: fe, branch: ke, preid: we, owner: Se, bot: j, release: F, socials: H, error: Z, mode: be, workspaceRoot: xe, skipCache: Te, directories: Y, packageManager: ve, timezone: ye, locale: Ce, logLevel: _e, skipConfigLogging: Le, registry: v, configFile: je, colors: e2.union([S2, y]), extensions: b });
2261
- o2.add(b, { 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." });
2262
-
2263
- // ../config/dist/chunk-WIOU3CJS.js
2270
+ o2.add(Se, { description: "A tag specifying the version pre-release identifier" });
2271
+ var be = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2272
+ o2.add(be, { description: "The owner of the package" });
2273
+ var xe = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
2274
+ o2.add(xe, { description: "The current runtime environment mode for the package" });
2275
+ var Te = e2.string().check(e2.trim(), e2.toLowerCase());
2276
+ o2.add(Te, { description: "The root directory of the workspace" });
2277
+ var ve = e2._default(e2.boolean(), false);
2278
+ o2.add(ve, { description: "Should all known types of workspace caching be skipped?" });
2279
+ var ye = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
2280
+ o2.add(ye, { description: "The JavaScript/TypeScript package manager used by the repository" });
2281
+ var Ce = e2._default(e2.string().check(e2.trim()), "America/New_York");
2282
+ o2.add(Ce, { description: "The default timezone of the workspace" });
2283
+ var _e = e2._default(e2.string().check(e2.trim()), "en-US");
2284
+ o2.add(_e, { description: "The default locale of the workspace" });
2285
+ var Le = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "performance", "debug", "trace", "all"]), "info");
2286
+ o2.add(Le, { 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`)." });
2287
+ var je = e2._default(e2.boolean(), true);
2288
+ o2.add(je, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
2289
+ var Ae = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
2290
+ o2.add(Ae, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
2291
+ var x = e2._default(e2.record(e2.string(), e2.any()), {});
2292
+ o2.add(x, { description: "Configuration of each used extension" });
2293
+ var Ne = e2.object({ $schema: se, extends: _, name: ne, variant: K, namespace: de, organization: pe, repository: he, license: le, homepage: me, docs: ze, portal: ge, licensing: fe, contact: ue, support: ke, branch: we, preid: Se, owner: be, bot: A2, release: N, socials: J, error: ee, mode: xe, workspaceRoot: Te, skipCache: ve, directories: q, packageManager: ye, timezone: Ce, locale: _e, logLevel: Le, skipConfigLogging: je, registry: y, configFile: Ae, colors: e2.union([b, C]), extensions: x });
2294
+ o2.add(x, { 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." });
2295
+
2296
+ // ../config/dist/chunk-YKRE3MWC.js
2264
2297
  init_esm_shims();
2265
- var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "positive", "negative"];
2298
+ var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "performance", "positive", "negative"];
2266
2299
 
2267
2300
  // ../config-tools/dist/chunk-RGET2UQV.js
2268
2301
  import { existsSync as existsSync6 } from "node:fs";
@@ -2351,7 +2384,7 @@ function applyDefaultConfig(config) {
2351
2384
  return config;
2352
2385
  }
2353
2386
 
2354
- // ../config-tools/dist/chunk-4XFFB6C2.js
2387
+ // ../config-tools/dist/chunk-SDSQ2HHF.js
2355
2388
  init_esm_shims();
2356
2389
  var setExtensionEnv = (extensionName, extension) => {
2357
2390
  for (const key of Object.keys(extension ?? {})) {
@@ -2359,7 +2392,7 @@ var setExtensionEnv = (extensionName, extension) => {
2359
2392
  const result = key?.replace(
2360
2393
  /([A-Z])+/g,
2361
2394
  (input) => input ? input[0]?.toUpperCase() + input.slice(1) : ""
2362
- ).split(/(?=[A-Z])|[.\-\s_]/).map((x) => x.toLowerCase()) ?? [];
2395
+ ).split(/(?=[A-Z])|[.\-\s_]/).map((x2) => x2.toLowerCase()) ?? [];
2363
2396
  let extensionKey;
2364
2397
  if (result.length === 0) {
2365
2398
  return;
@@ -2656,6 +2689,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
2656
2689
  if (config.fatal) {
2657
2690
  process.env[`${prefix}FATAL`] = config.fatal;
2658
2691
  }
2692
+ if (config.performance) {
2693
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
2694
+ }
2659
2695
  if (config.positive) {
2660
2696
  process.env[`${prefix}POSITIVE`] = config.positive;
2661
2697
  }
@@ -2714,6 +2750,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
2714
2750
  if (config.fatal) {
2715
2751
  process.env[`${prefix}FATAL`] = config.fatal;
2716
2752
  }
2753
+ if (config.performance) {
2754
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
2755
+ }
2717
2756
  if (config.positive) {
2718
2757
  process.env[`${prefix}POSITIVE`] = config.positive;
2719
2758
  }
@@ -2727,7 +2766,7 @@ var setBaseThemeColorsEnv = (prefix, config) => {
2727
2766
  }
2728
2767
  };
2729
2768
 
2730
- // ../config-tools/dist/chunk-XT72Z7BW.js
2769
+ // ../config-tools/dist/chunk-A5JXMY6X.js
2731
2770
  init_esm_shims();
2732
2771
  var getExtensionEnv = (extensionName) => {
2733
2772
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
@@ -2897,6 +2936,7 @@ var getSingleThemeColorsEnv = (prefix) => {
2897
2936
  warning: process.env[`${prefix}WARNING`],
2898
2937
  danger: process.env[`${prefix}DANGER`],
2899
2938
  fatal: process.env[`${prefix}FATAL`],
2939
+ performance: process.env[`${prefix}PERFORMANCE`],
2900
2940
  positive: process.env[`${prefix}POSITIVE`],
2901
2941
  negative: process.env[`${prefix}NEGATIVE`],
2902
2942
  gradient
@@ -2936,6 +2976,7 @@ var getBaseThemeColorsEnv = (prefix) => {
2936
2976
  warning: process.env[`${prefix}WARNING`],
2937
2977
  danger: process.env[`${prefix}DANGER`],
2938
2978
  fatal: process.env[`${prefix}FATAL`],
2979
+ performance: process.env[`${prefix}PERFORMANCE`],
2939
2980
  positive: process.env[`${prefix}POSITIVE`],
2940
2981
  negative: process.env[`${prefix}NEGATIVE`],
2941
2982
  gradient
@@ -2945,7 +2986,7 @@ var getBaseThemeColorsEnv = (prefix) => {
2945
2986
  // ../config/dist/schema.js
2946
2987
  init_esm_shims();
2947
2988
 
2948
- // ../config-tools/dist/chunk-VOEYKXJ6.js
2989
+ // ../config-tools/dist/chunk-JIQOUQGG.js
2949
2990
  import defu4 from "defu";
2950
2991
  import { existsSync as existsSync7 } from "node:fs";
2951
2992
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -2981,7 +3022,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2981
3022
  }
2982
3023
  try {
2983
3024
  result = applyDefaultConfig(
2984
- await Fe.parseAsync(configInput)
3025
+ await Ne.parseAsync(configInput)
2985
3026
  );
2986
3027
  result.workspaceRoot ??= _workspaceRoot;
2987
3028
  } catch (error) {
@@ -3042,7 +3083,7 @@ ${formatLogMessage2(config)}`,
3042
3083
  return config;
3043
3084
  };
3044
3085
 
3045
- // ../config-tools/dist/chunk-T32OBFSH.js
3086
+ // ../config-tools/dist/chunk-SKRN3T4M.js
3046
3087
  function getConfig(workspaceRoot, skipLogs = false) {
3047
3088
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
3048
3089
  }