@storm-software/workspace-tools 1.294.26 → 1.294.28

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 (116) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{chunk-BFUD5R7Y.mjs → chunk-2KJIK2JG.mjs} +1 -1
  3. package/dist/{chunk-GQUC7Z5A.js → chunk-2KU2SYND.js} +2 -2
  4. package/dist/{chunk-V5BPSX25.mjs → chunk-2LSF54ZF.mjs} +7 -3
  5. package/dist/{chunk-CVWXJRXD.mjs → chunk-35BFW2YQ.mjs} +1 -1
  6. package/dist/{chunk-5ZHH2FNQ.js → chunk-3UVFXL7I.js} +10 -10
  7. package/dist/{chunk-LS6TILJC.js → chunk-57NKESY4.js} +2 -2
  8. package/dist/{chunk-PED6YPOF.js → chunk-5ERD4NKM.js} +4 -4
  9. package/dist/{chunk-EIHVLRYO.mjs → chunk-5LORK24T.mjs} +3 -3
  10. package/dist/{chunk-LN2ISRNV.js → chunk-6CO2XOFR.js} +4 -4
  11. package/dist/{chunk-H2IQPKCX.js → chunk-6DW3XFYQ.js} +31 -30
  12. package/dist/{chunk-ETSXRU6M.js → chunk-6ES3P2CK.js} +12 -12
  13. package/dist/{chunk-I3IVGDHX.js → chunk-AA5UBL6W.js} +11 -11
  14. package/dist/{chunk-AXBRZDW7.mjs → chunk-AUKCJTVH.mjs} +1 -1
  15. package/dist/{chunk-GL7AEMWH.mjs → chunk-BA7S3VQ3.mjs} +2 -2
  16. package/dist/{chunk-JMG57VVQ.mjs → chunk-BU2S2BSO.mjs} +1 -1
  17. package/dist/{chunk-FIAY4XVI.mjs → chunk-CHKLDARN.mjs} +1 -1
  18. package/dist/{chunk-4XMMNPEO.js → chunk-CJHDSYRB.js} +2 -2
  19. package/dist/{chunk-C4ETRYH2.js → chunk-CK3BPORZ.js} +24 -20
  20. package/dist/{chunk-23AG7J6K.mjs → chunk-DCNARLNN.mjs} +1 -1
  21. package/dist/{chunk-TSATJMLT.mjs → chunk-EYFYABBG.mjs} +6 -5
  22. package/dist/{chunk-QJEODVLU.mjs → chunk-G3QQ7CLV.mjs} +1 -1
  23. package/dist/{chunk-626FPLUP.js → chunk-GAOMOIRS.js} +8 -8
  24. package/dist/{chunk-V5L2NMX3.mjs → chunk-HLZG5AEE.mjs} +8 -4
  25. package/dist/{chunk-P37IUTEP.mjs → chunk-HUZNI7UG.mjs} +1 -1
  26. package/dist/{chunk-I4TZ6K5F.mjs → chunk-IQ7NS4OX.mjs} +1 -1
  27. package/dist/{chunk-NWXPYUQ3.mjs → chunk-J3V2XDUI.mjs} +32 -1
  28. package/dist/{chunk-DONUBURB.mjs → chunk-JAKKZXJM.mjs} +1 -1
  29. package/dist/{chunk-FAOWNWQO.js → chunk-LQZIZT3Y.js} +2 -2
  30. package/dist/{chunk-DQQPNY3P.mjs → chunk-MRG3BU6W.mjs} +2 -2
  31. package/dist/{chunk-LQLB23MA.js → chunk-MZDT5BZH.js} +5 -5
  32. package/dist/{chunk-I7VI4LB4.js → chunk-NTM7F6SO.js} +2 -2
  33. package/dist/{chunk-FLEL6HL3.mjs → chunk-NZX54HXX.mjs} +2 -2
  34. package/dist/{chunk-MJPVYBME.js → chunk-OS24C67P.js} +35 -4
  35. package/dist/{chunk-V6KF2MA3.js → chunk-PBN7PKGE.js} +21 -17
  36. package/dist/{chunk-HUOI4PBW.js → chunk-PK3VAEVW.js} +2 -2
  37. package/dist/{chunk-R6OKTOPG.js → chunk-PKU6ZJTS.js} +5 -5
  38. package/dist/{chunk-JP5HZTAF.mjs → chunk-Q5LQOLXC.mjs} +2 -2
  39. package/dist/{chunk-HRSYZ5SJ.js → chunk-QPBVOQFM.js} +2 -2
  40. package/dist/{chunk-YRHOGXG2.js → chunk-QVC3FWV5.js} +2 -2
  41. package/dist/{chunk-RDLWCD3X.js → chunk-QY6ZMQ6I.js} +2 -2
  42. package/dist/{chunk-HTZWMLHS.mjs → chunk-R3374L7Q.mjs} +3 -3
  43. package/dist/{chunk-FAYJOHW6.mjs → chunk-R4VLMWSB.mjs} +1 -1
  44. package/dist/{chunk-XOC54MDY.mjs → chunk-TIJ5S5SL.mjs} +1 -1
  45. package/dist/{chunk-OAWHJHVS.mjs → chunk-UK6TAD3O.mjs} +2 -2
  46. package/dist/{chunk-AH5TFWCI.mjs → chunk-UWQQYG23.mjs} +1 -1
  47. package/dist/{chunk-JV6AKQ47.js → chunk-VFLEWVYZ.js} +35 -34
  48. package/dist/{chunk-3ATRPILH.js → chunk-VHXO4KB2.js} +2 -2
  49. package/dist/{chunk-2HFE4IAT.mjs → chunk-XZPUEPKK.mjs} +1 -1
  50. package/dist/{chunk-SQ7YVBPN.js → chunk-Y6FERKSJ.js} +2 -2
  51. package/dist/{chunk-MJU4W4C7.mjs → chunk-YHO3SOGJ.mjs} +6 -5
  52. package/dist/{chunk-XRVFIF7Q.js → chunk-YRI7JSHF.js} +2 -2
  53. package/dist/{chunk-YI34TEVO.mjs → chunk-ZED2FGME.mjs} +1 -1
  54. package/dist/{chunk-WJAIY3X6.js → chunk-ZNRCZ3UF.js} +2 -2
  55. package/dist/{chunk-YRHSIXS4.js → chunk-ZTCV7FTK.js} +2 -2
  56. package/dist/executors.js +20 -20
  57. package/dist/executors.mjs +19 -19
  58. package/dist/generators.js +9 -9
  59. package/dist/generators.mjs +8 -8
  60. package/dist/index.js +28 -28
  61. package/dist/index.mjs +27 -27
  62. package/dist/src/base/base-executor.js +4 -4
  63. package/dist/src/base/base-executor.mjs +3 -3
  64. package/dist/src/base/base-generator.js +4 -4
  65. package/dist/src/base/base-generator.mjs +3 -3
  66. package/dist/src/base/index.js +5 -5
  67. package/dist/src/base/index.mjs +4 -4
  68. package/dist/src/executors/cargo-build/executor.js +5 -5
  69. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  70. package/dist/src/executors/cargo-check/executor.js +5 -5
  71. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  72. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  73. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  74. package/dist/src/executors/cargo-doc/executor.js +5 -5
  75. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  76. package/dist/src/executors/cargo-format/executor.js +5 -5
  77. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  78. package/dist/src/executors/cargo-publish/executor.js +4 -4
  79. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  80. package/dist/src/executors/clean-package/executor.js +6 -6
  81. package/dist/src/executors/clean-package/executor.mjs +3 -3
  82. package/dist/src/executors/esbuild/executor.js +6 -6
  83. package/dist/src/executors/esbuild/executor.mjs +5 -5
  84. package/dist/src/executors/napi/executor.js +5 -5
  85. package/dist/src/executors/napi/executor.mjs +4 -4
  86. package/dist/src/executors/npm-publish/executor.js +6 -6
  87. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  88. package/dist/src/executors/size-limit/executor.js +5 -5
  89. package/dist/src/executors/size-limit/executor.mjs +4 -4
  90. package/dist/src/executors/tsdown/executor.js +6 -6
  91. package/dist/src/executors/tsdown/executor.mjs +5 -5
  92. package/dist/src/executors/typia/executor.js +5 -5
  93. package/dist/src/executors/typia/executor.mjs +4 -4
  94. package/dist/src/executors/unbuild/executor.js +5 -5
  95. package/dist/src/executors/unbuild/executor.mjs +4 -4
  96. package/dist/src/generators/browser-library/generator.js +5 -5
  97. package/dist/src/generators/browser-library/generator.mjs +4 -4
  98. package/dist/src/generators/config-schema/generator.js +5 -5
  99. package/dist/src/generators/config-schema/generator.mjs +4 -4
  100. package/dist/src/generators/neutral-library/generator.js +5 -5
  101. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  102. package/dist/src/generators/node-library/generator.js +5 -5
  103. package/dist/src/generators/node-library/generator.mjs +4 -4
  104. package/dist/src/generators/preset/generator.js +5 -5
  105. package/dist/src/generators/preset/generator.mjs +4 -4
  106. package/dist/src/release/index.js +6 -6
  107. package/dist/src/release/index.mjs +5 -5
  108. package/dist/src/release/js-version-actions.js +4 -4
  109. package/dist/src/release/js-version-actions.mjs +3 -3
  110. package/dist/src/release/rust-version-actions.js +5 -5
  111. package/dist/src/release/rust-version-actions.mjs +4 -4
  112. package/dist/src/utils/index.js +4 -4
  113. package/dist/src/utils/index.mjs +3 -3
  114. package/dist/src/utils/package-helpers.js +4 -4
  115. package/dist/src/utils/package-helpers.mjs +3 -3
  116. package/package.json +9 -9
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-M3YWCYUX.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V5L2NMX3.mjs";
7
+ } from "./chunk-HLZG5AEE.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  parseCargoToml,
6
6
  parseCargoTomlWithTree,
