@storm-software/workspace-tools 1.235.3 → 1.237.0

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.
Files changed (131) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-SGU5DQPK.js → chunk-376H4FPQ.js} +2 -2
  4. package/dist/{chunk-EFW3QYJ6.js → chunk-5H2MAX6J.js} +2 -2
  5. package/dist/{chunk-HGS743HN.js → chunk-6JJRTIJE.js} +2 -2
  6. package/dist/{chunk-DXI4NLLG.js → chunk-B56EPXXD.js} +31 -31
  7. package/dist/{chunk-R7LPJA7B.js → chunk-BEQ7SG6P.js} +2 -2
  8. package/dist/{chunk-RENOUPVD.mjs → chunk-BWUHOT6F.mjs} +15 -8
  9. package/dist/{chunk-Y6LAHFQL.js → chunk-CGDGEBZS.js} +2 -2
  10. package/dist/{chunk-WHFR5DFC.js → chunk-COE4MDQZ.js} +17 -17
  11. package/dist/{chunk-AAFUDPY3.js → chunk-CT2M6P5R.js} +11 -11
  12. package/dist/{chunk-MD3SSS3I.js → chunk-EF2AYADZ.js} +2 -2
  13. package/dist/{chunk-CZJW5H5T.mjs → chunk-FZI3TKFY.mjs} +4 -8
  14. package/dist/{chunk-ZW7MPYNT.js → chunk-G4RFND4J.js} +5 -5
  15. package/dist/{chunk-EGVA5PP4.mjs → chunk-GO4TPJGC.mjs} +1 -1
  16. package/dist/{chunk-JNBBP3XY.mjs → chunk-HFYUSCRU.mjs} +1 -1
  17. package/dist/{chunk-2EGD2QSN.js → chunk-IWCQL3AQ.js} +4 -8
  18. package/dist/{chunk-TRN4HIGQ.mjs → chunk-KD5LMZ2A.mjs} +2 -2
  19. package/dist/{chunk-5A2SMUAH.js → chunk-KM2743VP.js} +5 -5
  20. package/dist/{chunk-OQA7D4YP.mjs → chunk-KM2H5RYL.mjs} +1 -1
  21. package/dist/{chunk-AARL4ARR.mjs → chunk-LCGEM7Q4.mjs} +1 -1
  22. package/dist/{chunk-SCINGDII.js → chunk-M3X4P6AT.js} +15 -8
  23. package/dist/{chunk-SKHELRGB.mjs → chunk-MKWGJTCZ.mjs} +1 -1
  24. package/dist/{chunk-5ORRKBYL.js → chunk-MVFTFAFJ.js} +41 -41
  25. package/dist/{chunk-BVOY5ZPI.mjs → chunk-NOGV45XZ.mjs} +1 -1
  26. package/dist/{chunk-XWTEAECW.js → chunk-PJVQQPVY.js} +2 -2
  27. package/dist/{chunk-IOCGVIIK.mjs → chunk-Q3EM343U.mjs} +12 -16
  28. package/dist/{chunk-IYCUBLGZ.mjs → chunk-QDMY7CT5.mjs} +2 -2
  29. package/dist/{chunk-K5Q4B5PP.js → chunk-QIE4V5VC.js} +15 -15
  30. package/dist/{chunk-CR3474CZ.js → chunk-QJSB767L.js} +9 -9
  31. package/dist/{chunk-OVHQ2TQ4.mjs → chunk-QNPWZQ3H.mjs} +3 -3
  32. package/dist/{chunk-RF5FJZO3.mjs → chunk-RHYFYBYC.mjs} +1 -1
  33. package/dist/{chunk-VF3E6O7Z.js → chunk-SEZJIRER.js} +20 -24
  34. package/dist/{chunk-Y4VMFPV4.mjs → chunk-TUB644GP.mjs} +1 -1
  35. package/dist/{chunk-O5Z6RPC6.mjs → chunk-UTSK4MXW.mjs} +1 -1
  36. package/dist/{chunk-PQVWSBEG.js → chunk-V5JX4ONQ.js} +2 -2
  37. package/dist/{chunk-N7SOH3SO.mjs → chunk-VPZNFU57.mjs} +5 -2
  38. package/dist/{chunk-6CGXYDNY.mjs → chunk-VXCCFT5N.mjs} +1 -1
  39. package/dist/{chunk-CF5MRW36.mjs → chunk-WISLBMNQ.mjs} +3 -3
  40. package/dist/{chunk-DPZGOT3C.js → chunk-XOXDKSS6.js} +2 -2
  41. package/dist/{chunk-NSVH52UL.mjs → chunk-XYFHKZNM.mjs} +1 -1
  42. package/dist/{chunk-UXAZCLME.mjs → chunk-ZOE6ZUZK.mjs} +2 -2
  43. package/dist/{chunk-G4SRVNXB.mjs → chunk-ZQMYL7BB.mjs} +1 -1
  44. package/dist/{chunk-U3J3WWUI.js → chunk-ZSONE7KT.js} +7 -4
  45. package/dist/{executor-wWkM11v5.d.ts → executor-B4MiexNw.d.ts} +6 -10
  46. package/dist/{executor-sYaxQf5n.d.ts → executor-BqpvCbj5.d.ts} +0 -4
  47. package/dist/{executor-DlTSIchw.d.ts → executor-C8vSwRW1.d.ts} +0 -4
  48. package/dist/{executor-BSXWmnE3.d.mts → executor-CqbWU1uP.d.mts} +6 -10
  49. package/dist/{executor-C5AtaKvj.d.mts → executor-hq_H_ICT.d.mts} +0 -4
  50. package/dist/{executor-B8unq_QL.d.mts → executor-qCehbH9x.d.mts} +0 -4
  51. package/dist/executors.d.mts +3 -3
  52. package/dist/executors.d.ts +3 -3
  53. package/dist/executors.js +14 -14
  54. package/dist/executors.mjs +13 -13
  55. package/dist/generators.js +9 -9
  56. package/dist/generators.mjs +8 -8
  57. package/dist/index.d.mts +3 -3
  58. package/dist/index.d.ts +3 -3
  59. package/dist/index.js +22 -22
  60. package/dist/index.mjs +21 -21
  61. package/dist/src/base/base-executor.js +3 -3
  62. package/dist/src/base/base-executor.mjs +2 -2
  63. package/dist/src/base/base-generator.js +3 -3
  64. package/dist/src/base/base-generator.mjs +2 -2
  65. package/dist/src/base/index.js +5 -5
  66. package/dist/src/base/index.mjs +4 -4
  67. package/dist/src/base/typescript-build-executor.schema.d.ts +0 -4
  68. package/dist/src/base/typescript-build-executor.schema.json +4 -12
  69. package/dist/src/base/typescript-build-executor.schema.md +0 -4
  70. package/dist/src/base/typescript-build-executor.untyped.js +2 -2
  71. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  72. package/dist/src/executors/cargo-build/executor.js +4 -4
  73. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  74. package/dist/src/executors/cargo-check/executor.js +4 -4
  75. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  76. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  77. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  78. package/dist/src/executors/cargo-doc/executor.js +4 -4
  79. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  80. package/dist/src/executors/cargo-format/executor.js +4 -4
  81. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  82. package/dist/src/executors/clean-package/executor.js +5 -5
  83. package/dist/src/executors/clean-package/executor.mjs +2 -2
  84. package/dist/src/executors/esbuild/executor.d.mts +1 -1
  85. package/dist/src/executors/esbuild/executor.d.ts +1 -1
  86. package/dist/src/executors/esbuild/executor.js +5 -5
  87. package/dist/src/executors/esbuild/executor.mjs +4 -4
  88. package/dist/src/executors/esbuild/schema.d.ts +0 -4
  89. package/dist/src/executors/esbuild/schema.json +4 -12
  90. package/dist/src/executors/esbuild/schema.md +0 -4
  91. package/dist/src/executors/esbuild/untyped.js +2 -2
  92. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  93. package/dist/src/executors/size-limit/executor.js +4 -4
  94. package/dist/src/executors/size-limit/executor.mjs +3 -3
  95. package/dist/src/executors/tsdown/executor.d.mts +1 -1
  96. package/dist/src/executors/tsdown/executor.d.ts +1 -1
  97. package/dist/src/executors/tsdown/executor.js +5 -5
  98. package/dist/src/executors/tsdown/executor.mjs +4 -4
  99. package/dist/src/executors/tsdown/schema.d.ts +0 -4
  100. package/dist/src/executors/tsdown/schema.json +4 -12
  101. package/dist/src/executors/tsdown/schema.md +0 -4
  102. package/dist/src/executors/tsdown/untyped.js +2 -2
  103. package/dist/src/executors/tsdown/untyped.mjs +1 -1
  104. package/dist/src/executors/typia/executor.js +4 -4
  105. package/dist/src/executors/typia/executor.mjs +3 -3
  106. package/dist/src/executors/unbuild/executor.d.mts +1 -1
  107. package/dist/src/executors/unbuild/executor.d.ts +1 -1
  108. package/dist/src/executors/unbuild/executor.js +4 -4
  109. package/dist/src/executors/unbuild/executor.mjs +3 -3
  110. package/dist/src/executors/unbuild/schema.d.ts +6 -10
  111. package/dist/src/executors/unbuild/schema.json +17 -27
  112. package/dist/src/executors/unbuild/schema.md +4 -11
  113. package/dist/src/executors/unbuild/untyped.js +28 -16
  114. package/dist/src/executors/unbuild/untyped.mjs +27 -15
  115. package/dist/src/generators/browser-library/generator.js +4 -4
  116. package/dist/src/generators/browser-library/generator.mjs +3 -3
  117. package/dist/src/generators/config-schema/generator.js +4 -4
  118. package/dist/src/generators/config-schema/generator.mjs +3 -3
  119. package/dist/src/generators/neutral-library/generator.js +4 -4
  120. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  121. package/dist/src/generators/node-library/generator.js +4 -4
  122. package/dist/src/generators/node-library/generator.mjs +3 -3
  123. package/dist/src/generators/preset/generator.js +4 -4
  124. package/dist/src/generators/preset/generator.mjs +3 -3
  125. package/dist/src/generators/release-version/generator.js +3 -3
  126. package/dist/src/generators/release-version/generator.mjs +2 -2
  127. package/docs/api/base/typescript-build-executor.schema.md +0 -4
  128. package/docs/api/executors/esbuild/schema.md +0 -4
  129. package/docs/api/executors/tsdown/schema.md +0 -4
  130. package/docs/api/executors/unbuild/schema.md +4 -11
  131. package/package.json +5 -5
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
3
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
4
4
 
