@storm-software/workspace-tools 1.293.9 → 1.293.11

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 (137) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-D4PVJWPB.mjs → chunk-2BWYLG6A.mjs} +4 -4
  4. package/dist/{chunk-6RKBHVR3.js → chunk-2TNMKOD2.js} +2 -2
  5. package/dist/{chunk-4KQTW4FB.mjs → chunk-2ZQ423JU.mjs} +2 -2
  6. package/dist/{chunk-U45J52OH.js → chunk-37YI6LX5.js} +2 -2
  7. package/dist/{chunk-7CYRZRSQ.mjs → chunk-3X7FM2RU.mjs} +2 -2
  8. package/dist/{chunk-LMF76PTK.mjs → chunk-3ZXQER7B.mjs} +1 -1
  9. package/dist/{chunk-I2JFJ4ZH.js → chunk-46BG6NUY.js} +5 -5
  10. package/dist/{chunk-ZWF65Q7E.js → chunk-4BWM53AA.js} +4 -2
  11. package/dist/{chunk-WBBERMCB.js → chunk-4HOZ3VJB.js} +2 -2
  12. package/dist/{chunk-UXTEMU3E.mjs → chunk-52TAS4FU.mjs} +4 -4
  13. package/dist/{chunk-NIRVJWD5.js → chunk-66Q42VH2.js} +2 -2
  14. package/dist/{chunk-NRPYQWQ4.mjs → chunk-6MATO2MJ.mjs} +4 -2
  15. package/dist/{chunk-QBYA4DKC.js → chunk-73YOO2B5.js} +20 -20
  16. package/dist/{chunk-B5D7HVM5.js → chunk-7OGVJELA.js} +10 -10
  17. package/dist/{chunk-VSIOTWZ3.js → chunk-B7RA32TM.js} +2 -2
  18. package/dist/{chunk-XW7KSJT6.mjs → chunk-BKKFOQOU.mjs} +1 -1
  19. package/dist/{chunk-7CHKD6ZU.mjs → chunk-BQXKHUQZ.mjs} +2 -2
  20. package/dist/{chunk-ZUJRNOCS.mjs → chunk-BWI3GPA4.mjs} +1 -1
  21. package/dist/{chunk-CPSHI6D5.js → chunk-C7TDCMF3.js} +2 -2
  22. package/dist/{chunk-SNK67SOJ.mjs → chunk-CFONUGBH.mjs} +1 -1
  23. package/dist/{chunk-LBJYCV7W.js → chunk-CGAO5ZJF.js} +6 -6
  24. package/dist/{chunk-BJENCV34.mjs → chunk-DK3UBNIE.mjs} +2 -2
  25. package/dist/{chunk-LKNGNLWN.mjs → chunk-EFIYH6QT.mjs} +1 -1
  26. package/dist/{chunk-ZBZLFUGZ.js → chunk-EOQB5BBV.js} +4 -4
  27. package/dist/{chunk-KVKXRWJA.mjs → chunk-ERLIBMRM.mjs} +2 -2
  28. package/dist/{chunk-OEHQ4P7L.mjs → chunk-FEYD5KMF.mjs} +1 -1
  29. package/dist/{chunk-YTYMBCNN.js → chunk-GXTFFUML.js} +2 -2
  30. package/dist/{chunk-RRP2E72K.js → chunk-HFXXGJRH.js} +2 -2
  31. package/dist/{chunk-TRWY2MHH.mjs → chunk-HMRKWV4A.mjs} +1 -1
  32. package/dist/{chunk-TLSJE3BM.js → chunk-HYK7X5TY.js} +16 -16
  33. package/dist/{chunk-MJRZ6IWM.js → chunk-I6XZ4REQ.js} +5 -5
  34. package/dist/{chunk-2GUYRQCA.mjs → chunk-IX3OF5NI.mjs} +1 -1
  35. package/dist/{chunk-HEKFNBVI.js → chunk-KXLPRYBL.js} +11 -11
  36. package/dist/{chunk-OJQ53OAY.js → chunk-LOAR62VZ.js} +12 -12
  37. package/dist/{chunk-QJT63C5Y.mjs → chunk-LYJNZCO4.mjs} +1 -1
  38. package/dist/{chunk-CCRGF4HZ.mjs → chunk-MENBSPZ6.mjs} +1 -1
  39. package/dist/{chunk-NY4RZDUG.mjs → chunk-MLGPE4F7.mjs} +1 -1
  40. package/dist/{chunk-LV2NZ7T5.mjs → chunk-P3ARBU5S.mjs} +2 -2
  41. package/dist/{chunk-757MUDEM.js → chunk-QKCIIWYL.js} +2 -2
  42. package/dist/{chunk-G7AQBWV3.js → chunk-QMQX5ZII.js} +4 -4
  43. package/dist/{chunk-B55Y32GD.mjs → chunk-QU7P2GBV.mjs} +1 -1
  44. package/dist/{chunk-5BBCJ72W.js → chunk-R2H2PZOY.js} +2 -2
  45. package/dist/{chunk-6BB3BLHX.js → chunk-RMVPAFL5.js} +2 -2
  46. package/dist/{chunk-KKB2SNCA.js → chunk-S623LOIY.js} +34 -34
  47. package/dist/{chunk-PAEBBUY2.mjs → chunk-T5345GNL.mjs} +1 -1
  48. package/dist/{chunk-FZJRO253.js → chunk-UASDV4HB.js} +2 -2
  49. package/dist/{chunk-ATKAEDYS.mjs → chunk-V4QXOWGL.mjs} +2 -2
  50. package/dist/{chunk-RAM72W3S.js → chunk-VCL6C44A.js} +2 -2
  51. package/dist/{chunk-DRNL76FW.js → chunk-WJGMJCBS.js} +30 -30
  52. package/dist/{chunk-5ZQEH4AG.js → chunk-X3JM5ONC.js} +2 -2
  53. package/dist/{chunk-NCYSWFWT.mjs → chunk-XHERYWL5.mjs} +1 -1
  54. package/dist/{chunk-UNIRLSTQ.mjs → chunk-XV6LATBE.mjs} +1 -1
  55. package/dist/{chunk-2VEN4MMJ.mjs → chunk-YHHWYI4X.mjs} +3 -3
  56. package/dist/{chunk-67LH5YAE.mjs → chunk-Z2GJI23Y.mjs} +1 -1
  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.d.mts +2 -1
  62. package/dist/index.d.ts +2 -1
  63. package/dist/index.js +28 -28
  64. package/dist/index.mjs +27 -27
  65. package/dist/src/base/base-executor.js +4 -4
  66. package/dist/src/base/base-executor.mjs +3 -3
  67. package/dist/src/base/base-generator.js +4 -4
  68. package/dist/src/base/base-generator.mjs +3 -3
  69. package/dist/src/base/index.js +5 -5
  70. package/dist/src/base/index.mjs +4 -4
  71. package/dist/src/executors/cargo-build/executor.js +5 -5
  72. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  73. package/dist/src/executors/cargo-check/executor.js +5 -5
  74. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  75. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  76. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  77. package/dist/src/executors/cargo-doc/executor.js +5 -5
  78. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  79. package/dist/src/executors/cargo-format/executor.js +5 -5
  80. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  81. package/dist/src/executors/cargo-publish/executor.js +4 -4
  82. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  83. package/dist/src/executors/clean-package/executor.js +6 -6
  84. package/dist/src/executors/clean-package/executor.mjs +3 -3
  85. package/dist/src/executors/esbuild/executor.js +6 -6
  86. package/dist/src/executors/esbuild/executor.mjs +5 -5
  87. package/dist/src/executors/napi/executor.js +5 -5
  88. package/dist/src/executors/napi/executor.mjs +4 -4
  89. package/dist/src/executors/npm-publish/executor.js +6 -6
  90. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  91. package/dist/src/executors/size-limit/executor.js +5 -5
  92. package/dist/src/executors/size-limit/executor.mjs +4 -4
  93. package/dist/src/executors/tsdown/executor.js +6 -6
  94. package/dist/src/executors/tsdown/executor.mjs +5 -5
  95. package/dist/src/executors/typia/executor.js +5 -5
  96. package/dist/src/executors/typia/executor.mjs +4 -4
  97. package/dist/src/executors/unbuild/executor.js +5 -5
  98. package/dist/src/executors/unbuild/executor.mjs +4 -4
  99. package/dist/src/generators/browser-library/generator.js +5 -5
  100. package/dist/src/generators/browser-library/generator.mjs +4 -4
  101. package/dist/src/generators/config-schema/generator.js +5 -5
  102. package/dist/src/generators/config-schema/generator.mjs +4 -4
  103. package/dist/src/generators/neutral-library/generator.js +5 -5
  104. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  105. package/dist/src/generators/node-library/generator.js +5 -5
  106. package/dist/src/generators/node-library/generator.mjs +4 -4
  107. package/dist/src/generators/preset/generator.js +5 -5
  108. package/dist/src/generators/preset/generator.mjs +4 -4
  109. package/dist/src/plugins/typescript/index.d.mts +3 -3
  110. package/dist/src/plugins/typescript/index.d.ts +3 -3
  111. package/dist/src/plugins/typescript/index.js +5 -5
  112. package/dist/src/plugins/typescript/index.mjs +5 -5
  113. package/dist/src/plugins/typescript/tsdown.js +1 -1
  114. package/dist/src/plugins/typescript/tsdown.mjs +1 -1
  115. package/dist/src/plugins/typescript/tsup.js +1 -1
  116. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  117. package/dist/src/release/index.js +6 -6
  118. package/dist/src/release/index.mjs +5 -5
  119. package/dist/src/release/js-version-actions.js +4 -4
  120. package/dist/src/release/js-version-actions.mjs +3 -3
  121. package/dist/src/release/rust-version-actions.js +5 -5
  122. package/dist/src/release/rust-version-actions.mjs +4 -4
  123. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -8
  124. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -8
  125. package/dist/src/utils/cargo.d.mts +1 -1
  126. package/dist/src/utils/cargo.d.ts +1 -1
  127. package/dist/src/utils/index.d.mts +5 -4
  128. package/dist/src/utils/index.d.ts +5 -4
  129. package/dist/src/utils/index.js +4 -4
  130. package/dist/src/utils/index.mjs +3 -3
  131. package/dist/src/utils/package-helpers.d.mts +1 -1
  132. package/dist/src/utils/package-helpers.d.ts +1 -1
  133. package/dist/src/utils/package-helpers.js +4 -4
  134. package/dist/src/utils/package-helpers.mjs +3 -3
  135. package/package.json +10 -9
  136. package/dist/toml-C0imOcwz.d.mts +0 -129
  137. package/dist/toml-C0imOcwz.d.ts +0 -129
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QC5ON3X4.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-4KQTW4FB.mjs";
10
+ } from "./chunk-2ZQ423JU.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-TBW5MCN6.mjs";
@@ -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 _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
3
+ var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
4
4
 
