@storm-software/workspace-tools 1.266.3 → 1.266.4

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 (83) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-BRDK3UGW.mjs → chunk-24FSFLEJ.mjs} +2 -2
  4. package/dist/{chunk-OENTXUOU.mjs → chunk-3FIZEIEU.mjs} +1 -1
  5. package/dist/{chunk-P3KSR3SR.mjs → chunk-56NOEAUZ.mjs} +1 -1
  6. package/dist/{chunk-GH7NKN7I.mjs → chunk-5UUINVQE.mjs} +1 -1
  7. package/dist/{chunk-4MQBPVNM.mjs → chunk-6YRWQ3TB.mjs} +1 -1
  8. package/dist/{chunk-BBQYSGHD.js → chunk-7F4BVKX3.js} +2 -2
  9. package/dist/{chunk-7NJYHKD4.js → chunk-AKADBPPT.js} +2 -2
  10. package/dist/{chunk-ZHCAJSHG.js → chunk-BAJ3JRJC.js} +20 -20
  11. package/dist/{chunk-XXFGRTIR.js → chunk-BP5OIRQR.js} +5 -5
  12. package/dist/{chunk-YEIFMXCK.mjs → chunk-CGGBNNFN.mjs} +1 -1
  13. package/dist/{chunk-KJ5COMK2.js → chunk-CSGLVAIK.js} +2 -2
  14. package/dist/{chunk-ZNX5CSRD.js → chunk-CXXOP7P6.js} +2 -2
  15. package/dist/{chunk-SIIOJLU5.mjs → chunk-EXQMY7WD.mjs} +2 -2
  16. package/dist/{chunk-3XSWT4CQ.mjs → chunk-HAUXJ6F2.mjs} +1 -1
  17. package/dist/{chunk-ILRTPPJ4.js → chunk-HVOODRL3.js} +2 -2
  18. package/dist/{chunk-7KECHDTY.mjs → chunk-IOYD4LKE.mjs} +2 -2
  19. package/dist/{chunk-VKKE7EW4.js → chunk-JADXJLCF.js} +4 -4
  20. package/dist/{chunk-KN4FIRQI.js → chunk-JOA2AXGF.js} +15 -15
  21. package/dist/{chunk-QGEPDAWP.mjs → chunk-KE7BLB2Y.mjs} +2 -2
  22. package/dist/{chunk-QMOP57NZ.mjs → chunk-KLY4F7KE.mjs} +1 -1
  23. package/dist/{chunk-WBKZ3KUQ.mjs → chunk-LBWGCRH2.mjs} +1 -1
  24. package/dist/{chunk-4RI5TAZ5.mjs → chunk-LKNIQZ3B.mjs} +2 -2
  25. package/dist/{chunk-ILLL3MMC.mjs → chunk-MHTKV6DY.mjs} +1 -1
  26. package/dist/{chunk-UYN4J6AU.mjs → chunk-N5N2BZHB.mjs} +12 -6
  27. package/dist/{chunk-BHPRU5VN.js → chunk-NY3AXYUD.js} +2 -2
  28. package/dist/{chunk-R2JUE5UD.js → chunk-OCJK2N3G.js} +2 -2
  29. package/dist/{chunk-METCIMBV.js → chunk-OFA5UEOD.js} +5 -5
  30. package/dist/{chunk-EM2LUZWE.js → chunk-POI2YR4E.js} +11 -11
  31. package/dist/{chunk-4ZWQHDDR.js → chunk-PYR5LR3M.js} +2 -2
  32. package/dist/{chunk-G25NYDN4.js → chunk-SN7IJGEE.js} +12 -6
  33. package/dist/{chunk-ALY3T5YO.js → chunk-TCG7CFMK.js} +2 -2
  34. package/dist/{chunk-C325OLQA.mjs → chunk-TEHJDKUJ.mjs} +1 -1
  35. package/dist/{chunk-5TLQHBOJ.mjs → chunk-UQTVXA7T.mjs} +1 -1
  36. package/dist/{chunk-Z5ADLA6I.js → chunk-W2AFUJ7A.js} +36 -36
  37. package/dist/{chunk-ZXO3ZJZW.js → chunk-XFBY2IVQ.js} +9 -9
  38. package/dist/{chunk-XWHWMA27.mjs → chunk-ZV2PR5R3.mjs} +1 -1
  39. package/dist/executors.js +12 -12
  40. package/dist/executors.mjs +11 -11
  41. package/dist/generators.js +9 -9
  42. package/dist/generators.mjs +8 -8
  43. package/dist/index.js +19 -19
  44. package/dist/index.mjs +18 -18
  45. package/dist/src/base/base-executor.js +3 -3
  46. package/dist/src/base/base-executor.mjs +2 -2
  47. package/dist/src/base/base-generator.js +3 -3
  48. package/dist/src/base/base-generator.mjs +2 -2
  49. package/dist/src/base/index.js +4 -4
  50. package/dist/src/base/index.mjs +3 -3
  51. package/dist/src/executors/cargo-build/executor.js +4 -4
  52. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  53. package/dist/src/executors/cargo-check/executor.js +4 -4
  54. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  55. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  56. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-doc/executor.js +4 -4
  58. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-format/executor.js +4 -4
  60. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  61. package/dist/src/executors/clean-package/executor.js +5 -5
  62. package/dist/src/executors/clean-package/executor.mjs +2 -2
  63. package/dist/src/executors/esbuild/executor.js +4 -4
  64. package/dist/src/executors/esbuild/executor.mjs +3 -3
  65. package/dist/src/executors/size-limit/executor.js +4 -4
  66. package/dist/src/executors/size-limit/executor.mjs +3 -3
  67. package/dist/src/executors/typia/executor.js +4 -4
  68. package/dist/src/executors/typia/executor.mjs +3 -3
  69. package/dist/src/executors/unbuild/executor.js +4 -4
  70. package/dist/src/executors/unbuild/executor.mjs +3 -3
  71. package/dist/src/generators/browser-library/generator.js +4 -4
  72. package/dist/src/generators/browser-library/generator.mjs +3 -3
  73. package/dist/src/generators/config-schema/generator.js +4 -4
  74. package/dist/src/generators/config-schema/generator.mjs +3 -3
  75. package/dist/src/generators/neutral-library/generator.js +4 -4
  76. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  77. package/dist/src/generators/node-library/generator.js +4 -4
  78. package/dist/src/generators/node-library/generator.mjs +3 -3
  79. package/dist/src/generators/preset/generator.js +4 -4
  80. package/dist/src/generators/preset/generator.mjs +3 -3
  81. package/dist/src/generators/release-version/generator.js +3 -3
  82. package/dist/src/generators/release-version/generator.mjs +2 -2
  83. package/package.json +1 -1