5
5
 
6
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
6
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-SKHELRGB.mjs";
7
+ } from "./chunk-MKWGJTCZ.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-NSVH52UL.mjs";
7
+ } from "./chunk-XYFHKZNM.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -46,32 +46,28 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
46
46
  title: "Bundle",
47
47
  type: "boolean",
48
48
  description: "Bundle the output"
49
- },
50
- $default: false
49
+ }
51
50
  },
52
51
  minify: {
53
52
  $schema: {
54
53
  title: "Minify",
55
54
  type: "boolean",
56
55
  description: "Minify the output"
57
- },
58
- $default: false
56
+ }
59
57
  },
60
58
  debug: {
61
59
  $schema: {
62
60
  title: "Debug",
63
61
  type: "boolean",
64
62
  description: "Debug the output"
65
- },
66
- $default: false
63
+ }
67
64
  },
68
65
  sourcemap: {
69
66
  $schema: {
70
67
  title: "Sourcemap",
71
68
  type: "boolean",
72
69
  description: "Generate a sourcemap"
73
- },
74
- $default: false
70
+ }
75
71
  },
76
72
  silent: {
77
73
  $schema: {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-NSVH52UL.mjs";
3
+ } from "./chunk-XYFHKZNM.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RENOUPVD.mjs";
6
+ } from "./chunk-BWUHOT6F.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
3
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
4
4
 
