@storm-software/tsup 0.2.73 → 0.2.74

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-J5M6XHOM.mjs
41
+ // ../build-tools/dist/chunk-BD3X6ZP4.mjs
42
42
  var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
43
43
  var import_chalk = __toESM(require("chalk"), 1);
44
44
  var LogLevelLabel = {
@@ -73,7 +73,7 @@ var CONSOLE_ICONS = {
73
73
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
74
74
  };
75
75
 
76
- // ../build-tools/dist/chunk-RWH23ZV7.mjs
76
+ // ../build-tools/dist/chunk-SVTS324V.mjs
77
77
  var import_c12 = require("c12");
78
78
  var import_defu = __toESM(require("defu"), 1);
79
79
  var z = __toESM(require("zod/mini"), 1);
@@ -142,6 +142,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
142
142
  schemaRegistry.add(infoColorSchema, {
143
143
  description: "The informational color of the workspace"
144
144
  });
145
+ var debugColorSchema = z._default(colorSchema, "#8afafc");
146
+ schemaRegistry.add(debugColorSchema, {
147
+ description: "The debug color of the workspace"
148
+ });
145
149
  var warningColorSchema = z._default(colorSchema, "#f3d371");
146
150
  schemaRegistry.add(warningColorSchema, {
147
151
  description: "The warning color of the workspace"
@@ -176,6 +180,7 @@ var darkColorsSchema = z.object({
176
180
  help: helpColorSchema,
177
181
  success: successColorSchema,
178
182
  info: infoColorSchema,
183
+ debug: debugColorSchema,
179
184
  warning: warningColorSchema,
180
185
  danger: dangerColorSchema,
181
186
  fatal: fatalColorSchema,
@@ -193,6 +198,7 @@ var lightColorsSchema = z.object({
193
198
  help: helpColorSchema,
194
199
  success: successColorSchema,
195
200
  info: infoColorSchema,
201
+ debug: debugColorSchema,
196
202
  warning: warningColorSchema,
197
203
  danger: dangerColorSchema,
198
204
  fatal: fatalColorSchema,
@@ -214,6 +220,7 @@ var singleColorsSchema = z.object({
214
220
  help: helpColorSchema,
215
221
  success: successColorSchema,
216
222
  info: infoColorSchema,
223
+ debug: debugColorSchema,
217
224
  warning: warningColorSchema,
218
225
  danger: dangerColorSchema,
219
226
  fatal: fatalColorSchema,
@@ -651,19 +658,19 @@ schemaRegistry.add(extensionsSchema, {
651
658
  // ../build-tools/dist/chunk-JCFRYUYP.mjs
652
659
  var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
653
660
 
654
- // ../build-tools/dist/chunk-UCEEEQVX.mjs
661
+ // ../build-tools/dist/chunk-Y3DAJZ6N.mjs
655
662
  var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
656
663
  var import_glob = require("glob");
657
664
  var import_promises3 = require("fs/promises");
658
665
 
659
- // ../build-tools/dist/chunk-JB3U2RRA.mjs
666
+ // ../build-tools/dist/chunk-L5EJL7HC.mjs
660
667
  var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
661
668
  var import_glob2 = require("glob");
662
669
  var import_node_fs5 = require("fs");
663
670
  var import_promises4 = require("fs/promises");
664
671
  var import_project_graph = require("nx/src/project-graph/project-graph");
665
672
 
666
- // ../build-tools/dist/chunk-RNJI24P4.mjs
673
+ // ../build-tools/dist/chunk-N7BG4G3W.mjs
667
674
  var import_glob3 = require("glob");
668
675
 
669
676
  // ../build-tools/dist/chunk-5M6M27NH.mjs
@@ -697,7 +704,7 @@ var getEnv = (builder, options) => {
697
704
  // ../build-tools/dist/chunk-7YKXR5JJ.mjs
698
705
  var import_core = require("@swc/core");
699
706
 
700
- // ../build-tools/dist/chunk-JVUUAAFA.mjs
707
+ // ../build-tools/dist/chunk-QOAEUKRL.mjs
701
708
  var import_node_fs6 = __toESM(require("fs"), 1);
702
709
  var import_node_module = require("module");
703
710
  var import_node_path3 = __toESM(require("path"), 1);
@@ -925,7 +932,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
925
932
  return result;
926
933
  }
927
934
 
928
- // ../config-tools/dist/chunk-LA3S35UI.js
935
+ // ../config-tools/dist/chunk-DJB7XLHA.js
929
936
  var DEFAULT_COLOR_CONFIG = {
930
937
  light: {
931
938
  background: "#fafafa",
@@ -935,6 +942,7 @@ var DEFAULT_COLOR_CONFIG = {
935
942
  help: "#5C4EE5",
936
943
  success: "#087f5b",
937
944
  info: "#0550ae",
945
+ debug: "#8afafc",
938
946
  warning: "#e3b341",
939
947
  danger: "#D8314A",
940
948
  fatal: "#51070f",
@@ -951,6 +959,7 @@ var DEFAULT_COLOR_CONFIG = {
951
959
  help: "#818cf8",
952
960
  success: "#10b981",
953
961
  info: "#58a6ff",
962
+ debug: "#8afafc",
954
963
  warning: "#f3d371",
955
964
  danger: "#D8314A",
956
965
  fatal: "#a40e26",
@@ -1098,7 +1107,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
1098
1107
  return LogLevelLabel2.INFO;
1099
1108
  };
1100
1109
 
1101
- // ../config-tools/dist/chunk-UU2P3WKA.js
1110
+ // ../config-tools/dist/chunk-SUXNQ4FP.js
1102
1111
  var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
1103
1112
  var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) => {
1104
1113
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
@@ -1156,7 +1165,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
1156
1165
  return (message) => {
1157
1166
  console.debug(
1158
1167
  `
1159
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1168
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1160
1169
  `
1161
1170
  );
1162
1171
  };
@@ -1165,7 +1174,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
1165
1174
  return (message) => {
1166
1175
  console.debug(
1167
1176
  `
1168
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1177
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
1169
1178
  `
1170
1179
  );
1171
1180
  };
@@ -1218,7 +1227,7 @@ var _isFunction = (value) => {
1218
1227
  }
1219
1228
  };
1220
1229
 
1221
- // ../config-tools/dist/chunk-XLOBQVBJ.js
1230
+ // ../config-tools/dist/chunk-C6VNQGUD.js
1222
1231
  var import_c122 = require("c12");
1223
1232
  var import_defu3 = __toESM(require("defu"), 1);
1224
1233
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
@@ -1314,7 +1323,7 @@ If this sounds interesting, and you would like to help us in creating the next g
1314
1323
  var S = "tools/errors/codes.json";
1315
1324
  var A = "The workspace's banner image";
1316
1325
 
1317
- // ../config/dist/chunk-ZXJP5Q3G.js
1326
+ // ../config/dist/chunk-OIOMONUX.js
1318
1327
  var e2 = __toESM(require("zod/mini"), 1);
1319
1328
  var o2 = e2.registry();
1320
1329
  var t2 = e2.string().check(e2.length(7), e2.toLowerCase(), e2.regex(/^#([0-9a-f]{3}){1,2}$/i), e2.trim());
@@ -1337,150 +1346,152 @@ var h = e2._default(t2, "#45b27e");
1337
1346
  o2.add(h, { description: "The success color of the workspace" });
1338
1347
  var l = e2._default(t2, "#38bdf8");
1339
1348
  o2.add(l, { description: "The informational color of the workspace" });
1340
- var m = e2._default(t2, "#f3d371");
1341
- o2.add(m, { description: "The warning color of the workspace" });
1342
- var z2 = e2._default(t2, "#d8314a");
1343
- o2.add(z2, { description: "The danger color of the workspace" });
1344
- var g = e2.optional(t2);
1345
- o2.add(g, { description: "The fatal color of the workspace" });
1346
- var u = e2._default(t2, "#4ade80");
1347
- o2.add(u, { description: "The positive number color of the workspace" });
1348
- var f = e2._default(t2, "#ef4444");
1349
- o2.add(f, { description: "The negative number color of the workspace" });
1350
- var k = e2.optional(e2.array(t2));
1351
- o2.add(k, { description: "The color stops for the base gradient color pattern used in the workspace" });
1352
- var je = e2.object({ foreground: i2, background: a2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, warning: m, danger: z2, fatal: g, positive: u, negative: f, gradient: k });
1353
- var Ae = e2.object({ foreground: a2, background: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, warning: m, danger: z2, fatal: g, positive: u, negative: f, gradient: k });
1354
- var Re = e2.object({ dark: je, light: Ae });
1355
- var Ue = e2.object({ dark: a2, light: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, warning: m, danger: z2, fatal: g, positive: u, negative: f, gradient: k });
1349
+ var m = e2._default(t2, "#8afafc");
1350
+ o2.add(m, { description: "The debug color of the workspace" });
1351
+ var z2 = e2._default(t2, "#f3d371");
1352
+ o2.add(z2, { description: "The warning color of the workspace" });
1353
+ var g = e2._default(t2, "#d8314a");
1354
+ o2.add(g, { description: "The danger color of the workspace" });
1355
+ var u = e2.optional(t2);
1356
+ o2.add(u, { description: "The fatal color of the workspace" });
1357
+ var f = e2._default(t2, "#4ade80");
1358
+ o2.add(f, { description: "The positive number color of the workspace" });
1359
+ var k = e2._default(t2, "#ef4444");
1360
+ o2.add(k, { description: "The negative number color of the workspace" });
1361
+ var w = e2.optional(e2.array(t2));
1362
+ o2.add(w, { description: "The color stops for the base gradient color pattern used in the workspace" });
1363
+ 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 });
1364
+ 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 });
1365
+ var Ue = e2.object({ dark: Ae, light: Re });
1366
+ 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 });
1356
1367
  var r2 = e2.optional(e2.url());
1357
1368
  o2.add(r2, { description: "A remote registry URL used to publish distributable packages" });
1358
- var T = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
1359
- o2.add(T, { description: "A list of remote registry URLs used by Storm Software" });
1360
- var w = e2.union([Ue, Re]);
1361
- o2.add(w, { description: "Colors used for various workspace elements" });
1362
- var v = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), w);
1363
- o2.add(v, { description: "Storm theme config values used for styling various package elements" });
1364
- var y = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
1365
- o2.add(y, { 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." });
1366
- var C = e2.string().check(e2.trim());
1367
- o2.add(C, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
1369
+ var v = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
1370
+ o2.add(v, { description: "A list of remote registry URLs used by Storm Software" });
1371
+ var S2 = e2.union([De, Ue]);
1372
+ o2.add(S2, { description: "Colors used for various workspace elements" });
1373
+ var y = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), S2);
1374
+ o2.add(y, { description: "Storm theme config values used for styling various package elements" });
1375
+ var C = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
1376
+ 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." });
1368
1377
  var _ = e2.string().check(e2.trim());
1369
- o2.add(_, { description: "The email of the workspace bot" });
1370
- var L = e2.object({ name: C, email: _ });
1371
- o2.add(L, { description: "The workspace's bot user's config used to automated various operations tasks" });
1372
- var j = e2.optional(e2.string().check(e2.trim(), e2.url()));
1373
- o2.add(j, { description: "A URL to a banner image used to display the workspace's release" });
1374
- var A2 = e2._default(e2.string().check(e2.trim()), A);
1375
- o2.add(A2, { description: "The alt text for the workspace's release banner image" });
1376
- var R = e2.object({ url: j, alt: A2 });
1377
- o2.add(R, { description: "The workspace's banner image used during the release process" });
1378
- var U = e2.optional(e2.string().check(e2.trim()));
1379
- o2.add(U, { description: "A header message appended to the start of the workspace's release notes" });
1378
+ o2.add(_, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
1379
+ var L = e2.string().check(e2.trim());
1380
+ o2.add(L, { description: "The email of the workspace bot" });
1381
+ var j = e2.object({ name: _, email: L });
1382
+ o2.add(j, { description: "The workspace's bot user's config used to automated various operations tasks" });
1383
+ var A2 = e2.optional(e2.string().check(e2.trim(), e2.url()));
1384
+ o2.add(A2, { description: "A URL to a banner image used to display the workspace's release" });
1385
+ var R = e2._default(e2.string().check(e2.trim()), A);
1386
+ o2.add(R, { description: "The alt text for the workspace's release banner image" });
1387
+ var U = e2.object({ url: A2, alt: R });
1388
+ o2.add(U, { description: "The workspace's banner image used during the release process" });
1380
1389
  var D = e2.optional(e2.string().check(e2.trim()));
1381
- o2.add(D, { description: "A footer message appended to the end of the workspace's release notes" });
1382
- var B = e2.object({ banner: e2.union([R, e2.string().check(e2.trim(), e2.url())]), header: U, footer: D });
1383
- o2.add(B, { description: "The workspace's release config used during the release process" });
1384
- var F = e2.optional(e2.string().check(e2.trim()));
1385
- o2.add(F, { description: "A Twitter/X account associated with the organization/project" });
1390
+ o2.add(D, { description: "A header message appended to the start of the workspace's release notes" });
1391
+ var B = e2.optional(e2.string().check(e2.trim()));
1392
+ o2.add(B, { description: "A footer message appended to the end of the workspace's release notes" });
1393
+ var F = e2.object({ banner: e2.union([U, e2.string().check(e2.trim(), e2.url())]), header: D, footer: B });
1394
+ o2.add(F, { description: "The workspace's release config used during the release process" });
1386
1395
  var N = e2.optional(e2.string().check(e2.trim()));
1387
- o2.add(N, { description: "A Discord account associated with the organization/project" });
1396
+ o2.add(N, { description: "A Twitter/X account associated with the organization/project" });
1388
1397
  var E2 = e2.optional(e2.string().check(e2.trim()));
1389
- o2.add(E2, { description: "A Telegram account associated with the organization/project" });
1398
+ o2.add(E2, { description: "A Discord account associated with the organization/project" });
1390
1399
  var M = e2.optional(e2.string().check(e2.trim()));
1391
- o2.add(M, { description: "A Slack account associated with the organization/project" });
1400
+ o2.add(M, { description: "A Telegram account associated with the organization/project" });
1392
1401
  var O = e2.optional(e2.string().check(e2.trim()));
1393
- o2.add(O, { description: "A Medium account associated with the organization/project" });
1402
+ o2.add(O, { description: "A Slack account associated with the organization/project" });
1394
1403
  var I = e2.optional(e2.string().check(e2.trim()));
1395
- o2.add(I, { description: "A GitHub account associated with the organization/project" });
1396
- var G = e2.object({ twitter: F, discord: N, telegram: E2, slack: M, medium: O, github: I });
1397
- o2.add(G, { description: "The workspace's account config used to store various social media links" });
1398
- var H = e2.optional(e2.string().check(e2.trim()));
1399
- o2.add(H, { description: "The directory used to store the environment's cached file data" });
1404
+ o2.add(I, { description: "A Medium account associated with the organization/project" });
1405
+ var G = e2.optional(e2.string().check(e2.trim()));
1406
+ o2.add(G, { description: "A GitHub account associated with the organization/project" });
1407
+ var H = e2.object({ twitter: N, discord: E2, telegram: M, slack: O, medium: I, github: G });
1408
+ o2.add(H, { description: "The workspace's account config used to store various social media links" });
1400
1409
  var J = e2.optional(e2.string().check(e2.trim()));
1401
- o2.add(J, { description: "The directory used to store the environment's data files" });
1410
+ o2.add(J, { description: "The directory used to store the environment's cached file data" });
1402
1411
  var W = e2.optional(e2.string().check(e2.trim()));
1403
- o2.add(W, { description: "The directory used to store the environment's configuration files" });
1412
+ o2.add(W, { description: "The directory used to store the environment's data files" });
1404
1413
  var P = e2.optional(e2.string().check(e2.trim()));
1405
- o2.add(P, { description: "The directory used to store the environment's temp files" });
1414
+ o2.add(P, { description: "The directory used to store the environment's configuration files" });
1406
1415
  var $ = e2.optional(e2.string().check(e2.trim()));
1407
- o2.add($, { description: "The directory used to store the environment's log files" });
1408
- var V = e2._default(e2.string().check(e2.trim()), "dist");
1409
- o2.add(V, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
1410
- var X = e2.object({ cache: H, data: J, config: W, temp: P, log: $, build: V });
1411
- o2.add(X, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
1412
- var Y = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
1413
- o2.add(Y, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
1414
- var q = e2._default(e2.string().check(e2.trim()), S);
1415
- o2.add(q, { description: "The path to the workspace's error codes JSON file" });
1416
- var K = e2.optional(e2.url());
1417
- o2.add(K, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
1418
- var Q = e2.object({ codesFile: q, url: K });
1419
- o2.add(Q, { description: "The workspace's error config used when creating error details during a system error" });
1420
- var Z = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
1421
- o2.add(Z, { description: "The name of the organization" });
1422
- var ee = e2.optional(e2.string().check(e2.trim()));
1423
- o2.add(ee, { description: "A description of the organization" });
1424
- var oe = e2.optional(e2.url());
1425
- o2.add(oe, { description: "A URL to the organization's logo image" });
1416
+ o2.add($, { description: "The directory used to store the environment's temp files" });
1417
+ var V = e2.optional(e2.string().check(e2.trim()));
1418
+ o2.add(V, { description: "The directory used to store the environment's log files" });
1419
+ var X = e2._default(e2.string().check(e2.trim()), "dist");
1420
+ o2.add(X, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
1421
+ var Y = e2.object({ cache: J, data: W, config: P, temp: $, log: V, build: X });
1422
+ o2.add(Y, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
1423
+ var q = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
1424
+ o2.add(q, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
1425
+ var K = e2._default(e2.string().check(e2.trim()), S);
1426
+ o2.add(K, { description: "The path to the workspace's error codes JSON file" });
1427
+ var Q = e2.optional(e2.url());
1428
+ o2.add(Q, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
1429
+ var Z = e2.object({ codesFile: K, url: Q });
1430
+ o2.add(Z, { description: "The workspace's error config used when creating error details during a system error" });
1431
+ var ee = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
1432
+ o2.add(ee, { description: "The name of the organization" });
1433
+ var oe = e2.optional(e2.string().check(e2.trim()));
1434
+ o2.add(oe, { description: "A description of the organization" });
1426
1435
  var te = e2.optional(e2.url());
1427
- o2.add(te, { description: "A URL to the organization's icon image" });
1436
+ o2.add(te, { description: "A URL to the organization's logo image" });
1428
1437
  var re = e2.optional(e2.url());
1429
- o2.add(re, { description: "A URL to a page that provides more information about the organization" });
1430
- var ae = e2.object({ name: Z, description: ee, logo: oe, icon: te, url: re });
1431
- o2.add(ae, { description: "The workspace's organization details" });
1432
- var ie = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
1433
- o2.add(ie, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
1434
- var ce = e2.string().check(e2.trim(), e2.toLowerCase());
1435
- o2.add(ce, { description: "The name of the workspace/project/service/package/scope using this configuration" });
1438
+ o2.add(re, { description: "A URL to the organization's icon image" });
1439
+ var ae = e2.optional(e2.url());
1440
+ o2.add(ae, { description: "A URL to a page that provides more information about the organization" });
1441
+ var ie = e2.object({ name: ee, description: oe, logo: te, icon: re, url: ae });
1442
+ o2.add(ie, { description: "The workspace's organization details" });
1443
+ var ce = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
1444
+ o2.add(ce, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
1436
1445
  var se = e2.string().check(e2.trim(), e2.toLowerCase());
1437
- o2.add(se, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
1438
- var ne = e2.union([ae, e2.string().check(e2.trim(), e2.toLowerCase())]);
1439
- o2.add(ne, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
1440
- var de = e2.string().check(e2.trim(), e2.toLowerCase());
1441
- o2.add(de, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
1442
- var pe = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
1443
- o2.add(pe, { description: "The license type of the package" });
1444
- var he = e2.optional(e2.url());
1445
- o2.add(he, { description: "The homepage of the workspace" });
1446
+ o2.add(se, { description: "The name of the workspace/project/service/package/scope using this configuration" });
1447
+ var ne = e2.string().check(e2.trim(), e2.toLowerCase());
1448
+ o2.add(ne, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
1449
+ var de = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
1450
+ o2.add(de, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
1451
+ var pe = e2.string().check(e2.trim(), e2.toLowerCase());
1452
+ o2.add(pe, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
1453
+ var he = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
1454
+ o2.add(he, { description: "The license type of the package" });
1446
1455
  var le = e2.optional(e2.url());
1447
- o2.add(le, { description: "The documentation site for the workspace" });
1456
+ o2.add(le, { description: "The homepage of the workspace" });
1448
1457
  var me = e2.optional(e2.url());
1449
- o2.add(me, { description: "The development portal site for the workspace" });
1458
+ o2.add(me, { description: "The documentation site for the workspace" });
1450
1459
  var ze = e2.optional(e2.url());
1451
- o2.add(ze, { description: "The licensing site for the workspace" });
1460
+ o2.add(ze, { description: "The development portal site for the workspace" });
1452
1461
  var ge = e2.optional(e2.url());
1453
- o2.add(ge, { description: "The contact site for the workspace" });
1462
+ o2.add(ge, { description: "The licensing site for the workspace" });
1454
1463
  var ue = e2.optional(e2.url());
1455
- o2.add(ue, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
1456
- var fe = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
1457
- o2.add(fe, { description: "The branch of the workspace" });
1458
- var ke = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
1459
- o2.add(ke, { description: "A tag specifying the version pre-release identifier" });
1464
+ o2.add(ue, { description: "The contact site for the workspace" });
1465
+ var fe = e2.optional(e2.url());
1466
+ o2.add(fe, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
1467
+ var ke = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
1468
+ o2.add(ke, { description: "The branch of the workspace" });
1460
1469
  var we = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
1461
- o2.add(we, { description: "The owner of the package" });
1462
- var Se = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
1463
- o2.add(Se, { description: "The current runtime environment mode for the package" });
1470
+ o2.add(we, { description: "A tag specifying the version pre-release identifier" });
1471
+ var Se = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
1472
+ o2.add(Se, { description: "The owner of the package" });
1473
+ var be = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
1474
+ o2.add(be, { description: "The current runtime environment mode for the package" });
1464
1475
  var xe = e2.string().check(e2.trim(), e2.toLowerCase());
1465
1476
  o2.add(xe, { description: "The root directory of the workspace" });
1466
- var be = e2._default(e2.boolean(), false);
1467
- o2.add(be, { description: "Should all known types of workspace caching be skipped?" });
1468
- var Te = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
1469
- o2.add(Te, { description: "The JavaScript/TypeScript package manager used by the repository" });
1470
- var ve = e2._default(e2.string().check(e2.trim()), "America/New_York");
1471
- o2.add(ve, { description: "The default timezone of the workspace" });
1472
- var ye = e2._default(e2.string().check(e2.trim()), "en-US");
1473
- o2.add(ye, { description: "The default locale of the workspace" });
1474
- var Ce = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
1475
- o2.add(Ce, { 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`)." });
1476
- var _e = e2._default(e2.boolean(), true);
1477
- o2.add(_e, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
1478
- var Le = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
1479
- o2.add(Le, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
1480
- var S2 = e2._default(e2.record(e2.string(), e2.any()), {});
1481
- o2.add(S2, { description: "Configuration of each used extension" });
1482
- var Be = e2.object({ $schema: ie, extends: y, name: ce, variant: Y, namespace: se, organization: ne, repository: de, license: pe, homepage: he, docs: le, portal: me, licensing: ze, contact: ge, support: ue, branch: fe, preid: ke, owner: we, bot: L, release: B, socials: G, error: Q, mode: Se, workspaceRoot: xe, skipCache: be, directories: X, packageManager: Te, timezone: ve, locale: ye, logLevel: Ce, skipConfigLogging: _e, registry: T, configFile: Le, colors: e2.union([w, v]), extensions: S2 });
1483
- o2.add(S2, { 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." });
1477
+ var Te = e2._default(e2.boolean(), false);
1478
+ o2.add(Te, { description: "Should all known types of workspace caching be skipped?" });
1479
+ var ve = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
1480
+ o2.add(ve, { description: "The JavaScript/TypeScript package manager used by the repository" });
1481
+ var ye = e2._default(e2.string().check(e2.trim()), "America/New_York");
1482
+ o2.add(ye, { description: "The default timezone of the workspace" });
1483
+ var Ce = e2._default(e2.string().check(e2.trim()), "en-US");
1484
+ o2.add(Ce, { description: "The default locale of the workspace" });
1485
+ var _e = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
1486
+ 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`)." });
1487
+ var Le = e2._default(e2.boolean(), true);
1488
+ o2.add(Le, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
1489
+ var je = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
1490
+ o2.add(je, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
1491
+ var b = e2._default(e2.record(e2.string(), e2.any()), {});
1492
+ o2.add(b, { description: "Configuration of each used extension" });
1493
+ 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 });
1494
+ 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." });
1484
1495
 
1485
1496
  // ../config/dist/chunk-WIOU3CJS.js
1486
1497
  var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "positive", "negative"];
@@ -1572,7 +1583,7 @@ function applyDefaultConfig(config) {
1572
1583
  return config;
1573
1584
  }
1574
1585
 
1575
- // ../config-tools/dist/chunk-KJ7E5BJ3.js
1586
+ // ../config-tools/dist/chunk-4XFFB6C2.js
1576
1587
  var setExtensionEnv = (extensionName, extension) => {
1577
1588
  for (const key of Object.keys(extension ?? {})) {
1578
1589
  if (extension[key]) {
@@ -1864,6 +1875,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1864
1875
  if (config.info) {
1865
1876
  process.env[`${prefix}INFO`] = config.info;
1866
1877
  }
1878
+ if (config.debug) {
1879
+ process.env[`${prefix}DEBUG`] = config.debug;
1880
+ }
1867
1881
  if (config.warning) {
1868
1882
  process.env[`${prefix}WARNING`] = config.warning;
1869
1883
  }
@@ -1919,6 +1933,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1919
1933
  if (config.info) {
1920
1934
  process.env[`${prefix}INFO`] = config.info;
1921
1935
  }
1936
+ if (config.debug) {
1937
+ process.env[`${prefix}DEBUG`] = config.debug;
1938
+ }
1922
1939
  if (config.warning) {
1923
1940
  process.env[`${prefix}WARNING`] = config.warning;
1924
1941
  }
@@ -1941,7 +1958,7 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1941
1958
  }
1942
1959
  };
1943
1960
 
1944
- // ../config-tools/dist/chunk-ZWZLRNXP.js
1961
+ // ../config-tools/dist/chunk-XT72Z7BW.js
1945
1962
  var getExtensionEnv = (extensionName) => {
1946
1963
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
1947
1964
  return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
@@ -2106,6 +2123,7 @@ var getSingleThemeColorsEnv = (prefix) => {
2106
2123
  help: process.env[`${prefix}HELP`],
2107
2124
  success: process.env[`${prefix}SUCCESS`],
2108
2125
  info: process.env[`${prefix}INFO`],
2126
+ debug: process.env[`${prefix}DEBUG`],
2109
2127
  warning: process.env[`${prefix}WARNING`],
2110
2128
  danger: process.env[`${prefix}DANGER`],
2111
2129
  fatal: process.env[`${prefix}FATAL`],
@@ -2144,6 +2162,7 @@ var getBaseThemeColorsEnv = (prefix) => {
2144
2162
  help: process.env[`${prefix}HELP`],
2145
2163
  success: process.env[`${prefix}SUCCESS`],
2146
2164
  info: process.env[`${prefix}INFO`],
2165
+ debug: process.env[`${prefix}DEBUG`],
2147
2166
  warning: process.env[`${prefix}WARNING`],
2148
2167
  danger: process.env[`${prefix}DANGER`],
2149
2168
  fatal: process.env[`${prefix}FATAL`],
@@ -2153,7 +2172,7 @@ var getBaseThemeColorsEnv = (prefix) => {
2153
2172
  };
2154
2173
  };
2155
2174
 
2156
- // ../config-tools/dist/chunk-XVUCULX2.js
2175
+ // ../config-tools/dist/chunk-4VMNC3KN.js
2157
2176
  var import_defu4 = __toESM(require("defu"), 1);
2158
2177
  var import_node_fs9 = require("fs");
2159
2178
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -2189,7 +2208,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2189
2208
  }
2190
2209
  try {
2191
2210
  result = applyDefaultConfig(
2192
- await Be.parseAsync(configInput)
2211
+ await Fe.parseAsync(configInput)
2193
2212
  );
2194
2213
  result.workspaceRoot ??= _workspaceRoot;
2195
2214
  } catch (error) {
@@ -2250,7 +2269,7 @@ ${formatLogMessage2(config)}`,
2250
2269
  return config;
2251
2270
  };
2252
2271
 
2253
- // ../config-tools/dist/chunk-BJTNSVY4.js
2272
+ // ../config-tools/dist/chunk-ACQVK7YY.js
2254
2273
  function getConfig(workspaceRoot, skipLogs = false) {
2255
2274
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
2256
2275
  }
package/dist/options.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveOptions
3
- } from "./chunk-TM2CJRVX.js";
3
+ } from "./chunk-UPF5YXBV.js";
4
4
  import "./chunk-MKBPXJU3.js";
5
5
  import "./chunk-DAXBJI7S.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsup",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "type": "module",
5
5
  "description": "A package containing bundled patches for tsup.",
6
6
  "repository": {
@@ -104,8 +104,8 @@
104
104
  "files": ["assets/**/*", "dist/**/*"],
105
105
  "keywords": ["tsup", "storm", "storm-ops", "storm-software"],
106
106
  "dependencies": {
107
- "@storm-software/build-tools": "^0.158.75",
108
- "@storm-software/config-tools": "^1.188.75"
107
+ "@storm-software/build-tools": "^0.158.76",
108
+ "@storm-software/config-tools": "^1.188.76"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@types/node": "^24.10.4",
@@ -115,5 +115,5 @@
115
115
  },
116
116
  "publishConfig": { "access": "public" },
117
117
  "sideEffects": false,
118
- "gitHead": "99ed954da76fded1e0554ae38f1a93f7601e3c24"
118
+ "gitHead": "e19d4a36814afd4e68d56d8c7e620ec273b71a03"
119
119
  }