@storm-software/workspace-tools 1.264.16 → 1.264.18

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 (149) hide show
  1. package/CHANGELOG.md +453 -226
  2. package/README.md +7 -7
  3. package/dist/{chunk-5YFVM4NO.js → chunk-3MWOC5X7.js} +2 -2
  4. package/dist/{chunk-W2L5PTZQ.mjs → chunk-4UTIWEDA.mjs} +1 -1
  5. package/dist/{chunk-EVVPILUO.mjs → chunk-5M3R4RLA.mjs} +1 -1
  6. package/dist/{chunk-BMSP2AHQ.mjs → chunk-5QWEZQFR.mjs} +1 -1
  7. package/dist/{chunk-YZU3GXGK.js → chunk-5SK55RA7.js} +12 -15
  8. package/dist/{chunk-GW35E3FL.mjs → chunk-7A34G3TI.mjs} +1 -1
  9. package/dist/{chunk-DRDUABBP.js → chunk-ASBO74YM.js} +5 -5
  10. package/dist/{chunk-RVVYSXH2.mjs → chunk-AUU7AFJV.mjs} +76 -1
  11. package/dist/{chunk-NZRTKA3D.mjs → chunk-AWUOBB3R.mjs} +1 -1
  12. package/dist/{chunk-VCWONYXO.mjs → chunk-CEK44GFG.mjs} +1 -1
  13. package/dist/{chunk-CSZN7VQD.js → chunk-DJJEQUOE.js} +2 -2
  14. package/dist/{chunk-G7HJQH2D.js → chunk-DYKPDBZQ.js} +2 -2
  15. package/dist/{chunk-R7JGBUZZ.js → chunk-EEMX5TF7.js} +5 -5
  16. package/dist/{chunk-FVGGQRHY.mjs → chunk-FQSPQRIB.mjs} +1 -1
  17. package/dist/{chunk-D2WGOX7Q.mjs → chunk-HXCWS5GR.mjs} +1 -4
  18. package/dist/{chunk-V4BVJDF2.js → chunk-I44JBB55.js} +2 -2
  19. package/dist/{chunk-3CQXNQEH.js → chunk-IFB5HNMT.js} +2 -2
  20. package/dist/{chunk-DW6Z5YY4.js → chunk-IRPD2M2I.js} +2 -2
  21. package/dist/{chunk-R7DA3F5M.mjs → chunk-IRSGGDCX.mjs} +2 -2
  22. package/dist/{chunk-ITGXQQ7X.js → chunk-IVNDY2FE.js} +20 -20
  23. package/dist/{chunk-EWP64H6O.mjs → chunk-K5XDKCHY.mjs} +2 -2
  24. package/dist/{chunk-BWKZE7VQ.js → chunk-KFT2TAHE.js} +2 -2
  25. package/dist/{chunk-PUYQ5DG6.mjs → chunk-MHZ6V7XS.mjs} +1 -1
  26. package/dist/{chunk-3NDDIOHB.mjs → chunk-NW4PIBL2.mjs} +1 -1
  27. package/dist/{chunk-NPAOF5QA.mjs → chunk-OBMMNTJQ.mjs} +3 -3
  28. package/dist/{chunk-DCYMF7VO.js → chunk-P5WJDR64.js} +2 -2
  29. package/dist/{chunk-CCWQEPFL.mjs → chunk-PUW5GKBJ.mjs} +1 -1
  30. package/dist/{chunk-5PRX6HB4.mjs → chunk-Q6PB2D4O.mjs} +2 -2
  31. package/dist/{chunk-3QWOG3CX.js → chunk-SPRQWSBE.js} +76 -1
  32. package/dist/{chunk-BWMEPOEZ.js → chunk-SWKSEHJV.js} +15 -15
  33. package/dist/{chunk-MUBQL23Z.js → chunk-TFNKD3A2.js} +4 -4
  34. package/dist/{chunk-3VVZ4ODK.mjs → chunk-TYTLMYMZ.mjs} +1 -1
  35. package/dist/{chunk-VV2T7QY3.js → chunk-VGWC25SX.js} +2 -2
  36. package/dist/{chunk-KLU4BFDM.mjs → chunk-WCGJHQTH.mjs} +2 -2
  37. package/dist/{chunk-AIR6S5P7.js → chunk-YCDNXKRB.js} +9 -9
  38. package/dist/{chunk-LBIRQXLX.js → chunk-YX566HFQ.js} +58 -58
  39. package/dist/{executor-rWFext3F.d.ts → executor-BHZDUmGV.d.ts} +1 -1
  40. package/dist/{executor-Cn6-xbcu.d.ts → executor-BSdK3i-c.d.ts} +1 -1
  41. package/dist/{executor-Be5Fd52r.d.ts → executor-Ba3sXm2v.d.ts} +1 -1
  42. package/dist/{executor-Bce2bwmv.d.mts → executor-BeYtFLmD.d.mts} +1 -1
  43. package/dist/{executor-C_TfLA0a.d.ts → executor-C5FcAd29.d.ts} +1 -1
  44. package/dist/{executor-BLSVtRwG.d.mts → executor-CqRyjFhC.d.mts} +1 -1
  45. package/dist/{executor-D7hQFdok.d.mts → executor-D8PlrGW7.d.mts} +1 -1
  46. package/dist/{executor-DFZM1IRb.d.mts → executor-aaNF3iYy.d.mts} +1 -1
  47. package/dist/executors.d.mts +5 -5
  48. package/dist/executors.d.ts +5 -5
  49. package/dist/executors.js +12 -12
  50. package/dist/executors.mjs +11 -11
  51. package/dist/{generator-CWhc4hwg.d.mts → generator-BN20pTlZ.d.mts} +2 -2
  52. package/dist/{generator-Boug2ukK.d.mts → generator-C77-chd9.d.mts} +2 -2
  53. package/dist/{generator-Q7K2v4XK.d.ts → generator-C8vM6WVl.d.ts} +1 -1
  54. package/dist/{generator-gSneYaPS.d.mts → generator-CDFD9683.d.mts} +2 -2
  55. package/dist/{generator-BlI_P2Wx.d.ts → generator-CDWEbKl9.d.ts} +2 -2
  56. package/dist/{generator-D7OgP7cF.d.mts → generator-CO80PAYg.d.mts} +2 -2
  57. package/dist/{generator-XDHzC_Tb.d.mts → generator-CPOA4iOa.d.mts} +1 -1
  58. package/dist/{generator-Mz3RW03i.d.mts → generator-CwtaXN68.d.mts} +1 -1
  59. package/dist/{generator-CDnWruqm.d.ts → generator-D1KDMMWv.d.ts} +2 -2
  60. package/dist/{generator-RNiDtdN6.d.ts → generator-DHaTv11N.d.ts} +1 -1
  61. package/dist/{generator-DbQxnpL0.d.ts → generator-PWtPKnX3.d.ts} +2 -2
  62. package/dist/{generator-vajo9_If.d.ts → generator-ieAZPSV9.d.ts} +2 -2
  63. package/dist/generators.d.mts +8 -8
  64. package/dist/generators.d.ts +8 -8
  65. package/dist/generators.js +9 -9
  66. package/dist/generators.mjs +8 -8
  67. package/dist/index.d.mts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +19 -19
  70. package/dist/index.mjs +18 -18
  71. package/dist/src/base/base-executor.d.mts +2 -2
  72. package/dist/src/base/base-executor.d.ts +2 -2
  73. package/dist/src/base/base-executor.js +3 -3
  74. package/dist/src/base/base-executor.mjs +2 -2
  75. package/dist/src/base/base-generator.d.mts +2 -2
  76. package/dist/src/base/base-generator.d.ts +2 -2
  77. package/dist/src/base/base-generator.js +3 -3
  78. package/dist/src/base/base-generator.mjs +2 -2
  79. package/dist/src/base/index.d.mts +2 -2
  80. package/dist/src/base/index.d.ts +2 -2
  81. package/dist/src/base/index.js +4 -4
  82. package/dist/src/base/index.mjs +3 -3
  83. package/dist/src/executors/cargo-build/executor.js +4 -4
  84. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  85. package/dist/src/executors/cargo-check/executor.js +4 -4
  86. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  87. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  88. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  89. package/dist/src/executors/cargo-doc/executor.js +4 -4
  90. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  91. package/dist/src/executors/cargo-format/executor.js +4 -4
  92. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  93. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  94. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  95. package/dist/src/executors/clean-package/executor.js +5 -5
  96. package/dist/src/executors/clean-package/executor.mjs +2 -2
  97. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  98. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  99. package/dist/src/executors/esbuild/executor.js +4 -4
  100. package/dist/src/executors/esbuild/executor.mjs +3 -3
  101. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  102. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  103. package/dist/src/executors/size-limit/executor.js +4 -4
  104. package/dist/src/executors/size-limit/executor.mjs +3 -3
  105. package/dist/src/executors/typia/executor.d.mts +2 -2
  106. package/dist/src/executors/typia/executor.d.ts +2 -2
  107. package/dist/src/executors/typia/executor.js +4 -4
  108. package/dist/src/executors/typia/executor.mjs +3 -3
  109. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  110. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  111. package/dist/src/executors/unbuild/executor.js +4 -4
  112. package/dist/src/executors/unbuild/executor.mjs +3 -3
  113. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  114. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  115. package/dist/src/generators/browser-library/generator.js +4 -4
  116. package/dist/src/generators/browser-library/generator.mjs +3 -3
  117. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  118. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  119. package/dist/src/generators/config-schema/generator.js +4 -4
  120. package/dist/src/generators/config-schema/generator.mjs +3 -3
  121. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  122. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  123. package/dist/src/generators/neutral-library/generator.js +4 -4
  124. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  125. package/dist/src/generators/node-library/generator.d.mts +3 -3
  126. package/dist/src/generators/node-library/generator.d.ts +3 -3
  127. package/dist/src/generators/node-library/generator.js +4 -4
  128. package/dist/src/generators/node-library/generator.mjs +3 -3
  129. package/dist/src/generators/preset/generator.d.mts +3 -3
  130. package/dist/src/generators/preset/generator.d.ts +3 -3
  131. package/dist/src/generators/preset/generator.js +4 -4
  132. package/dist/src/generators/preset/generator.mjs +3 -3
  133. package/dist/src/generators/release-version/generator.d.mts +2 -2
  134. package/dist/src/generators/release-version/generator.d.ts +2 -2
  135. package/dist/src/generators/release-version/generator.js +3 -3
  136. package/dist/src/generators/release-version/generator.mjs +2 -2
  137. package/dist/src/types.d.mts +2 -2
  138. package/dist/src/types.d.ts +2 -2
  139. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  140. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  141. package/dist/src/utils/index.d.mts +2 -2
  142. package/dist/src/utils/index.d.ts +2 -2
  143. package/dist/src/utils/project-tags.d.mts +2 -2
  144. package/dist/src/utils/project-tags.d.ts +2 -2
  145. package/dist/{types-C5TJM8DH.d.ts → types-BhjX7nv_.d.ts} +1 -1
  146. package/dist/{types-DJVJD8fA.d.mts → types-DAkcs-RD.d.mts} +1 -1
  147. package/dist/{types-D6pIdih6.d.mts → types-DdLUCAjP.d.mts} +64 -0
  148. package/dist/{types-D6pIdih6.d.ts → types-DdLUCAjP.d.ts} +64 -0
  149. package/package.json +4 -4
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
15
+ var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
16
16
 