5
5
 
6
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
6
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-SKHELRGB.mjs";
10
+ } from "./chunk-MKWGJTCZ.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-NSVH52UL.mjs";
7
+ } from "./chunk-XYFHKZNM.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -398,49 +398,56 @@ var isVerbose = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label = Lo
398
398
  var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
399
399
  const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
400
400
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
401
- if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
401
+ if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
402
402
  return (_) => {
403
403
  };
404
404
  }
405
- if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
405
+ if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
406
406
  return (message) => {
407
407
  console.error(`
408
408
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
409
409
  `);
410
410
  };
411
411
  }
412
- if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
412
+ if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
413
413
  return (message) => {
414
414
  console.error(`
415
415
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
416
416
  `);
417
417
  };
418
418
  }
419
- if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
419
+ if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
420
420
  return (message) => {
421
421
  console.warn(`
422
422
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
423
423
  `);
424
424
  };
425
425
  }
426
- if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
426
+ if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
427
427
  return (message) => {
428
428
  console.info(`
429
429
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
430
430
  `);
431
431
  };
432
432
  }
433
- if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
433
+ if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
434
434
  return (message) => {
435
435
  console.info(`
436
436
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
437
437
  `);
438
438
  };
439
439
  }
440
- if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
440
+ if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
441
441
  return (message) => {
442
442
  console.debug(`
443
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
443
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
444
+ `);
445
+ };
446
+ }
447
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
448
+ return (message) => {
449
+ console.debug(`
450
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
444
451
  `);
445
452
  };
