@storm-software/unbuild 0.57.75 → 0.57.76

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/bin/unbuild.cjs CHANGED
@@ -90,6 +90,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
90
90
  schemaRegistry.add(infoColorSchema, {
91
91
  description: "The informational color of the workspace"
92
92
  });
93
+ var debugColorSchema = z._default(colorSchema, "#8afafc");
94
+ schemaRegistry.add(debugColorSchema, {
95
+ description: "The debug color of the workspace"
96
+ });
93
97
  var warningColorSchema = z._default(colorSchema, "#f3d371");
94
98
  schemaRegistry.add(warningColorSchema, {
95
99
  description: "The warning color of the workspace"
@@ -124,6 +128,7 @@ var darkColorsSchema = z.object({
124
128
  help: helpColorSchema,
125
129
  success: successColorSchema,
126
130
  info: infoColorSchema,
131
+ debug: debugColorSchema,
127
132
  warning: warningColorSchema,
128
133
  danger: dangerColorSchema,
129
134
  fatal: fatalColorSchema,
@@ -141,6 +146,7 @@ var lightColorsSchema = z.object({
141
146
  help: helpColorSchema,
142
147
  success: successColorSchema,
143
148
  info: infoColorSchema,
149
+ debug: debugColorSchema,
144
150
  warning: warningColorSchema,
145
151
  danger: dangerColorSchema,
146
152
  fatal: fatalColorSchema,
@@ -162,6 +168,7 @@ var singleColorsSchema = z.object({
162
168
  help: helpColorSchema,
163
169
  success: successColorSchema,
164
170
  info: infoColorSchema,
171
+ debug: debugColorSchema,
165
172
  warning: warningColorSchema,
166
173
  danger: dangerColorSchema,
167
174
  fatal: fatalColorSchema,
@@ -641,6 +648,7 @@ var DEFAULT_COLOR_CONFIG = {
641
648
  help: "#5C4EE5",
642
649
  success: "#087f5b",
643
650
  info: "#0550ae",
651
+ debug: "#8afafc",
644
652
  warning: "#e3b341",
645
653
  danger: "#D8314A",
646
654
  fatal: "#51070f",
@@ -657,6 +665,7 @@ var DEFAULT_COLOR_CONFIG = {
657
665
  help: "#818cf8",
658
666
  success: "#10b981",
659
667
  info: "#58a6ff",
668
+ debug: "#8afafc",
660
669
  warning: "#f3d371",
661
670
  danger: "#D8314A",
662
671
  fatal: "#a40e26",
@@ -841,7 +850,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
841
850
  return (message) => {
842
851
  console.debug(
843
852
  `
844
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
853
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
845
854
  `
846
855
  );
847
856
  };
@@ -850,7 +859,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
850
859
  return (message) => {
851
860
  console.debug(
852
861
  `
853
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
862
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
854
863
  `
855
864
  );
856
865
  };
@@ -1515,6 +1524,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1515
1524
  help: process.env[`${prefix}HELP`],
1516
1525
  success: process.env[`${prefix}SUCCESS`],
1517
1526
  info: process.env[`${prefix}INFO`],
1527
+ debug: process.env[`${prefix}DEBUG`],
1518
1528
  warning: process.env[`${prefix}WARNING`],
1519
1529
  danger: process.env[`${prefix}DANGER`],
1520
1530
  fatal: process.env[`${prefix}FATAL`],
@@ -1553,6 +1563,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1553
1563
  help: process.env[`${prefix}HELP`],
1554
1564
  success: process.env[`${prefix}SUCCESS`],
1555
1565
  info: process.env[`${prefix}INFO`],
1566
+ debug: process.env[`${prefix}DEBUG`],
1556
1567
  warning: process.env[`${prefix}WARNING`],
1557
1568
  danger: process.env[`${prefix}DANGER`],
1558
1569
  fatal: process.env[`${prefix}FATAL`],
@@ -1854,6 +1865,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1854
1865
  if (config.info) {
1855
1866
  process.env[`${prefix}INFO`] = config.info;
1856
1867
  }
1868
+ if (config.debug) {
1869
+ process.env[`${prefix}DEBUG`] = config.debug;
1870
+ }
1857
1871
  if (config.warning) {
1858
1872
  process.env[`${prefix}WARNING`] = config.warning;
1859
1873
  }
@@ -1909,6 +1923,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1909
1923
  if (config.info) {
1910
1924
  process.env[`${prefix}INFO`] = config.info;
1911
1925
  }
1926
+ if (config.debug) {
1927
+ process.env[`${prefix}DEBUG`] = config.debug;
1928
+ }
1912
1929
  if (config.warning) {
1913
1930
  process.env[`${prefix}WARNING`] = config.warning;
1914
1931
  }
package/bin/unbuild.js CHANGED
@@ -68,6 +68,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
68
68
  schemaRegistry.add(infoColorSchema, {
69
69
  description: "The informational color of the workspace"
70
70
  });
71
+ var debugColorSchema = z._default(colorSchema, "#8afafc");
72
+ schemaRegistry.add(debugColorSchema, {
73
+ description: "The debug color of the workspace"
74
+ });
71
75
  var warningColorSchema = z._default(colorSchema, "#f3d371");
72
76
  schemaRegistry.add(warningColorSchema, {
73
77
  description: "The warning color of the workspace"
@@ -102,6 +106,7 @@ var darkColorsSchema = z.object({
102
106
  help: helpColorSchema,
103
107
  success: successColorSchema,
104
108
  info: infoColorSchema,
109
+ debug: debugColorSchema,
105
110
  warning: warningColorSchema,
106
111
  danger: dangerColorSchema,
107
112
  fatal: fatalColorSchema,
@@ -119,6 +124,7 @@ var lightColorsSchema = z.object({
119
124
  help: helpColorSchema,
120
125
  success: successColorSchema,
121
126
  info: infoColorSchema,
127
+ debug: debugColorSchema,
122
128
  warning: warningColorSchema,
123
129
  danger: dangerColorSchema,
124
130
  fatal: fatalColorSchema,
@@ -140,6 +146,7 @@ var singleColorsSchema = z.object({
140
146
  help: helpColorSchema,
141
147
  success: successColorSchema,
142
148
  info: infoColorSchema,
149
+ debug: debugColorSchema,
143
150
  warning: warningColorSchema,
144
151
  danger: dangerColorSchema,
145
152
  fatal: fatalColorSchema,
@@ -619,6 +626,7 @@ var DEFAULT_COLOR_CONFIG = {
619
626
  help: "#5C4EE5",
620
627
  success: "#087f5b",
621
628
  info: "#0550ae",
629
+ debug: "#8afafc",
622
630
  warning: "#e3b341",
623
631
  danger: "#D8314A",
624
632
  fatal: "#51070f",
@@ -635,6 +643,7 @@ var DEFAULT_COLOR_CONFIG = {
635
643
  help: "#818cf8",
636
644
  success: "#10b981",
637
645
  info: "#58a6ff",
646
+ debug: "#8afafc",
638
647
  warning: "#f3d371",
639
648
  danger: "#D8314A",
640
649
  fatal: "#a40e26",
@@ -819,7 +828,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
819
828
  return (message) => {
820
829
  console.debug(
821
830
  `
822
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
831
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
823
832
  `
824
833
  );
825
834
  };
@@ -828,7 +837,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
828
837
  return (message) => {
829
838
  console.debug(
830
839
  `
831
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
840
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
832
841
  `
833
842
  );
834
843
  };
@@ -1493,6 +1502,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1493
1502
  help: process.env[`${prefix}HELP`],
1494
1503
  success: process.env[`${prefix}SUCCESS`],
1495
1504
  info: process.env[`${prefix}INFO`],
1505
+ debug: process.env[`${prefix}DEBUG`],
1496
1506
  warning: process.env[`${prefix}WARNING`],
1497
1507
  danger: process.env[`${prefix}DANGER`],
1498
1508
  fatal: process.env[`${prefix}FATAL`],
@@ -1531,6 +1541,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1531
1541
  help: process.env[`${prefix}HELP`],
1532
1542
  success: process.env[`${prefix}SUCCESS`],
1533
1543
  info: process.env[`${prefix}INFO`],
1544
+ debug: process.env[`${prefix}DEBUG`],
1534
1545
  warning: process.env[`${prefix}WARNING`],
1535
1546
  danger: process.env[`${prefix}DANGER`],
1536
1547
  fatal: process.env[`${prefix}FATAL`],
@@ -1832,6 +1843,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1832
1843
  if (config.info) {
1833
1844
  process.env[`${prefix}INFO`] = config.info;
1834
1845
  }
1846
+ if (config.debug) {
1847
+ process.env[`${prefix}DEBUG`] = config.debug;
1848
+ }
1835
1849
  if (config.warning) {
1836
1850
  process.env[`${prefix}WARNING`] = config.warning;
1837
1851
  }
@@ -1887,6 +1901,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1887
1901
  if (config.info) {
1888
1902
  process.env[`${prefix}INFO`] = config.info;
1889
1903
  }
1904
+ if (config.debug) {
1905
+ process.env[`${prefix}DEBUG`] = config.debug;
1906
+ }
1890
1907
  if (config.warning) {
1891
1908
  process.env[`${prefix}WARNING`] = config.warning;
1892
1909
  }
package/dist/build.cjs CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkD37BH6P6cjs = require('./chunk-D37BH6P6.cjs');
9
- require('./chunk-6BXC3EZA.cjs');
10
- require('./chunk-I7PNN4LO.cjs');
11
- require('./chunk-WNIVGBV6.cjs');
12
- require('./chunk-OELYTKJQ.cjs');
13
- require('./chunk-ODCZF6YR.cjs');
8
+ var _chunkFZP5LPVWcjs = require('./chunk-FZP5LPVW.cjs');
9
+ require('./chunk-W7QA6HKD.cjs');
10
+ require('./chunk-P55SG7JM.cjs');
11
+ require('./chunk-PRWK6D2Z.cjs');
12
+ require('./chunk-45AA6JLQ.cjs');
13
+ require('./chunk-WLTWYGVL.cjs');
14
14
  require('./chunk-OBGZSXTJ.cjs');
15
15
 
16
16
 
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkD37BH6P6cjs.build; exports.cleanOutputPath = _chunkD37BH6P6cjs.cleanOutputPath; exports.copyBuildAssets = _chunkD37BH6P6cjs.copyBuildAssets; exports.executeUnbuild = _chunkD37BH6P6cjs.executeUnbuild; exports.generatePackageJson = _chunkD37BH6P6cjs.generatePackageJson; exports.resolveOptions = _chunkD37BH6P6cjs.resolveOptions;
22
+ exports.build = _chunkFZP5LPVWcjs.build; exports.cleanOutputPath = _chunkFZP5LPVWcjs.cleanOutputPath; exports.copyBuildAssets = _chunkFZP5LPVWcjs.copyBuildAssets; exports.executeUnbuild = _chunkFZP5LPVWcjs.executeUnbuild; exports.generatePackageJson = _chunkFZP5LPVWcjs.generatePackageJson; exports.resolveOptions = _chunkFZP5LPVWcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,12 +5,12 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-Z2R4D4LC.js";
9
- import "./chunk-DXGDWEDW.js";
10
- import "./chunk-JDHN6ZBW.js";
11
- import "./chunk-523CXGWV.js";
12
- import "./chunk-KITP4SLO.js";
13
- import "./chunk-6SGMK7G4.js";
8
+ } from "./chunk-I2GNLYNO.js";
9
+ import "./chunk-DTI3UFUL.js";
10
+ import "./chunk-2HM2SFF5.js";
11
+ import "./chunk-7KR7UNJU.js";
12
+ import "./chunk-YYQK7YYN.js";
13
+ import "./chunk-MVEQ4XZ7.js";
14
14
  import "./chunk-3RG5ZIWI.js";
15
15
  export {
16
16
  build,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-6SGMK7G4.js";
3
+ } from "./chunk-MVEQ4XZ7.js";
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkODCZF6YRcjs = require('./chunk-ODCZF6YR.cjs');
3
+ var _chunkWLTWYGVLcjs = require('./chunk-WLTWYGVL.cjs');
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
 
@@ -45,7 +45,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
45
45
  declaration: true,
46
46
  paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
47
47
  };
48
- _chunkODCZF6YRcjs.writeTrace.call(void 0, compilerOptions, config);
48
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0, compilerOptions, config);
49
49
  return compilerOptions;
50
50
  }
51
51
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-6SGMK7G4.js";
3
+ } from "./chunk-MVEQ4XZ7.js";
4
4
 
5
5
  // src/plugins/on-error.ts
6
6
  var onErrorPlugin = (options) => ({
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getStopwatch,
3
3
  writeDebug
4
- } from "./chunk-6SGMK7G4.js";
4
+ } from "./chunk-MVEQ4XZ7.js";
5
5
 
6
6
  // src/clean.ts
7
7
  import { rm } from "node:fs/promises";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk6BXC3EZAcjs = require('./chunk-6BXC3EZA.cjs');
3
+ var _chunkW7QA6HKDcjs = require('./chunk-W7QA6HKD.cjs');
4
4
 
5
5
 
6
- var _chunkI7PNN4LOcjs = require('./chunk-I7PNN4LO.cjs');
6
+ var _chunkP55SG7JMcjs = require('./chunk-P55SG7JM.cjs');
7
7
 
8
8
 
9
- var _chunkWNIVGBV6cjs = require('./chunk-WNIVGBV6.cjs');
9
+ var _chunkPRWK6D2Zcjs = require('./chunk-PRWK6D2Z.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunkOELYTKJQcjs = require('./chunk-OELYTKJQ.cjs');
13
+ var _chunk45AA6JLQcjs = require('./chunk-45AA6JLQ.cjs');
14
14
 
15
15
 
16
16
 
@@ -24,7 +24,7 @@ var _chunkOELYTKJQcjs = require('./chunk-OELYTKJQ.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkODCZF6YRcjs = require('./chunk-ODCZF6YR.cjs');
27
+ var _chunkWLTWYGVLcjs = require('./chunk-WLTWYGVL.cjs');
28
28
 
29
29
  // src/build.ts
30
30
 
@@ -205,7 +205,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
205
205
  output: "src/"
206
206
  });
207
207
  }
208
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
208
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
209
209
  `\u{1F4DD} Copying the following assets to the output directory:
210
210
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`,
211
211
  config
@@ -217,9 +217,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
217
217
  assets: pendingAssets
218
218
  });
219
219
  await assetHandler.processAllAssetsOnce();
220
- _chunkODCZF6YRcjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
220
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
221
221
  if (includeSrc === true) {
222
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
222
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
223
223
  `\u{1F4DD} Adding banner and writing source files: ${joinPaths(
224
224
  outputPath,
225
225
  "src"
@@ -398,7 +398,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
398
398
  }
399
399
  }
400
400
  if (localPackages.length > 0) {
401
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
401
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
402
402
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
403
403
  );
404
404
  const projectJsonFile = await _promises.readFile.call(void 0,
@@ -446,7 +446,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
446
446
  return ret;
447
447
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
448
448
  } else {
449
- _chunkODCZF6YRcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
449
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
450
450
  }
451
451
  return packageJson;
452
452
  };
@@ -563,6 +563,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
563
563
  schemaRegistry.add(infoColorSchema, {
564
564
  description: "The informational color of the workspace"
565
565
  });
566
+ var debugColorSchema = z._default(colorSchema, "#8afafc");
567
+ schemaRegistry.add(debugColorSchema, {
568
+ description: "The debug color of the workspace"
569
+ });
566
570
  var warningColorSchema = z._default(colorSchema, "#f3d371");
567
571
  schemaRegistry.add(warningColorSchema, {
568
572
  description: "The warning color of the workspace"
@@ -597,6 +601,7 @@ var darkColorsSchema = z.object({
597
601
  help: helpColorSchema,
598
602
  success: successColorSchema,
599
603
  info: infoColorSchema,
604
+ debug: debugColorSchema,
600
605
  warning: warningColorSchema,
601
606
  danger: dangerColorSchema,
602
607
  fatal: fatalColorSchema,
@@ -614,6 +619,7 @@ var lightColorsSchema = z.object({
614
619
  help: helpColorSchema,
615
620
  success: successColorSchema,
616
621
  info: infoColorSchema,
622
+ debug: debugColorSchema,
617
623
  warning: warningColorSchema,
618
624
  danger: dangerColorSchema,
619
625
  fatal: fatalColorSchema,
@@ -635,6 +641,7 @@ var singleColorsSchema = z.object({
635
641
  help: helpColorSchema,
636
642
  success: successColorSchema,
637
643
  info: infoColorSchema,
644
+ debug: debugColorSchema,
638
645
  warning: warningColorSchema,
639
646
  danger: dangerColorSchema,
640
647
  fatal: fatalColorSchema,
@@ -1217,7 +1224,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
1217
1224
  let config = result.config;
1218
1225
  const configFile = result.configFile;
1219
1226
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
1220
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
1227
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
1221
1228
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
1222
1229
  {
1223
1230
  logLevel: "all"
@@ -1233,7 +1240,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
1233
1240
  for (const result2 of results) {
1234
1241
  if (_optionalChain([result2, 'optionalAccess', _34 => _34.config]) && _optionalChain([result2, 'optionalAccess', _35 => _35.configFile]) && Object.keys(result2.config).length > 0) {
1235
1242
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
1236
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
1243
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
1237
1244
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
1238
1245
  {
1239
1246
  logLevel: "all"
@@ -1349,7 +1356,7 @@ var getConfigEnv = () => {
1349
1356
  },
1350
1357
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
1351
1358
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
1352
- ) ? _chunkODCZF6YRcjs.getLogLevelLabel.call(void 0,
1359
+ ) ? _chunkWLTWYGVLcjs.getLogLevelLabel.call(void 0,
1353
1360
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
1354
1361
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
1355
1362
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
@@ -1420,6 +1427,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1420
1427
  help: process.env[`${prefix}HELP`],
1421
1428
  success: process.env[`${prefix}SUCCESS`],
1422
1429
  info: process.env[`${prefix}INFO`],
1430
+ debug: process.env[`${prefix}DEBUG`],
1423
1431
  warning: process.env[`${prefix}WARNING`],
1424
1432
  danger: process.env[`${prefix}DANGER`],
1425
1433
  fatal: process.env[`${prefix}FATAL`],
@@ -1458,6 +1466,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1458
1466
  help: process.env[`${prefix}HELP`],
1459
1467
  success: process.env[`${prefix}SUCCESS`],
1460
1468
  info: process.env[`${prefix}INFO`],
1469
+ debug: process.env[`${prefix}DEBUG`],
1461
1470
  warning: process.env[`${prefix}WARNING`],
1462
1471
  danger: process.env[`${prefix}DANGER`],
1463
1472
  fatal: process.env[`${prefix}FATAL`],
@@ -1712,9 +1721,9 @@ var setConfigEnv = (config) => {
1712
1721
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
1713
1722
  process.env.LOG_LEVEL = String(config.logLevel);
1714
1723
  process.env.NX_VERBOSE_LOGGING = String(
1715
- _chunkODCZF6YRcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkODCZF6YRcjs.LogLevel.DEBUG ? true : false
1724
+ _chunkWLTWYGVLcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkWLTWYGVLcjs.LogLevel.DEBUG ? true : false
1716
1725
  );
1717
- process.env.RUST_BACKTRACE = _chunkODCZF6YRcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkODCZF6YRcjs.LogLevel.DEBUG ? "full" : "none";
1726
+ process.env.RUST_BACKTRACE = _chunkWLTWYGVLcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkWLTWYGVLcjs.LogLevel.DEBUG ? "full" : "none";
1718
1727
  }
1719
1728
  if (config.skipConfigLogging !== void 0) {
1720
1729
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -1759,6 +1768,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1759
1768
  if (config.info) {
1760
1769
  process.env[`${prefix}INFO`] = config.info;
1761
1770
  }
1771
+ if (config.debug) {
1772
+ process.env[`${prefix}DEBUG`] = config.debug;
1773
+ }
1762
1774
  if (config.warning) {
1763
1775
  process.env[`${prefix}WARNING`] = config.warning;
1764
1776
  }
@@ -1814,6 +1826,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1814
1826
  if (config.info) {
1815
1827
  process.env[`${prefix}INFO`] = config.info;
1816
1828
  }
1829
+ if (config.debug) {
1830
+ process.env[`${prefix}DEBUG`] = config.debug;
1831
+ }
1817
1832
  if (config.warning) {
1818
1833
  process.env[`${prefix}WARNING`] = config.warning;
1819
1834
  }
@@ -1850,7 +1865,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1850
1865
  const configFile = await getConfigFile(_workspaceRoot);
1851
1866
  if (!configFile) {
1852
1867
  if (!skipLogs) {
1853
- _chunkODCZF6YRcjs.writeWarning.call(void 0,
1868
+ _chunkWLTWYGVLcjs.writeWarning.call(void 0,
1854
1869
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
1855
1870
  { logLevel: "all" }
1856
1871
  );
@@ -1877,7 +1892,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1877
1892
  throw new Error(
1878
1893
  `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _60 => _60.message]) ? `: ${error.message}` : ""}
1879
1894
 
1880
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkODCZF6YRcjs.formatLogMessage.call(void 0,
1895
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkWLTWYGVLcjs.formatLogMessage.call(void 0,
1881
1896
  configInput
1882
1897
  )}`,
1883
1898
  {
@@ -1922,9 +1937,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
1922
1937
  );
1923
1938
  setConfigEnv(config);
1924
1939
  if (!skipLogs && !config.skipConfigLogging) {
1925
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
1940
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
1926
1941
  `\u2699\uFE0F Using Storm Workspace configuration:
1927
- ${_chunkODCZF6YRcjs.formatLogMessage.call(void 0, config)}`,
1942
+ ${_chunkWLTWYGVLcjs.formatLogMessage.call(void 0, config)}`,
1928
1943
  config
1929
1944
  );
1930
1945
  }
@@ -1960,10 +1975,10 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
1960
1975
 
1961
1976
  var _unbuild = require('unbuild');
1962
1977
  async function resolveOptions(options, config) {
1963
- _chunkODCZF6YRcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1964
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, "Build options resolution");
1978
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1979
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, "Build options resolution");
1965
1980
  if (options.configPath) {
1966
- const configFile = await _chunkOELYTKJQcjs.loadConfig.call(void 0, options.configPath);
1981
+ const configFile = await _chunk45AA6JLQcjs.loadConfig.call(void 0, options.configPath);
1967
1982
  if (configFile) {
1968
1983
  options = _defu2.default.call(void 0, options, configFile);
1969
1984
  }
@@ -2144,7 +2159,7 @@ async function resolveOptions(options, config) {
2144
2159
  treeShaking: options.treeShaking !== false,
2145
2160
  platform: options.platform || "neutral",
2146
2161
  color: true,
2147
- logLevel: config.logLevel === _chunkODCZF6YRcjs.LogLevelLabel.FATAL ? _chunkODCZF6YRcjs.LogLevelLabel.ERROR : _chunkODCZF6YRcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
2162
+ logLevel: config.logLevel === _chunkWLTWYGVLcjs.LogLevelLabel.FATAL ? _chunkWLTWYGVLcjs.LogLevelLabel.ERROR : _chunkWLTWYGVLcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
2148
2163
  }
2149
2164
  }
2150
2165
  };
@@ -2165,7 +2180,7 @@ async function resolveOptions(options, config) {
2165
2180
  if (options.rollup) {
2166
2181
  let rollup = {};
2167
2182
  if (typeof options.rollup === "string") {
2168
- const rollupFile = await _chunkOELYTKJQcjs.loadConfig.call(void 0, options.rollup);
2183
+ const rollupFile = await _chunk45AA6JLQcjs.loadConfig.call(void 0, options.rollup);
2169
2184
  if (rollupFile) {
2170
2185
  rollup = rollupFile;
2171
2186
  }
@@ -2177,20 +2192,20 @@ async function resolveOptions(options, config) {
2177
2192
  resolvedOptions.hooks = {
2178
2193
  "rollup:options": async (ctx, opts) => {
2179
2194
  if (options.plugins && options.plugins.length > 0) {
2180
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
2195
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
2181
2196
  ` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
2182
2197
  config
2183
2198
  );
2184
2199
  opts.plugins = options.plugins;
2185
2200
  } else {
2186
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
2201
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
2187
2202
  ` \u{1F9E9} No plugins found in provided build options, using default plugins`,
2188
2203
  config
2189
2204
  );
2190
2205
  opts.plugins = await Promise.all([
2191
- _chunkI7PNN4LOcjs.analyzePlugin.call(void 0, resolvedOptions),
2192
- _chunkOELYTKJQcjs.tscPlugin.call(void 0, resolvedOptions),
2193
- _chunkWNIVGBV6cjs.onErrorPlugin.call(void 0, resolvedOptions)
2206
+ _chunkP55SG7JMcjs.analyzePlugin.call(void 0, resolvedOptions),
2207
+ _chunk45AA6JLQcjs.tscPlugin.call(void 0, resolvedOptions),
2208
+ _chunkPRWK6D2Zcjs.onErrorPlugin.call(void 0, resolvedOptions)
2194
2209
  ]);
2195
2210
  }
2196
2211
  },
@@ -2245,8 +2260,8 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
2245
2260
  };
2246
2261
  async function generatePackageJson(options) {
2247
2262
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(options.projectRoot, "package.json"))) {
2248
- _chunkODCZF6YRcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
2249
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, "Write package.json file");
2263
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
2264
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, "Write package.json file");
2250
2265
  const packageJsonPath = joinPaths(options.projectRoot, "project.json");
2251
2266
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
2252
2267
  throw new Error("Cannot find package.json configuration");
@@ -2344,11 +2359,11 @@ async function generatePackageJson(options) {
2344
2359
  return options;
2345
2360
  }
2346
2361
  async function executeUnbuild(options) {
2347
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
2362
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
2348
2363
  ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
2349
2364
  options.config
2350
2365
  );
2351
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0,
2366
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0,
2352
2367
  `${options.name} (${options.projectRoot}) build`
2353
2368
  );
2354
2369
  try {
@@ -2357,9 +2372,9 @@ async function executeUnbuild(options) {
2357
2372
  config: null,
2358
2373
  rootDir: joinPaths(options.config.workspaceRoot, options.projectRoot)
2359
2374
  };
2360
- _chunkODCZF6YRcjs.writeTrace.call(void 0,
2375
+ _chunkWLTWYGVLcjs.writeTrace.call(void 0,
2361
2376
  `Running with unbuild configuration:
2362
- ${_chunkODCZF6YRcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
2377
+ ${_chunkWLTWYGVLcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
2363
2378
  `,
2364
2379
  options.config
2365
2380
  );
@@ -2370,11 +2385,11 @@ ${_chunkODCZF6YRcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
2370
2385
  return options;
2371
2386
  }
2372
2387
  async function copyBuildAssets(options) {
2373
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
2388
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
2374
2389
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
2375
2390
  options.config
2376
2391
  );
2377
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
2392
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
2378
2393
  await copyAssets(
2379
2394
  options.config,
2380
2395
  _nullishCoalesce(options.assets, () => ( [])),
@@ -2389,12 +2404,12 @@ async function copyBuildAssets(options) {
2389
2404
  }
2390
2405
  async function cleanOutputPath(options) {
2391
2406
  if (options.clean !== false && options.outDir) {
2392
- _chunkODCZF6YRcjs.writeDebug.call(void 0,
2407
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0,
2393
2408
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
2394
2409
  options.config
2395
2410
  );
2396
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, `${options.name} output clean`);
2397
- await _chunk6BXC3EZAcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
2411
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, `${options.name} output clean`);
2412
+ await _chunkW7QA6HKDcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
2398
2413
  stopwatch();
2399
2414
  }
2400
2415
  return options;
@@ -2409,8 +2424,8 @@ async function build(options) {
2409
2424
  throw new Error("Cannot find workspace root");
2410
2425
  }
2411
2426
  const config = await getConfig(workspaceRoot.dir);
2412
- _chunkODCZF6YRcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
2413
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, "Unbuild pipeline");
2427
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
2428
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, "Unbuild pipeline");
2414
2429
  try {
2415
2430
  options.projectRoot = correctPaths(projectRoot);
2416
2431
  const resolvedOptions = await resolveOptions(options, config);
@@ -2422,12 +2437,12 @@ async function build(options) {
2422
2437
  if (options.buildOnly !== true) {
2423
2438
  await copyBuildAssets(resolvedOptions);
2424
2439
  }
2425
- _chunkODCZF6YRcjs.writeSuccess.call(void 0,
2440
+ _chunkWLTWYGVLcjs.writeSuccess.call(void 0,
2426
2441
  ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
2427
2442
  config
2428
2443
  );
2429
2444
  } catch (error) {
2430
- _chunkODCZF6YRcjs.writeFatal.call(void 0,
2445
+ _chunkWLTWYGVLcjs.writeFatal.call(void 0,
2431
2446
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
2432
2447
  config
2433
2448
  );
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  cleanDirectories
3
- } from "./chunk-DXGDWEDW.js";
3
+ } from "./chunk-DTI3UFUL.js";
4
4
  import {
5
5
  analyzePlugin
6
- } from "./chunk-JDHN6ZBW.js";
6
+ } from "./chunk-2HM2SFF5.js";
7
7
  import {
8
8
  onErrorPlugin
9
- } from "./chunk-523CXGWV.js";
9
+ } from "./chunk-7KR7UNJU.js";
10
10
  import {
11
11
  loadConfig,
12
12
  tscPlugin
13
- } from "./chunk-KITP4SLO.js";
13
+ } from "./chunk-YYQK7YYN.js";
14
14
  import {
15
15
  LogLevel,
16
16
  LogLevelLabel,
@@ -24,7 +24,7 @@ import {
24
24
  writeSuccess,
25
25
  writeTrace,
26
26
  writeWarning
27
- } from "./chunk-6SGMK7G4.js";
27
+ } from "./chunk-MVEQ4XZ7.js";
28
28
 
29
29
  // src/build.ts
30
30
  import {
@@ -563,6 +563,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
563
563
  schemaRegistry.add(infoColorSchema, {
564
564
  description: "The informational color of the workspace"
565
565
  });
566
+ var debugColorSchema = z._default(colorSchema, "#8afafc");
567
+ schemaRegistry.add(debugColorSchema, {
568
+ description: "The debug color of the workspace"
569
+ });
566
570
  var warningColorSchema = z._default(colorSchema, "#f3d371");
567
571
  schemaRegistry.add(warningColorSchema, {
568
572
  description: "The warning color of the workspace"
@@ -597,6 +601,7 @@ var darkColorsSchema = z.object({
597
601
  help: helpColorSchema,
598
602
  success: successColorSchema,
599
603
  info: infoColorSchema,
604
+ debug: debugColorSchema,
600
605
  warning: warningColorSchema,
601
606
  danger: dangerColorSchema,
602
607
  fatal: fatalColorSchema,
@@ -614,6 +619,7 @@ var lightColorsSchema = z.object({
614
619
  help: helpColorSchema,
615
620
  success: successColorSchema,
616
621
  info: infoColorSchema,
622
+ debug: debugColorSchema,
617
623
  warning: warningColorSchema,
618
624
  danger: dangerColorSchema,
619
625
  fatal: fatalColorSchema,
@@ -635,6 +641,7 @@ var singleColorsSchema = z.object({
635
641
  help: helpColorSchema,
636
642
  success: successColorSchema,
637
643
  info: infoColorSchema,
644
+ debug: debugColorSchema,
638
645
  warning: warningColorSchema,
639
646
  danger: dangerColorSchema,
640
647
  fatal: fatalColorSchema,
@@ -1420,6 +1427,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1420
1427
  help: process.env[`${prefix}HELP`],
1421
1428
  success: process.env[`${prefix}SUCCESS`],
1422
1429
  info: process.env[`${prefix}INFO`],
1430
+ debug: process.env[`${prefix}DEBUG`],
1423
1431
  warning: process.env[`${prefix}WARNING`],
1424
1432
  danger: process.env[`${prefix}DANGER`],
1425
1433
  fatal: process.env[`${prefix}FATAL`],
@@ -1458,6 +1466,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1458
1466
  help: process.env[`${prefix}HELP`],
1459
1467
  success: process.env[`${prefix}SUCCESS`],
1460
1468
  info: process.env[`${prefix}INFO`],
1469
+ debug: process.env[`${prefix}DEBUG`],
1461
1470
  warning: process.env[`${prefix}WARNING`],
1462
1471
  danger: process.env[`${prefix}DANGER`],
1463
1472
  fatal: process.env[`${prefix}FATAL`],
@@ -1759,6 +1768,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1759
1768
  if (config.info) {
1760
1769
  process.env[`${prefix}INFO`] = config.info;
1761
1770
  }
1771
+ if (config.debug) {
1772
+ process.env[`${prefix}DEBUG`] = config.debug;
1773
+ }
1762
1774
  if (config.warning) {
1763
1775
  process.env[`${prefix}WARNING`] = config.warning;
1764
1776
  }
@@ -1814,6 +1826,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1814
1826
  if (config.info) {
1815
1827
  process.env[`${prefix}INFO`] = config.info;
1816
1828
  }
1829
+ if (config.debug) {
1830
+ process.env[`${prefix}DEBUG`] = config.debug;
1831
+ }
1817
1832
  if (config.warning) {
1818
1833
  process.env[`${prefix}WARNING`] = config.warning;
1819
1834
  }
@@ -90,6 +90,7 @@ var DEFAULT_COLOR_CONFIG = {
90
90
  help: "#5C4EE5",
91
91
  success: "#087f5b",
92
92
  info: "#0550ae",
93
+ debug: "#8afafc",
93
94
  warning: "#e3b341",
94
95
  danger: "#D8314A",
95
96
  fatal: "#51070f",
@@ -106,6 +107,7 @@ var DEFAULT_COLOR_CONFIG = {
106
107
  help: "#818cf8",
107
108
  success: "#10b981",
108
109
  info: "#58a6ff",
110
+ debug: "#8afafc",
109
111
  warning: "#f3d371",
110
112
  danger: "#D8314A",
111
113
  fatal: "#a40e26",
@@ -235,7 +237,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
235
237
  return (message) => {
236
238
  console.debug(
237
239
  `
238
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
240
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
239
241
  `
240
242
  );
241
243
  };
@@ -244,7 +246,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
244
246
  return (message) => {
245
247
  console.debug(
246
248
  `
247
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
249
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
248
250
  `
249
251
  );
250
252
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkODCZF6YRcjs = require('./chunk-ODCZF6YR.cjs');
3
+ var _chunkWLTWYGVLcjs = require('./chunk-WLTWYGVL.cjs');
4
4
 
5
5
  // src/plugins/analyze.ts
6
6
  var formatBytes = (bytes) => {
@@ -17,7 +17,7 @@ var analyzePlugin = (options) => {
17
17
  renderChunk(source, chunk) {
18
18
  const sourceBytes = formatBytes(source.length);
19
19
  const fileName = chunk.fileName;
20
- _chunkODCZF6YRcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
20
+ _chunkWLTWYGVLcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
21
21
  }
22
22
  };
23
23
  };
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkODCZF6YRcjs = require('./chunk-ODCZF6YR.cjs');
3
+ var _chunkWLTWYGVLcjs = require('./chunk-WLTWYGVL.cjs');
4
4
 
5
5
  // src/plugins/on-error.ts
6
6
  var onErrorPlugin = (options) => ({
7
7
  name: "storm:on-error",
8
8
  buildEnd(error) {
9
9
  if (error) {
10
- _chunkODCZF6YRcjs.writeError.call(void 0,
10
+ _chunkWLTWYGVLcjs.writeError.call(void 0,
11
11
  `The following errors occurred during the build:
12
12
  ${error ? error.message : "Unknown build error"}
13
13
 
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
18
18
  }
19
19
  },
20
20
  renderError(error) {
21
- _chunkODCZF6YRcjs.writeError.call(void 0,
21
+ _chunkWLTWYGVLcjs.writeError.call(void 0,
22
22
  `The following errors occurred during the build:
23
23
  ${error ? error.message : "Unknown build error"}
24
24
 
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkODCZF6YRcjs = require('./chunk-ODCZF6YR.cjs');
4
+ var _chunkWLTWYGVLcjs = require('./chunk-WLTWYGVL.cjs');
5
5
 
6
6
  // src/clean.ts
7
7
  var _promises = require('fs/promises');
8
8
  async function clean(name = "Unbuild", directory, config) {
9
- _chunkODCZF6YRcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
10
- const stopwatch = _chunkODCZF6YRcjs.getStopwatch.call(void 0, `${name} output clean`);
9
+ _chunkWLTWYGVLcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
10
+ const stopwatch = _chunkWLTWYGVLcjs.getStopwatch.call(void 0, `${name} output clean`);
11
11
  await cleanDirectories(name, directory, config);
12
12
  stopwatch();
13
13
  }
@@ -90,6 +90,7 @@ var DEFAULT_COLOR_CONFIG = {
90
90
  help: "#5C4EE5",
91
91
  success: "#087f5b",
92
92
  info: "#0550ae",
93
+ debug: "#8afafc",
93
94
  warning: "#e3b341",
94
95
  danger: "#D8314A",
95
96
  fatal: "#51070f",
@@ -106,6 +107,7 @@ var DEFAULT_COLOR_CONFIG = {
106
107
  help: "#818cf8",
107
108
  success: "#10b981",
108
109
  info: "#58a6ff",
110
+ debug: "#8afafc",
109
111
  warning: "#f3d371",
110
112
  danger: "#D8314A",
111
113
  fatal: "#a40e26",
@@ -235,7 +237,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
235
237
  return (message) => {
236
238
  console.debug(
237
239
  `
238
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
240
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
239
241
  `
240
242
  );
241
243
  };
@@ -244,7 +246,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
244
246
  return (message) => {
245
247
  console.debug(
246
248
  `
247
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
249
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
248
250
  `
249
251
  );
250
252
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeTrace
3
- } from "./chunk-6SGMK7G4.js";
3
+ } from "./chunk-MVEQ4XZ7.js";
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
  import {
package/dist/clean.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6BXC3EZAcjs = require('./chunk-6BXC3EZA.cjs');
5
- require('./chunk-ODCZF6YR.cjs');
4
+ var _chunkW7QA6HKDcjs = require('./chunk-W7QA6HKD.cjs');
5
+ require('./chunk-WLTWYGVL.cjs');
6
6
  require('./chunk-OBGZSXTJ.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunk6BXC3EZAcjs.clean; exports.cleanDirectories = _chunk6BXC3EZAcjs.cleanDirectories;
10
+ exports.clean = _chunkW7QA6HKDcjs.clean; exports.cleanDirectories = _chunkW7QA6HKDcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-DXGDWEDW.js";
5
- import "./chunk-6SGMK7G4.js";
4
+ } from "./chunk-DTI3UFUL.js";
5
+ import "./chunk-MVEQ4XZ7.js";
6
6
  import "./chunk-3RG5ZIWI.js";
7
7
  export {
8
8
  clean,
package/dist/index.cjs CHANGED
@@ -5,19 +5,19 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkD37BH6P6cjs = require('./chunk-D37BH6P6.cjs');
8
+ var _chunkFZP5LPVWcjs = require('./chunk-FZP5LPVW.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunk6BXC3EZAcjs = require('./chunk-6BXC3EZA.cjs');
12
+ var _chunkW7QA6HKDcjs = require('./chunk-W7QA6HKD.cjs');
13
13
  require('./chunk-SFZRYJZ2.cjs');
14
- require('./chunk-I7PNN4LO.cjs');
15
- require('./chunk-WNIVGBV6.cjs');
14
+ require('./chunk-P55SG7JM.cjs');
15
+ require('./chunk-PRWK6D2Z.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkOELYTKJQcjs = require('./chunk-OELYTKJQ.cjs');
20
- require('./chunk-ODCZF6YR.cjs');
19
+ var _chunk45AA6JLQcjs = require('./chunk-45AA6JLQ.cjs');
20
+ require('./chunk-WLTWYGVL.cjs');
21
21
  require('./chunk-OBGZSXTJ.cjs');
22
22
 
23
23
 
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.build = _chunkD37BH6P6cjs.build; exports.clean = _chunk6BXC3EZAcjs.clean; exports.cleanDirectories = _chunk6BXC3EZAcjs.cleanDirectories; exports.cleanOutputPath = _chunkD37BH6P6cjs.cleanOutputPath; exports.copyBuildAssets = _chunkD37BH6P6cjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkOELYTKJQcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkD37BH6P6cjs.executeUnbuild; exports.generatePackageJson = _chunkD37BH6P6cjs.generatePackageJson; exports.loadConfig = _chunkOELYTKJQcjs.loadConfig; exports.resolveOptions = _chunkD37BH6P6cjs.resolveOptions;
33
+ exports.build = _chunkFZP5LPVWcjs.build; exports.clean = _chunkW7QA6HKDcjs.clean; exports.cleanDirectories = _chunkW7QA6HKDcjs.cleanDirectories; exports.cleanOutputPath = _chunkFZP5LPVWcjs.cleanOutputPath; exports.copyBuildAssets = _chunkFZP5LPVWcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk45AA6JLQcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkFZP5LPVWcjs.executeUnbuild; exports.generatePackageJson = _chunkFZP5LPVWcjs.generatePackageJson; exports.loadConfig = _chunk45AA6JLQcjs.loadConfig; exports.resolveOptions = _chunkFZP5LPVWcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,19 +5,19 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-Z2R4D4LC.js";
8
+ } from "./chunk-I2GNLYNO.js";
9
9
  import {
10
10
  clean,
11
11
  cleanDirectories
12
- } from "./chunk-DXGDWEDW.js";
12
+ } from "./chunk-DTI3UFUL.js";
13
13
  import "./chunk-GGNOJ77I.js";
14
- import "./chunk-JDHN6ZBW.js";
15
- import "./chunk-523CXGWV.js";
14
+ import "./chunk-2HM2SFF5.js";
15
+ import "./chunk-7KR7UNJU.js";
16
16
  import {
17
17
  createTsCompilerOptions,
18
18
  loadConfig
19
- } from "./chunk-KITP4SLO.js";
20
- import "./chunk-6SGMK7G4.js";
19
+ } from "./chunk-YYQK7YYN.js";
20
+ import "./chunk-MVEQ4XZ7.js";
21
21
  import "./chunk-3RG5ZIWI.js";
22
22
  export {
23
23
  build,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkI7PNN4LOcjs = require('../chunk-I7PNN4LO.cjs');
4
- require('../chunk-ODCZF6YR.cjs');
3
+ var _chunkP55SG7JMcjs = require('../chunk-P55SG7JM.cjs');
4
+ require('../chunk-WLTWYGVL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.analyzePlugin = _chunkI7PNN4LOcjs.analyzePlugin;
8
+ exports.analyzePlugin = _chunkP55SG7JMcjs.analyzePlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  analyzePlugin
3
- } from "../chunk-JDHN6ZBW.js";
4
- import "../chunk-6SGMK7G4.js";
3
+ } from "../chunk-2HM2SFF5.js";
4
+ import "../chunk-MVEQ4XZ7.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  analyzePlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkWNIVGBV6cjs = require('../chunk-WNIVGBV6.cjs');
4
- require('../chunk-ODCZF6YR.cjs');
3
+ var _chunkPRWK6D2Zcjs = require('../chunk-PRWK6D2Z.cjs');
4
+ require('../chunk-WLTWYGVL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.onErrorPlugin = _chunkWNIVGBV6cjs.onErrorPlugin;
8
+ exports.onErrorPlugin = _chunkPRWK6D2Zcjs.onErrorPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  onErrorPlugin
3
- } from "../chunk-523CXGWV.js";
4
- import "../chunk-6SGMK7G4.js";
3
+ } from "../chunk-7KR7UNJU.js";
4
+ import "../chunk-MVEQ4XZ7.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  onErrorPlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOELYTKJQcjs = require('../chunk-OELYTKJQ.cjs');
4
- require('../chunk-ODCZF6YR.cjs');
3
+ var _chunk45AA6JLQcjs = require('../chunk-45AA6JLQ.cjs');
4
+ require('../chunk-WLTWYGVL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.tscPlugin = _chunkOELYTKJQcjs.tscPlugin;
8
+ exports.tscPlugin = _chunk45AA6JLQcjs.tscPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tscPlugin
3
- } from "../chunk-KITP4SLO.js";
4
- import "../chunk-6SGMK7G4.js";
3
+ } from "../chunk-YYQK7YYN.js";
4
+ import "../chunk-MVEQ4XZ7.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  tscPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/unbuild",
3
- "version": "0.57.75",
3
+ "version": "0.57.76",
4
4
  "type": "module",
5
5
  "description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -147,9 +147,9 @@
147
147
  "typescript": { "optional": false }
148
148
  },
149
149
  "dependencies": {
150
- "@storm-software/build-tools": "^0.158.75",
151
- "@storm-software/config": "^1.134.75",
152
- "@storm-software/config-tools": "^1.188.75",
150
+ "@storm-software/build-tools": "^0.158.76",
151
+ "@storm-software/config": "^1.135.0",
152
+ "@storm-software/config-tools": "^1.188.76",
153
153
  "commander": "^12.1.0",
154
154
  "defu": "6.1.4",
155
155
  "esbuild": "^0.25.12",
@@ -171,5 +171,5 @@
171
171
  },
172
172
  "publishConfig": { "access": "public" },
173
173
  "sideEffects": false,
174
- "gitHead": "99ed954da76fded1e0554ae38f1a93f7601e3c24"
174
+ "gitHead": "e19d4a36814afd4e68d56d8c7e620ec273b71a03"
175
175
  }