@@ -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 _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
3
+ var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
4
4
 
5
5
 
6
- var _chunkG25NYDN4js = require('./chunk-G25NYDN4.js');
6
+ var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkG25NYDN4js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkG25NYDN4js.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkG25NYDN4js = require('./chunk-G25NYDN4.js');
16
+ var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -244,16 +244,16 @@ var _versionlegacy = require('nx/src/command-line/release/version-legacy');
244
244
  var _utils = require('nx/src/tasks-runner/utils');
245
245
  var _semver3 = require('semver');
246
246
  async function releaseVersionGeneratorFn(tree, options, config) {
247
- _chunkG25NYDN4js.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
247
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
248
248
 
249
249
  `, config);
250
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, "Storm Release Version generator");
250
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "Storm Release Version generator");
251
251
  try {
252
252
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
253
- _chunkG25NYDN4js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
253
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
254
254
  - workspaceRoot: ${workspaceRoot}`, config);
255
- config = await _chunkG25NYDN4js.getConfig.call(void 0, workspaceRoot);
256
- _chunkG25NYDN4js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
255
+ config = await _chunkSN7IJGEEjs.getConfig.call(void 0, workspaceRoot);
256
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
257
257
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
258
258
  const versionData = {};
259
259
  if (options.specifier) {
@@ -304,9 +304,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
304
304
  }