446
453
  }
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-RENOUPVD.mjs";
14
+ } from "./chunk-BWUHOT6F.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-DMUTOQCB.mjs";
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkVF3E6O7Zjs = require('./chunk-VF3E6O7Z.js');
11
+ var _chunkSEZJIRERjs = require('./chunk-SEZJIRER.js');
12
12
 
13
13
 
14
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
14
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
26
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
27
27
 
28
28
 
29
29
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -208,8 +208,8 @@ var RendererEngine = class {
208
208
  // ../esbuild/src/clean.ts
209
209
 
210
210
  async function clean(name = "ESBuild", directory, config) {
211
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${name} output clean`);
211
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${name} output clean`);
213
213
  await _node.hfs.deleteAll(directory);
214
214
  stopwatch();
215
215
  }
@@ -330,7 +330,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
330
330
  setup(build4) {
331
331
  build4.onEnd((result) => {
332
332
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
333
- _chunkSCINGDIIjs.writeError.call(void 0, `The following errors occurred during the build:
333
+ _chunkM3X4P6ATjs.writeError.call(void 0, `The following errors occurred during the build:
334
334
  ${result.errors.map((error) => error.text).join("\n")}
335
335
 
336
336
  `, resolvedOptions.config);
@@ -438,7 +438,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
438
438
  localBuild: true
439
439
  });
440
440
  if (extractorResult.succeeded === false) {
441
- _chunkSCINGDIIjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
441
+ _chunkM3X4P6ATjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
442
442
  throw new Error("API Extractor completed with errors");
443
443
  }
444
444
  }
@@ -487,7 +487,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
487
487
 
488
488
  // ../esbuild/src/config.ts
489
489
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
490
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkVF3E6O7Zjs.getOutExtension.call(void 0, options.format, pkgType);
490
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkSEZJIRERjs.getOutExtension.call(void 0, options.format, pkgType);
491
491
  }, "getOutputExtensionMap");
492
492
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
493
493
  nodeProtocolPlugin(options, resolvedOptions),
@@ -535,7 +535,7 @@ var DEFAULT_BUILD_OPTIONS = {
535
535
  ".woff": "file",
536
536
  ".woff2": "file"
537
537
  },
538
- banner: _chunkVF3E6O7Zjs.DEFAULT_COMPILED_BANNER
538
+ banner: _chunkSEZJIRERjs.DEFAULT_COMPILED_BANNER
539
539
  };
540
540
 
541
541
  // ../esbuild/src/plugins/deps-check.ts
@@ -617,8 +617,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
617
617
  const filteredMissingDeps = missingDependencies.filter((dep) => {
618
618
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
619
619
  });
620
- _chunkSCINGDIIjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
- _chunkSCINGDIIjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
620
+ _chunkM3X4P6ATjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
+ _chunkM3X4P6ATjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
622
622
  if (filteredMissingDeps.length > 0) {
623
623
  throw new Error(`Missing dependencies detected - please install them:
624
624
  ${JSON.stringify(filteredMissingDeps)}
@@ -712,9 +712,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
712
712
  if (!workspaceRoot) {
713
713
  throw new Error("Cannot find Nx workspace root");
714
714
  }
715
- const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
- _chunkSCINGDIIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Build options resolution");
715
+ const config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Build options resolution");
718
718
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
719
719
  exitOnError: true
720
720
  });
@@ -730,14 +730,14 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
730
730
  }
731
731
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
732
732
  options.name ??= `${projectName}-${options.format}`;
733
- options.target ??= _chunkVF3E6O7Zjs.DEFAULT_TARGET;
733
+ options.target ??= _chunkSEZJIRERjs.DEFAULT_TARGET;
734
734
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
735
735
  if (!await _node.hfs.isFile(packageJsonPath)) {
736
736
  throw new Error("Cannot find package.json configuration");
737
737
  }
738
738
  const packageJson = await _node.hfs.json(packageJsonPath);
739
739
  const outExtension = getOutputExtensionMap(options, packageJson.type);
740
- const env = _chunkVF3E6O7Zjs.getEnv.call(void 0, "esbuild", options);
740
+ const env = _chunkSEZJIRERjs.getEnv.call(void 0, "esbuild", options);
741
741
  const result = {
742
742
  ...options,
743
743
  config,
@@ -757,7 +757,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
757
757
  ...userOptions,
758
758
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
759
759
  format: options.format || "cjs",
760
- entryPoints: await _chunkVF3E6O7Zjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
760
+ entryPoints: await _chunkSEZJIRERjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
761
761
  "./src/index.ts"
762
762
  ], userOptions.emitOnAll),