5
5
 
6
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
6
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.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
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunk4BWM53AAjs.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 = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-ATKAEDYS.mjs";
3
+ } from "./chunk-V4QXOWGL.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-NRPYQWQ4.mjs";
6
+ } from "./chunk-6MATO2MJ.mjs";
7
7
 
8
8
  // src/executors/typia/executor.ts
9
9
  import { removeSync } from "fs-extra";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-NRPYQWQ4.mjs";
3
+ } from "./chunk-6MATO2MJ.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -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 _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
3
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.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
- _chunkZWF65Q7Ejs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunk4BWM53AAjs.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);
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
7
+ var _chunk73YOO2B5js = require('./chunk-73YOO2B5.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 = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-OEHQ4P7L.mjs";
3
+ } from "./chunk-FEYD5KMF.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 _chunkML2VHRB6js = require('./chunk-ML2VHRB6.js');
5
5
 
6
6
 
7
- var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
7
+ var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
16
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.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 = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunk4BWM53AAjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config;
28
28
  try {
29
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
29
+ _chunk4BWM53AAjs.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
- _chunkZWF65Q7Ejs.writeDebug.call(void 0,
34
+ _chunk4BWM53AAjs.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 _chunkB5D7HVM5js.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunk7OGVJELAjs.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
42
+ _chunk4BWM53AAjs.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
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunk4BWM53AAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
48
+ _chunk4BWM53AAjs.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
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the preProcess hook...", config);
59
+ _chunk4BWM53AAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
60
60
  await Promise.resolve(
61
61
  generatorOptions.hooks.preProcess(tokenized, config)
62
62
  );
63
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the preProcess hook", config);
63
+ _chunk4BWM53AAjs.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
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Running the postProcess hook...", config);
78
+ _chunk4BWM53AAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
79
79
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
80
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, "Completed the postProcess hook", config);
80
+ _chunk4BWM53AAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
81
81
  }
