@storm-software/build-tools 0.125.2 → 0.125.4

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/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.125.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.125.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Build Tools](#storm-build-tools)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeInfo
3
- } from "./chunk-E3W7LN2E.mjs";
3
+ } from "./chunk-A24RXGCW.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-O6YSETKJ.mjs";
@@ -109,6 +109,7 @@ var LogLevelLabel = {
109
109
  FATAL: "fatal",
110
110
  ERROR: "error",
111
111
  WARN: "warn",
112
+ SUCCESS: "success",
112
113
  INFO: "info",
113
114
  DEBUG: "debug",
114
115
  TRACE: "trace",
@@ -167,7 +168,7 @@ var getLogLevelLabel = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (log
167
168
  }, "getLogLevelLabel");
168
169
  var isVerbose = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (label = LogLevelLabel.SILENT) => {
169
170
  const logLevel = typeof label === "string" ? getLogLevel(label) : label;
170
- return logLevel <= LogLevel.DEBUG;
171
+ return logLevel >= LogLevel.DEBUG;
171
172
  }, "isVerbose");
172
173
 
173
174
  // ../config/src/constants.ts
@@ -308,6 +309,7 @@ var StormConfigSchema = _zod2.default.object({
308
309
  "fatal",
309
310
  "error",
310
311
  "warn",
312
+ "success",
311
313
  "info",
312
314
  "debug",
313
315
  "trace",
@@ -419,12 +421,17 @@ var chalkDefault = {
419
421
  whiteBright: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "whiteBright")
420
422
  }), "bgHex"),
421
423
  whiteBright: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "whiteBright"),
424
+ gray: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "gray"),
422
425
  bold: {
423
426
  hex: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (_) => (message) => message, "hex"),
424
427
  bgHex: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (_) => ({
425
428
  whiteBright: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "whiteBright")
426
429
  }), "bgHex"),
427
430
  whiteBright: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "whiteBright")
431
+ },
432
+ dim: {
433
+ hex: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (_) => (message) => message, "hex"),
434
+ gray: /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (message) => message, "gray")
428
435
  }
429
436
  };
430
437
  var getChalk = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
@@ -435,6 +442,38 @@ var getChalk = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
435
442
  return _chalk;
436
443
  }, "getChalk");
437
444
 
445
+ // ../config-tools/src/logger/is-unicode-supported.ts
446
+ var _process = require('process'); var _process2 = _interopRequireDefault(_process);
447
+ function isUnicodeSupported() {
448
+ const { env } = _process2.default;
449
+ const { TERM, TERM_PROGRAM } = env;
450
+ if (_process2.default.platform !== "win32") {
451
+ return TERM !== "linux";
452
+ }
453
+ return Boolean(env.WT_SESSION) || // Windows Terminal
454
+ Boolean(env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
455
+ env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
456
+ TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
457
+ }
458
+ _chunkSHUYVCIDjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
459
+
460
+ // ../config-tools/src/logger/console-icons.ts
461
+ var useIcon = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
462
+ var CONSOLE_ICONS = {
463
+ [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
464
+ [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
465
+ [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
466
+ [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
467
+ [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
468
+ [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
469
+ [LogLevelLabel.TRACE]: useIcon("\u2709", "\u2192")
470
+ };
471
+
472
+ // ../config-tools/src/logger/format-timestamp.ts
473
+ var formatTimestamp = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
474
+ return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
475
+ }, "formatTimestamp");
476
+
438
477
  // ../config-tools/src/logger/console.ts
439
478
  var getLogFn = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}) => {
440
479
  const _chalk = getChalk();
@@ -446,42 +485,49 @@ var getLogFn = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (logLevel =
446
485
  }
447
486
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
448
487
  return (message) => {
449
- console.error(`${_chalk.bold.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a"))).whiteBright(" \u{1F480} Fatal ")} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(formatLogMessage(message))}
488
+ console.error(`
489
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(formatLogMessage(message))}
450
490
  `);
451
491
  };
452
492
  }
453
493
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
454
494
  return (message) => {
455
- console.error(`${_chalk.bold.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.danger, () => ( "#f85149"))).whiteBright(" \u2718 Error ")} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(formatLogMessage(message))}
495
+ console.error(`
496
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(formatLogMessage(message))}
456
497
  `);
457
498
  };
458
499
  }
459
500
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
460
501
  return (message) => {
461
- console.warn(`${_chalk.bold.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.warning, () => ( "#e3b341"))).whiteBright(" \u26A0 Warn ")} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(formatLogMessage(message))}
502
+ console.warn(`
503
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(formatLogMessage(message))}
462
504
  `);
463
505
  };
464
506
  }
465
507
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
466
508
  return (message) => {
467
- console.info(`${_chalk.bold.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.success, () => ( "#56d364"))).whiteBright(" \u2713 Success ")} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(formatLogMessage(message))}
509
+ console.info(`
510
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(formatLogMessage(message))}
468
511
  `);
469
512
  };
470
513
  }
471
514
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
472
515
  return (message) => {
473
- console.info(`${_chalk.bold.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.info, () => ( "#58a6ff"))).whiteBright(" \u2139 Info ")} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(formatLogMessage(message))}
516
+ console.info(`
517
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(formatLogMessage(message))}
474
518
  `);
475
519
  };
476
520
  }
477
521
  if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
478
522
  return (message) => {
479
- console.debug(`${_chalk.bold.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6"))).whiteBright(" \u{1F6E0} Debug ")} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(formatLogMessage(message))}
523
+ console.debug(`
524
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Debug]`)} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(formatLogMessage(message))}
480
525
  `);
481
526
  };
482
527
  }
483
528
  return (message) => {
484
- console.log(`${_chalk.bold.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6"))).whiteBright(" \u2709 System ")} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(formatLogMessage(message))}
529
+ console.log(`
530
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(formatLogMessage(message))}
485
531
  `);
486
532
  };