17
17
 
18
18
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  // src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
38
+ _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
39
  if (!executorOptions.skipReadingConfig) {
40
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
40
+ _chunkSPRQWSBEjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
41
41
  - workspaceRoot: ${workspaceRoot}
42
42
  - projectRoot: ${projectRoot}
43
43
  - sourceRoot: ${sourceRoot}
44
44
  - projectName: ${projectName}
45
45
  `, config);
46
- config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot);
46
+ config = await _chunkSPRQWSBEjs.getConfig.call(void 0, workspaceRoot);
47
47
  }
48
48
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
49
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
49
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
50
50
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
51
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
52
52
  }
53
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}
53
+ _chunkSPRQWSBEjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
+ ${_chunkSPRQWSBEjs.formatLogMessage.call(void 0, options)}
55
55
  `, config);
56
56
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
57
57
  workspaceRoot,
@@ -60,13 +60,13 @@ ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}
60
60
  projectName,
61
61
  config
62
62
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
63
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, tokenized)}
63
+ _chunkSPRQWSBEjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
+ ${_chunkSPRQWSBEjs.formatLogMessage.call(void 0, tokenized)}
65
65
  `, config);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
67
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -76,26 +76,26 @@ ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, tokenized)}
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
79
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkSPRQWSBEjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkSPRQWSBEjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
87
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkSPRQWSBEjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunk3QWOG3CXjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkSPRQWSBEjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkSPRQWSBEjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-W2L5PTZQ.mjs";
3
+ } from "./chunk-4UTIWEDA.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-RVVYSXH2.mjs";
9
+ } from "./chunk-AUU7AFJV.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-FR3YQN55.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
7
+ var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -73,7 +73,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
73
73
  return null;
74
74
  }
75
75
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
76
- var generator_default = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
76
+ var generator_default = _chunkSWKSEHJVjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
77
77
  hooks: {
78
78
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
79
79
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-5QWEZQFR.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-W2L5PTZQ.mjs";
10
+ } from "./chunk-4UTIWEDA.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-ATIBREWM.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-5QWEZQFR.mjs";
4
4
  import {
5
5
  formatLogMessage,
6
6
  getConfig,
@@ -13,7 +13,7 @@ import {
13
13
  writeSuccess,
14
14
  writeTrace,
15
15
  writeWarning
16
- } from "./chunk-RVVYSXH2.mjs";
16
+ } from "./chunk-AUU7AFJV.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-FR3YQN55.mjs";
@@ -119,7 +119,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
119
119
  const projectGraph = readCachedProjectGraph();
120
120
  const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
121
121
  const localPackages = [];
122
- for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
122
+ for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot)) {
123
123
  const projectNode = project.node;
124
124
  if (projectNode.data.root) {
125
125
  const projectPackageJsonPath = joinPaths(workspaceRoot, projectNode.data.root, "package.json");
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
7
+ var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.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 = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
48
+ var generator_default = _chunkSWKSEHJVjs.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";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W2L5PTZQ.mjs";
7
+ } from "./chunk-4UTIWEDA.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-5QWEZQFR.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RVVYSXH2.mjs";
6
+ } from "./chunk-AUU7AFJV.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-ATIBREWM.mjs";
@@ -15,8 +15,23 @@ var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
15
15
  // ../config/src/constants.ts
16
16
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
17
17
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
18
+ var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
18
19
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
19
20
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
21
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
22
+ var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
23
+ var STORM_DEFAULT_ACCOUNT_DISCORD = "https://discord.gg/MQ6YVzakM5";
24
+ var STORM_DEFAULT_ACCOUNT_TELEGRAM = "https://t.me/storm_software";
25
+ var STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
26
+ var STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
27
+ var STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
28
+ var STORM_DEFAULT_RELEASE_FOOTER = `
29
+ Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
30
+
31
+ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
32
+
33
+ If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
34
+ `;
20
35
 
21
36
  // ../config/src/schema.ts
22
37
  var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
@@ -106,6 +121,19 @@ var WorkspaceBotConfigSchema = _zod2.default.object({
106
121
  name: _zod2.default.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
107
122
  email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
108
123
  }).describe("The workspace's bot user's config used to automated various operations tasks");
124
+ var WorkspaceReleaseConfigSchema = _zod2.default.object({
125
+ banner: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
126
+ header: _zod2.default.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
127
+ footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
128
+ }).describe("The workspace's release config used during the release process");
129
+ var WorkspaceAccountConfigSchema = _zod2.default.object({
130
+ twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
131
+ discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
132
+ telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
133
+ slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
134
+ medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
135
+ github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
136
+ }).describe("The workspace's account config used to store various social media links");
109
137
  var WorkspaceDirectoryConfigSchema = _zod2.default.object({
110
138
  cache: _zod2.default.string().trim().optional().describe("The directory used to store the environment's cached file data"),
111
139
  data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
@@ -125,10 +153,13 @@ var StormConfigSchema = _zod2.default.object({
125
153
  homepage: _zod2.default.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
126
154
  docs: _zod2.default.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
127
155
  licensing: _zod2.default.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
156
+ contact: _zod2.default.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
128
157
  branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
129
158
  preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
130
159
  owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
131
160
  bot: WorkspaceBotConfigSchema,
161
+ release: WorkspaceReleaseConfigSchema,
162
+ account: WorkspaceAccountConfigSchema,
132
163
  mode: _zod2.default.enum([
133
164
  "development",
134
165
  "staging",
@@ -588,12 +619,26 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
588
619
  name: process.env[`${prefix}BOT_NAME`] || void 0,
589
620
  email: process.env[`${prefix}BOT_EMAIL`] || void 0
590
621
  },
622
+ release: {
623
+ banner: process.env[`${prefix}RELEASE_BANNER`] || void 0,
624
+ header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
625
+ footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
626
+ },
627
+ account: {
628
+ twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
629
+ discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
630
+ telegram: process.env[`${prefix}ACCOUNT_TELEGRAM`] || void 0,
631
+ slack: process.env[`${prefix}ACCOUNT_SLACK`] || void 0,
632
+ medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
633
+ github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
634
+ },
591
635
  organization: process.env[`${prefix}ORGANIZATION`] || void 0,
592
636
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
593
637
  license: process.env[`${prefix}LICENSE`] || void 0,
594
638
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
595
639
  docs: process.env[`${prefix}DOCS`] || void 0,
596
640
  licensing: process.env[`${prefix}LICENSING`] || void 0,
641
+ contact: process.env[`${prefix}CONTACT`] || void 0,
597
642
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
598
643
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
599
644
  configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
@@ -752,6 +797,31 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
752
797
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
753
798
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
754
799
  }
800
+ if (config.release) {
801
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
802
+ process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
803
+ process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
804
+ }
805
+ if (config.account) {
806
+ if (config.account.twitter) {
807
+ process.env[`${prefix}ACCOUNT_TWITTER`] = config.account.twitter;
808
+ }
809
+ if (config.account.discord) {
810
+ process.env[`${prefix}ACCOUNT_DISCORD`] = config.account.discord;
811
+ }
812
+ if (config.account.telegram) {
813
+ process.env[`${prefix}ACCOUNT_TELEGRAM`] = config.account.telegram;
814
+ }
815
+ if (config.account.slack) {
816
+ process.env[`${prefix}ACCOUNT_SLACK`] = config.account.slack;
817
+ }
818
+ if (config.account.medium) {
819
+ process.env[`${prefix}ACCOUNT_MEDIUM`] = config.account.medium;
820
+ }
821
+ if (config.account.github) {
822
+ process.env[`${prefix}ACCOUNT_GITHUB`] = config.account.github;
823
+ }
824
+ }
755
825
  if (config.organization) {
756
826
  process.env[`${prefix}ORGANIZATION`] = config.organization;
757
827
  }
@@ -770,6 +840,9 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
770
840
  if (config.licensing) {
771
841
  process.env[`${prefix}LICENSING`] = config.licensing;
772
842
  }
843
+ if (config.contact) {
844
+ process.env[`${prefix}CONTACT`] = config.contact;
845
+ }
773
846
  if (config.timezone) {
774
847
  process.env[`${prefix}TIMEZONE`] = config.timezone;
775
848
  process.env.TZ = config.timezone;
@@ -868,7 +941,9 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
868
941
  }
869
942
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
870
943
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
871
- config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
944
+ if (config.extensions[key] && Object.keys(config.extensions[key])) {
945
+ setExtensionEnv(key, config.extensions[key]);
946
+ }
872
947
  }
873
948
  }, "setConfigEnv");
874
949
  var setThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, config) => {
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
14
+ var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.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 = _chunk3QWOG3CXjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkSPRQWSBEjs.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
- _chunk3QWOG3CXjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkSPRQWSBEjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkSPRQWSBEjs.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
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkSPRQWSBEjs.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
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkSPRQWSBEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkSPRQWSBEjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunk3QWOG3CXjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkSPRQWSBEjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkSPRQWSBEjs.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
  };
@@ -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 _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
3
+ var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
4
4
 
5
5
 
6
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
6
+ var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.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
- _chunk3QWOG3CXjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkSPRQWSBEjs.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 = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkIVNDY2FEjs.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) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-5QWEZQFR.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-5QWEZQFR.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RVVYSXH2.mjs";
6
+ } from "./chunk-AUU7AFJV.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-2BPV2XV2.mjs";
@@ -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 _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
3
+ var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
9
+ var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.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
- _chunk3QWOG3CXjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunk3QWOG3CXjs.StormConfigSchema, {
21
+ _chunkSPRQWSBEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkSPRQWSBEjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSPRQWSBEjs.StormConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunk3QWOG3CXjs.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkSPRQWSBEjs.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
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkSPRQWSBEjs.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
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkSPRQWSBEjs.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 = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkSWKSEHJVjs.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";