@storm-software/workspace-tools 1.247.13 → 1.248.2

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 (97) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/config/base.json +29 -19
  4. package/dist/{chunk-KF7N7257.mjs → chunk-27EDH7NY.mjs} +1 -1
  5. package/dist/{chunk-WC2TNJLN.mjs → chunk-2KNHEXJQ.mjs} +2 -2
  6. package/dist/{chunk-YYGYJ6RD.js → chunk-3YC7YXGQ.js} +25 -25
  7. package/dist/{chunk-3OROMSFD.js → chunk-4AMZUCHL.js} +2 -2
  8. package/dist/{chunk-CJDYI6SP.js → chunk-4SJW3KRV.js} +2 -2
  9. package/dist/{chunk-KO35WWRE.mjs → chunk-57LRWY5U.mjs} +1 -1
  10. package/dist/{chunk-KHNJH7JQ.js → chunk-5O6RWCBQ.js} +2 -2
  11. package/dist/{chunk-QOUVCULF.mjs → chunk-7AXJ27FU.mjs} +1 -1
  12. package/dist/{chunk-QYC3WESC.mjs → chunk-7GW75RON.mjs} +1 -1
  13. package/dist/{chunk-IKU6KFBV.mjs → chunk-7H4PXXWW.mjs} +2 -2
  14. package/dist/{chunk-SI24L44V.mjs → chunk-APSDUSBR.mjs} +1 -1
  15. package/dist/{chunk-ZDHYVC5E.js → chunk-DCJXS5XI.js} +23 -23
  16. package/dist/{chunk-76D4P6YQ.js → chunk-FMOIAVZV.js} +31 -31
  17. package/dist/{chunk-XI7X3WOB.js → chunk-G7HTMCQK.js} +2 -2
  18. package/dist/{chunk-EDVXB4EP.js → chunk-JIQDXVMU.js} +22 -1
  19. package/dist/{chunk-V6H25SQW.mjs → chunk-JRGZWAZG.mjs} +1 -1
  20. package/dist/{chunk-Q3VF5VUQ.js → chunk-JXSTSZSG.js} +5 -5
  21. package/dist/{chunk-HGLKHBCY.js → chunk-K434EGC4.js} +2 -2
  22. package/dist/{chunk-OMDJO7Q6.js → chunk-KJPUYQEZ.js} +9 -9
  23. package/dist/{chunk-GDLIB6OQ.mjs → chunk-KM47X5XW.mjs} +2 -2
  24. package/dist/{chunk-G3UMUILK.mjs → chunk-N2P34ZQV.mjs} +10 -10
  25. package/dist/{chunk-VFASKAEJ.js → chunk-NXGJNB3C.js} +5 -5
  26. package/dist/{chunk-MNDO5WKT.mjs → chunk-OA6GD45B.mjs} +3 -4
  27. package/dist/{chunk-FZ7XOB5X.mjs → chunk-P4ZEGEQX.mjs} +1 -1
  28. package/dist/{chunk-BJK4LIZW.js → chunk-Q4YG53DV.js} +20 -20
  29. package/dist/{chunk-7DDXDUF3.mjs → chunk-Q6OBRMZG.mjs} +1 -1
  30. package/dist/{chunk-LV7XJZRR.mjs → chunk-QDZUYDVM.mjs} +22 -22
  31. package/dist/{chunk-HYTPWYZI.js → chunk-QKALACBC.js} +2 -2
  32. package/dist/{chunk-IDQTSO3Z.js → chunk-R2NBU264.js} +15 -15
  33. package/dist/{chunk-TKBY73FG.mjs → chunk-R63XBQKW.mjs} +25 -25
  34. package/dist/{chunk-WSYDQJ6Y.mjs → chunk-RSFH5OLL.mjs} +1 -1
  35. package/dist/{chunk-KCTEA3CC.mjs → chunk-S73S6XCY.mjs} +2 -2
  36. package/dist/{chunk-NNGBY52Z.js → chunk-SJNJ6TCD.js} +2 -2
  37. package/dist/{chunk-HLIO3W3D.mjs → chunk-TNAEFYVH.mjs} +1 -2
  38. package/dist/{chunk-NIO6FDIN.js → chunk-TSVTG657.js} +15 -15
  39. package/dist/{chunk-C773DCF3.mjs → chunk-UF3YMASN.mjs} +3 -3
  40. package/dist/{chunk-JQSRI7HM.js → chunk-WDK2FJUH.js} +2 -2
  41. package/dist/{chunk-GDHD4LIX.js → chunk-WGTIKGAE.js} +4 -4
  42. package/dist/{chunk-5JXVOE56.mjs → chunk-WK734NEX.mjs} +22 -1
  43. package/dist/{chunk-L7CTAQFR.js → chunk-WL7UV3YX.js} +41 -42
  44. package/dist/{chunk-K2JR6RSF.js → chunk-YDV7OQMN.js} +11 -12
  45. package/dist/{chunk-HIJLTEQJ.mjs → chunk-YILBFUCI.mjs} +1 -1
  46. package/dist/executors.js +15 -15
  47. package/dist/executors.mjs +18 -18
  48. package/dist/generators.js +9 -9
  49. package/dist/generators.mjs +8 -8
  50. package/dist/index.js +22 -22
  51. package/dist/index.mjs +25 -25
  52. package/dist/src/base/base-executor.js +3 -3
  53. package/dist/src/base/base-executor.mjs +2 -2
  54. package/dist/src/base/base-generator.js +3 -3
  55. package/dist/src/base/base-generator.mjs +2 -2
  56. package/dist/src/base/index.js +4 -4
  57. package/dist/src/base/index.mjs +3 -3
  58. package/dist/src/executors/cargo-build/executor.js +4 -4
  59. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  60. package/dist/src/executors/cargo-check/executor.js +4 -4
  61. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  62. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  63. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  64. package/dist/src/executors/cargo-doc/executor.js +4 -4
  65. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  66. package/dist/src/executors/cargo-format/executor.js +4 -4
  67. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  68. package/dist/src/executors/clean-package/executor.js +5 -5
  69. package/dist/src/executors/clean-package/executor.mjs +2 -2
  70. package/dist/src/executors/esbuild/executor.js +5 -5
  71. package/dist/src/executors/esbuild/executor.mjs +4 -4
  72. package/dist/src/executors/size-limit/executor.js +4 -4
  73. package/dist/src/executors/size-limit/executor.mjs +3 -3
  74. package/dist/src/executors/tsdown/executor.js +5 -5
  75. package/dist/src/executors/tsdown/executor.mjs +4 -4
  76. package/dist/src/executors/typia/executor.js +4 -4
  77. package/dist/src/executors/typia/executor.mjs +3 -3
  78. package/dist/src/executors/unbuild/executor.js +4 -4
  79. package/dist/src/executors/unbuild/executor.mjs +3 -3
  80. package/dist/src/generators/browser-library/generator.js +4 -4
  81. package/dist/src/generators/browser-library/generator.mjs +3 -3
  82. package/dist/src/generators/config-schema/generator.js +4 -4
  83. package/dist/src/generators/config-schema/generator.mjs +3 -3
  84. package/dist/src/generators/neutral-library/generator.js +4 -4
  85. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  86. package/dist/src/generators/node-library/generator.js +4 -4
  87. package/dist/src/generators/node-library/generator.mjs +3 -3
  88. package/dist/src/generators/preset/generator.js +4 -4
  89. package/dist/src/generators/preset/generator.mjs +3 -3
  90. package/dist/src/generators/release-version/generator.js +3 -3
  91. package/dist/src/generators/release-version/generator.mjs +2 -2
  92. package/dist/src/plugins/typescript/index.js +2 -2
  93. package/dist/src/plugins/typescript/index.mjs +1 -1
  94. package/dist/src/plugins/typescript/project-config.js +2 -2
  95. package/dist/src/plugins/typescript/project-config.mjs +1 -1
  96. package/dist/src/plugins/typescript/untyped-schema.ts +20 -20
  97. package/package.json +4 -3
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-KF7N7257.mjs";
7
+ } from "./chunk-27EDH7NY.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-R7DU2APC.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-V6H25SQW.mjs";
3
+ } from "./chunk-JRGZWAZG.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-TKBY73FG.mjs";
9
+ } from "./chunk-R63XBQKW.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-C5YDISDP.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkNIO6FDINjs = require('./chunk-NIO6FDIN.js');
7
+ var _chunkTSVTG657js = require('./chunk-TSVTG657.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
45
45
  return null;
46
46
  }
