@storm-software/workspace-tools 1.293.7 → 1.293.9

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 (117) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-MFRKH3QL.mjs → chunk-2GUYRQCA.mjs} +1 -1
  4. package/dist/{chunk-DBNK7FLL.mjs → chunk-2VEN4MMJ.mjs} +3 -3
  5. package/dist/{chunk-WS5PLNBP.mjs → chunk-4KQTW4FB.mjs} +2 -2
  6. package/dist/{chunk-BOC6RTAX.js → chunk-5BBCJ72W.js} +2 -2
  7. package/dist/{chunk-RZDOMICP.js → chunk-5ZQEH4AG.js} +2 -2
  8. package/dist/{chunk-T3WEFC55.mjs → chunk-67LH5YAE.mjs} +1 -1
  9. package/dist/{chunk-RWARFCNL.js → chunk-6BB3BLHX.js} +2 -2
  10. package/dist/{chunk-TAG2PULI.js → chunk-6RKBHVR3.js} +2 -2
  11. package/dist/{chunk-VF2LXW3B.js → chunk-757MUDEM.js} +2 -2
  12. package/dist/{chunk-UETG5X2Z.mjs → chunk-7CHKD6ZU.mjs} +2 -2
  13. package/dist/{chunk-YJT4F4GN.mjs → chunk-7CYRZRSQ.mjs} +2 -2
  14. package/dist/{chunk-XLZWHFV7.mjs → chunk-ATKAEDYS.mjs} +2 -2
  15. package/dist/{chunk-ZGMVPA2H.mjs → chunk-B55Y32GD.mjs} +1 -1
  16. package/dist/{chunk-4ROGNJIP.js → chunk-B5D7HVM5.js} +10 -10
  17. package/dist/{chunk-P2QPOCDL.mjs → chunk-BJENCV34.mjs} +2 -2
  18. package/dist/{chunk-6IHCTXPW.mjs → chunk-CCRGF4HZ.mjs} +1 -1
  19. package/dist/{chunk-6XDX3W4C.js → chunk-CPSHI6D5.js} +2 -2
  20. package/dist/{chunk-IT3RQADI.mjs → chunk-D4PVJWPB.mjs} +4 -4
  21. package/dist/{chunk-RYUO22WK.js → chunk-DRNL76FW.js} +30 -30
  22. package/dist/{chunk-ROI6N5XU.js → chunk-FZJRO253.js} +2 -2
  23. package/dist/{chunk-MF2R2GZF.js → chunk-G7AQBWV3.js} +4 -4
  24. package/dist/{chunk-RGRRXFFX.js → chunk-HEKFNBVI.js} +11 -11
  25. package/dist/{chunk-DUHZQGVB.js → chunk-I2JFJ4ZH.js} +5 -5
  26. package/dist/{chunk-5EA2N2AH.js → chunk-KKB2SNCA.js} +34 -34
  27. package/dist/{chunk-KFRGKGAD.mjs → chunk-KVKXRWJA.mjs} +2 -2
  28. package/dist/{chunk-TYJZD5KJ.js → chunk-LBJYCV7W.js} +6 -6
  29. package/dist/{chunk-6F75AWBB.mjs → chunk-LKNGNLWN.mjs} +1 -1
  30. package/dist/{chunk-UKKUUGK5.mjs → chunk-LMF76PTK.mjs} +1 -1
  31. package/dist/{chunk-BELCG4XM.mjs → chunk-LV2NZ7T5.mjs} +2 -2
  32. package/dist/{chunk-ZOUMLMH4.js → chunk-MJRZ6IWM.js} +5 -5
  33. package/dist/{chunk-VGWI2FQE.mjs → chunk-NCYSWFWT.mjs} +1 -1
  34. package/dist/{chunk-HD4WVBQR.js → chunk-NIRVJWD5.js} +2 -2
  35. package/dist/{chunk-V44DYGWX.mjs → chunk-NRPYQWQ4.mjs} +5 -5
  36. package/dist/{chunk-DUZOZEUA.mjs → chunk-NY4RZDUG.mjs} +1 -1
  37. package/dist/{chunk-X2SLQ73Q.mjs → chunk-OEHQ4P7L.mjs} +1 -1
  38. package/dist/{chunk-VGXI3J3C.js → chunk-OJQ53OAY.js} +12 -12
  39. package/dist/{chunk-NQOA6WGC.mjs → chunk-PAEBBUY2.mjs} +1 -1
  40. package/dist/{chunk-L7OQTUBA.js → chunk-QBYA4DKC.js} +20 -20
  41. package/dist/{chunk-MTQNI5FG.mjs → chunk-QJT63C5Y.mjs} +1 -1
  42. package/dist/{chunk-O5JT5GOM.js → chunk-RAM72W3S.js} +2 -2
  43. package/dist/{chunk-RVGLZSRS.js → chunk-RRP2E72K.js} +2 -2
  44. package/dist/{chunk-GIVVWGKW.mjs → chunk-SNK67SOJ.mjs} +1 -1
  45. package/dist/{chunk-2HWYXG2K.js → chunk-TLSJE3BM.js} +16 -16
  46. package/dist/{chunk-H4EFSMAS.mjs → chunk-TRWY2MHH.mjs} +1 -1
  47. package/dist/{chunk-EGVBKE43.js → chunk-U45J52OH.js} +2 -2
  48. package/dist/{chunk-Y25P6YPV.mjs → chunk-UNIRLSTQ.mjs} +1 -1
  49. package/dist/{chunk-YOM5ZK63.mjs → chunk-UXTEMU3E.mjs} +4 -4
  50. package/dist/{chunk-L5WX3FSM.js → chunk-VSIOTWZ3.js} +2 -2
  51. package/dist/{chunk-OGE2WFDW.js → chunk-WBBERMCB.js} +2 -2
  52. package/dist/{chunk-L6LJBWJ7.mjs → chunk-XW7KSJT6.mjs} +1 -1
  53. package/dist/{chunk-JWFGGMYQ.js → chunk-YTYMBCNN.js} +2 -2
  54. package/dist/{chunk-OF7BAS3P.js → chunk-ZBZLFUGZ.js} +4 -4
  55. package/dist/{chunk-KSUWYBUX.mjs → chunk-ZUJRNOCS.mjs} +1 -1
  56. package/dist/{chunk-2CDSXWFA.js → chunk-ZWF65Q7E.js} +6 -6
  57. package/dist/executors.js +20 -20
  58. package/dist/executors.mjs +19 -19
  59. package/dist/generators.js +9 -9
  60. package/dist/generators.mjs +8 -8
  61. package/dist/index.js +28 -28
  62. package/dist/index.mjs +27 -27
  63. package/dist/src/base/base-executor.js +4 -4
  64. package/dist/src/base/base-executor.mjs +3 -3
  65. package/dist/src/base/base-generator.js +4 -4
  66. package/dist/src/base/base-generator.mjs +3 -3
  67. package/dist/src/base/index.js +5 -5
  68. package/dist/src/base/index.mjs +4 -4
  69. package/dist/src/executors/cargo-build/executor.js +5 -5
  70. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  71. package/dist/src/executors/cargo-check/executor.js +5 -5
  72. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  73. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  74. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  75. package/dist/src/executors/cargo-doc/executor.js +5 -5
  76. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  77. package/dist/src/executors/cargo-format/executor.js +5 -5
  78. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  79. package/dist/src/executors/cargo-publish/executor.js +4 -4
  80. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  81. package/dist/src/executors/clean-package/executor.js +6 -6
  82. package/dist/src/executors/clean-package/executor.mjs +3 -3
  83. package/dist/src/executors/esbuild/executor.js +6 -6
  84. package/dist/src/executors/esbuild/executor.mjs +5 -5
  85. package/dist/src/executors/napi/executor.js +5 -5
  86. package/dist/src/executors/napi/executor.mjs +4 -4
  87. package/dist/src/executors/npm-publish/executor.js +6 -6
  88. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  89. package/dist/src/executors/size-limit/executor.js +5 -5
  90. package/dist/src/executors/size-limit/executor.mjs +4 -4
  91. package/dist/src/executors/tsdown/executor.js +6 -6
  92. package/dist/src/executors/tsdown/executor.mjs +5 -5
  93. package/dist/src/executors/typia/executor.js +5 -5
  94. package/dist/src/executors/typia/executor.mjs +4 -4
  95. package/dist/src/executors/unbuild/executor.js +5 -5
  96. package/dist/src/executors/unbuild/executor.mjs +4 -4
  97. package/dist/src/generators/browser-library/generator.js +5 -5
  98. package/dist/src/generators/browser-library/generator.mjs +4 -4
  99. package/dist/src/generators/config-schema/generator.js +5 -5
  100. package/dist/src/generators/config-schema/generator.mjs +4 -4
  101. package/dist/src/generators/neutral-library/generator.js +5 -5
  102. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  103. package/dist/src/generators/node-library/generator.js +5 -5
  104. package/dist/src/generators/node-library/generator.mjs +4 -4
  105. package/dist/src/generators/preset/generator.js +5 -5
  106. package/dist/src/generators/preset/generator.mjs +4 -4
  107. package/dist/src/release/index.js +6 -6
  108. package/dist/src/release/index.mjs +5 -5
  109. package/dist/src/release/js-version-actions.js +4 -4
  110. package/dist/src/release/js-version-actions.mjs +3 -3
  111. package/dist/src/release/rust-version-actions.js +5 -5
  112. package/dist/src/release/rust-version-actions.mjs +4 -4
  113. package/dist/src/utils/index.js +4 -4
  114. package/dist/src/utils/index.mjs +3 -3
  115. package/dist/src/utils/package-helpers.js +4 -4
  116. package/dist/src/utils/package-helpers.mjs +3 -3
  117. package/package.json +8 -8
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkJWFGGMYQjs = require('./chunk-JWFGGMYQ.js');
8
+ var _chunkYTYMBCNNjs = require('./chunk-YTYMBCNN.js');
9
9
 