7
7
  stringifyCargoToml
8
- } from "./chunk-FIAY4XVI.mjs";
8
+ } from "./chunk-CHKLDARN.mjs";
9
9
  import {
10
10
  getWorkspaceConfig
11
- } from "./chunk-AH5TFWCI.mjs";
11
+ } from "./chunk-UWQQYG23.mjs";
12
12
 
13
13
  // src/release/rust-version-actions.ts
14
14
  import {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZTN2676G.mjs";
4
4
  import {
5
5
  withRunExecutor
6
- } from "./chunk-V5BPSX25.mjs";
6
+ } from "./chunk-2LSF54ZF.mjs";
7
7
  import {
8
8
  correctPaths,
9
9
  isAbsolute,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-NWXPYUQ3.mjs";
3
+ } from "./chunk-J3V2XDUI.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkC4ETRYH2js = require('./chunk-C4ETRYH2.js');
7
+ var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkC4ETRYH2js.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
5
5
 
6
6
 
7
- var _chunk5ZHH2FNQjs = require('./chunk-5ZHH2FNQ.js');
7
+ var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,8 @@ var _chunk5ZHH2FNQjs = require('./chunk-5ZHH2FNQ.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
17
+
18
+ var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
18
19
 
19
20
 
20
21
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -22,7 +23,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
22
23
  // src/base/base-executor.ts
23
24
  var _defu = require('defu');
24
25
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunkMJPVYBMEjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, name);
26
27
  let options = _options;