47
47
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
48
- var generator_default = _chunkNIO6FDINjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
48
+ var generator_default = _chunkTSVTG657js.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
49
49
  hooks: {
50
50
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
51
51
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-TKBY73FG.mjs";
16
+ } from "./chunk-R63XBQKW.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-C5YDISDP.mjs";
@@ -490,7 +490,6 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
490
490
  currentVersion: currentVersion ? currentVersion : "0.0.1",
491
491
  dependentProjects,
492
492
  newVersion: null
493
- // will stay as null in the final result in the case that no changes are detected
494
493
  };
495
494
  if (!specifier) {
496
495
  log(`\u{1F6AB} Skipping versioning "${packageName}" as no changes were detected.`);
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYYGYJ6RDjs = require('./chunk-YYGYJ6RD.js');
14
+ var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
15
15
 
16
16
 
17
17
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkYYGYJ6RDjs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkYYGYJ6RDjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunk3YC7YXGQjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkYYGYJ6RDjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkYYGYJ6RDjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunk3YC7YXGQjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunk3YC7YXGQjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-G3UMUILK.mjs";
9
+ } from "./chunk-N2P34ZQV.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-KF7N7257.mjs";
12
+ } from "./chunk-27EDH7NY.mjs";
13
13
  import {
14
14
  getConfig,
15
15
  getStopwatch,
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-TKBY73FG.mjs";
22
+ } from "./chunk-R63XBQKW.mjs";
23
23
  import {
24
24
  joinPaths
25
25
  } from "./chunk-KZJCDAOU.mjs";
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkNIO6FDINjs = require('./chunk-NIO6FDIN.js');
10
+ var _chunkTSVTG657js = require('./chunk-TSVTG657.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunkNIO6FDINjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkTSVTG657js.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -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 _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
3
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
4
4
 
5
5
 
6
- var _chunkYYGYJ6RDjs = require('./chunk-YYGYJ6RD.js');
6
+ var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -51,7 +51,28 @@ var createNodes = [
51
51
  ],
52
52
  executor: "nx:run-commands",
53
53
  options: {
54
- command: 'pnpm exec ls-lint --config="@storm-software/linting-tools/ls-lint/.ls-lint.yml" ',
54
+ command: 'pnpm exec ls-lint --config="@storm-software/linting-tools/ls-lint/config.yml" --workdir="{projectRoot}"',
55
+ color: true
56
+ }
57
+ };
58
+ }
59
+ if (!targets["lint-markdown"]) {
60
+ targets["lint-markdown"] = {
61
+ cache: true,
62
+ outputs: [
63
+ "{projectRoot}/**/*.md",
64
+ "{projectRoot}/**/*.mdx"
65
+ ],
66
+ inputs: [
67
+ "{projectRoot}/**/*.md",
68
+ "{projectRoot}/**/*.mdx"
69
+ ],
70
+ dependsOn: [
71
+ "^lint-markdown"
72
+ ],
73
+ executor: "nx:run-commands",
74
+ options: {
75
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/**/*.{md,mdx,markdown}" --config="./node_modules/@storm-software/linting-tools/ls-lint/config.yml" --workdir="{projectRoot}"',
55
76
  color: true
56
77
  }
57
78
  };
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkIDQTSO3Zjs = require('./chunk-IDQTSO3Z.js');
11
+ var _chunkR2NBU264js = require('./chunk-R2NBU264.js');
12
12
 
13
13
 
14
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
14
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkYYGYJ6RDjs = require('./chunk-YYGYJ6RD.js');
26
+ var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
27
27
 
28
28
 
29
29
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -331,7 +331,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
331
331
  setup(build4) {
332
332
  build4.onEnd((result) => {
333
333
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
334
- _chunkYYGYJ6RDjs.writeError.call(void 0, `The following errors occurred during the build:
334
+ _chunk3YC7YXGQjs.writeError.call(void 0, `The following errors occurred during the build:
335
335
  ${result.errors.map((error) => error.text).join("\n")}
336
336
 
337
337
  `, resolvedOptions.config);
@@ -420,7 +420,6 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
420
420
  overrideTsconfig: {
421
421
  compilerOptions: {
422
422
  paths: {}
423
- // bug with api extract + paths
424
423
  }
425
424
  }
426
425
  },
@@ -440,7 +439,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
440
439
  localBuild: true
441
440
  });
442
441
  if (extractorResult.succeeded === false) {
443
- _chunkYYGYJ6RDjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
442
+ _chunk3YC7YXGQjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
444
443
  throw new Error("API Extractor completed with errors");
445
444
  }
446
445
  }
@@ -489,7 +488,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
489
488
 
490
489
  // ../esbuild/src/config.ts
491
490
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
492
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkIDQTSO3Zjs.getOutExtension.call(void 0, options.format, pkgType);
491
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkR2NBU264js.getOutExtension.call(void 0, options.format, pkgType);
493
492
  }, "getOutputExtensionMap");
494
493
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
495
494
  nodeProtocolPlugin(options, resolvedOptions),
@@ -537,7 +536,7 @@ var DEFAULT_BUILD_OPTIONS = {
537
536
  ".woff": "file",
538
537
  ".woff2": "file"
539
538
  },
540
- banner: _chunkIDQTSO3Zjs.DEFAULT_COMPILED_BANNER
539
+ banner: _chunkR2NBU264js.DEFAULT_COMPILED_BANNER
541
540
  };
542
541
 
543
542
  // ../esbuild/src/plugins/deps-check.ts
@@ -619,8 +618,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
619
618
  const filteredMissingDeps = missingDependencies.filter((dep) => {
620
619
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
621
620
  });
622
- _chunkYYGYJ6RDjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
623
- _chunkYYGYJ6RDjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
621
+ _chunk3YC7YXGQjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
622
+ _chunk3YC7YXGQjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
624
623
  if (filteredMissingDeps.length > 0) {
625
624
  throw new Error(`Missing dependencies detected - please install them:
626
625
  ${JSON.stringify(filteredMissingDeps)}
@@ -714,9 +713,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
714
713
  if (!workspaceRoot) {
715
714
  throw new Error("Cannot find Nx workspace root");
716
715
  }
717
- const config = await _chunkYYGYJ6RDjs.getConfig.call(void 0, workspaceRoot.dir);
718
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
719
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "Build options resolution");
716
+ const config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot.dir);
717
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
718
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Build options resolution");
720
719
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
721
720
  exitOnError: true
722
721
  });
@@ -733,7 +732,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
733
732
  }