10
10
 
11
- var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
11
+ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
12
12
 
13
13
  // src/release/rust-version-actions.ts
14
14
 
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
36
36
  * @params tree - The file system tree to read from.
37
37
  */
38
38
  async init(tree) {
39
- this.workspaceConfig = await _chunk4ROGNJIPjs.getWorkspaceConfig.call(void 0, );
39
+ this.workspaceConfig = await _chunkB5D7HVM5js.getWorkspaceConfig.call(void 0, );
40
40
  return super.init(tree);
41
41
  }
42
42
  async readCurrentVersionFromSourceManifest(tree) {
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
45
45
  "Cargo.toml"
46
46
  );
47
47
  try {
48
- const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
48
+ const cargoToml = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
49
49
  tree,
50
50
  this.projectGraphNode.data.root,
51
51
  this.projectGraphNode.name
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
61
61
  }
62
62
  }
63
63
  async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
64
- const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
64
+ const cargoToml = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
65
65
  tree,
66
66
  this.projectGraphNode.data.root,
67
67
  this.projectGraphNode.name
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
86
86
  };
87
87
  }
88
88
  async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
89
- const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
89
+ const cargoToml = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
90
90
  tree,
91
91
  this.projectGraphNode.data.root,
92
92
  this.projectGraphNode.name
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
97
97
  dependencyCollection: null