82
82
  return () => {
83
- _chunkZWF65Q7Ejs.writeSuccess.call(void 0, `Completed running the ${name} generator!
83
+ _chunk4BWM53AAjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
84
84
  `, config);
85
85
  };
86
86
  } catch (error) {
87
87
  return () => {
88
- _chunkZWF65Q7Ejs.writeFatal.call(void 0,
88
+ _chunk4BWM53AAjs.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
- _chunkZWF65Q7Ejs.writeError.call(void 0,
92
+ _chunk4BWM53AAjs.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,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 _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
3
+ var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
4
4
 
5
5
 
6
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
6
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  var _devkit = require('@nx/devkit');
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
17
17
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
18
18
  );
19
19
  }
20
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
20
+ _chunk4BWM53AAjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
21
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
22
22
  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,
23
23
  _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
24
24
  "src"
25
25
  )))
26
26
  }).then((result) => {
27
- _chunkZWF65Q7Ejs.writeInfo.call(void 0,
27
+ _chunk4BWM53AAjs.writeInfo.call(void 0,
28
28
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
29
29
  config
30
30
  );
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
33
33
  success: true
34
34
  };
35
35
  }
36
- var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
36
+ var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-NRPYQWQ4.mjs";
4
+ } from "./chunk-6MATO2MJ.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-GSZ2BO7G.mjs";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _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 _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.js');
3
+ var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
7
+ var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
12
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
13
13
 