487
533
  }, "getLogFn");
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
3
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
4
4
 
5
5
 
6
6
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -30,7 +30,7 @@ function analyze() {
30
30
  renderChunk(source, chunk) {
31
31
  const sourceBytes = formatBytes(source.length);
32
32
  const fileName = chunk.fileName;
33
- _chunkVWURFMEDjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
33
+ _chunk45ZDIGOFjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`);
34
34
  }
35
35
  };
36
36
  }
@@ -109,6 +109,7 @@ var LogLevelLabel = {
109
109
  FATAL: "fatal",
110
110
  ERROR: "error",
111
111
  WARN: "warn",
112
+ SUCCESS: "success",
112
113
  INFO: "info",
113
114
  DEBUG: "debug",
114
115
  TRACE: "trace",
@@ -167,7 +168,7 @@ var getLogLevelLabel = /* @__PURE__ */ __name((logLevel = LogLevel.INFO) => {
167
168
  }, "getLogLevelLabel");
168
169
  var isVerbose = /* @__PURE__ */ __name((label = LogLevelLabel.SILENT) => {
169
170
  const logLevel = typeof label === "string" ? getLogLevel(label) : label;
170
- return logLevel <= LogLevel.DEBUG;
171
+ return logLevel >= LogLevel.DEBUG;
171
172
  }, "isVerbose");
172
173
 
173
174
  // ../config/src/constants.ts
@@ -308,6 +309,7 @@ var StormConfigSchema = z.object({
308
309
  "fatal",
309
310
  "error",
310
311
  "warn",
312
+ "success",
311
313
  "info",
312
314
  "debug",
313
315
  "trace",
@@ -419,12 +421,17 @@ var chalkDefault = {
419
421
  whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
420
422
  }), "bgHex"),
421
423
  whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright"),
424
+ gray: /* @__PURE__ */ __name((message) => message, "gray"),
422
425
  bold: {
423
426
  hex: /* @__PURE__ */ __name((_) => (message) => message, "hex"),
424
427
  bgHex: /* @__PURE__ */ __name((_) => ({
425
428
  whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
426
429
  }), "bgHex"),
427
430
  whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
431
+ },
432
+ dim: {
433
+ hex: /* @__PURE__ */ __name((_) => (message) => message, "hex"),
434
+ gray: /* @__PURE__ */ __name((message) => message, "gray")
428
435
  }
429
436
  };
430
437
  var getChalk = /* @__PURE__ */ __name(() => {
@@ -435,6 +442,38 @@ var getChalk = /* @__PURE__ */ __name(() => {
435
442
  return _chalk;
436
443
  }, "getChalk");
437
444
 
445
+ // ../config-tools/src/logger/is-unicode-supported.ts
446
+ import process2 from "node:process";
447
+ function isUnicodeSupported() {
448
+ const { env } = process2;
449
+ const { TERM, TERM_PROGRAM } = env;
450
+ if (process2.platform !== "win32") {
451
+ return TERM !== "linux";
452
+ }
453
+ return Boolean(env.WT_SESSION) || // Windows Terminal
454
+ Boolean(env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
455
+ env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
456
+ TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
457
+ }
458
+ __name(isUnicodeSupported, "isUnicodeSupported");
459
+
460
+ // ../config-tools/src/logger/console-icons.ts
461
+ var useIcon = /* @__PURE__ */ __name((c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
462
+ var CONSOLE_ICONS = {
463
+ [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
464
+ [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
465
+ [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
466
+ [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
467
+ [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
468
+ [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
469
+ [LogLevelLabel.TRACE]: useIcon("\u2709", "\u2192")
470
+ };
471
+
472
+ // ../config-tools/src/logger/format-timestamp.ts
473
+ var formatTimestamp = /* @__PURE__ */ __name((date = /* @__PURE__ */ new Date()) => {
474
+ return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
475
+ }, "formatTimestamp");
476
+
438
477
  // ../config-tools/src/logger/console.ts
439
478
  var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}) => {
440
479
  const _chalk = getChalk();
@@ -446,42 +485,49 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}) =>
446
485
  }
447
486
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
448
487
  return (message) => {
449
- console.error(`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(" \u{1F480} Fatal ")} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
488
+ console.error(`
489
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
450
490
  `);
451
491
  };
452
492
  }
453
493
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
454
494
  return (message) => {
455
- console.error(`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(" \u2718 Error ")} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
495
+ console.error(`
496
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
456
497
  `);
457
498
  };
458
499
  }
459
500
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
460
501
  return (message) => {
461
- console.warn(`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(" \u26A0 Warn ")} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
502
+ console.warn(`
503
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
462
504
  `);
463
505
  };
464
506
  }
465
507
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
466
508
  return (message) => {
467
- console.info(`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(" \u2713 Success ")} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
509
+ console.info(`
510
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
468
511
  `);
469
512
  };
470
513
  }
471
514
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
472
515
  return (message) => {
473
- console.info(`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(" \u2139 Info ")} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
516
+ console.info(`
517
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
474
518
  `);
475
519
  };
476
520
  }
477
521
  if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
478
522
  return (message) => {
479
- console.debug(`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(" \u{1F6E0} Debug ")} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
523
+ console.debug(`
524
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Debug]`)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
480
525
  `);
481
526
  };
482
527
  }