98
98
  };
99
99
  }
100
- const dependencyCargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
100
+ const dependencyCargoToml = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
101
101
  tree,
102
102
  _optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
103
103
  dependencyProjectName
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
131
131
  `Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
132
132
  );
133
133
  }
134
- const cargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0, cargoTomlString);
134
+ const cargoToml = _chunkYTYMBCNNjs.parseCargoToml.call(void 0, cargoTomlString);
135
135
  cargoToml.package.version = newVersion;
136
- tree.write(manifestToUpdate.manifestPath, _chunkJWFGGMYQjs.stringifyCargoToml.call(void 0, cargoToml));
136
+ tree.write(manifestToUpdate.manifestPath, _chunkYTYMBCNNjs.stringifyCargoToml.call(void 0, cargoToml));
137
137
  logMessages.push(
138
138
  `\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
139
139
  );
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
161
161
  `Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
162
162
  );
163
163
  }
164
- const cargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0, cargoTomlString);
164
+ const cargoToml = _chunkYTYMBCNNjs.parseCargoToml.call(void 0, cargoTomlString);
165
165
  for (const depType of ["dependencies", "dev-dependencies"]) {
166
166
  if (cargoToml[depType]) {
167
167
  for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
178
178
  `Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
179
179
  );
180
180
  }