305
305
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
306
306
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
307
- _chunkG25NYDN4js.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
307
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
308
308
  }, "log");
309
- _chunkG25NYDN4js.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
309
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
310
310
  let packageName;
311
311
  let currentVersionFromDisk;
312
312
  if (tree.exists(packageJsonPath)) {
@@ -580,7 +580,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
580
580
  }
581
581
  }
582
582
  await _devkit.formatFiles.call(void 0, tree);
583
- _chunkG25NYDN4js.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
583
+ _chunkSN7IJGEEjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
584
584
  `, config);
585
585
  return {
586
586
  data: versionData,
@@ -614,8 +614,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
614
614
  }, "callback")
615
615
  };
616
616
  } catch (error) {
617
- _chunkG25NYDN4js.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
618
- _chunkG25NYDN4js.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
617
+ _chunkSN7IJGEEjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
618
+ _chunkSN7IJGEEjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
619
619
  - Details: ${error.message}
620
620
  - Stacktrace: ${error.stack}`, config);
621
621
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkKN4FIRQIjs = require('./chunk-KN4FIRQI.js');
10
+ var _chunkJOA2AXGFjs = require('./chunk-JOA2AXGF.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 = _chunkKN4FIRQIjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkJOA2AXGFjs.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";
@@ -657,12 +657,12 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
657
657
  configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
658
658
  workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
659
659
  directories: {
660
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
661
- data: process.env[`${prefix}DATA_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
662
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
663
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
664
- log: process.env[`${prefix}LOG_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
665
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
660
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
661
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
662
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
663
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
664
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
665
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
666
666
  },
667
667
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
668
668
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -882,21 +882,27 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
882
882
  if (config.directories) {
883
883
  if (!config.skipCache && config.directories.cache) {
884
884
  process.env[`${prefix}CACHE_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.cache);
885
+ process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
885
886
  }
886
887
  if (config.directories.data) {
887
888
  process.env[`${prefix}DATA_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.data);
889
+ process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
888
890
  }
889
891
  if (config.directories.config) {
890
892
  process.env[`${prefix}CONFIG_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.config);
893
+ process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
891
894
  }
892
895
  if (config.directories.temp) {
893
896
  process.env[`${prefix}TEMP_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.temp);
897
+ process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
894
898
  }
895
899
  if (config.directories.log) {
896
900
  process.env[`${prefix}LOG_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.log);
901
+ process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
897
902
  }
898
903
  if (config.directories.build) {
899
904
  process.env[`${prefix}BUILD_DIR`] = _chunkJTAXCQX6js.correctPaths.call(void 0, config.directories.build);
905
+ process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
900
906
  }
901
907
  }
902
908
  if (config.skipCache !== void 0) {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
7
+ var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-UYN4J6AU.mjs";
16
+ } from "./chunk-N5N2BZHB.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-44ZYZKMX.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-4MQBPVNM.mjs";
10
+ } from "./chunk-6YRWQ3TB.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-XB3SJ7YU.mjs";
@@ -1,6 +1,6 @@
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 _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 _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
3
+ var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
4
4
 
5
5
 
6
6
 
@@ -13,7 +13,7 @@ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkG25NYDN4js = require('./chunk-G25NYDN4.js');
16
+ var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -83,7 +83,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
83
83
  output: "src/"
84
84
  });
85
85
  }
86
- _chunkG25NYDN4js.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
87
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
88
88
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
89
89
  projectDir: projectRoot,
@@ -93,7 +93,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
93
  });
94
94
  await assetHandler.processAllAssetsOnce();
95
95
  if (includeSrc === true) {
96
- _chunkG25NYDN4js.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
96
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
97
97
  const files = await _glob.glob.call(void 0, [
98
98
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
99
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -132,7 +132,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
132
132
  }
133
133
  }
134
134
  if (localPackages.length > 0) {
135
- _chunkG25NYDN4js.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
135
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
136
136
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
137
137
  const projectJson = JSON.parse(projectJsonFile);
138
138
  const projectName2 = projectJson.name;
@@ -166,7 +166,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
166
166
  return ret;
167
167
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
168
168
  } else {
169
- _chunkG25NYDN4js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
169
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
170
170
  }
171
171
  return packageJson;
172
172
  }, "addPackageDependencies");
@@ -536,7 +536,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
536
536
  setup(build4) {
537
537
  build4.onEnd((result) => {
538
538
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
539
- _chunkG25NYDN4js.writeError.call(void 0, `The following errors occurred during the build:
539
+ _chunkSN7IJGEEjs.writeError.call(void 0, `The following errors occurred during the build:
540
540
  ${result.errors.map((error) => error.text).join("\n")}
541
541
 
542
542
  `, resolvedOptions.config);
@@ -645,7 +645,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
645
645
  localBuild: true
646
646
  });
647
647
  if (extractorResult.succeeded === false) {
648
- _chunkG25NYDN4js.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
648
+ _chunkSN7IJGEEjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
649
649
  throw new Error("API Extractor completed with errors");
650
650
  }
651
651
  }
@@ -833,8 +833,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
833
833
  const filteredMissingDeps = missingDependencies.filter((dep) => {
834
834
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
835
835
  });
836
- _chunkG25NYDN4js.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
837
- _chunkG25NYDN4js.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
836
+ _chunkSN7IJGEEjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
837
+ _chunkSN7IJGEEjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
838
838
  if (filteredMissingDeps.length > 0) {
839
839
  throw new Error(`Missing dependencies detected - please install them:
840
840
  ${JSON.stringify(filteredMissingDeps)}
@@ -904,7 +904,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
904
904
  paths.push(...files.reduce((ret, filePath) => {
905
905
  const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
906
906
  if (result) {
907
- _chunkG25NYDN4js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
907
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
908
908
  if (!paths.some((p) => p.in === result)) {
909
909
  paths.push({
910
910
  in: result,
@@ -915,7 +915,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
915
915
  return ret;
916
916
  }, []));
917
917
  } else {
918
- _chunkG25NYDN4js.writeDebug.call(void 0, `Adding ESBuild entry point
918
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, `Adding ESBuild entry point
919
919
  - Input: ${entryPoint.in}
920
920
  - Output: ${entryPoint.out}`, config);
921
921
  if (!paths.some((p) => p.out === entryPoint.out)) {
@@ -1008,9 +1008,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1008
1008
  if (!workspaceRoot) {
1009
1009
  throw new Error("Cannot find Nx workspace root");
1010
1010
  }
1011
- const config = await _chunkG25NYDN4js.getConfig.call(void 0, workspaceRoot.dir);
1012
- _chunkG25NYDN4js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1013
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, "Build options resolution");
1011
+ const config = await _chunkSN7IJGEEjs.getConfig.call(void 0, workspaceRoot.dir);
1012
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1013
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "Build options resolution");
1014
1014
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1015
1015
  exitOnError: true
1016
1016
  });