734
733
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
735
734
  options.name ??= `${projectName}-${options.format}`;
736
- options.target ??= _chunkIDQTSO3Zjs.DEFAULT_TARGET;
735
+ options.target ??= _chunkR2NBU264js.DEFAULT_TARGET;
737
736
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
738
737
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
739
738
  throw new Error("Cannot find package.json configuration");
@@ -741,7 +740,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
741
740
  const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
742
741
  const packageJson = JSON.parse(packageJsonFile);
743
742
  const outExtension = getOutputExtensionMap(options, packageJson.type);
744
- const env = _chunkIDQTSO3Zjs.getEnv.call(void 0, "esbuild", options);
743
+ const env = _chunkR2NBU264js.getEnv.call(void 0, "esbuild", options);
745
744
  const result = {
746
745
  ...options,
747
746
  config,
@@ -761,7 +760,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
761
760
  ...userOptions,
762
761
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
763
762
  format: options.format || "cjs",
764
- entryPoints: await _chunkIDQTSO3Zjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
763
+ entryPoints: await _chunkR2NBU264js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
765
764
  "./src/index.ts"
766
765
  ], userOptions.emitOnAll),
767
766
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -772,7 +771,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
772
771
  projectGraph,
773
772
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
774
773
  minify: userOptions.minify || !userOptions.debug,