181
- const dependencyCargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0,
181
+ const dependencyCargoToml = _chunkYTYMBCNNjs.parseCargoToml.call(void 0,
182
182
  dependencyCargoTomlString
183
183
  );
184
184
  const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
189
189
  }
190
190
  tree.write(
191
191
  manifestToUpdate.manifestPath,
192
- _chunkJWFGGMYQjs.stringifyCargoToml.call(void 0, cargoToml)
192
+ _chunkYTYMBCNNjs.stringifyCargoToml.call(void 0, cargoToml)
193
193
  );
194
194
  } catch (error) {
195
195
  throw new Error(
@@ -5,7 +5,7 @@ import {
5
5
  getLogLevelLabel,
6
6
  writeTrace,
7
7
  writeWarning
8
- } from "./chunk-V44DYGWX.mjs";
8
+ } from "./chunk-NRPYQWQ4.mjs";
9
9
  import {
10
10
  findWorkspaceRoot
11
11
  } from "./chunk-GSZ2BO7G.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkML2VHRB6js = require('./chunk-ML2VHRB6.js');
5
5
 
6
6
 
7
- var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
7
+ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
17
+ var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
18
18
 
19
19
 
20
20
  var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
@@ -22,7 +22,7 @@ var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
22
22
  // src/base/base-executor.ts
23
23
  var _defu = require('defu');
24
24
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config = {};
28
28
  try {
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
38
38
  config.workspaceRoot = workspaceRoot;
39
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
+ _chunkZWF65Q7Ejs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
40
  if (!executorOptions.skipReadingConfig) {
41
- _chunk2CDSXWFAjs.writeTrace.call(void 0,
41
+ _chunkZWF65Q7Ejs.writeTrace.call(void 0,
42
42
  `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunk4ROGNJIPjs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkB5D7HVM5js.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
53
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
54
  options = await Promise.resolve(
55
55
  executorOptions.hooks.applyDefaultOptions(options, config)
56
56
  );
57
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunk2CDSXWFAjs.writeTrace.call(void 0,
59
+ _chunkZWF65Q7Ejs.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
61
+ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
@@ -71,18 +71,18 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
71
71
  ),
72
72
  _chunkML2VHRB6js.applyWorkspaceProjectTokens
73
73
  );
74
- _chunk2CDSXWFAjs.writeTrace.call(void 0,
74
+ _chunkZWF65Q7Ejs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, tokenized)}
76
+ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, tokenized)}
77
77
  `,
78
78
  config
79
79
  );
80
80
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
81
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
82
  await Promise.resolve(
83
83
  executorOptions.hooks.preProcess(tokenized, config)
84
84
  );
85
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
85
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
86
  }
87
87
  const ret = executorFn(tokenized, context, config);
88
88
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -97,7 +97,7 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, tokenized)}
97
97
  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
98
  throw new Error(
99
99
  `Failure determined while running the ${name} executor
100
- ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0,
100
+ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0,
101
101
  result
102
102
  )}`,
103
103
  {
@@ -106,21 +106,21 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0,
106
106
  );
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
109
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
110
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunk2CDSXWFAjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
113
+ _chunkZWF65Q7Ejs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
114
  `, config);
115
115
  return {
116
116
  success: true
117
117
  };
118
118
  } catch (error) {
119
- _chunk2CDSXWFAjs.writeFatal.call(void 0,
119
+ _chunkZWF65Q7Ejs.writeFatal.call(void 0,
120
120
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
121
  config
122
122
  );
123
- _chunk2CDSXWFAjs.writeError.call(void 0,
123
+ _chunkZWF65Q7Ejs.writeError.call(void 0,
124
124
  `An exception was thrown in the executor's process
125
125
  - Details: ${error.message}
126
126
  - Stacktrace: ${error.stack}`,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZTN2676G.mjs";
4
4
  import {
5
5
  withRunExecutor
6
- } from "./chunk-XLZWHFV7.mjs";
6
+ } from "./chunk-ATKAEDYS.mjs";
7
7
  import {
8
8
  correctPaths,
9
9
  isAbsolute,
@@ -4,7 +4,7 @@
4
4
  var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
5
5
 
6
6
 
7
- var _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
7
+ var _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
57
- var generator_default = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkL7OQTUBAjs = require('./chunk-L7OQTUBA.js');
7
+ var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.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 = _chunkL7OQTUBAjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QC5ON3X4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-WS5PLNBP.mjs";
7
+ } from "./chunk-4KQTW4FB.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-6TYMSSXV.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkML2VHRB6js = require('./chunk-ML2VHRB6.js');
5
5
 
6
6
 
7
- var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
7
+ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
16
+ var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
17
17
 
18
18
 
19
19
  var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
@@ -22,30 +22,30 @@ var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
23
23
  skipReadingConfig: false
24
24
  }) => async (tree, _options) => {
25
- const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config;
28
28
  try {
29
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
29
+ _chunkZWF65Q7Ejs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
30
 
31
31
  `, config);
32
32
  const workspaceRoot = _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, );