14
14
 
15
15
  var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
@@ -18,22 +18,22 @@ var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkZWF65Q7Ejs.writeInfo.call(void 0,
21
+ _chunk4BWM53AAjs.writeInfo.call(void 0,
22
22
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
23
23
  config
24
24
  );
25
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
25
+ _chunk4BWM53AAjs.writeTrace.call(void 0,
26
26
  `Determining the Storm Workspace Configuration JSON Schema...`,
27
27
  config
28
28
  );
29
- const jsonSchema = z.toJSONSchema(_chunkB5D7HVM5js.workspaceConfigSchema, {
29
+ const jsonSchema = z.toJSONSchema(_chunk7OGVJELAjs.workspaceConfigSchema, {
30
30
  target: "draft-7",
31
- metadata: _chunkB5D7HVM5js.schemaRegistry
31
+ metadata: _chunk7OGVJELAjs.schemaRegistry
32
32
  });
33
33
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
34
34
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
35
35
  jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
36
- _chunkZWF65Q7Ejs.writeTrace.call(void 0, jsonSchema, config);
36
+ _chunk4BWM53AAjs.writeTrace.call(void 0, jsonSchema, config);
37
37
  if (!options.outputFile) {
38
38
  throw new Error(
39
39
  "The `outputFile` option is required. Please specify the output file path."
@@ -43,13 +43,13 @@ async function configSchemaGeneratorFn(tree, options, config) {
43
43
  _nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk322ASCCNjs.findWorkspaceRoot.call(void 0, ))),
44
44
  options.outputFile.startsWith("./") ? "" : "./"
45
45
  );
46
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
46
+ _chunk4BWM53AAjs.writeTrace.call(void 0,
47
47
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
48
48
  config
49
49
  );
50
50
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
51
51
  await _devkit.formatFiles.call(void 0, tree);
52
- _chunkZWF65Q7Ejs.writeSuccess.call(void 0,
52
+ _chunk4BWM53AAjs.writeSuccess.call(void 0,
53
53
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
54
54
  config
55
55
  );
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
57
57
  success: true
58
58
  };
59
59
  }
60
- var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
60
+ var generator_default = _chunkHYK7X5TYjs.withRunGenerator.call(void 0,
61
61
  "Configuration Schema Creator",
62
62
  configSchemaGeneratorFn,
63
63
  {
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkYTYMBCNNjs = require('./chunk-YTYMBCNN.js');
8
+ var _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.js');
9
9
 
10
10
 
11
- var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
11
+ var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.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 _chunkB5D7HVM5js.getWorkspaceConfig.call(void 0, );
39
+ this.workspaceConfig = await _chunk7OGVJELAjs.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 = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
48
+ const cargoToml = _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
64
+ const cargoToml = _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
89
+ const cargoToml = _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoTomlWithTree.call(void 0,
100
+ const dependencyCargoToml = _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoToml.call(void 0, cargoTomlString);
134
+ const cargoToml = _chunkGXTFFUMLjs.parseCargoToml.call(void 0, cargoTomlString);
135
135
  cargoToml.package.version = newVersion;
136
- tree.write(manifestToUpdate.manifestPath, _chunkYTYMBCNNjs.stringifyCargoToml.call(void 0, cargoToml));
136
+ tree.write(manifestToUpdate.manifestPath, _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoToml.call(void 0, cargoTomlString);
164
+ const cargoToml = _chunkGXTFFUMLjs.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 = _chunkYTYMBCNNjs.parseCargoToml.call(void 0,
181
+ const dependencyCargoToml = _chunkGXTFFUMLjs.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
- _chunkYTYMBCNNjs.stringifyCargoToml.call(void 0, cargoToml)
192
+ _chunkGXTFFUMLjs.stringifyCargoToml.call(void 0, cargoToml)
193
193
  );
194
194
  } catch (error) {
195
195
  throw new Error(
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZTN2676G.mjs";
4
4
  import {
5
5
  withRunExecutor
6
- } from "./chunk-ATKAEDYS.mjs";
6
+ } from "./chunk-V4QXOWGL.mjs";
7
7
  import {
8
8
  correctPaths,
9
9
  isAbsolute,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-ATKAEDYS.mjs";
7
+ } from "./chunk-V4QXOWGL.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-ATKAEDYS.mjs";
7
+ } from "./chunk-V4QXOWGL.mjs";
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-ATKAEDYS.mjs";
3
+ } from "./chunk-V4QXOWGL.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-NRPYQWQ4.mjs";
6
+ } from "./chunk-6MATO2MJ.mjs";
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -4,7 +4,7 @@
4
4
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
5
5
 
6
6
 
7
- var _chunkTLSJE3BMjs = require('./chunk-TLSJE3BM.js');
7
+ var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.js');
8
8
 
9
9
  // src/generators/preset/generator.ts
10
10
 
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
239
239
  );
240
240
  return null;
241
241
  }
242
- var generator_default = _chunkTLSJE3BMjs.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkHYK7X5TYjs.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunk6RKBHVR3js = require('./chunk-6RKBHVR3.js');
3
+ var _chunk2TNMKOD2js = require('./chunk-2TNMKOD2.js');
4
4
 
5
5
 
6
- var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
6
+ var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
7
7
 
8
8
 
9
9
  var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
@@ -35,7 +35,7 @@ async function getNpmRegistry() {
35
35
  if (process.env.STORM_REGISTRY_NPM) {
36
36
  return process.env.STORM_REGISTRY_NPM;
37
37
  }
38
- const workspaceConfig = await _chunkB5D7HVM5js.getConfig.call(void 0, );
38
+ const workspaceConfig = await _chunk7OGVJELAjs.getConfig.call(void 0, );
39
39
  if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
40
40
  return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
41
41
  }
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
315
315
  return { success: true };
316
316
  }