775
- verbose: userOptions.verbose || _chunkYYGYJ6RDjs.isVerbose.call(void 0, ) || userOptions.debug === true,
774
+ verbose: userOptions.verbose || _chunk3YC7YXGQjs.isVerbose.call(void 0, ) || userOptions.debug === true,
776
775
  includeSrc: userOptions.includeSrc === true,
777
776
  metafile: userOptions.metafile !== false,
778
777
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -786,8 +785,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
786
785
  outExtension,
787
786
  footer: userOptions.footer,
788
787
  banner: {
789
- js: options.banner || _chunkIDQTSO3Zjs.DEFAULT_COMPILED_BANNER,
790
- css: options.banner || _chunkIDQTSO3Zjs.DEFAULT_COMPILED_BANNER
788
+ js: options.banner || _chunkR2NBU264js.DEFAULT_COMPILED_BANNER,
789
+ css: options.banner || _chunkR2NBU264js.DEFAULT_COMPILED_BANNER
791
790
  },
792
791
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
793
792
  treeShaking: options.format === "esm",
@@ -819,8 +818,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
819
818
  }, "resolveOptions");
820
819
  async function generatePackageJson(context2) {
821
820
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
822
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
823
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "Write package.json file");
821
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
822
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Write package.json file");
824
823
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
825
824
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
826
825
  throw new Error("Cannot find package.json configuration");