27
28
  let config = {};
28
29
  try {
@@ -36,9 +37,12 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
36
37
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
38
  const projectName = context.projectName;
38
39
  config.workspaceRoot = workspaceRoot;
39
- _chunkMJPVYBMEjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
+ _chunkOS24C67Pjs.writeInfo.call(void 0,
41
+ `${_chunkOS24C67Pjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
42
+ config
43
+ );
40
44
  if (!executorOptions.skipReadingConfig) {
41
- _chunkMJPVYBMEjs.writeTrace.call(void 0,
45
+ _chunkOS24C67Pjs.writeTrace.call(void 0,
42
46
  `Loading the Storm Config from environment variables and storm.config.js file...
43
47
  - workspaceRoot: ${workspaceRoot}
44
48
  - projectRoot: ${projectRoot}
@@ -47,18 +51,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
51
  `,
48
52
  config
49
53
  );
50
- config = await _chunk5ZHH2FNQjs.getConfig.call(void 0, workspaceRoot);
54
+ config = await _chunk3UVFXL7Ijs.getConfig.call(void 0, workspaceRoot);
51
55
  }
52
56
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
57
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
58
  options = await Promise.resolve(
55
59
  executorOptions.hooks.applyDefaultOptions(options, config)
56
60
  );
57
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
61
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
62
  }
59
- _chunkMJPVYBMEjs.writeTrace.call(void 0,
63
+ _chunkOS24C67Pjs.writeTrace.call(void 0,
60
64
  `Executor schema options \u2699\uFE0F
61
- ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, options)}
65
+ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, options)}
62
66
  `,
63
67
  config
64
68
  );
@@ -71,18 +75,18 @@ ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, options)}
71
75
  ),
72
76
  _chunkHXQRGLIIjs.applyWorkspaceProjectTokens
73
77
  );
74
- _chunkMJPVYBMEjs.writeTrace.call(void 0,
78
+ _chunkOS24C67Pjs.writeTrace.call(void 0,
75
79
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, tokenized)}
80
+ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, tokenized)}
77
81
  `,