317
317
  await replaceDepsAliases(packageRoot, context.root);
318
- await _chunk6RKBHVR3js.addPackageJsonGitHead.call(void 0, packageRoot);
318
+ await _chunk2TNMKOD2js.addPackageJsonGitHead.call(void 0, packageRoot);
319
319
  const npmPublishCommandSegments = [`npm publish --json`];
320
320
  const npmViewCommandSegments = [
321
321
  `npm view ${packageName} versions dist-tags --json`
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getWorkspaceConfig
3
- } from "./chunk-PAEBBUY2.mjs";
3
+ } from "./chunk-T5345GNL.mjs";
4
4
 
5
5
  // src/release/js-version-actions.ts
6
6
  import JsVersionActions from "@nx/js/src/release/version-actions.js";
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
7
+ var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
11
11
  const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "clippy", options, context);
12
12
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
15
15
  "Cargo - Clippy",
16
16
  cargoClippyExecutor,
17
17
  {
@@ -3,7 +3,7 @@
3
3
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
4
4
 
5
5
 
6
- var _chunkQBYA4DKCjs = require('./chunk-QBYA4DKC.js');
6
+ var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
7
7
 
8
8
 
9
9
 
@@ -89,7 +89,7 @@ async function napiExecutor(options, context, config) {
89
89
  const { task } = await napi.build(normalizedOptions);
90
90
  return { success: true, terminalOutput: await task };
91
91
  }
92
- var executor_default = _chunkQBYA4DKCjs.withRunExecutor.call(void 0,
92
+ var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
93
93
  "Napi - Build Bindings",
94
94
  napiExecutor,
95
95
  {