@@ -830,11 +829,11 @@ async function generatePackageJson(context2) {
830
829
  if (!packageJson) {
831
830
  throw new Error("Cannot find package.json configuration file");
832
831
  }
833
- packageJson = await _chunkIDQTSO3Zjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
834
- packageJson = await _chunkIDQTSO3Zjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
832
+ packageJson = await _chunkR2NBU264js.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
833
+ packageJson = await _chunkR2NBU264js.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
835
834
  packageJson.exports ??= {};
836
835
  packageJson.exports["./package.json"] ??= "./package.json";
837
- packageJson.exports["."] ??= _chunkIDQTSO3Zjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
836
+ packageJson.exports["."] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
838
837
  let entryPoints = [
839
838
  {
840
839
  in: "./src/index.ts",
@@ -852,7 +851,7 @@ async function generatePackageJson(context2) {
852
851
  const split = entryPoint.out.split(".");
853
852
  split.pop();
854
853
  const entry = split.join(".").replaceAll("\\", "/");
855
- packageJson.exports[`./${entry}`] ??= _chunkIDQTSO3Zjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
854
+ packageJson.exports[`./${entry}`] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
856
855
  }
857
856
  }
858
857
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -890,8 +889,8 @@ async function generateContext(getOptions) {
890
889
  }
891
890
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
892
891
  async function executeEsBuild(context2) {
893
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
894
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${context2.options.name} build`);
892
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
893
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} build`);
895
894
  if (process.env.WATCH === "true") {
896
895
  const ctx = await esbuild2.context(context2.options);
897
896
  watch(ctx, context2.options);
@@ -907,9 +906,9 @@ async function executeEsBuild(context2) {
907
906
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
908
907
  async function copyBuildAssets(context2) {
909
908
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
910
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
911
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
912
- await _chunkIDQTSO3Zjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
909
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
910
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
911
+ await _chunkR2NBU264js.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
913
912
  stopwatch();
914
913
  }
915
914
  return context2;
@@ -918,9 +917,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
918
917
  async function reportResults(context2) {
919
918
  if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
920
919
  if (context2.result.warnings.length > 0) {
921
- _chunkYYGYJ6RDjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
920
+ _chunk3YC7YXGQjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
922
921
  }
923
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
922
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
924
923
  }
925
924
  }
926
925
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -956,8 +955,8 @@ async function dependencyCheck(options) {
956
955
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
957
956
  async function cleanOutputPath(context2) {
958
957
  if (context2.options.clean !== false && context2.options.outdir) {
959
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
960
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
958
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
959
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
961
960
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
962
961
  stopwatch();
963
962
  }
@@ -965,8 +964,8 @@ async function cleanOutputPath(context2) {
965
964
  }
966
965
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
967
966
  async function build3(options) {
968
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
969
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "ESBuild pipeline");
967
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
968
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "ESBuild pipeline");
970
969
  try {
971
970
  const opts = Array.isArray(options) ? options : [
972
971
  options
@@ -976,9 +975,9 @@ async function build3(options) {
976
975
  }
977
976
  void transduce.async(opts, dependencyCheck);
978
977
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
979
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
978
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
980
979
  } catch (error) {
981
- _chunkYYGYJ6RDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
980
+ _chunk3YC7YXGQjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
982
981
  throw error;
983
982
  } finally {
984
983
  stopwatch();
@@ -1006,9 +1005,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1006
1005
  return context2.rebuild();
1007
1006
  });
1008
1007
  if (rebuildResult instanceof Error) {
1009
- _chunkYYGYJ6RDjs.writeError.call(void 0, rebuildResult.message);
1008
+ _chunk3YC7YXGQjs.writeError.call(void 0, rebuildResult.message);
1010
1009
  }
1011
- _chunkYYGYJ6RDjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1010
+ _chunk3YC7YXGQjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1012
1011
  }, 10);
1013
1012
  changeWatcher.on("change", fastRebuild);
1014
1013
  return void 0;
@@ -1016,7 +1015,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1016
1015
 
1017
1016
  // src/executors/esbuild/executor.ts
1018
1017
  async function esbuildExecutorFn(options, context2, config) {
1019
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1018
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1020
1019
  if (!_optionalChain([context2, 'access', _32 => _32.projectsConfigurations, 'optionalAccess', _33 => _33.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _34 => _34.projectsConfigurations, 'access', _35 => _35.projects, 'access', _36 => _36[context2.projectName], 'optionalAccess', _37 => _37.root])) {
1021
1020
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1022
1021
  }
@@ -1033,7 +1032,7 @@ async function esbuildExecutorFn(options, context2, config) {
1033
1032
  };
1034
1033
  }
1035
1034
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1036
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1035
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1037
1036
  skipReadingConfig: false,
1038
1037
  hooks: {
1039
1038
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkYYGYJ6RDjs = require('./chunk-YYGYJ6RD.js');
16
+ var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -248,16 +248,16 @@ var _version = require('nx/src/command-line/release/version');
248
248
  var _utils = require('nx/src/tasks-runner/utils');
249
249
  var _semver3 = require('semver');
250
250
  async function releaseVersionGeneratorFn(tree, options, config) {
251
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
251
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
252
 
253
253
  `, config);
254
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "Storm Release Version generator");
254
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
255
  try {
256
256
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
257
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
257
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunkYYGYJ6RDjs.getConfig.call(void 0, workspaceRoot);
260
- _chunkYYGYJ6RDjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
259
+ config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot);
260
+ _chunk3YC7YXGQjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
261
261
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
262
262
  const versionData = {};
263
263
  if (options.specifier) {
@@ -307,9 +307,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
307
307
  }
308
308
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
309
309
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
310
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
310
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
311
311
  }, "log");
312
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
312
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
313
313
  let packageName;
314
314
  let currentVersionFromDisk;
315
315
  if (tree.exists(packageJsonPath)) {
@@ -490,7 +490,6 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
490
490
  currentVersion: currentVersion ? currentVersion : "0.0.1",
491
491
  dependentProjects,
492
492
  newVersion: null
493
- // will stay as null in the final result in the case that no changes are detected
494
493
  };
495
494
  if (!specifier) {
496
495
  log(`\u{1F6AB} Skipping versioning "${packageName}" as no changes were detected.`);
@@ -583,7 +582,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
583
582
  }
584
583
  }
585
584
  await _devkit.formatFiles.call(void 0, tree);
586
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
585
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
587
586
  `, config);
588
587
  return {
589
588
  data: versionData,
@@ -617,8 +616,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
617
616
  }, "callback")
618
617
  };
619
618
  } catch (error) {
620
- _chunkYYGYJ6RDjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
- _chunkYYGYJ6RDjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
619
+ _chunk3YC7YXGQjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
620
+ _chunk3YC7YXGQjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
622
621
  - Details: ${error.message}
623
622
  - Stacktrace: ${error.stack}`, config);
624
623
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-KF7N7257.mjs";
7
+ } from "./chunk-27EDH7NY.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-R7DU2APC.mjs";