483
528
  return (message) => {
484
- console.log(`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(" \u2709 System ")} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
529
+ console.log(`
530
+ ${_chalk.gray(formatTimestamp())} ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
485
531
  `);
486
532
  };
487
533
  }, "getLogFn");
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
6
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
7
7
 
8
8
 
9
9
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -11,7 +11,7 @@ var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
11
11
  // src/utilities/get-entry-points.ts
12
12
  var _glob = require('glob');
13
13
  var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
14
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkVWURFMEDjs.findWorkspaceRoot.call(void 0, );
14
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk45ZDIGOFjs.findWorkspaceRoot.call(void 0, );
15
15
  const entryPoints = [];
16
16
  if (entry) {
17
17
  if (Array.isArray(entry)) {
@@ -23,7 +23,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
23
23
  }
24
24
  }
25
25
  if (emitOnAll) {
26
- entryPoints.push(_chunkVWURFMEDjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
26
+ entryPoints.push(_chunk45ZDIGOFjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
27
27
  }
28
28
  const results = [];
29
29
  for (const entryPoint in entryPoints) {
@@ -32,9 +32,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async
32
32
  withFileTypes: true
33
33
  });
34
34
  results.push(...files.reduce((ret, filePath) => {
35
- const result = _chunkVWURFMEDjs.correctPaths.call(void 0, _chunkVWURFMEDjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkVWURFMEDjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkVWURFMEDjs.correctPaths.call(void 0, projectRoot), ""));
35
+ const result = _chunk45ZDIGOFjs.correctPaths.call(void 0, _chunk45ZDIGOFjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk45ZDIGOFjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunk45ZDIGOFjs.correctPaths.call(void 0, projectRoot), ""));
36
36
  if (result) {
37
- _chunkVWURFMEDjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkVWURFMEDjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
37
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunk45ZDIGOFjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
38
38
  if (!results.includes(result)) {
39
39
  results.push(result);
40
40
  }
@@ -3,7 +3,7 @@ import {
3
3
  findWorkspaceRoot,
4
4
  joinPaths,
5
5
  writeDebug
6
- } from "./chunk-E3W7LN2E.mjs";
6
+ } from "./chunk-A24RXGCW.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-O6YSETKJ.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkGBAHPLOAjs = require('./chunk-GBAHPLOA.js');
3
+ var _chunkWNPKRTXMjs = require('./chunk-WNPKRTXM.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
8
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
9
9
 
10
10
 
11
11
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -45,7 +45,7 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
45
45
  output: "src/"
46
46
  });
47
47
  }
48
- const nxJson = _chunkGBAHPLOAjs.readNxConfig.call(void 0, config.workspaceRoot);
48
+ const nxJson = _chunkWNPKRTXMjs.readNxConfig.call(void 0, config.workspaceRoot);
49
49
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
50
50
  exitOnError: true
51
51
  });
@@ -55,7 +55,7 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
55
55
  }
56
56
  const buildTarget = _optionalChain([projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[projectName], 'optionalAccess', _11 => _11.targets, 'optionalAccess', _12 => _12.build]);
57
57
  if (!buildTarget) {
58
- throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkVWURFMEDjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
58
+ throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunk45ZDIGOFjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
59
59
  }
60
60
  const result = await _js.copyAssets.call(void 0, {
61
61
  assets,
@@ -70,18 +70,18 @@ var copyAssets = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (con
70
70
  projectsConfigurations,
71
71
  nxJsonConfiguration: nxJson,
72
72
  cwd: config.workspaceRoot,
73
- isVerbose: _chunkVWURFMEDjs.isVerbose.call(void 0, config.logLevel)
73
+ isVerbose: _chunk45ZDIGOFjs.isVerbose.call(void 0, config.logLevel)
74
74
  });
75
75
  if (!result.success) {
76
76
  throw new Error("The Build process failed trying to copy assets");
77
77
  }
78
78
  if (includeSrc === true) {
79
- _chunkVWURFMEDjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkVWURFMEDjs.joinPaths.call(void 0, outputPath, "src")}`, config);
79
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunk45ZDIGOFjs.joinPaths.call(void 0, outputPath, "src")}`, config);
80
80
  const files = await _glob.glob.call(void 0, [
81
- _chunkVWURFMEDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
82
- _chunkVWURFMEDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
83
- _chunkVWURFMEDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
84
- _chunkVWURFMEDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
81
+ _chunk45ZDIGOFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
82
+ _chunk45ZDIGOFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
83
+ _chunk45ZDIGOFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
84
+ _chunk45ZDIGOFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
85
85
  ]);
86
86
  await Promise.allSettled(files.map(async (file) => _node.hfs.write(file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
87
87
 
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
3
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
4
4
 
5
5
 
6
6
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -25,8 +25,8 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
25
25
  return {
26
26
  name: `storm:ts-resolve`,
27
27
  async resolveId(source, importer) {
28
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
29
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
28
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
29
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
30
30
  if (!importer) {
31
31
  return null;
32
32
  }
@@ -37,7 +37,7 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
37
37
  return false;
38
38
  }
39
39
  if (ignore && ignore(source, importer)) {
40
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
40
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
41
41
  return null;
42
42
  }
43
43
  if (resolveOnly) {
@@ -46,12 +46,12 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
46
46
  return v.test(source);
47
47
  });
48
48
  if (!shouldResolve) {
49
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
49
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
50
50
  return null;
51
51
  }
52
52
  }
53
53
  if (_path2.default.isAbsolute(source)) {
54
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
54
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
55
55
  return null;
56
56
  }
57
57
  const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
@@ -83,10 +83,10 @@ var tsResolvePlugin = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, ({ re
83
83
  });
84
84
  }
85
85
  if (id) {
86
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
86
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
87
87
  return id;
88
88
  }
89
- _chunkVWURFMEDjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
89
+ _chunk45ZDIGOFjs.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
90
90
  return false;
91
91
  }
92
92
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeDebug
3
- } from "./chunk-E3W7LN2E.mjs";
3
+ } from "./chunk-A24RXGCW.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-O6YSETKJ.mjs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  readNxConfig
3
- } from "./chunk-UL2FPCCE.mjs";
3
+ } from "./chunk-WII65MJ7.mjs";
4
4
  import {
5
5
  isVerbose,
6
6
  joinPaths,
7
7
  writeDebug
8
- } from "./chunk-E3W7LN2E.mjs";
8
+ } from "./chunk-A24RXGCW.mjs";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-O6YSETKJ.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  writeSystem,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "./chunk-E3W7LN2E.mjs";
17
+ } from "./chunk-A24RXGCW.mjs";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-O6YSETKJ.mjs";
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
17
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
18
18
 
19
19
 
20
20
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -26,7 +26,7 @@ var _node = require('@humanfs/node');
26
26
  var _c12 = require('c12');
27
27
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
28
28
  var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
29
- const workspacePath = filePath || _chunkVWURFMEDjs.findWorkspaceRoot.call(void 0, filePath);
29
+ const workspacePath = filePath || _chunk45ZDIGOFjs.findWorkspaceRoot.call(void 0, filePath);
30
30
  let config = _c12.loadConfig.call(void 0, {
31
31
  cwd: workspacePath,
32
32
  packageJson: true,
@@ -34,7 +34,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
34
34
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
35
35
  jitiOptions: {
36
36
  debug: false,
37
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkVWURFMEDjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
37
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk45ZDIGOFjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
38
38
  },
39
39
  ...options
40
40
  });
@@ -46,7 +46,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
46
46
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
47
47
  jitiOptions: {
48
48
  debug: false,
49
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkVWURFMEDjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
49
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk45ZDIGOFjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
50
50
  },
51
51
  configFile: fileName,
52
52
  ...options
@@ -55,12 +55,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
55
55
  return config;
56
56
  }, "getConfigFileByName");
57
57
  var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
58
- const workspacePath = filePath ? filePath : _chunkVWURFMEDjs.findWorkspaceRoot.call(void 0, filePath);
58
+ const workspacePath = filePath ? filePath : _chunk45ZDIGOFjs.findWorkspaceRoot.call(void 0, filePath);
59
59
  const result = await getConfigFileByName("storm", workspacePath);
60
60
  let config = result.config;
61
61
  const configFile = result.configFile;
62
62
  if (config && configFile && Object.keys(config).length > 0) {
63
- _chunkVWURFMEDjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
63
+ _chunk45ZDIGOFjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
64
64
  logLevel: "all"
65
65
  });
66
66
  }
@@ -68,7 +68,7 @@ var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (
68
68
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
69
69
  for (const result2 of results) {
70
70
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
71
- _chunkVWURFMEDjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
71
+ _chunk45ZDIGOFjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
72
72
  logLevel: "all"
73
73
  });
74
74
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
@@ -105,15 +105,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
105
105
  licensing: process.env[`${prefix}LICENSING`] || void 0,
106
106
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
107
107
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
108
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
109
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
108
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
109
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
110
110
  directories: {
111
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
112
- data: process.env[`${prefix}DATA_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
113
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
114
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
115
- log: process.env[`${prefix}LOG_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
116
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkVWURFMEDjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
111
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
112
+ data: process.env[`${prefix}DATA_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
113
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
114
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
115
+ log: process.env[`${prefix}LOG_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
116
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunk45ZDIGOFjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
117
117
  },
118
118
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
119
119
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -136,23 +136,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
136
136
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
137
137
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
138
138
  },
139
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkVWURFMEDjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
139
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunk45ZDIGOFjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
140
140
  };
141
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkVWURFMEDjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
141
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk45ZDIGOFjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
142
142
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
143
143
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
144
144
  return ret;
145
145
  }, {}) : getThemeColorConfigEnv(prefix);
146
- if (config.docs === _chunkVWURFMEDjs.STORM_DEFAULT_DOCS) {
147
- if (config.homepage === _chunkVWURFMEDjs.STORM_DEFAULT_HOMEPAGE) {
148
- config.docs = `${_chunkVWURFMEDjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
146
+ if (config.docs === _chunk45ZDIGOFjs.STORM_DEFAULT_DOCS) {
147
+ if (config.homepage === _chunk45ZDIGOFjs.STORM_DEFAULT_HOMEPAGE) {
148
+ config.docs = `${_chunk45ZDIGOFjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
149
149
  } else {
150
150
  config.docs = `${config.homepage}/docs`;
151
151
  }
152
152
  }
153
- if (config.licensing === _chunkVWURFMEDjs.STORM_DEFAULT_LICENSING) {
154
- if (config.homepage === _chunkVWURFMEDjs.STORM_DEFAULT_HOMEPAGE) {
155
- config.licensing = `${_chunkVWURFMEDjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
153
+ if (config.licensing === _chunk45ZDIGOFjs.STORM_DEFAULT_LICENSING) {
154
+ if (config.homepage === _chunk45ZDIGOFjs.STORM_DEFAULT_HOMEPAGE) {
155
+ config.licensing = `${_chunk45ZDIGOFjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
156
156
  } else {
157
157
  config.licensing = `${config.homepage}/docs`;
158
158
  }
@@ -290,31 +290,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
290
290
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
291
291
  }
292
292
  if (config.configFile) {
293
- process.env[`${prefix}CONFIG_FILE`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.configFile);
293
+ process.env[`${prefix}CONFIG_FILE`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.configFile);
294
294
  }
295
295
  if (config.workspaceRoot) {
296
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.workspaceRoot);
297
- process.env.NX_WORKSPACE_ROOT = _chunkVWURFMEDjs.correctPaths.call(void 0, config.workspaceRoot);
298
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkVWURFMEDjs.correctPaths.call(void 0, config.workspaceRoot);
296
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.workspaceRoot);
297
+ process.env.NX_WORKSPACE_ROOT = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.workspaceRoot);
298
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.workspaceRoot);
299
299
  }
300
300
  if (config.directories) {
301
301
  if (!config.skipCache && config.directories.cache) {
302
- process.env[`${prefix}CACHE_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.cache);
302
+ process.env[`${prefix}CACHE_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.cache);
303
303
  }
304
304
  if (config.directories.data) {
305
- process.env[`${prefix}DATA_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.data);
305
+ process.env[`${prefix}DATA_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.data);
306
306
  }
307
307
  if (config.directories.config) {
308
- process.env[`${prefix}CONFIG_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.config);
308
+ process.env[`${prefix}CONFIG_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.config);
309
309
  }
310
310
  if (config.directories.temp) {
311
- process.env[`${prefix}TEMP_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.temp);
311
+ process.env[`${prefix}TEMP_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.temp);
312
312
  }
313
313
  if (config.directories.log) {
314
- process.env[`${prefix}LOG_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.log);
314
+ process.env[`${prefix}LOG_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.log);
315
315
  }
316
316
  if (config.directories.build) {
317
- process.env[`${prefix}BUILD_DIR`] = _chunkVWURFMEDjs.correctPaths.call(void 0, config.directories.build);
317
+ process.env[`${prefix}BUILD_DIR`] = _chunk45ZDIGOFjs.correctPaths.call(void 0, config.directories.build);
318
318
  }
319
319
  }
320
320
  if (config.skipCache !== void 0) {
@@ -368,8 +368,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
368
368
  if (config.logLevel) {
369
369
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
370
370
  process.env.LOG_LEVEL = String(config.logLevel);
371
- process.env.NX_VERBOSE_LOGGING = String(_chunkVWURFMEDjs.getLogLevel.call(void 0, config.logLevel) >= _chunkVWURFMEDjs.LogLevel.DEBUG ? true : false);
372
- process.env.RUST_BACKTRACE = _chunkVWURFMEDjs.getLogLevel.call(void 0, config.logLevel) >= _chunkVWURFMEDjs.LogLevel.DEBUG ? "full" : "none";
371
+ process.env.NX_VERBOSE_LOGGING = String(_chunk45ZDIGOFjs.getLogLevel.call(void 0, config.logLevel) >= _chunk45ZDIGOFjs.LogLevel.DEBUG ? true : false);
372
+ process.env.RUST_BACKTRACE = _chunk45ZDIGOFjs.getLogLevel.call(void 0, config.logLevel) >= _chunk45ZDIGOFjs.LogLevel.DEBUG ? "full" : "none";
373
373
  }
374
374
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
375
375
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
@@ -479,23 +479,23 @@ var _static_cache = void 0;
479
479
  var loadStormConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (workspaceRoot) => {
480
480
  let config = {};
481
481
  if (_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) && _optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) && _static_cache.timestamp >= Date.now() + 3e4) {
482
- _chunkVWURFMEDjs.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
482
+ _chunk45ZDIGOFjs.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
483
483
  return _static_cache.data;
484
484
  }
485
485
  let _workspaceRoot = workspaceRoot;
486
486
  if (!_workspaceRoot) {
487
- _workspaceRoot = _chunkVWURFMEDjs.findWorkspaceRoot.call(void 0, );
487
+ _workspaceRoot = _chunk45ZDIGOFjs.findWorkspaceRoot.call(void 0, );
488
488
  }
489
489
  const configFile = await getConfigFile(_workspaceRoot);
490
490
  if (!configFile) {
491
- _chunkVWURFMEDjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
491
+ _chunk45ZDIGOFjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
492
492
  logLevel: "all"
493
493
  });
494
494
  }
495
- config = _defu2.default.call(void 0, getConfigEnv(), configFile, _chunkVWURFMEDjs.getDefaultConfig.call(void 0, _workspaceRoot));
495
+ config = _defu2.default.call(void 0, getConfigEnv(), configFile, _chunk45ZDIGOFjs.getDefaultConfig.call(void 0, _workspaceRoot));
496
496
  setConfigEnv(config);
497
- _chunkVWURFMEDjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
498
- ${_chunkVWURFMEDjs.formatLogMessage.call(void 0, config)}`, config);
497
+ _chunk45ZDIGOFjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
498
+ ${_chunk45ZDIGOFjs.formatLogMessage.call(void 0, config)}`, config);
499
499
  return config;
500
500
  }, "loadStormConfig");
501
501
 
@@ -506,7 +506,7 @@ var readNxConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (w
506
506
  const config = await loadStormConfig();
507
507
  rootDir = config.workspaceRoot;
508
508
  }
509
- const nxJsonPath = _chunkVWURFMEDjs.joinPaths.call(void 0, rootDir, "nx.json");
509
+ const nxJsonPath = _chunk45ZDIGOFjs.joinPaths.call(void 0, rootDir, "nx.json");
510
510
  if (!await _node.hfs.isFile(nxJsonPath)) {
511
511
  throw new Error("Cannot find project.json configuration");
512
512
  }
@@ -2,7 +2,7 @@ import {
2
2
  findWorkspaceRoot,
3
3
  joinPaths,
4
4
  writeTrace
5
- } from "./chunk-E3W7LN2E.mjs";
5
+ } from "./chunk-A24RXGCW.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-O6YSETKJ.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVWURFMEDjs = require('./chunk-VWURFMED.js');
5
+ var _chunk45ZDIGOFjs = require('./chunk-45ZDIGOF.js');
6
6
 
7
7
 
8
8
  var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
@@ -20,7 +20,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
20
20
  if (!_optionalChain([projectConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName]])) {
21
21
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
22
22
  }
23
- const projectJsonPath = _chunkVWURFMEDjs.joinPaths.call(void 0, workspaceRoot, projectRoot, "project.json");
23
+ const projectJsonPath = _chunk45ZDIGOFjs.joinPaths.call(void 0, workspaceRoot, projectRoot, "project.json");
24
24
  if (!await _node.hfs.isFile(projectJsonPath)) {
25
25
  throw new Error("Cannot find project.json configuration");
26
26
  }
@@ -32,7 +32,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
32
32
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
33
33
  const projectNode = project.node;
34
34
  if (projectNode.data.root) {
35
- const projectPackageJsonPath = _chunkVWURFMEDjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
35
+ const projectPackageJsonPath = _chunk45ZDIGOFjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
36
36
  if (await _node.hfs.isFile(projectPackageJsonPath)) {
37
37
  const projectPackageJson = await _node.hfs.json(projectPackageJsonPath);
38
38
  if (projectPackageJson.private !== false) {
@@ -42,7 +42,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
42
42
  }
43
43
  }
44
44
  if (localPackages.length > 0) {
45
- _chunkVWURFMEDjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
45
+ _chunk45ZDIGOFjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
46
46
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
47
47
  if (!ret[localPackage.name]) {
48
48
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -64,13 +64,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
64
64
  return ret;
65
65
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
66
66
  } else {
67
- _chunkVWURFMEDjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
67
+ _chunk45ZDIGOFjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
68
68
  }
69
69
  return packageJson;
70
70
  }, "addPackageDependencies");
71
71
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
72
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkVWURFMEDjs.findWorkspaceRoot.call(void 0, );
73
- const workspacePackageJson = await _node.hfs.json(_chunkVWURFMEDjs.joinPaths.call(void 0, workspaceRoot, "package.json"));
72
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk45ZDIGOFjs.findWorkspaceRoot.call(void 0, );
73
+ const workspacePackageJson = await _node.hfs.json(_chunk45ZDIGOFjs.joinPaths.call(void 0, workspaceRoot, "package.json"));
74
74
  packageJson.type ??= "module";
75
75
  packageJson.sideEffects ??= false;
76
76
  if (includeSrc === true) {
@@ -78,7 +78,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
78
78
  if (distSrc.startsWith("/")) {
79
79
  distSrc = distSrc.substring(1);
80
80
  }
81
- packageJson.source ??= `${_chunkVWURFMEDjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
81
+ packageJson.source ??= `${_chunk45ZDIGOFjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
82
82
  }
83
83
  packageJson.files ??= [
84
84
  "dist/**/*"
@@ -109,7 +109,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call
109
109
  ];
110
110
  }
111
111
  packageJson.repository ??= workspacePackageJson.repository;
112
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkVWURFMEDjs.joinPaths.call(void 0, "packages", projectName);
112
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk45ZDIGOFjs.joinPaths.call(void 0, "packages", projectName);
113
113
  return packageJson;
114
114
  }, "addWorkspacePackageJsonFields");
115
115
  var addPackageJsonExport = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
package/dist/index.d.mts CHANGED
@@ -14,7 +14,7 @@ export { getExternalDependencies, getExtraDependencies, getInternalDependencies
14
14
  export { readNxConfig } from './utilities/read-nx-config.mjs';
15
15
  export { createTaskId, getAllWorkspaceTaskGraphs } from './utilities/task-graph.mjs';
16
16
  import 'rollup';
17
- import './types-DzRl2JZY.mjs';
17
+ import './types-v0neDT-G.mjs';
18
18
  import 'zod';
19
19
  import '@nx/devkit';
20
20
  import '@nx/js/src/utils/buildable-libs-utils';
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { getExternalDependencies, getExtraDependencies, getInternalDependencies
14
14
  export { readNxConfig } from './utilities/read-nx-config.js';
15
15
  export { createTaskId, getAllWorkspaceTaskGraphs } from './utilities/task-graph.js';
16
16
  import 'rollup';
17
- import './types-DzRl2JZY.js';
17
+ import './types-v0neDT-G.js';
18
18
  import 'zod';
19
19
  import '@nx/devkit';
20
20
  import '@nx/js/src/utils/buildable-libs-utils';
package/dist/index.js CHANGED
@@ -5,19 +5,19 @@
5
5
  var _chunkJP4YIUPAjs = require('./chunk-JP4YIUPA.js');
6
6
 
7
7
 
8
- var _chunkYDSKGSEXjs = require('./chunk-YDSKGSEX.js');
8
+ var _chunkJA25ZINVjs = require('./chunk-JA25ZINV.js');
9
9
 
10
10
 
11
- var _chunkGBAHPLOAjs = require('./chunk-GBAHPLOA.js');
11
+ var _chunkWNPKRTXMjs = require('./chunk-WNPKRTXM.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkZZU2Z7VCjs = require('./chunk-ZZU2Z7VC.js');
17
+ var _chunkXVCITQCZjs = require('./chunk-XVCITQCZ.js');
18
18
 
19
19
 
20
- var _chunkTPNDLREQjs = require('./chunk-TPNDLREQ.js');
20
+ var _chunkD4GFM7T3js = require('./chunk-D4GFM7T3.js');
21
21
 
22
22
 
23
23
  var _chunkIZKGYT3Djs = require('./chunk-IZKGYT3D.js');
@@ -43,14 +43,14 @@ require('./chunk-GGNOJ77I.js');
43
43
  require('./chunk-WPFIBCZT.js');
44
44
 
45
45
 
46
- var _chunkIBOMXBKJjs = require('./chunk-IBOMXBKJ.js');
46
+ var _chunk7YLFK6HPjs = require('./chunk-7YLFK6HP.js');
47
47
 
48
48
 
49
49
  var _chunk2TV7ZJSKjs = require('./chunk-2TV7ZJSK.js');
50
50
 
51
51
 
52
- var _chunk3B7RVBSVjs = require('./chunk-3B7RVBSV.js');
53
- require('./chunk-VWURFMED.js');
52
+ var _chunkMFNKAXYDjs = require('./chunk-MFNKAXYD.js');
53
+ require('./chunk-45ZDIGOF.js');
54
54
 
55
55
 
56
56
  var _chunkY3HRAWPUjs = require('./chunk-Y3HRAWPU.js');
@@ -80,4 +80,4 @@ require('./chunk-SHUYVCID.js');
80
80
 
81
81
 
82
82
 
83
- exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkZZU2Z7VCjs.addPackageDependencies; exports.addPackageJsonExport = _chunkZZU2Z7VCjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkZZU2Z7VCjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkZZU2Z7VCjs.addWorkspacePackageJsonFields; exports.analyze = _chunkIBOMXBKJjs.analyze; exports.copyAssets = _chunkYDSKGSEXjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkTPNDLREQjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkGBAHPLOAjs.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunk3B7RVBSVjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
83
+ exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkXVCITQCZjs.addPackageDependencies; exports.addPackageJsonExport = _chunkXVCITQCZjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkXVCITQCZjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkXVCITQCZjs.addWorkspacePackageJsonFields; exports.analyze = _chunk7YLFK6HPjs.analyze; exports.copyAssets = _chunkJA25ZINVjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkD4GFM7T3js.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkWNPKRTXMjs.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkMFNKAXYDjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
package/dist/index.mjs CHANGED
@@ -5,19 +5,19 @@ import {
5
5
  } from "./chunk-67VZRCF5.mjs";
6
6
  import {
7
7
  copyAssets
8
- } from "./chunk-4QNVHHYE.mjs";
8
+ } from "./chunk-TRLJJTHR.mjs";
9
9
  import {
10
10
  readNxConfig
11
- } from "./chunk-UL2FPCCE.mjs";
11
+ } from "./chunk-WII65MJ7.mjs";
12
12
  import {
13
13
  addPackageDependencies,
14
14
  addPackageJsonExport,
15
15
  addPackageJsonExports,
16
16
  addWorkspacePackageJsonFields
17
- } from "./chunk-7V63HNWT.mjs";
17
+ } from "./chunk-WS5C3L62.mjs";
18
18
  import {
19
19
  getEntryPoints
20
- } from "./chunk-VC53RMZR.mjs";
20
+ } from "./chunk-D4OKH6T7.mjs";
21
21
  import {
22
22
  getEnv
23
23
  } from "./chunk-ZLC5KVQE.mjs";
@@ -43,14 +43,14 @@ import "./chunk-WAXGOBY2.mjs";
43
43
  import "./chunk-UN3B7LBV.mjs";
44
44
  import {
45
45
  analyze
46
- } from "./chunk-LBKK53ZM.mjs";
46
+ } from "./chunk-2PC2NR2O.mjs";
47
47
  import {
48
48
  swc
49
49
  } from "./chunk-LCPSDCDB.mjs";
50
50
  import {
51
51
  tsResolvePlugin
52
- } from "./chunk-HM2HTHF6.mjs";
53
- import "./chunk-E3W7LN2E.mjs";
52
+ } from "./chunk-SHSM74JR.mjs";
53
+ import "./chunk-A24RXGCW.mjs";
54
54
  import {
55
55
  typeDefinitions
56
56
  } from "./chunk-VQUREEMI.mjs";
@@ -56,7 +56,7 @@ declare const StormConfigSchema: z.ZodObject<{
56
56
  packageManager: z.ZodDefault<z.ZodEnum<["npm", "yarn", "pnpm", "bun"]>>;
57
57
  timezone: z.ZodDefault<z.ZodString>;
58
58
  locale: z.ZodDefault<z.ZodString>;
59
- logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]>>;
59
+ logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
60
60
  registry: z.ZodDefault<z.ZodObject<{
61
61
  github: z.ZodOptional<z.ZodString>;
62
62
  npm: z.ZodOptional<z.ZodString>;
@@ -820,7 +820,7 @@ declare const StormConfigSchema: z.ZodObject<{
820
820
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
821
821
  timezone: string;
822
822
  locale: string;
823
- logLevel: "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all";
823
+ logLevel: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all";
824
824
  registry: {
825
825
  github?: string | undefined;
826
826
  npm?: string | undefined;
@@ -1163,7 +1163,7 @@ declare const StormConfigSchema: z.ZodObject<{
1163
1163
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1164
1164
  timezone?: string | undefined;
1165
1165
  locale?: string | undefined;
1166
- logLevel?: "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1166
+ logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1167
1167
  registry?: {
1168
1168
  github?: string | undefined;
1169
1169
  npm?: string | undefined;
@@ -56,7 +56,7 @@ declare const StormConfigSchema: z.ZodObject<{
56
56
  packageManager: z.ZodDefault<z.ZodEnum<["npm", "yarn", "pnpm", "bun"]>>;
57
57
  timezone: z.ZodDefault<z.ZodString>;
58
58
  locale: z.ZodDefault<z.ZodString>;
59
- logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]>>;
59
+ logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
60
60
  registry: z.ZodDefault<z.ZodObject<{
61
61
  github: z.ZodOptional<z.ZodString>;
62
62
  npm: z.ZodOptional<z.ZodString>;
@@ -820,7 +820,7 @@ declare const StormConfigSchema: z.ZodObject<{
820
820
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
821
821
  timezone: string;
822
822
  locale: string;
823
- logLevel: "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all";
823
+ logLevel: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all";
824
824
  registry: {
825
825
  github?: string | undefined;
826
826
  npm?: string | undefined;
@@ -1163,7 +1163,7 @@ declare const StormConfigSchema: z.ZodObject<{
1163
1163
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1164
1164
  timezone?: string | undefined;
1165
1165
  locale?: string | undefined;
1166
- logLevel?: "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1166
+ logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
1167
1167
  registry?: {
1168
1168
  github?: string | undefined;
1169
1169
  npm?: string | undefined;
package/dist/types.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormConfig } from './types-DzRl2JZY.mjs';
1
+ import { S as StormConfig } from './types-v0neDT-G.mjs';
2
2
  import 'zod';
3
3
 
4
4
  type Entry = string | Record<string, string> | string[];
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormConfig } from './types-DzRl2JZY.js';
1
+ import { S as StormConfig } from './types-v0neDT-G.js';
2
2
  import 'zod';
3
3
 
4
4
  type Entry = string | Record<string, string> | string[];
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@storm-software/build-tools","version":"0.125.2","description":"A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/build-tools"},"homepage":"https://stormsoftware.com","bugs":{"url":"https://stormsoftware.com/support","email":"support@stormsoftware.com"},"author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"contributors":[{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"}],"funding":{"type":"github","url":"https://github.com/sponsors/storm-software"},"license":"Apache-2.0","private":false,"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"./package.json":"./package.json","./types":{"import":{"types":"./dist/types.d.mts","default":"./dist/types.mjs"},"require":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./index":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./config":{"import":{"types":"./dist/config.d.mts","default":"./dist/config.mjs"},"require":{"types":"./dist/config.d.ts","default":"./dist/config.js"},"default":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"./plugins":{"import":{"types":"./dist/plugins/index.d.mts","default":"./dist/plugins/index.mjs"},"require":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"},"default":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"}},"./plugins/*":{"import":{"types":"./dist/plugins/*.d.mts","default":"./dist/plugins/*.mjs"},"require":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"},"default":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"}},"./utilities":{"import":{"types":"./dist/utilities/index.d.mts","default":"./dist/utilities/index.mjs"},"require":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"},"default":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"}},"./utilities/*":{"import":{"types":"./dist/utilities/*.d.mts","default":"./dist/utilities/*.mjs"},"require":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"},"default":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"}}},"types":"./dist/index.d.ts","files":["dist/**/*"],"keywords":["monorepo","open-system","storm","storm-ops","storm-stack","stormstack","sullivanpj"],"peerDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","nx":"^20.3.1"},"peerDependenciesMeta":{"@nx/devkit":{"optional":false},"@nx/js":{"optional":false},"@swc/core":{"optional":true},"nx":{"optional":false}},"dependencies":{"@humanfs/node":"^0.16.6","glob":"10.4.2","resolve":"1.22.8","resolve-from":"5.0.0","rollup":"^4.29.1","typescript":"^5.7.2"},"devDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","@types/node":"^22.10.2","nx":"^20.3.1","tsup":"8.3.5"},"publishConfig":{"access":"public"}}
1
+ {"name":"@storm-software/build-tools","version":"0.125.4","description":"A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/build-tools"},"homepage":"https://stormsoftware.com","bugs":{"url":"https://stormsoftware.com/support","email":"support@stormsoftware.com"},"author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"contributors":[{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"}],"funding":{"type":"github","url":"https://github.com/sponsors/storm-software"},"license":"Apache-2.0","private":false,"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"./package.json":"./package.json","./types":{"import":{"types":"./dist/types.d.mts","default":"./dist/types.mjs"},"require":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./index":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./config":{"import":{"types":"./dist/config.d.mts","default":"./dist/config.mjs"},"require":{"types":"./dist/config.d.ts","default":"./dist/config.js"},"default":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"./plugins":{"import":{"types":"./dist/plugins/index.d.mts","default":"./dist/plugins/index.mjs"},"require":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"},"default":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"}},"./plugins/*":{"import":{"types":"./dist/plugins/*.d.mts","default":"./dist/plugins/*.mjs"},"require":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"},"default":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"}},"./utilities":{"import":{"types":"./dist/utilities/index.d.mts","default":"./dist/utilities/index.mjs"},"require":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"},"default":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"}},"./utilities/*":{"import":{"types":"./dist/utilities/*.d.mts","default":"./dist/utilities/*.mjs"},"require":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"},"default":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"}}},"types":"./dist/index.d.ts","files":["dist/**/*"],"keywords":["monorepo","open-system","storm","storm-ops","storm-stack","stormstack","sullivanpj"],"peerDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","nx":"^20.3.1"},"peerDependenciesMeta":{"@nx/devkit":{"optional":false},"@nx/js":{"optional":false},"@swc/core":{"optional":true},"nx":{"optional":false}},"dependencies":{"@humanfs/node":"^0.16.6","glob":"^10.4.2","resolve":"1.22.8","resolve-from":"5.0.0","rollup":"^4.29.1","typescript":"^5.7.2"},"devDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","@types/node":"^22.10.2","nx":"^20.3.1","tsup":"8.3.5"},"publishConfig":{"access":"public"}}