78
82
  config
79
83
  );
80
84
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
85
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
86
  await Promise.resolve(
83
87
  executorOptions.hooks.preProcess(tokenized, config)
84
88
  );
85
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
89
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
90
  }
87
91
  const ret = executorFn(tokenized, context, config);
88
92
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -97,7 +101,7 @@ ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, tokenized)}
97
101
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
98
102
  throw new Error(
99
103
  `Failure determined while running the ${name} executor
100
- ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0,
104
+ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0,
101
105
  result
102
106
  )}`,
103
107
  {
@@ -106,21 +110,21 @@ ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0,
106
110
  );
107
111
  }
108
112
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
113
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
114
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
115
+ _chunkOS24C67Pjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
116
  }
113
- _chunkMJPVYBMEjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
117
+ _chunkOS24C67Pjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
118
  `, config);
115
119
  return {
116
120
  success: true
117
121
  };
118
122
  } catch (error) {
119
- _chunkMJPVYBMEjs.writeFatal.call(void 0,
123
+ _chunkOS24C67Pjs.writeFatal.call(void 0,
120
124
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
125
  config
122
126
  );
123
- _chunkMJPVYBMEjs.writeError.call(void 0,
127
+ _chunkOS24C67Pjs.writeError.call(void 0,
124
128
  `An exception was thrown in the executor's process
125
129
  - Details: ${error.message}
126
130
  - Stacktrace: ${error.stack}`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-FIAY4XVI.mjs";
3
+ } from "./chunk-CHKLDARN.mjs";
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  import { joinPathFragments } from "@nx/devkit";
@@ -5,21 +5,22 @@ import {
5
5
  addWorkspacePackageJsonFields,
6
6
  copyAssets,
7
7
  getEnv
8
- } from "./chunk-EIHVLRYO.mjs";
8
+ } from "./chunk-5LORK24T.mjs";
9
9
  import {
10
10
  withRunExecutor
11
- } from "./chunk-V5BPSX25.mjs";
11
+ } from "./chunk-2LSF54ZF.mjs";
12
12
  import {
13
13
  getWorkspaceConfig
14
- } from "./chunk-AH5TFWCI.mjs";
14
+ } from "./chunk-UWQQYG23.mjs";
15
15
  import {
16
+ brandIcon,
16
17
  getStopwatch,
17
18
  writeDebug,
18
19
  writeFatal,
19
20
  writeInfo,
20
21
  writeSuccess,
21
22
  writeWarning
22
- } from "./chunk-NWXPYUQ3.mjs";
23
+ } from "./chunk-J3V2XDUI.mjs";
23
24
  import {
24
25
  findWorkspaceRoot
25
26
  } from "./chunk-3J2CP54B.mjs";
@@ -282,7 +283,7 @@ async function cleanOutputPath(options) {
282
283
  return options;
283
284
  }
284
285
  async function build(options) {
285
- writeDebug(` \u26A1 Executing Storm TSDown pipeline`);
286
+ writeDebug(` ${brandIcon()} Executing Storm TSDown pipeline`);
286
287
  const stopwatch = getStopwatch("TSDown pipeline");
287
288
  try {
288
289
  const opts = Array.isArray(options) ? options : [options];
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-M3YWCYUX.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V5L2NMX3.mjs";
7
+ } from "./chunk-HLZG5AEE.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
4
+ var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
5
5
 
6
6
 
7
7
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -12,12 +12,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
12
12
  // ../build-tools/src/config.ts
13
13
  var DEFAULT_JS_BANNER = `