33
33
  if (!generatorOptions.skipReadingConfig) {
34
- _chunk2CDSXWFAjs.writeDebug.call(void 0,
34
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0,
35
35
  `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunk4ROGNJIPjs.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkB5D7HVM5js.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
42
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
43
43
  options = await Promise.resolve(
44
44
  generatorOptions.hooks.applyDefaultOptions(options, config)
45
45
  );
46
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunk2CDSXWFAjs.writeTrace.call(void 0,
48
+ _chunkZWF65Q7Ejs.writeTrace.call(void 0,
49
49
  `Generator schema options \u2699\uFE0F
50
50
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
51
51
  config
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
56
56
  _chunkML2VHRB6js.applyWorkspaceBaseTokens
57
57
  );
58
58
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
59
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
59
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the preProcess hook...", config);
60
60
  await Promise.resolve(
61
61
  generatorOptions.hooks.preProcess(tokenized, config)
62
62
  );
63
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
63
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the preProcess hook", config);
64
64
  }
65
65
  const result = await Promise.resolve(
66
66
  generatorFn(tree, tokenized, config)
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
75
75
  }
76
76
  }
77
77
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
78
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
78
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the postProcess hook...", config);
79
79
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
80
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
80
+ _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the postProcess hook", config);
81
81
  }
82
82
  return () => {
83
- _chunk2CDSXWFAjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
83
+ _chunkZWF65Q7Ejs.writeSuccess.call(void 0, `Completed running the ${name} generator!
84
84
  `, config);
85
85
  };