763
763
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -768,7 +768,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
768
768
  projectGraph,
769
769
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
770
770
  minify: userOptions.minify || !userOptions.debug,
771
- verbose: userOptions.verbose || _chunkSCINGDIIjs.isVerbose.call(void 0, ) || userOptions.debug === true,
771
+ verbose: userOptions.verbose || _chunkM3X4P6ATjs.isVerbose.call(void 0, ) || userOptions.debug === true,
772
772
  includeSrc: userOptions.includeSrc === true,
773
773
  metafile: userOptions.metafile !== false,
774
774
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -782,8 +782,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
782
782
  outExtension,
783
783
  footer: userOptions.footer,
784
784
  banner: {
785
- js: options.banner || _chunkVF3E6O7Zjs.DEFAULT_COMPILED_BANNER,
786
- css: options.banner || _chunkVF3E6O7Zjs.DEFAULT_COMPILED_BANNER
785
+ js: options.banner || _chunkSEZJIRERjs.DEFAULT_COMPILED_BANNER,
786
+ css: options.banner || _chunkSEZJIRERjs.DEFAULT_COMPILED_BANNER
787
787
  },
788
788
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
789
789
  treeShaking: options.format === "esm",
@@ -815,8 +815,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
815
815
  }, "resolveOptions");
816
816
  async function generatePackageJson(context2) {
817
817
  if (context2.options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
818
- _chunkSCINGDIIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Write package.json file");
818
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Write package.json file");
820
820
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
821
821
  if (!await _node.hfs.isFile(packageJsonPath)) {
822
822
  throw new Error("Cannot find package.json configuration");
@@ -825,11 +825,11 @@ async function generatePackageJson(context2) {
825
825
  if (!packageJson) {
826
826
  throw new Error("Cannot find package.json configuration file");
827
827
  }
828
- packageJson = await _chunkVF3E6O7Zjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
- packageJson = await _chunkVF3E6O7Zjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
828
+ packageJson = await _chunkSEZJIRERjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
+ packageJson = await _chunkSEZJIRERjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
830
830
  packageJson.exports ??= {};
831
831
  packageJson.exports["./package.json"] ??= "./package.json";
832
- packageJson.exports["."] ??= _chunkVF3E6O7Zjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
832
+ packageJson.exports["."] ??= _chunkSEZJIRERjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
833
833
  let entryPoints = [
834
834
  {
835
835
  in: "./src/index.ts",
@@ -847,7 +847,7 @@ async function generatePackageJson(context2) {
847
847
  const split = entryPoint.out.split(".");
848
848
  split.pop();
849
849
  const entry = split.join(".").replaceAll("\\", "/");
850
- packageJson.exports[`./${entry}`] ??= _chunkVF3E6O7Zjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
850
+ packageJson.exports[`./${entry}`] ??= _chunkSEZJIRERjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
851
851
  }
852
852
  }
853
853
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -885,8 +885,8 @@ async function generateContext(getOptions) {
885
885
  }
886
886
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
887
887
  async function executeEsBuild(context2) {
888
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${context2.options.name} build`);
888
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${context2.options.name} build`);
890
890
  if (process.env.WATCH === "true") {
891
891
  const ctx = await esbuild2.context(context2.options);
892
892
  watch(ctx, context2.options);
@@ -902,9 +902,9 @@ async function executeEsBuild(context2) {
902
902
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
903
903
  async function copyBuildAssets(context2) {
904
904
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
905
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
- await _chunkVF3E6O7Zjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
905
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
+ await _chunkSEZJIRERjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
908
908
  stopwatch();
909
909
  }
910
910
  return context2;
@@ -913,9 +913,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
913
913
  async function reportResults(context2) {
914
914
  if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
915
915
  if (context2.result.warnings.length > 0) {
916
- _chunkSCINGDIIjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
916
+ _chunkM3X4P6ATjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
917
917
  }
918
- _chunkSCINGDIIjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
918
+ _chunkM3X4P6ATjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
919
919
  }
920
920
  }
921
921
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -957,8 +957,8 @@ async function cleanOutputPath(context2) {
957
957
  }
958
958
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
959
959
  async function build3(options) {
960
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "ESBuild pipeline");
960
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "ESBuild pipeline");
962
962
  try {
963
963
  const opts = Array.isArray(options) ? options : [
964
964
  options
@@ -968,9 +968,9 @@ async function build3(options) {
968
968
  }
969
969
  void transduce.async(opts, dependencyCheck);
970
970
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
971
- _chunkSCINGDIIjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
971
+ _chunkM3X4P6ATjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
972
972
  } catch (error) {
973
- _chunkSCINGDIIjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
973
+ _chunkM3X4P6ATjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
974
974
  throw error;
975
975
  } finally {
976
976
  stopwatch();
@@ -998,9 +998,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
998
998
  return context2.rebuild();
999
999
  });
1000
1000
  if (rebuildResult instanceof Error) {
1001
- _chunkSCINGDIIjs.writeError.call(void 0, rebuildResult.message);
1001
+ _chunkM3X4P6ATjs.writeError.call(void 0, rebuildResult.message);
1002
1002
  }
1003
- _chunkSCINGDIIjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1003
+ _chunkM3X4P6ATjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1004
1004
  }, 10);
1005
1005
  changeWatcher.on("change", fastRebuild);
1006
1006
  return void 0;
@@ -1008,7 +1008,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1008
1008
 
1009
1009
  // src/executors/esbuild/executor.ts
1010
1010
  async function esbuildExecutorFn(options, context2, config) {
1011
- _chunkSCINGDIIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1011
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1012
1012
  if (!_optionalChain([context2, 'access', _32 => _32.projectsConfigurations, 'optionalAccess', _33 => _33.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _34 => _34.projectsConfigurations, 'access', _35 => _35.projects, 'access', _36 => _36[context2.projectName], 'optionalAccess', _37 => _37.root])) {
1013
1013
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1014
1014
  }
@@ -1025,7 +1025,7 @@ async function esbuildExecutorFn(options, context2, config) {
1025
1025
  };
1026
1026
  }
1027
1027
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1028
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1028
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1029
1029
  skipReadingConfig: false,
1030
1030
  hooks: {
1031
1031
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-RENOUPVD.mjs";
16
+ } from "./chunk-BWUHOT6F.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
7
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -19,7 +19,7 @@ async function cargoDocExecutor(options, context) {
19
19
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
20
20
  }
21
21
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
22
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
22
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
23
  skipReadingConfig: false,
24
24
  hooks: {
25
25
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -3,7 +3,7 @@ import {
3
3
  loadStormConfig,
4
4
  writeDebug,
5
5
  writeTrace
6
- } from "./chunk-RENOUPVD.mjs";
6
+ } from "./chunk-BWUHOT6F.mjs";
7
7
  import {
8
8
  findWorkspaceRoot
9
9
  } from "./chunk-DMUTOQCB.mjs";
@@ -52,27 +52,23 @@ var readNxConfig = /* @__PURE__ */ __name(async (workspaceRoot) => {
52
52
  // ../build-tools/src/utilities/copy-assets.ts
53
53
  var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
54
54
  const pendingAssets = Array.from(assets ?? []);
55
- if (!pendingAssets?.some((asset) => asset?.glob === "*.md")) {
56
- pendingAssets.push({
57
- input: projectRoot,
58
- glob: "*.md",
59
- output: "/"
60
- });
61
- }
55
+ pendingAssets.push({
56
+ input: projectRoot,
57
+ glob: "*.md",
58
+ output: "."
59
+ });
60
+ pendingAssets.push({
61
+ input: config.workspaceRoot,
62
+ glob: "LICENSE",
63
+ output: "."
64
+ });
62
65
  if (generatePackageJson === false) {
63
66
  pendingAssets.push({
64
- input: sourceRoot,
67
+ input: projectRoot,
65
68
  glob: "package.json",
66
69
  output: "."
67
70
  });
68
71
  }
69
- if (!pendingAssets?.some((asset) => asset?.glob === "LICENSE")) {
70
- pendingAssets.push({
71
- input: "",
72
- glob: "LICENSE",
73
- output: "."
74
- });
75
- }
76
72
  if (includeSrc === true) {
77
73
  pendingAssets.push({
78
74
  input: sourceRoot,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-SKHELRGB.mjs";
3
+ } from "./chunk-MKWGJTCZ.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-RENOUPVD.mjs";
9
+ } from "./chunk-BWUHOT6F.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-DMUTOQCB.mjs";