@storm-software/tsup 0.2.119 → 0.2.121

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.
package/dist/options.cjs CHANGED
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(options_exports);
38
38
  var import_node_fs = require("fs");
39
39
  var import_node_path = require("path");
40
40
 
41
- // ../build-tools/dist/chunk-RBJMCJYF.mjs
41
+ // ../build-tools/dist/chunk-GIDQQPFS.mjs
42
42
  var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
43
43
  var import_chalk = __toESM(require("chalk"), 1);
44
44
  var LogLevelLabel = {
@@ -48,6 +48,7 @@ var LogLevelLabel = {
48
48
  WARN: "warn",
49
49
  SUCCESS: "success",
50
50
  INFO: "info",
51
+ PERFORMANCE: "performance",
51
52
  DEBUG: "debug",
52
53
  TRACE: "trace",
53
54
  ALL: "all"
@@ -67,13 +68,14 @@ var CONSOLE_ICONS = {
67
68
  [LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
68
69
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
69
70
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
71
+ [LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
70
72
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
71
73
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
72
74
  [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
73
75
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
74
76
  };
75
77
 
76
- // ../build-tools/dist/chunk-LHWWILNN.mjs
78
+ // ../build-tools/dist/chunk-P3RDPIXU.mjs
77
79
  var import_c12 = require("c12");
78
80
  var import_defu = __toESM(require("defu"), 1);
79
81
  var z = __toESM(require("zod/mini"), 1);
@@ -158,6 +160,10 @@ var fatalColorSchema = z.optional(colorSchema);
158
160
  schemaRegistry.add(fatalColorSchema, {
159
161
  description: "The fatal color of the workspace"
160
162
  });
163
+ var performanceColorSchema = z._default(colorSchema, "#00ff00");
164
+ schemaRegistry.add(performanceColorSchema, {
165
+ description: "The performance color of the workspace"
166
+ });
161
167
  var positiveColorSchema = z._default(colorSchema, "#4ade80");
162
168
  schemaRegistry.add(positiveColorSchema, {
163
169
  description: "The positive number color of the workspace"
@@ -184,6 +190,7 @@ var darkColorsSchema = z.object({
184
190
  warning: warningColorSchema,
185
191
  danger: dangerColorSchema,
186
192
  fatal: fatalColorSchema,
193
+ performance: performanceColorSchema,
187
194
  positive: positiveColorSchema,
188
195
  negative: negativeColorSchema,
189
196
  gradient: gradientStopsSchema
@@ -202,6 +209,7 @@ var lightColorsSchema = z.object({
202
209
  warning: warningColorSchema,
203
210
  danger: dangerColorSchema,
204
211
  fatal: fatalColorSchema,
212
+ performance: performanceColorSchema,
205
213
  positive: positiveColorSchema,
206
214
  negative: negativeColorSchema,
207
215
  gradient: gradientStopsSchema
@@ -224,6 +232,7 @@ var singleColorsSchema = z.object({
224
232
  warning: warningColorSchema,
225
233
  danger: dangerColorSchema,
226
234
  fatal: fatalColorSchema,
235
+ performance: performanceColorSchema,
227
236
  positive: positiveColorSchema,
228
237
  negative: negativeColorSchema,
229
238
  gradient: gradientStopsSchema
@@ -591,6 +600,7 @@ var logLevelSchema = z._default(
591
600
  "warn",
592
601
  "success",
593
602
  "info",
603
+ "performance",
594
604
  "debug",
595
605
  "trace",
596
606
  "all"
@@ -658,19 +668,19 @@ schemaRegistry.add(extensionsSchema, {
658
668
  // ../build-tools/dist/chunk-JCFRYUYP.mjs
659
669
  var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
660
670
 
661
- // ../build-tools/dist/chunk-Y5BAO2UH.mjs
671
+ // ../build-tools/dist/chunk-337LPH6T.mjs
662
672
  var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
663
673
  var import_glob = require("glob");
664
674
  var import_promises3 = require("fs/promises");
665
675
 
666
- // ../build-tools/dist/chunk-CFPR4SJM.mjs
676
+ // ../build-tools/dist/chunk-EXQPJWWX.mjs
667
677
  var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
668
678
  var import_glob2 = require("glob");
669
679
  var import_node_fs5 = require("fs");
670
680
  var import_promises4 = require("fs/promises");
671
681
  var import_project_graph = require("nx/src/project-graph/project-graph");
672
682
 
673
- // ../build-tools/dist/chunk-3DLJAR7G.mjs
683
+ // ../build-tools/dist/chunk-Z4D4DE4H.mjs
674
684
  var import_glob3 = require("glob");
675
685
 
676
686
  // ../build-tools/dist/chunk-TJ6NHBO5.mjs
@@ -704,7 +714,7 @@ var getEnv = (builder, options) => {
704
714
  // ../build-tools/dist/chunk-7YKXR5JJ.mjs
705
715
  var import_core = require("@swc/core");
706
716
 
707
- // ../build-tools/dist/chunk-4K7KJ6JA.mjs
717
+ // ../build-tools/dist/chunk-77OPD7VA.mjs
708
718
  var import_node_fs6 = __toESM(require("fs"), 1);
709
719
  var import_node_module = require("module");
710
720
  var import_node_path3 = __toESM(require("path"), 1);
@@ -932,7 +942,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
932
942
  return result;
933
943
  }
934
944
 
935
- // ../config-tools/dist/chunk-DJB7XLHA.js
945
+ // ../config-tools/dist/chunk-TEXP3QH5.js
936
946
  var DEFAULT_COLOR_CONFIG = {
937
947
  light: {
938
948
  background: "#fafafa",
@@ -946,6 +956,7 @@ var DEFAULT_COLOR_CONFIG = {
946
956
  warning: "#e3b341",
947
957
  danger: "#D8314A",
948
958
  fatal: "#51070f",
959
+ performance: "#83ff83",
949
960
  link: "#3fa6ff",
950
961
  positive: "#22c55e",
951
962
  negative: "#dc2626",
@@ -963,6 +974,7 @@ var DEFAULT_COLOR_CONFIG = {
963
974
  warning: "#f3d371",
964
975
  danger: "#D8314A",
965
976
  fatal: "#a40e26",
977
+ performance: "#00ff00",
966
978
  link: "#3fa6ff",
967
979
  positive: "#22c55e",
968
980
  negative: "#dc2626",
@@ -1014,7 +1026,7 @@ function isUnicodeSupported2() {
1014
1026
  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";
1015
1027
  }
1016
1028
 
1017
- // ../config-tools/dist/chunk-POXTJ6GF.js
1029
+ // ../config-tools/dist/chunk-RALMUN5C.js
1018
1030
  var LogLevel2 = {
1019
1031
  SILENT: 0,
1020
1032
  FATAL: 10,
@@ -1022,6 +1034,7 @@ var LogLevel2 = {
1022
1034
  WARN: 30,
1023
1035
  SUCCESS: 35,
1024
1036
  INFO: 40,
1037
+ PERFORMANCE: 50,
1025
1038
  DEBUG: 60,
1026
1039
  TRACE: 70,
1027
1040
  ALL: 100
@@ -1033,18 +1046,20 @@ var LogLevelLabel2 = {
1033
1046
  WARN: "warn",
1034
1047
  SUCCESS: "success",
1035
1048
  INFO: "info",
1049
+ PERFORMANCE: "performance",
1036
1050
  DEBUG: "debug",
1037
1051
  TRACE: "trace",
1038
1052
  ALL: "all"
1039
1053
  };
1040
1054
 
1041
- // ../config-tools/dist/chunk-AITAR5W5.js
1055
+ // ../config-tools/dist/chunk-ZFNAUMQS.js
1042
1056
  var useIcon2 = (c3, fallback) => isUnicodeSupported2() ? c3 : fallback;
1043
1057
  var CONSOLE_ICONS2 = {
1044
1058
  [LogLevelLabel2.ERROR]: useIcon2("\u2718", "\xD7"),
1045
1059
  [LogLevelLabel2.FATAL]: useIcon2("\u{1F571}", "\xD7"),
1046
1060
  [LogLevelLabel2.WARN]: useIcon2("\u26A0", "\u203C"),
1047
1061
  [LogLevelLabel2.INFO]: useIcon2("\u2139", "i"),
1062
+ [LogLevelLabel2.PERFORMANCE]: useIcon2("\u23F1", "\u23F1"),
1048
1063
  [LogLevelLabel2.SUCCESS]: useIcon2("\u2714", "\u221A"),
1049
1064
  [LogLevelLabel2.DEBUG]: useIcon2("\u{1F6E0}", "D"),
1050
1065
  [LogLevelLabel2.TRACE]: useIcon2("\u2699", "T"),
@@ -1056,7 +1071,7 @@ var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
1056
1071
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
1057
1072
  };
1058
1073
 
1059
- // ../config-tools/dist/chunk-K4CDYUQR.js
1074
+ // ../config-tools/dist/chunk-SXPH7ILL.js
1060
1075
  var getLogLevel2 = (label) => {
1061
1076
  switch (label) {
1062
1077
  case "all":
@@ -1065,6 +1080,8 @@ var getLogLevel2 = (label) => {
1065
1080
  return LogLevel2.TRACE;
1066
1081
  case "debug":
1067
1082
  return LogLevel2.DEBUG;
1083
+ case "performance":
1084
+ return LogLevel2.PERFORMANCE;
1068
1085
  case "info":
1069
1086
  return LogLevel2.INFO;
1070
1087
  case "warn":
@@ -1089,6 +1106,9 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
1089
1106
  if (logLevel >= LogLevel2.DEBUG) {
1090
1107
  return LogLevelLabel2.DEBUG;
1091
1108
  }
1109
+ if (logLevel >= LogLevel2.PERFORMANCE) {
1110
+ return LogLevelLabel2.PERFORMANCE;
1111
+ }
1092
1112
  if (logLevel >= LogLevel2.INFO) {
1093
1113
  return LogLevelLabel2.INFO;
1094
1114
  }
@@ -1107,7 +1127,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
1107
1127
  return LogLevelLabel2.INFO;
1108
1128
  };
1109
1129
 
1110
- // ../config-tools/dist/chunk-SPHE3YEH.js
1130
+ // ../config-tools/dist/chunk-V5S4LLZX.js
1111
1131
  var daysInYear = 365.2425;
1112
1132
  var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
1113
1133
  var minTime = -maxTime;
@@ -1860,6 +1880,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1860
1880
  )(
1861
1881
  `[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
1862
1882
  )}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1883
+ `
1884
+ );
1885
+ };
1886
+ }
1887
+ if (typeof logLevel === "number" && LogLevel2.PERFORMANCE >= logLevel) {
1888
+ return (message) => {
1889
+ console.debug(
1890
+ `
1891
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1892
+ colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
1893
+ )(
1894
+ `[${CONSOLE_ICONS2[LogLevelLabel2.PERFORMANCE]} Performance] `
1895
+ )}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1863
1896
  `
1864
1897
  );
1865
1898
  };
@@ -1901,18 +1934,16 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
1901
1934
  };
1902
1935
  };
1903
1936
  var writeWarning2 = (message, config) => getLogFn(LogLevel2.WARN, config)(message);
1937
+ var writePerformance = (message, config) => getLogFn(LogLevel2.PERFORMANCE, config)(message);
1904
1938
  var writeDebug2 = (message, config) => getLogFn(LogLevel2.DEBUG, config)(message);
1905
1939
  var writeTrace2 = (message, config) => getLogFn(LogLevel2.TRACE, config)(message);
1906
1940
  var getStopwatch = (name) => {
1907
1941
  const start = /* @__PURE__ */ new Date();
1908
1942
  return () => {
1909
- console.info(
1910
- `> \u23F1 The${name ? ` ${name}` : ""} process took ${formatDistanceToNow2(
1911
- start,
1912
- {
1913
- includeSeconds: true
1914
- }
1915
- )} to complete`
1943
+ writePerformance(
1944
+ `The${name ? ` ${name}` : ""} process took ${formatDistanceToNow2(start, {
1945
+ includeSeconds: true
1946
+ })} to complete`
1916
1947
  );
1917
1948
  };
1918
1949
  };
@@ -1941,7 +1972,7 @@ var _isFunction = (value) => {
1941
1972
  }
1942
1973
  };
1943
1974
 
1944
- // ../config-tools/dist/chunk-ZFTN72CN.js
1975
+ // ../config-tools/dist/chunk-HVUY6B36.js
1945
1976
  var import_c122 = require("c12");
1946
1977
  var import_defu3 = __toESM(require("defu"), 1);
1947
1978
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
@@ -2037,17 +2068,17 @@ If this sounds interesting, and you would like to help us in creating the next g
2037
2068
  var S = "tools/errors/codes.json";
2038
2069
  var A = "The workspace's banner image";
2039
2070
 
2040
- // ../config/dist/chunk-OIOMONUX.js
2071
+ // ../config/dist/chunk-WOVNFELF.js
2041
2072
  var e2 = __toESM(require("zod/mini"), 1);
2042
2073
  var o2 = e2.registry();
2043
2074
  var t2 = e2.string().check(e2.length(7), e2.toLowerCase(), e2.regex(/^#([0-9a-f]{3}){1,2}$/i), e2.trim());
2044
2075
  o2.add(t2, { description: "A base schema for describing the format of colors" });
2045
2076
  var a2 = e2._default(t2, "#151718");
2046
2077
  o2.add(a2, { description: "The dark background color of the workspace" });
2047
- var i2 = e2._default(t2, "#cbd5e1");
2048
- o2.add(i2, { description: "The light background color of the workspace" });
2049
- var c = e2._default(t2, "#1fb2a6");
2050
- o2.add(c, { description: "The primary brand specific color of the workspace" });
2078
+ var c = e2._default(t2, "#cbd5e1");
2079
+ o2.add(c, { description: "The light background color of the workspace" });
2080
+ var i2 = e2._default(t2, "#1fb2a6");
2081
+ o2.add(i2, { description: "The primary brand specific color of the workspace" });
2051
2082
  var s2 = e2.optional(t2);
2052
2083
  o2.add(s2, { description: "The alternate brand specific color of the workspace" });
2053
2084
  var n = e2.optional(t2);
@@ -2066,149 +2097,151 @@ var z2 = e2._default(t2, "#f3d371");
2066
2097
  o2.add(z2, { description: "The warning color of the workspace" });
2067
2098
  var g = e2._default(t2, "#d8314a");
2068
2099
  o2.add(g, { description: "The danger color of the workspace" });
2069
- var u = e2.optional(t2);
2070
- o2.add(u, { description: "The fatal color of the workspace" });
2071
- var f = e2._default(t2, "#4ade80");
2072
- o2.add(f, { description: "The positive number color of the workspace" });
2073
- var k = e2._default(t2, "#ef4444");
2074
- o2.add(k, { description: "The negative number color of the workspace" });
2075
- var w = e2.optional(e2.array(t2));
2076
- o2.add(w, { description: "The color stops for the base gradient color pattern used in the workspace" });
2077
- 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 });
2078
- 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 });
2079
- var Ue = e2.object({ dark: Ae, light: Re });
2080
- 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 });
2100
+ var f = e2.optional(t2);
2101
+ o2.add(f, { description: "The fatal color of the workspace" });
2102
+ var u = e2._default(t2, "#00ff00");
2103
+ o2.add(u, { description: "The performance color of the workspace" });
2104
+ var k = e2._default(t2, "#4ade80");
2105
+ o2.add(k, { description: "The positive number color of the workspace" });
2106
+ var w = e2._default(t2, "#ef4444");
2107
+ o2.add(w, { description: "The negative number color of the workspace" });
2108
+ var S2 = e2.optional(e2.array(t2));
2109
+ o2.add(S2, { description: "The color stops for the base gradient color pattern used in the workspace" });
2110
+ 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 });
2111
+ 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 });
2112
+ var De = e2.object({ dark: Re, light: Ue });
2113
+ 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 });
2081
2114
  var r2 = e2.optional(e2.url());
2082
2115
  o2.add(r2, { description: "A remote registry URL used to publish distributable packages" });
2083
- var v = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
2084
- o2.add(v, { description: "A list of remote registry URLs used by Storm Software" });
2085
- var S2 = e2.union([De, Ue]);
2086
- o2.add(S2, { description: "Colors used for various workspace elements" });
2087
- var y = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), S2);
2088
- o2.add(y, { description: "Storm theme config values used for styling various package elements" });
2089
- var C = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
2090
- 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." });
2091
- var _ = e2.string().check(e2.trim());
2092
- o2.add(_, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
2116
+ var y = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
2117
+ o2.add(y, { description: "A list of remote registry URLs used by Storm Software" });
2118
+ var b = e2.union([Be, De]);
2119
+ o2.add(b, { description: "Colors used for various workspace elements" });
2120
+ var C = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), b);
2121
+ o2.add(C, { description: "Storm theme config values used for styling various package elements" });
2122
+ var _ = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
2123
+ 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." });
2093
2124
  var L = e2.string().check(e2.trim());
2094
- o2.add(L, { description: "The email of the workspace bot" });
2095
- var j = e2.object({ name: _, email: L });
2096
- o2.add(j, { description: "The workspace's bot user's config used to automated various operations tasks" });
2097
- var A2 = e2.optional(e2.string().check(e2.trim(), e2.url()));
2098
- o2.add(A2, { description: "A URL to a banner image used to display the workspace's release" });
2099
- var R = e2._default(e2.string().check(e2.trim()), A);
2100
- o2.add(R, { description: "The alt text for the workspace's release banner image" });
2101
- var U = e2.object({ url: A2, alt: R });
2102
- o2.add(U, { description: "The workspace's banner image used during the release process" });
2103
- var D = e2.optional(e2.string().check(e2.trim()));
2104
- o2.add(D, { description: "A header message appended to the start of the workspace's release notes" });
2125
+ o2.add(L, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
2126
+ var j = e2.string().check(e2.trim());
2127
+ o2.add(j, { description: "The email of the workspace bot" });
2128
+ var A2 = e2.object({ name: L, email: j });
2129
+ o2.add(A2, { description: "The workspace's bot user's config used to automated various operations tasks" });
2130
+ var R = e2.optional(e2.string().check(e2.trim(), e2.url()));
2131
+ o2.add(R, { description: "A URL to a banner image used to display the workspace's release" });
2132
+ var U = e2._default(e2.string().check(e2.trim()), A);
2133
+ o2.add(U, { description: "The alt text for the workspace's release banner image" });
2134
+ var D = e2.object({ url: R, alt: U });
2135
+ o2.add(D, { description: "The workspace's banner image used during the release process" });
2105
2136
  var B = e2.optional(e2.string().check(e2.trim()));
2106
- o2.add(B, { description: "A footer message appended to the end of the workspace's release notes" });
2107
- var F = e2.object({ banner: e2.union([U, e2.string().check(e2.trim(), e2.url())]), header: D, footer: B });
2108
- o2.add(F, { description: "The workspace's release config used during the release process" });
2109
- var N = e2.optional(e2.string().check(e2.trim()));
2110
- o2.add(N, { description: "A Twitter/X account associated with the organization/project" });
2137
+ o2.add(B, { description: "A header message appended to the start of the workspace's release notes" });
2138
+ var F = e2.optional(e2.string().check(e2.trim()));
2139
+ o2.add(F, { description: "A footer message appended to the end of the workspace's release notes" });
2140
+ var N = e2.object({ banner: e2.union([D, e2.string().check(e2.trim(), e2.url())]), header: B, footer: F });
2141
+ o2.add(N, { description: "The workspace's release config used during the release process" });
2111
2142
  var E2 = e2.optional(e2.string().check(e2.trim()));
2112
- o2.add(E2, { description: "A Discord account associated with the organization/project" });
2143
+ o2.add(E2, { description: "A Twitter/X account associated with the organization/project" });
2113
2144
  var M = e2.optional(e2.string().check(e2.trim()));
2114
- o2.add(M, { description: "A Telegram account associated with the organization/project" });
2145
+ o2.add(M, { description: "A Discord account associated with the organization/project" });
2115
2146
  var O = e2.optional(e2.string().check(e2.trim()));
2116
- o2.add(O, { description: "A Slack account associated with the organization/project" });
2147
+ o2.add(O, { description: "A Telegram account associated with the organization/project" });
2117
2148
  var I = e2.optional(e2.string().check(e2.trim()));
2118
- o2.add(I, { description: "A Medium account associated with the organization/project" });
2149
+ o2.add(I, { description: "A Slack account associated with the organization/project" });
2119
2150
  var G = e2.optional(e2.string().check(e2.trim()));
2120
- o2.add(G, { description: "A GitHub account associated with the organization/project" });
2121
- var H = e2.object({ twitter: N, discord: E2, telegram: M, slack: O, medium: I, github: G });
2122
- o2.add(H, { description: "The workspace's account config used to store various social media links" });
2123
- var J = e2.optional(e2.string().check(e2.trim()));
2124
- o2.add(J, { description: "The directory used to store the environment's cached file data" });
2151
+ o2.add(G, { description: "A Medium account associated with the organization/project" });
2152
+ var H = e2.optional(e2.string().check(e2.trim()));
2153
+ o2.add(H, { description: "A GitHub account associated with the organization/project" });
2154
+ var J = e2.object({ twitter: E2, discord: M, telegram: O, slack: I, medium: G, github: H });
2155
+ o2.add(J, { description: "The workspace's account config used to store various social media links" });
2125
2156
  var W = e2.optional(e2.string().check(e2.trim()));
2126
- o2.add(W, { description: "The directory used to store the environment's data files" });
2157
+ o2.add(W, { description: "The directory used to store the environment's cached file data" });
2127
2158
  var P = e2.optional(e2.string().check(e2.trim()));
2128
- o2.add(P, { description: "The directory used to store the environment's configuration files" });
2159
+ o2.add(P, { description: "The directory used to store the environment's data files" });
2129
2160
  var $ = e2.optional(e2.string().check(e2.trim()));
2130
- o2.add($, { description: "The directory used to store the environment's temp files" });
2161
+ o2.add($, { description: "The directory used to store the environment's configuration files" });
2131
2162
  var V = e2.optional(e2.string().check(e2.trim()));
2132
- o2.add(V, { description: "The directory used to store the environment's log files" });
2133
- var X = e2._default(e2.string().check(e2.trim()), "dist");
2134
- o2.add(X, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
2135
- var Y = e2.object({ cache: J, data: W, config: P, temp: $, log: V, build: X });
2136
- o2.add(Y, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
2137
- var q = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
2138
- o2.add(q, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
2139
- var K = e2._default(e2.string().check(e2.trim()), S);
2140
- o2.add(K, { description: "The path to the workspace's error codes JSON file" });
2141
- var Q = e2.optional(e2.url());
2142
- o2.add(Q, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
2143
- var Z = e2.object({ codesFile: K, url: Q });
2144
- o2.add(Z, { description: "The workspace's error config used when creating error details during a system error" });
2145
- var ee = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2146
- o2.add(ee, { description: "The name of the organization" });
2147
- var oe = e2.optional(e2.string().check(e2.trim()));
2148
- o2.add(oe, { description: "A description of the organization" });
2149
- var te = e2.optional(e2.url());
2150
- o2.add(te, { description: "A URL to the organization's logo image" });
2163
+ o2.add(V, { description: "The directory used to store the environment's temp files" });
2164
+ var X = e2.optional(e2.string().check(e2.trim()));
2165
+ o2.add(X, { description: "The directory used to store the environment's log files" });
2166
+ var Y = e2._default(e2.string().check(e2.trim()), "dist");
2167
+ o2.add(Y, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
2168
+ var q = e2.object({ cache: W, data: P, config: $, temp: V, log: X, build: Y });
2169
+ o2.add(q, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
2170
+ var K = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
2171
+ o2.add(K, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
2172
+ var Q = e2._default(e2.string().check(e2.trim()), S);
2173
+ o2.add(Q, { description: "The path to the workspace's error codes JSON file" });
2174
+ var Z = e2.optional(e2.url());
2175
+ o2.add(Z, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
2176
+ var ee = e2.object({ codesFile: Q, url: Z });
2177
+ o2.add(ee, { description: "The workspace's error config used when creating error details during a system error" });
2178
+ var oe = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2179
+ o2.add(oe, { description: "The name of the organization" });
2180
+ var te = e2.optional(e2.string().check(e2.trim()));
2181
+ o2.add(te, { description: "A description of the organization" });
2151
2182
  var re = e2.optional(e2.url());
2152
- o2.add(re, { description: "A URL to the organization's icon image" });
2183
+ o2.add(re, { description: "A URL to the organization's logo image" });
2153
2184
  var ae = e2.optional(e2.url());
2154
- o2.add(ae, { description: "A URL to a page that provides more information about the organization" });
2155
- var ie = e2.object({ name: ee, description: oe, logo: te, icon: re, url: ae });
2185
+ o2.add(ae, { description: "A URL to the organization's icon image" });
2186
+ var ce = e2.optional(e2.url());
2187
+ o2.add(ce, { description: "A URL to a page that provides more information about the organization" });
2188
+ var ie = e2.object({ name: oe, description: te, logo: re, icon: ae, url: ce });
2156
2189
  o2.add(ie, { description: "The workspace's organization details" });
2157
- var ce = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
2158
- o2.add(ce, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
2159
- var se = e2.string().check(e2.trim(), e2.toLowerCase());
2160
- o2.add(se, { description: "The name of the workspace/project/service/package/scope using this configuration" });
2190
+ var se = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
2191
+ o2.add(se, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
2161
2192
  var ne = e2.string().check(e2.trim(), e2.toLowerCase());
2162
- o2.add(ne, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
2163
- var de = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
2164
- o2.add(de, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
2165
- var pe = e2.string().check(e2.trim(), e2.toLowerCase());
2166
- o2.add(pe, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
2167
- var he = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
2168
- o2.add(he, { description: "The license type of the package" });
2169
- var le = e2.optional(e2.url());
2170
- o2.add(le, { description: "The homepage of the workspace" });
2193
+ o2.add(ne, { description: "The name of the workspace/project/service/package/scope using this configuration" });
2194
+ var de = e2.string().check(e2.trim(), e2.toLowerCase());
2195
+ o2.add(de, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
2196
+ var pe = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
2197
+ o2.add(pe, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
2198
+ var he = e2.string().check(e2.trim(), e2.toLowerCase());
2199
+ o2.add(he, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
2200
+ var le = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
2201
+ o2.add(le, { description: "The license type of the package" });
2171
2202
  var me = e2.optional(e2.url());
2172
- o2.add(me, { description: "The documentation site for the workspace" });
2203
+ o2.add(me, { description: "The homepage of the workspace" });
2173
2204
  var ze = e2.optional(e2.url());
2174
- o2.add(ze, { description: "The development portal site for the workspace" });
2205
+ o2.add(ze, { description: "The documentation site for the workspace" });
2175
2206
  var ge = e2.optional(e2.url());
2176
- o2.add(ge, { description: "The licensing site for the workspace" });
2207
+ o2.add(ge, { description: "The development portal site for the workspace" });
2208
+ var fe = e2.optional(e2.url());
2209
+ o2.add(fe, { description: "The licensing site for the workspace" });
2177
2210
  var ue = e2.optional(e2.url());
2178
2211
  o2.add(ue, { description: "The contact site for the workspace" });
2179
- var fe = e2.optional(e2.url());
2180
- o2.add(fe, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
2181
- var ke = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
2182
- o2.add(ke, { description: "The branch of the workspace" });
2183
- var we = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2184
- o2.add(we, { description: "A tag specifying the version pre-release identifier" });
2212
+ var ke = e2.optional(e2.url());
2213
+ o2.add(ke, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
2214
+ var we = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
2215
+ o2.add(we, { description: "The branch of the workspace" });
2185
2216
  var Se = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2186
- o2.add(Se, { description: "The owner of the package" });
2187
- var be = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
2188
- o2.add(be, { description: "The current runtime environment mode for the package" });
2189
- var xe = e2.string().check(e2.trim(), e2.toLowerCase());
2190
- o2.add(xe, { description: "The root directory of the workspace" });
2191
- var Te = e2._default(e2.boolean(), false);
2192
- o2.add(Te, { description: "Should all known types of workspace caching be skipped?" });
2193
- var ve = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
2194
- o2.add(ve, { description: "The JavaScript/TypeScript package manager used by the repository" });
2195
- var ye = e2._default(e2.string().check(e2.trim()), "America/New_York");
2196
- o2.add(ye, { description: "The default timezone of the workspace" });
2197
- var Ce = e2._default(e2.string().check(e2.trim()), "en-US");
2198
- o2.add(Ce, { description: "The default locale of the workspace" });
2199
- var _e = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
2200
- 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`)." });
2201
- var Le = e2._default(e2.boolean(), true);
2202
- o2.add(Le, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
2203
- var je = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
2204
- o2.add(je, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
2205
- var b = e2._default(e2.record(e2.string(), e2.any()), {});
2206
- o2.add(b, { description: "Configuration of each used extension" });
2207
- 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 });
2208
- 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." });
2217
+ o2.add(Se, { description: "A tag specifying the version pre-release identifier" });
2218
+ var be = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
2219
+ o2.add(be, { description: "The owner of the package" });
2220
+ var xe = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
2221
+ o2.add(xe, { description: "The current runtime environment mode for the package" });
2222
+ var Te = e2.string().check(e2.trim(), e2.toLowerCase());
2223
+ o2.add(Te, { description: "The root directory of the workspace" });
2224
+ var ve = e2._default(e2.boolean(), false);
2225
+ o2.add(ve, { description: "Should all known types of workspace caching be skipped?" });
2226
+ var ye = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
2227
+ o2.add(ye, { description: "The JavaScript/TypeScript package manager used by the repository" });
2228
+ var Ce = e2._default(e2.string().check(e2.trim()), "America/New_York");
2229
+ o2.add(Ce, { description: "The default timezone of the workspace" });
2230
+ var _e = e2._default(e2.string().check(e2.trim()), "en-US");
2231
+ o2.add(_e, { description: "The default locale of the workspace" });
2232
+ var Le = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "performance", "debug", "trace", "all"]), "info");
2233
+ 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`)." });
2234
+ var je = e2._default(e2.boolean(), true);
2235
+ o2.add(je, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
2236
+ var Ae = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
2237
+ o2.add(Ae, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
2238
+ var x = e2._default(e2.record(e2.string(), e2.any()), {});
2239
+ o2.add(x, { description: "Configuration of each used extension" });
2240
+ 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 });
2241
+ 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." });
2209
2242
 
2210
- // ../config/dist/chunk-WIOU3CJS.js
2211
- var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "positive", "negative"];
2243
+ // ../config/dist/chunk-YKRE3MWC.js
2244
+ var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "performance", "positive", "negative"];
2212
2245
 
2213
2246
  // ../config-tools/dist/chunk-RGET2UQV.js
2214
2247
  var import_node_fs8 = require("fs");
@@ -2297,14 +2330,14 @@ function applyDefaultConfig(config) {
2297
2330
  return config;
2298
2331
  }
2299
2332
 
2300
- // ../config-tools/dist/chunk-4XFFB6C2.js
2333
+ // ../config-tools/dist/chunk-SDSQ2HHF.js
2301
2334
  var setExtensionEnv = (extensionName, extension) => {
2302
2335
  for (const key of Object.keys(extension ?? {})) {
2303
2336
  if (extension[key]) {
2304
2337
  const result = key?.replace(
2305
2338
  /([A-Z])+/g,
2306
2339
  (input) => input ? input[0]?.toUpperCase() + input.slice(1) : ""
2307
- ).split(/(?=[A-Z])|[.\-\s_]/).map((x) => x.toLowerCase()) ?? [];
2340
+ ).split(/(?=[A-Z])|[.\-\s_]/).map((x2) => x2.toLowerCase()) ?? [];
2308
2341
  let extensionKey;
2309
2342
  if (result.length === 0) {
2310
2343
  return;
@@ -2601,6 +2634,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
2601
2634
  if (config.fatal) {
2602
2635
  process.env[`${prefix}FATAL`] = config.fatal;
2603
2636
  }
2637
+ if (config.performance) {
2638
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
2639
+ }
2604
2640
  if (config.positive) {
2605
2641
  process.env[`${prefix}POSITIVE`] = config.positive;
2606
2642
  }
@@ -2659,6 +2695,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
2659
2695
  if (config.fatal) {
2660
2696
  process.env[`${prefix}FATAL`] = config.fatal;
2661
2697
  }
2698
+ if (config.performance) {
2699
+ process.env[`${prefix}PERFORMANCE`] = config.performance;
2700
+ }
2662
2701
  if (config.positive) {
2663
2702
  process.env[`${prefix}POSITIVE`] = config.positive;
2664
2703
  }
@@ -2672,7 +2711,7 @@ var setBaseThemeColorsEnv = (prefix, config) => {
2672
2711
  }
2673
2712
  };
2674
2713
 
2675
- // ../config-tools/dist/chunk-XT72Z7BW.js
2714
+ // ../config-tools/dist/chunk-A5JXMY6X.js
2676
2715
  var getExtensionEnv = (extensionName) => {
2677
2716
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
2678
2717
  return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
@@ -2841,6 +2880,7 @@ var getSingleThemeColorsEnv = (prefix) => {
2841
2880
  warning: process.env[`${prefix}WARNING`],
2842
2881
  danger: process.env[`${prefix}DANGER`],
2843
2882
  fatal: process.env[`${prefix}FATAL`],
2883
+ performance: process.env[`${prefix}PERFORMANCE`],
2844
2884
  positive: process.env[`${prefix}POSITIVE`],
2845
2885
  negative: process.env[`${prefix}NEGATIVE`],
2846
2886
  gradient
@@ -2880,13 +2920,14 @@ var getBaseThemeColorsEnv = (prefix) => {
2880
2920
  warning: process.env[`${prefix}WARNING`],
2881
2921
  danger: process.env[`${prefix}DANGER`],
2882
2922
  fatal: process.env[`${prefix}FATAL`],
2923
+ performance: process.env[`${prefix}PERFORMANCE`],
2883
2924
  positive: process.env[`${prefix}POSITIVE`],
2884
2925
  negative: process.env[`${prefix}NEGATIVE`],
2885
2926
  gradient
2886
2927
  };
2887
2928
  };
2888
2929
 
2889
- // ../config-tools/dist/chunk-VOEYKXJ6.js
2930
+ // ../config-tools/dist/chunk-JIQOUQGG.js
2890
2931
  var import_defu4 = __toESM(require("defu"), 1);
2891
2932
  var import_node_fs9 = require("fs");
2892
2933
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -2922,7 +2963,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2922
2963
  }
2923
2964
  try {
2924
2965
  result = applyDefaultConfig(
2925
- await Fe.parseAsync(configInput)
2966
+ await Ne.parseAsync(configInput)
2926
2967
  );
2927
2968
  result.workspaceRoot ??= _workspaceRoot;
2928
2969
  } catch (error) {
@@ -2983,7 +3024,7 @@ ${formatLogMessage2(config)}`,
2983
3024
  return config;
2984
3025
  };
2985
3026
 
2986
- // ../config-tools/dist/chunk-T32OBFSH.js
3027
+ // ../config-tools/dist/chunk-SKRN3T4M.js
2987
3028
  function getConfig(workspaceRoot, skipLogs = false) {
2988
3029
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
2989
3030
  }