86
86
  } catch (error) {
87
87
  return () => {
88
- _chunk2CDSXWFAjs.writeFatal.call(void 0,
88
+ _chunkZWF65Q7Ejs.writeFatal.call(void 0,
89
89
  "A fatal error occurred while running the generator - the process was forced to terminate",
90
90
  config
91
91
  );
92
- _chunk2CDSXWFAjs.writeError.call(void 0,
92
+ _chunkZWF65Q7Ejs.writeError.call(void 0,
93
93
  `An exception was thrown in the generator's process
94
94
  - Details: ${error.message}
95
95
  - Stacktrace: ${error.stack}`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-X2SLQ73Q.mjs";
3
+ } from "./chunk-OEHQ4P7L.mjs";
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  import { joinPathFragments } from "@nx/devkit";
@@ -4,7 +4,7 @@
4
4
  var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
5
5
 
6
6
 
7
- var _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
7
+ var _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-X2SLQ73Q.mjs";
3
+ } from "./chunk-OEHQ4P7L.mjs";
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  isEqualProjectTag
@@ -5,13 +5,13 @@ import {
5
5
  addWorkspacePackageJsonFields,
6
6
  copyAssets,
7
7
  getEnv
8
- } from "./chunk-MFRKH3QL.mjs";
8
+ } from "./chunk-2GUYRQCA.mjs";
9
9
  import {
10
10
  withRunExecutor
11
- } from "./chunk-XLZWHFV7.mjs";
11
+ } from "./chunk-ATKAEDYS.mjs";
12
12
  import {
13
13
  getWorkspaceConfig
14
- } from "./chunk-NQOA6WGC.mjs";
14
+ } from "./chunk-PAEBBUY2.mjs";
15
15
  import {
16
16
  getStopwatch,
17
17
  writeDebug,
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-V44DYGWX.mjs";
22
+ } from "./chunk-NRPYQWQ4.mjs";
23
23
  import {
24
24
  findWorkspaceRoot
25
25
  } from "./chunk-GSZ2BO7G.mjs";
@@ -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 _chunk4ROGNJIPjs = require('./chunk-4ROGNJIP.js');
3
+ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.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 _chunk4ROGNJIPjs.getWorkspaceConfig.call(void 0, );
27
+ this.workspaceConfig = await _chunkB5D7HVM5js.getWorkspaceConfig.call(void 0, );
28
28
  return super.init(tree);
29
29
  }
30
30
  /**
@@ -7,7 +7,7 @@ var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
7
7
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
8
8
 
9
9
 
10
- var _chunk2HWYXG2Kjs = require('./chunk-2HWYXG2K.js');
10
+ var _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.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 = _chunk2HWYXG2Kjs.withRunGenerator.call(void 0,
62
+ var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3UGFRM4O.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-WS5PLNBP.mjs";
7
+ } from "./chunk-4KQTW4FB.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,13 +1,13 @@
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 _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
3
+ var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunk2CDSXWFAjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkZWF65Q7Ejs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -1,9 +1,9 @@
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 _chunkL7OQTUBAjs = require('./chunk-L7OQTUBA.js');
3
+ var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
4
4
 
5
5
 
6
- var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
6
+ var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
7
7
 
8
8
 
9
9
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -12,7 +12,7 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
12
12
  var _defu = require('defu');
13
13
  var _jiti = require('jiti');
14
14
  async function unbuildExecutorFn(options, context, config) {
15
- _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunkZWF65Q7Ejs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
16
16
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
17
17
  throw new Error(
18
18
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkL7OQTUBAjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-XLZWHFV7.mjs";
7
+ } from "./chunk-ATKAEDYS.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -1,4 +1,7 @@
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; }// ../config-tools/src/types.ts
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; }// ../config-tools/src/logger/console.ts
2
+ var _formatDistanceToNowStrict = require('date-fns/formatDistanceToNowStrict');
3
+
4
+ // ../config-tools/src/types.ts
2
5
  var LogLevel = {
3
6
  SILENT: 0,
4
7
  FATAL: 10,
@@ -258,14 +261,11 @@ var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(messa
258
261
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
259
262
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
260
263
  var getStopwatch = (name) => {
261
- const start = process.hrtime();
264
+ const start = /* @__PURE__ */ new Date();
262
265
  return () => {
263
- const end = process.hrtime(start);
264
266
  console.info(
265
267
  `
266
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${Math.round(
267
- end[0] * 1e3 + end[1] / 1e6
268
- )}ms to complete
268
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${_formatDistanceToNowStrict.formatDistanceToNowStrict.call(void 0, start)} to complete
269
269
  `
270
270
  );
271
271
  };