@@ -1057,7 +1057,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1057
1057
  projectGraph,
1058
1058
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
1059
1059
  minify: userOptions.minify || !userOptions.debug,
1060
- verbose: userOptions.verbose || _chunkG25NYDN4js.isVerbose.call(void 0, ) || userOptions.debug === true,
1060
+ verbose: userOptions.verbose || _chunkSN7IJGEEjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1061
1061
  includeSrc: userOptions.includeSrc === true,
1062
1062
  metafile: userOptions.metafile !== false,
1063
1063
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1112,8 +1112,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1112
1112
  }, "resolveOptions");
1113
1113
  async function generatePackageJson(context2) {
1114
1114
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1115
- _chunkG25NYDN4js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1116
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, "Write package.json file");
1115
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1116
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "Write package.json file");
1117
1117
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1118
1118
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1119
1119
  throw new Error("Cannot find package.json configuration");
@@ -1172,8 +1172,8 @@ async function generateContext(getOptions) {
1172
1172
  }
1173
1173
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
1174
1174
  async function executeEsBuild(context2) {
1175
- _chunkG25NYDN4js.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1176
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, `${context2.options.name} build`);
1175
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1176
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1177
1177
  if (process.env.STORM_WATCH) {
1178
1178
  const ctx = await esbuild2.context(context2.options);
1179
1179
  watch(ctx, context2.options);
@@ -1206,8 +1206,8 @@ async function executeEsBuild(context2) {
1206
1206
  delete options.config;
1207
1207
  delete options.injectShims;
1208
1208
  delete options.external;
1209
- _chunkG25NYDN4js.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1210
- ${_chunkG25NYDN4js.formatLogMessage.call(void 0, {
1209
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1210
+ ${_chunkSN7IJGEEjs.formatLogMessage.call(void 0, {
1211
1211
  ...options,
1212
1212
  define: "<Hidden>"
1213
1213
  })}`, context2.options.config);
@@ -1223,8 +1223,8 @@ ${_chunkG25NYDN4js.formatLogMessage.call(void 0, {
1223
1223
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1224
1224
  async function copyBuildAssets(context2) {
1225
1225
  if (_optionalChain([context2, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) === 0) {
1226
- _chunkG25NYDN4js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1227
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1226
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1227
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1228
1228
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1229
1229
  stopwatch();
1230
1230
  }
@@ -1234,9 +1234,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1234
1234
  async function reportResults(context2) {
1235
1235
  if (_optionalChain([context2, 'access', _55 => _55.result, 'optionalAccess', _56 => _56.errors, 'access', _57 => _57.length]) === 0) {
1236
1236
  if (context2.result.warnings.length > 0) {
1237
- _chunkG25NYDN4js.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);
1237
+ _chunkSN7IJGEEjs.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);
1238
1238
  }
1239
- _chunkG25NYDN4js.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1239
+ _chunkSN7IJGEEjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1240
1240
  }
1241
1241
  }
1242
1242
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -1272,8 +1272,8 @@ async function dependencyCheck(options) {
1272
1272
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1273
1273
  async function cleanOutputPath(context2) {
1274
1274
  if (context2.options.clean !== false && context2.options.outdir) {
1275
- _chunkG25NYDN4js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1276
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1275
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1276
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1277
1277
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1278
1278
  stopwatch();
1279
1279
  }
@@ -1281,8 +1281,8 @@ async function cleanOutputPath(context2) {
1281
1281
  }
1282
1282
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1283
1283
  async function build3(options) {
1284
- _chunkG25NYDN4js.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1285
- const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, "ESBuild pipeline");
1284
+ _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1285
+ const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "ESBuild pipeline");
1286
1286
  try {
1287
1287
  const opts = Array.isArray(options) ? options : [
1288
1288
  options
@@ -1292,9 +1292,9 @@ async function build3(options) {
1292
1292
  }
1293
1293
  void transduce.async(opts, dependencyCheck);
1294
1294
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1295
- _chunkG25NYDN4js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1295
+ _chunkSN7IJGEEjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1296
1296
  } catch (error) {
1297
- _chunkG25NYDN4js.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1297
+ _chunkSN7IJGEEjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1298
1298
  throw error;
1299
1299
  } finally {
1300
1300
  stopwatch();
@@ -1322,9 +1322,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1322
1322
  return context2.rebuild();
1323
1323
  });
1324
1324
  if (rebuildResult instanceof Error) {
1325
- _chunkG25NYDN4js.writeError.call(void 0, rebuildResult.message);
1325
+ _chunkSN7IJGEEjs.writeError.call(void 0, rebuildResult.message);
1326
1326
  }
1327
- _chunkG25NYDN4js.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1327
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1328
1328
  }, 10);
1329
1329
  changeWatcher.on("change", fastRebuild);
1330
1330
  return void 0;
@@ -1332,7 +1332,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1332
1332
 
1333
1333
  // src/executors/esbuild/executor.ts
1334
1334
  async function esbuildExecutorFn(options, context2, config) {
1335
- _chunkG25NYDN4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1335
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1336
1336
  if (!_optionalChain([context2, 'access', _58 => _58.projectsConfigurations, 'optionalAccess', _59 => _59.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'access', _62 => _62[context2.projectName], 'optionalAccess', _63 => _63.root])) {
1337
1337
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1338
1338
  }
@@ -1349,7 +1349,7 @@ async function esbuildExecutorFn(options, context2, config) {
1349
1349
  };
1350
1350
  }
1351
1351
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1352
- var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1352
+ var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1353
1353
  skipReadingConfig: false,
1354
1354
  hooks: {
1355
1355
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,12 +1,12 @@
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 _chunkKN4FIRQIjs = require('./chunk-KN4FIRQI.js');
3
+ var _chunkJOA2AXGFjs = require('./chunk-JOA2AXGF.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkG25NYDN4js = require('./chunk-G25NYDN4.js');
9
+ var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
10
10
 
11
11
 
12
12
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkG25NYDN4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
- _chunkG25NYDN4js.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkG25NYDN4js.stormWorkspaceConfigSchema, {
21
+ _chunkSN7IJGEEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSN7IJGEEjs.stormWorkspaceConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkG25NYDN4js.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, jsonSchema, config);
27
27
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkG25NYDN4js.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkSN7IJGEEjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunkG25NYDN4js.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkSN7IJGEEjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunkKN4FIRQIjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkJOA2AXGFjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-UYN4J6AU.mjs";
15
+ } from "./chunk-N5N2BZHB.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-44ZYZKMX.mjs";
package/dist/executors.js CHANGED
@@ -4,40 +4,40 @@
4
4
  var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
5
5
 
6
6
 
7
- var _chunkMETCIMBVjs = require('./chunk-METCIMBV.js');
7
+ var _chunkOFA5UEODjs = require('./chunk-OFA5UEOD.js');
8
8
 
9
9
 
10
- var _chunkXXFGRTIRjs = require('./chunk-XXFGRTIR.js');
10
+ var _chunkBP5OIRQRjs = require('./chunk-BP5OIRQR.js');
11
11
 
12
12
 
13
- var _chunkVKKE7EW4js = require('./chunk-VKKE7EW4.js');
13
+ var _chunkJADXJLCFjs = require('./chunk-JADXJLCF.js');
14
14
 
15
15
 
16
- var _chunkALY3T5YOjs = require('./chunk-ALY3T5YO.js');
16
+ var _chunkTCG7CFMKjs = require('./chunk-TCG7CFMK.js');
17
17
 
18
18
 
19
19
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
20
20
 
21
21
 
22
- var _chunkZ5ADLA6Ijs = require('./chunk-Z5ADLA6I.js');
22
+ var _chunkW2AFUJ7Ajs = require('./chunk-W2AFUJ7A.js');
23
23
 
24
24
 
25
- var _chunkR2JUE5UDjs = require('./chunk-R2JUE5UD.js');
25
+ var _chunkOCJK2N3Gjs = require('./chunk-OCJK2N3G.js');
26
26
 
27
27
 
28
- var _chunkKJ5COMK2js = require('./chunk-KJ5COMK2.js');
28
+ var _chunkCSGLVAIKjs = require('./chunk-CSGLVAIK.js');
29
29
 
30
30
 
31
- var _chunkBHPRU5VNjs = require('./chunk-BHPRU5VN.js');
31
+ var _chunkNY3AXYUDjs = require('./chunk-NY3AXYUD.js');
32
32
 
33
33
 
34
- var _chunk7NJYHKD4js = require('./chunk-7NJYHKD4.js');
34
+ var _chunkAKADBPPTjs = require('./chunk-AKADBPPT.js');
35
35
  require('./chunk-CUPARBOS.js');
36
36
  require('./chunk-ULBTYC2B.js');
37
37
  require('./chunk-ZMFVKBRM.js');
38
- require('./chunk-ZHCAJSHG.js');
38
+ require('./chunk-BAJ3JRJC.js');
39
39
  require('./chunk-UALZJZUK.js');
40
- require('./chunk-G25NYDN4.js');
40
+ require('./chunk-SN7IJGEE.js');
41
41
  require('./chunk-4JOIS7WW.js');
42
42
  require('./chunk-JTAXCQX6.js');
43
43
  require('./chunk-3GQAWCBQ.js');
@@ -53,4 +53,4 @@ require('./chunk-3GQAWCBQ.js');
53
53
 
54
54
 
55
55
 
56
- exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkR2JUE5UDjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkKJ5COMK2js.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkBHPRU5VNjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk7NJYHKD4js.cargoDocExecutor; exports.cargoFormatExecutor = _chunkALY3T5YOjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkZ5ADLA6Ijs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkMETCIMBVjs.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunkXXFGRTIRjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkVKKE7EW4js.unbuildExecutorFn;
56
+ exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkOCJK2N3Gjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkCSGLVAIKjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkNY3AXYUDjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkAKADBPPTjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkTCG7CFMKjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkW2AFUJ7Ajs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkOFA5UEODjs.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunkBP5OIRQRjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkJADXJLCFjs.unbuildExecutorFn;
@@ -4,40 +4,40 @@ import {
4
4
  } from "./chunk-VFGOMBR2.mjs";
5
5
  import {
6
6
  sizeLimitExecutorFn
7
- } from "./chunk-7KECHDTY.mjs";
7
+ } from "./chunk-IOYD4LKE.mjs";
8
8
  import {
9
9
  typiaExecutorFn
10
- } from "./chunk-BRDK3UGW.mjs";
10
+ } from "./chunk-24FSFLEJ.mjs";
11
11
  import {
12
12
  unbuildExecutorFn
13
- } from "./chunk-QGEPDAWP.mjs";
13
+ } from "./chunk-KE7BLB2Y.mjs";
14
14
  import {
15
15
  cargoFormatExecutor
16
- } from "./chunk-3XSWT4CQ.mjs";
16
+ } from "./chunk-HAUXJ6F2.mjs";
17
17
  import {
18
18
  getRegistryVersion
19
19
  } from "./chunk-U5R5FYNX.mjs";
20
20
  import {
21
21
  esbuildExecutorFn
22
- } from "./chunk-4RI5TAZ5.mjs";
22
+ } from "./chunk-LKNIQZ3B.mjs";
23
23
  import {
24
24
  cargoBuildExecutor
25
- } from "./chunk-YEIFMXCK.mjs";
25
+ } from "./chunk-CGGBNNFN.mjs";
26
26
  import {
27
27
  cargoCheckExecutor
28
- } from "./chunk-P3KSR3SR.mjs";
28
+ } from "./chunk-56NOEAUZ.mjs";
29
29
  import {
30
30
  cargoClippyExecutor
31
- } from "./chunk-OENTXUOU.mjs";
31
+ } from "./chunk-3FIZEIEU.mjs";
32
32
  import {
33
33
  cargoDocExecutor
34
- } from "./chunk-ILLL3MMC.mjs";
34
+ } from "./chunk-MHTKV6DY.mjs";
35
35
  import "./chunk-IWVTKZHB.mjs";
36
36
  import "./chunk-KEPMD5HG.mjs";
37
37
  import "./chunk-KUJS6ESX.mjs";
38
- import "./chunk-XWHWMA27.mjs";
38
+ import "./chunk-ZV2PR5R3.mjs";
39
39
  import "./chunk-HV2IA26N.mjs";
40
- import "./chunk-UYN4J6AU.mjs";
40
+ import "./chunk-N5N2BZHB.mjs";
41
41
  import "./chunk-44ZYZKMX.mjs";
42
42
  import "./chunk-XB3SJ7YU.mjs";
43
43
  import "./chunk-Y4D6KHJP.mjs";