14
14
  // ---------------------------------------
15
- // \u26A1 Built by Storm Software
15
+ // \u{1F5F2} Built by Storm Software
16
16
  // ---------------------------------------
17
17
  `;
18
18
  var DEFAULT_CSS_BANNER = `
19
19
  /* ---------------------------------------
20
- \u26A1 Built by Storm Software
20
+ \u{1F5F2} Built by Storm Software
21
21
  --------------------------------------- */
22
22
  `;
23
23
  var DEFAULT_ENVIRONMENT = "production";
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
54
54
  output: "src/"
55
55
  });
56
56
  }
57
- _chunkMJPVYBMEjs.writeTrace.call(void 0,
57
+ _chunkOS24C67Pjs.writeTrace.call(void 0,
58
58
  `\u{1F4DD} Copying the following assets to the output directory:
59
59
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
60
60
  config
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
66
66
  assets: pendingAssets
67
67
  });
68
68
  await assetHandler.processAllAssetsOnce();
69
- _chunkMJPVYBMEjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
69
+ _chunkOS24C67Pjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
70
70
  if (includeSrc === true) {
71
- _chunkMJPVYBMEjs.writeDebug.call(void 0,
71
+ _chunkOS24C67Pjs.writeDebug.call(void 0,
72
72
  `\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
73
73
  outputPath,
74
74
  "src"
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
152
152
  }
153
153
  }
154
154
  if (localPackages.length > 0) {
155
- _chunkMJPVYBMEjs.writeTrace.call(void 0,
155
+ _chunkOS24C67Pjs.writeTrace.call(void 0,
156
156
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
157
157
  );
158
158
  const projectJsonFile = await _promises.readFile.call(void 0,
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
200
200
  return ret;
201
201
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
202
202
  } else {
203
- _chunkMJPVYBMEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
203
+ _chunkOS24C67Pjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
204
204
  }
205
205
  return packageJson;
206
206
  };
@@ -4,8 +4,9 @@ import {
4
4
  } from "./chunk-2QMGYIOO.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-AH5TFWCI.mjs";
7
+ } from "./chunk-UWQQYG23.mjs";
8
8
  import {
9
+ brandIcon,
9
10
  getStopwatch,
10
11
  writeDebug,
11
12
  writeError,
@@ -13,7 +14,7 @@ import {
13
14
  writeInfo,
14
15
  writeSuccess,
15
16
  writeTrace
16
- } from "./chunk-NWXPYUQ3.mjs";
17
+ } from "./chunk-J3V2XDUI.mjs";
17
18
  import {
18
19
  findWorkspaceRoot
19
20
  } from "./chunk-3J2CP54B.mjs";
@@ -26,9 +27,12 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
26
27
  let options = _options;
27
28
  let config;
28
29
  try {
29
- writeInfo(`\u26A1 Running the ${name} generator...
30
+ writeInfo(
31
+ `${brandIcon(config)} Running the ${name} generator...
30
32
 
31
- `, config);
33
+ `,
34
+ config
35
+ );
32
36
  const workspaceRoot = findWorkspaceRoot();
33
37
  if (!generatorOptions.skipReadingConfig) {
34
38
  writeDebug(
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-V5BPSX25.mjs";
7
+ } from "./chunk-2LSF54ZF.mjs";
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-FIAY4XVI.mjs";
3
+ } from "./chunk-CHKLDARN.mjs";
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  isEqualProjectTag
@@ -62,6 +62,35 @@ var DEFAULT_COLOR_CONFIG = {
62
62
  gradient: ["#1fb2a6", "#db2777", "#818cf8"]
63
63
  }
64
64
  };
65
+ function getColors(config) {
66
+ if (!config?.colors || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !config.colors["base"]?.["dark"])) {
67
+ return DEFAULT_COLOR_CONFIG;
68
+ }
69
+ if (config.colors["base"]) {
70
+ if (typeof config.colors["base"]["dark"] === "object") {
71
+ return config.colors["base"]["dark"];
72
+ } else if (config.colors["base"]["dark"] === "string") {
73
+ return config.colors["base"];
74
+ }
75
+ }
76
+ if (typeof config.colors["dark"] === "object") {
77
+ return config.colors["dark"];
78
+ }
79
+ return config.colors ?? DEFAULT_COLOR_CONFIG;
80
+ }
81
+ function getColor(key, config) {
82
+ const colors = getColors(config);
83
+ const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
84
+ if (result) {
85
+ return result;
86
+ }
87
+ if (key === "link" || key === "debug") {
88
+ return getColor("info", config);
89
+ } else if (key === "fatal") {
90
+ return getColor("danger", config);
91
+ }
92
+ return getColor("brand", config);
93
+ }
65
94
 
66
95
  // ../config-tools/src/logger/chalk.ts
67
96
  import chalk from "chalk";
@@ -328,6 +357,7 @@ var _isFunction = (value) => {
328
357
  return false;
329
358
  }
330
359
  };
360
+ var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
331
361
 
332
362
  export {
333
363
  LogLevel,
@@ -341,5 +371,6 @@ export {
341
371
  writeDebug,
342
372
  writeTrace,
343
373
  getStopwatch,
344
- formatLogMessage
374
+ formatLogMessage,
375
+ brandIcon
345
376
  };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QC5ON3X4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V5L2NMX3.mjs";
7
+ } from "./chunk-HLZG5AEE.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-L2Y6WKX4.mjs";
@@ -7,7 +7,7 @@ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
7
7
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
8
8
 
9
9
 
10
- var _chunkV6KF2MA3js = require('./chunk-V6KF2MA3.js');
10
+ var _chunkPBN7PKGEjs = require('./chunk-PBN7PKGE.js');
11
11
 
12
12
 
13
13
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
59
59
  await _devkit.formatFiles.call(void 0, tree);
60
60
  return null;
61
61
  }
62
- var generator_default = _chunkV6KF2MA3js.withRunGenerator.call(void 0,
62
+ var generator_default = _chunkPBN7PKGEjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-V5BPSX25.mjs";
3
+ } from "./chunk-2LSF54ZF.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-NWXPYUQ3.mjs";
6
+ } from "./chunk-J3V2XDUI.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkC4ETRYH2js = require('./chunk-C4ETRYH2.js');
3
+ var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
4
4
 
5
5
 
6
- var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
6
+ var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
7
7
 
8
8
  // src/executors/typia/executor.ts
9
9
  var _fsextra = require('fs-extra');
10
10
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
11
11
  async function typiaExecutorFn(options, _, config) {
12
12
  if (options.clean !== false) {
13
- _chunkMJPVYBMEjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
13
+ _chunkOS24C67Pjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
14
14
  _fsextra.removeSync.call(void 0, options.outputPath);
15
15
  }
16
16
  await Promise.all(
17
17
  options.entry.map((entry) => {
18
- _chunkMJPVYBMEjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
18
+ _chunkOS24C67Pjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
19
19
  return _TypiaProgrammerjs.TypiaProgrammer.build({
20
20
  input: entry,
21
21
  output: options.outputPath,
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
27
27
  success: true
28
28
  };
29
29
  }
30
- var executor_default = _chunkC4ETRYH2js.withRunExecutor.call(void 0,
30
+ var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -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; } var _class;
2
2
 
3
- var _chunk5ZHH2FNQjs = require('./chunk-5ZHH2FNQ.js');
3
+ var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
4
4
 
5
5
  // src/release/js-version-actions.ts
6
6
  var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
@@ -24,7 +24,7 @@ var StormJsVersionActions = (_class = class extends _versionactionsjs2.default {
24
24
  * @params tree - The file system tree to read from.
25
25
  */
26
26
  async init(tree) {
27
- this.workspaceConfig = await _chunk5ZHH2FNQjs.getWorkspaceConfig.call(void 0, );
27
+ this.workspaceConfig = await _chunk3UVFXL7Ijs.getWorkspaceConfig.call(void 0, );
28
28
  return super.init(tree);
29
29
  }
30
30
  /**
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-V5BPSX25.mjs";
3
+ } from "./chunk-2LSF54ZF.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-NWXPYUQ3.mjs";
6
+ } from "./chunk-J3V2XDUI.mjs";
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -62,6 +62,35 @@ var DEFAULT_COLOR_CONFIG = {
62
62
  gradient: ["#1fb2a6", "#db2777", "#818cf8"]
63
63
  }
64
64
  };
65
+ function getColors(config) {
66
+ if (!_optionalChain([config, 'optionalAccess', _2 => _2.colors]) || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !_optionalChain([config, 'access', _3 => _3.colors, 'access', _4 => _4["base"], 'optionalAccess', _5 => _5["dark"]]))) {
67
+ return DEFAULT_COLOR_CONFIG;
68
+ }
69
+ if (config.colors["base"]) {
70
+ if (typeof config.colors["base"]["dark"] === "object") {
71
+ return config.colors["base"]["dark"];
72
+ } else if (config.colors["base"]["dark"] === "string") {
73
+ return config.colors["base"];
74
+ }
75
+ }
76
+ if (typeof config.colors["dark"] === "object") {
77
+ return config.colors["dark"];
78
+ }
79
+ return _nullishCoalesce(config.colors, () => ( DEFAULT_COLOR_CONFIG));
80
+ }
81
+ function getColor(key, config) {
82
+ const colors = getColors(config);
83
+ const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
84
+ if (result) {
85
+ return result;
86
+ }
87
+ if (key === "link" || key === "debug") {
88
+ return getColor("info", config);
89
+ } else if (key === "fatal") {
90
+ return getColor("danger", config);
91
+ }
92
+ return getColor("brand", config);
93
+ }
65
94
 
66
95
  // ../config-tools/src/logger/chalk.ts
67
96
  var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
@@ -90,7 +119,7 @@ var chalkDefault = {
90
119
  };
91
120
  var getChalk = () => {
92
121
  let _chalk = _chalk3.default;
93
- if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.white])) {
122
+ if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _11 => _11.white])) {
94
123
  _chalk = chalkDefault;
95
124
  }
96
125
  return _chalk;
@@ -178,7 +207,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
178
207
 
179
208
  // ../config-tools/src/logger/console.ts
180
209
  var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
181
- const colors = !_optionalChain([config, 'access', _8 => _8.colors, 'optionalAccess', _9 => _9.dark]) && !_optionalChain([config, 'access', _10 => _10.colors, 'optionalAccess', _11 => _11["base"]]) && !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13["base"], 'optionalAccess', _14 => _14.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _17 => _17.colors, 'optionalAccess', _18 => _18["base"], 'optionalAccess', _19 => _19.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"]]) ? _optionalChain([config, 'access', _22 => _22.colors, 'optionalAccess', _23 => _23["base"]]) : DEFAULT_COLOR_CONFIG;
210
+ const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
182
211
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
183
212
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
184
213
  return (_) => {
@@ -323,11 +352,13 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
323
352
  };
324
353
  var _isFunction = (value) => {
325
354
  try {
326
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _24 => _24.constructor]) && _optionalChain([value, 'optionalAccess', _25 => _25.call]) && _optionalChain([value, 'optionalAccess', _26 => _26.apply]));
355
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _28 => _28.constructor]) && _optionalChain([value, 'optionalAccess', _29 => _29.call]) && _optionalChain([value, 'optionalAccess', _30 => _30.apply]));
327
356
  } catch (e) {
328
357
  return false;
329
358
  }
330
359
  };
360
+ var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
361
+
331
362
 
332
363
 
333
364
 
@@ -342,4 +373,4 @@ var _isFunction = (value) => {
342
373
 
343
374
 
344
375
 
345
- exports.LogLevel = LogLevel; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage;
376
+ exports.LogLevel = LogLevel; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.brandIcon = brandIcon;