@storm-software/cloudflare-tools 0.70.16 → 0.70.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 (31) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-QACHIWJ5.mjs → chunk-G4XJZFZV.mjs} +108 -492
  4. package/dist/{chunk-CQDIMGVE.mjs → chunk-GZVMCQJB.mjs} +6 -6
  5. package/dist/{chunk-U6GVVKJC.js → chunk-MLFEEFB4.js} +5 -5
  6. package/dist/{chunk-SGVFOSVQ.mjs → chunk-TPDWHRAN.mjs} +1 -1
  7. package/dist/{chunk-VG6AE7L5.js → chunk-TRNFERKH.js} +2 -2
  8. package/dist/{chunk-GDZVKNZL.mjs → chunk-WDTNWO7J.mjs} +2 -2
  9. package/dist/{chunk-YZLE2BZ5.js → chunk-WDX5QEWA.js} +106 -490
  10. package/dist/{chunk-MDGCPWLB.mjs → chunk-ZJYKRZUJ.mjs} +1 -1
  11. package/dist/executors.js +1 -1
  12. package/dist/executors.mjs +3 -3
  13. package/dist/generators.js +3 -3
  14. package/dist/generators.mjs +3 -3
  15. package/dist/index.d.mts +3 -4
  16. package/dist/index.d.ts +3 -4
  17. package/dist/index.js +22 -30
  18. package/dist/index.mjs +23 -31
  19. package/dist/src/executors/cloudflare-publish/executor.js +1 -1
  20. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  21. package/dist/src/executors/r2-upload-publish/executor.mjs +1 -1
  22. package/dist/src/executors/serve/executor.js +2 -2
  23. package/dist/src/executors/serve/executor.mjs +2 -2
  24. package/dist/src/generators/init/generator.js +2 -2
  25. package/dist/src/generators/init/generator.mjs +2 -2
  26. package/dist/src/generators/worker/generator.js +3 -3
  27. package/dist/src/generators/worker/generator.mjs +3 -3
  28. package/dist/src/utils/index.mjs +1 -1
  29. package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
  30. package/dist/tsup.config.mjs +1 -1
  31. package/package.json +17 -17
@@ -99,7 +99,7 @@ var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
99
99
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
100
100
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, name);
101
101
  let options = _options;
102
- let config5 = {};
102
+ let config = {};
103
103
  try {
104
104
  if (!_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'optionalAccess', _6 => _6.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
105
105
  throw new Error(
@@ -110,8 +110,8 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
110
110
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot3;
111
111
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot3;
112
112
  const projectName = context.projectName;
113
- config5.workspaceRoot = workspaceRoot3;
114
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config5);
113
+ config.workspaceRoot = workspaceRoot3;
114
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
115
115
  if (!executorOptions.skipReadingConfig) {
116
116
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
117
117
  `Loading the Storm Config from environment variables and storm.config.js file...
@@ -120,28 +120,28 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
120
120
  - sourceRoot: ${sourceRoot}
121
121
  - projectName: ${projectName}
122
122
  `,
123
- config5
123
+ config
124
124
  );
125
- config5 = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot3);
125
+ config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot3);
126
126
  }
127
127
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
128
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config5);
128
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
129
129
  options = await Promise.resolve(
130
- executorOptions.hooks.applyDefaultOptions(options, config5)
130
+ executorOptions.hooks.applyDefaultOptions(options, config)
131
131
  );
132
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config5);
132
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
133
133
  }
134
134
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
135
135
  `Executor schema options \u2699\uFE0F
136
136
  ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
137
137
  `,
138
- config5
138
+ config
139
139
  );
140
140
  const tokenized = await applyWorkspaceTokens(
141
141
  options,
142
142
  _defu.defu.call(void 0,
143
- { workspaceRoot: workspaceRoot3, projectRoot, sourceRoot, projectName, config: config5 },
144
- config5,
143
+ { workspaceRoot: workspaceRoot3, projectRoot, sourceRoot, projectName, config },
144
+ config,
145
145
  context.projectsConfigurations.projects[context.projectName]
146
146
  ),
147
147
  applyWorkspaceProjectTokens
@@ -150,16 +150,16 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
150
150
  `Executor schema tokenized options \u2699\uFE0F
151
151
  ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, tokenized)}
152
152
  `,
153
- config5
153
+ config
154
154
  );
155
155
  if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
156
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config5);
156
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
157
157
  await Promise.resolve(
158
- executorOptions.hooks.preProcess(tokenized, config5)
158
+ executorOptions.hooks.preProcess(tokenized, config)
159
159
  );
160
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config5);
160
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
161
161
  }
162
- const ret = executorFn(tokenized, context, config5);
162
+ const ret = executorFn(tokenized, context, config);
163
163
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
164
164
  const asyncGen = ret;
165
165
  for await (const iter of asyncGen) {
@@ -181,25 +181,25 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0,
181
181
  );
182
182
  }
183
183
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
184
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config5);
185
- await Promise.resolve(executorOptions.hooks.postProcess(config5));
186
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config5);
184
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
185
+ await Promise.resolve(executorOptions.hooks.postProcess(config));
186
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
187
187
  }
188
188
  _chunk2CDSXWFAjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
189
- `, config5);
189
+ `, config);
190
190
  return {
191
191
  success: true
192
192
  };
193
193
  } catch (error) {
194
194
  _chunk2CDSXWFAjs.writeFatal.call(void 0,
195
195
  "A fatal error occurred while running the executor - the process was forced to terminate",
196
- config5
196
+ config
197
197
  );
198
198
  _chunk2CDSXWFAjs.writeError.call(void 0,
199
199
  `An exception was thrown in the executor's process
200
200
  - Details: ${error.message}
201
201
  - Stacktrace: ${error.stack}`,
202
- config5
202
+ config
203
203
  );
204
204
  return {
205
205
  success: false
@@ -302,14 +302,14 @@ function cargoCommandSync(args = "", options) {
302
302
  }
303
303
  }
304
304
  function cargoMetadata() {
305
- const output3 = cargoCommandSync("metadata --format-version=1", {
305
+ const output2 = cargoCommandSync("metadata --format-version=1", {
306
306
  stdio: "pipe"
307
307
  });
308
- if (!output3.success) {
308
+ if (!output2.success) {
309
309
  console.error("Failed to get cargo metadata");
310
310
  return null;
311
311
  }
312
- return JSON.parse(output3.output);
312
+ return JSON.parse(output2.output);
313
313
  }
314
314
  function runProcess(processCmd, ...args) {
315
315
  const metadata = cargoMetadata();
@@ -476,7 +476,7 @@ var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_reso
476
476
  var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
477
477
  var _glob = require('glob');
478
478
  var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
479
- var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
479
+ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
480
480
  const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
481
481
  pendingAssets.push({
482
482
  input: projectRoot,
@@ -505,29 +505,29 @@ var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, ge
505
505
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
506
506
  `\u{1F4DD} Copying the following assets to the output directory:
507
507
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkDTVTFZ3Mjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
508
- config5
508
+ config
509
509
  );
510
510
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
511
511
  projectDir: projectRoot,
512
- rootDir: config5.workspaceRoot,
512
+ rootDir: config.workspaceRoot,
513
513
  outputDir: outputPath,
514
514
  assets: pendingAssets
515
515
  });
516
516
  await assetHandler.processAllAssetsOnce();
517
- _chunk2CDSXWFAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config5);
517
+ _chunk2CDSXWFAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
518
518
  if (includeSrc === true) {
519
519
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
520
520
  `\u{1F4DD} Adding banner and writing source files: ${_chunkDTVTFZ3Mjs.joinPaths.call(void 0,
521
521
  outputPath,
522
522
  "src"
523
523
  )}`,
524
- config5
524
+ config
525
525
  );
526
526
  const files = await _glob.glob.call(void 0, [
527
- _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.ts"),
528
- _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.tsx"),
529
- _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.js"),
530
- _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.jsx")
527
+ _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
528
+ _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
529
+ _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
530
+ _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
531
531
  ]);
532
532
  await Promise.allSettled(
533
533
  files.map(
@@ -1140,8 +1140,8 @@ async function build2(options) {
1140
1140
  }
1141
1141
 
1142
1142
  // ../workspace-tools/src/executors/esbuild/executor.ts
1143
- async function esbuildExecutorFn(options, context, config5) {
1144
- _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config5);
1143
+ async function esbuildExecutorFn(options, context, config) {
1144
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1145
1145
  if (!_optionalChain([context, 'access', _68 => _68.projectsConfigurations, 'optionalAccess', _69 => _69.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _70 => _70.projectsConfigurations, 'access', _71 => _71.projects, 'access', _72 => _72[context.projectName], 'optionalAccess', _73 => _73.root])) {
1146
1146
  throw new Error(
1147
1147
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1213,13 +1213,13 @@ var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDe
1213
1213
  var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
1214
1214
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
1215
1215
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
1216
- async function sizeLimitExecutorFn(options, context, config5) {
1216
+ async function sizeLimitExecutorFn(options, context, config) {
1217
1217
  if (!_optionalChain([context, 'optionalAccess', _82 => _82.projectName]) || !_optionalChain([context, 'access', _83 => _83.projectsConfigurations, 'optionalAccess', _84 => _84.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
1218
1218
  throw new Error(
1219
1219
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1220
1220
  );
1221
1221
  }
1222
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config5);
1222
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1223
1223
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
1224
1224
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _85 => _85.projectsConfigurations, 'access', _86 => _86.projects, 'access', _87 => _87[context.projectName], 'optionalAccess', _88 => _88.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
1225
1225
  _nullishCoalesce(_optionalChain([context, 'access', _89 => _89.projectsConfigurations, 'access', _90 => _90.projects, 'access', _91 => _91[context.projectName], 'optionalAccess', _92 => _92.root]), () => ( "./")),
@@ -1228,7 +1228,7 @@ async function sizeLimitExecutorFn(options, context, config5) {
1228
1228
  }).then((result) => {
1229
1229
  _chunk2CDSXWFAjs.writeInfo.call(void 0,
1230
1230
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1231
- config5
1231
+ config
1232
1232
  );
1233
1233
  });
1234
1234
  return {
@@ -1261,12 +1261,12 @@ var _tsdown = require('tsdown');
1261
1261
 
1262
1262
  // ../tsdown/src/clean.ts
1263
1263
 
1264
- async function cleanDirectories2(name = "TSDown", directory, config5) {
1264
+ async function cleanDirectories2(name = "TSDown", directory, config) {
1265
1265
  await _promises.rm.call(void 0, directory, { recursive: true, force: true });
1266
1266
  }
1267
1267
 
1268
1268
  // ../tsdown/src/config.ts
1269
- function getDefaultOptions(config5) {
1269
+ function getDefaultOptions(config) {
1270
1270
  return {
1271
1271
  entry: ["./src/*.ts"],
1272
1272
  platform: "node",
@@ -1279,7 +1279,7 @@ function getDefaultOptions(config5) {
1279
1279
  },
1280
1280
  publint: true,
1281
1281
  fixedExtension: true,
1282
- ...config5
1282
+ ...config
1283
1283
  };
1284
1284
  }
1285
1285
  function toTSDownFormat(format3) {
@@ -1540,8 +1540,8 @@ async function build3(options) {
1540
1540
  }
1541
1541
 
1542
1542
  // ../workspace-tools/src/executors/tsdown/executor.ts
1543
- async function tsdownExecutorFn(options, context, config5) {
1544
- _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config5);
1543
+ async function tsdownExecutorFn(options, context, config) {
1544
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1545
1545
  if (!_optionalChain([context, 'access', _95 => _95.projectsConfigurations, 'optionalAccess', _96 => _96.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _97 => _97.projectsConfigurations, 'access', _98 => _98.projects, 'access', _99 => _99[context.projectName], 'optionalAccess', _100 => _100.root])) {
1546
1546
  throw new Error(
1547
1547
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1581,14 +1581,14 @@ var executor_default8 = withRunExecutor(
1581
1581
  // ../workspace-tools/src/executors/typia/executor.ts
1582
1582
  var _fsextra = require('fs-extra');
1583
1583
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1584
- async function typiaExecutorFn(options, _, config5) {
1584
+ async function typiaExecutorFn(options, _, config) {
1585
1585
  if (options.clean !== false) {
1586
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config5);
1586
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1587
1587
  _fsextra.removeSync.call(void 0, options.outputPath);
1588
1588
  }
1589
1589
  await Promise.all(
1590
1590
  options.entry.map((entry) => {
1591
- _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config5);
1591
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1592
1592
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1593
1593
  input: entry,
1594
1594
  output: options.outputPath,
@@ -1620,8 +1620,8 @@ var executor_default9 = withRunExecutor(
1620
1620
  // ../workspace-tools/src/executors/unbuild/executor.ts
1621
1621
 
1622
1622
  var _jiti = require('jiti');
1623
- async function unbuildExecutorFn(options, context, config5) {
1624
- _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config5);
1623
+ async function unbuildExecutorFn(options, context, config) {
1624
+ _chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1625
1625
  if (!_optionalChain([context, 'access', _109 => _109.projectsConfigurations, 'optionalAccess', _110 => _110.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1626
1626
  throw new Error(
1627
1627
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1637,10 +1637,10 @@ async function unbuildExecutorFn(options, context, config5) {
1637
1637
  "The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory."
1638
1638
  );
1639
1639
  }
1640
- const jiti = _jiti.createJiti.call(void 0, config5.workspaceRoot, {
1641
- fsCache: config5.skipCache ? false : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
1642
- config5.workspaceRoot,
1643
- config5.directories.cache || "node_modules/.cache/storm",
1640
+ const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1641
+ fsCache: config.skipCache ? false : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
1642
+ config.workspaceRoot,
1643
+ config.directories.cache || "node_modules/.cache/storm",
1644
1644
  "jiti"
1645
1645
  ),
1646
1646
  interopDefault: true
@@ -1660,9 +1660,9 @@ async function unbuildExecutorFn(options, context, config5) {
1660
1660
  {
1661
1661
  stubOptions: {
1662
1662
  jiti: {
1663
- fsCache: config5.skipCache ? false : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
1664
- config5.workspaceRoot,
1665
- config5.directories.cache || "node_modules/.cache/storm",
1663
+ fsCache: config.skipCache ? false : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
1664
+ config.workspaceRoot,
1665
+ config.directories.cache || "node_modules/.cache/storm",
1666
1666
  "jiti"
1667
1667
  )
1668
1668
  }
@@ -1695,7 +1695,7 @@ var executor_default10 = withRunExecutor(
1695
1695
  {
1696
1696
  skipReadingConfig: false,
1697
1697
  hooks: {
1698
- applyDefaultOptions: async (options, config5) => {
1698
+ applyDefaultOptions: async (options, config) => {
1699
1699
  options.debug ??= false;
1700
1700
  options.treeShaking ??= true;
1701
1701
  options.buildOnly ??= false;
@@ -1722,46 +1722,46 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
1722
1722
  }) => async (tree, _options) => {
1723
1723
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, name);
1724
1724
  let options = _options;
1725
- let config5;
1725
+ let config;
1726
1726
  try {
1727
1727
  _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1728
1728
 
1729
- `, config5);
1729
+ `, config);
1730
1730
  const workspaceRoot3 = _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, );
1731
1731
  if (!generatorOptions.skipReadingConfig) {
1732
1732
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
1733
1733
  `Loading the Storm Config from environment variables and storm.config.js file...
1734
1734
  - workspaceRoot: ${workspaceRoot3}`,
1735
- config5
1735
+ config
1736
1736
  );
1737
- config5 = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot3);
1737
+ config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot3);
1738
1738
  }
1739
1739
  if (_optionalChain([generatorOptions, 'optionalAccess', _111 => _111.hooks, 'optionalAccess', _112 => _112.applyDefaultOptions])) {
1740
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config5);
1740
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1741
1741
  options = await Promise.resolve(
1742
- generatorOptions.hooks.applyDefaultOptions(options, config5)
1742
+ generatorOptions.hooks.applyDefaultOptions(options, config)
1743
1743
  );
1744
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config5);
1744
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1745
1745
  }
1746
1746
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
1747
1747
  `Generator schema options \u2699\uFE0F
1748
1748
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1749
- config5
1749
+ config
1750
1750
  );
1751
1751
  const tokenized = await applyWorkspaceTokens(
1752
1752
  options,
1753
- { workspaceRoot: tree.root, config: config5 },
1753
+ { workspaceRoot: tree.root, config },
1754
1754
  applyWorkspaceBaseTokens
1755
1755
  );
1756
1756
  if (_optionalChain([generatorOptions, 'optionalAccess', _113 => _113.hooks, 'optionalAccess', _114 => _114.preProcess])) {
1757
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config5);
1757
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1758
1758
  await Promise.resolve(
1759
- generatorOptions.hooks.preProcess(tokenized, config5)
1759
+ generatorOptions.hooks.preProcess(tokenized, config)
1760
1760
  );
1761
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config5);
1761
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1762
1762
  }
1763
1763
  const result = await Promise.resolve(
1764
- generatorFn(tree, tokenized, config5)
1764
+ generatorFn(tree, tokenized, config)
1765
1765
  );
1766
1766
  if (result) {
1767
1767
  if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _115 => _115.error, 'optionalAccess', _116 => _116.message]) && typeof _optionalChain([result, 'optionalAccess', _117 => _117.error, 'optionalAccess', _118 => _118.message]) === "string" && _optionalChain([result, 'optionalAccess', _119 => _119.error, 'optionalAccess', _120 => _120.name]) && typeof _optionalChain([result, 'optionalAccess', _121 => _121.error, 'optionalAccess', _122 => _122.name]) === "string") {
@@ -1773,25 +1773,25 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1773
1773
  }
1774
1774
  }
1775
1775
  if (_optionalChain([generatorOptions, 'optionalAccess', _124 => _124.hooks, 'optionalAccess', _125 => _125.postProcess])) {
1776
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config5);
1777
- await Promise.resolve(generatorOptions.hooks.postProcess(config5));
1778
- _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config5);
1776
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1777
+ await Promise.resolve(generatorOptions.hooks.postProcess(config));
1778
+ _chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1779
1779
  }
1780
1780
  return () => {
1781
1781
  _chunk2CDSXWFAjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1782
- `, config5);
1782
+ `, config);
1783
1783
  };
1784
1784
  } catch (error) {
1785
1785
  return () => {
1786
1786
  _chunk2CDSXWFAjs.writeFatal.call(void 0,
1787
1787
  "A fatal error occurred while running the generator - the process was forced to terminate",
1788
- config5
1788
+ config
1789
1789
  );
1790
1790
  _chunk2CDSXWFAjs.writeError.call(void 0,
1791
1791
  `An exception was thrown in the generator's process
1792
1792
  - Details: ${error.message}
1793
1793
  - Stacktrace: ${error.stack}`,
1794
- config5
1794
+ config
1795
1795
  );
1796
1796
  };
1797
1797
  } finally {
@@ -1827,7 +1827,7 @@ var nodeVersion = "20.11.0";
1827
1827
  var pnpmVersion = "8.10.2";
1828
1828
 
1829
1829
  // ../workspace-tools/src/base/typescript-library-generator.ts
1830
- async function typeScriptLibraryGeneratorFn(tree, options, config5) {
1830
+ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1831
1831
  const normalized = await normalizeOptions(tree, { ...options });
1832
1832
  const tasks = [];
1833
1833
  tasks.push(
@@ -1904,7 +1904,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
1904
1904
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
1905
1905
  let repository = {
1906
1906
  type: "github",
1907
- url: _optionalChain([config5, 'optionalAccess', _126 => _126.repository]) || `https://github.com/${(typeof _optionalChain([config5, 'optionalAccess', _127 => _127.organization]) === "string" ? _optionalChain([config5, 'optionalAccess', _128 => _128.organization]) : _optionalChain([config5, 'optionalAccess', _129 => _129.organization, 'optionalAccess', _130 => _130.name])) || "storm-software"}/${_optionalChain([config5, 'optionalAccess', _131 => _131.namespace]) || _optionalChain([config5, 'optionalAccess', _132 => _132.name]) || "repository"}.git`
1907
+ url: _optionalChain([config, 'optionalAccess', _126 => _126.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _127 => _127.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _128 => _128.organization]) : _optionalChain([config, 'optionalAccess', _129 => _129.organization, 'optionalAccess', _130 => _130.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _131 => _131.namespace]) || _optionalChain([config, 'optionalAccess', _132 => _132.name]) || "repository"}.git`
1908
1908
  };
1909
1909
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
1910
1910
  if (tree.exists("package.json")) {
@@ -2050,10 +2050,10 @@ function createProjectTsConfigJson(tree, options) {
2050
2050
  };
2051
2051
  _devkit.writeJson.call(void 0, tree, _chunkDTVTFZ3Mjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2052
2052
  }
2053
- async function normalizeOptions(tree, options, config5) {
2053
+ async function normalizeOptions(tree, options, config) {
2054
2054
  let importPath = options.importPath;
2055
- if (!importPath && _optionalChain([config5, 'optionalAccess', _149 => _149.namespace])) {
2056
- importPath = `@${_optionalChain([config5, 'optionalAccess', _150 => _150.namespace])}/${options.name}`;
2055
+ if (!importPath && _optionalChain([config, 'optionalAccess', _149 => _149.namespace])) {
2056
+ importPath = `@${_optionalChain([config, 'optionalAccess', _150 => _150.namespace])}/${options.name}`;
2057
2057
  }
2058
2058
  if (options.publishable) {
2059
2059
  if (!importPath) {
@@ -2112,7 +2112,7 @@ async function normalizeOptions(tree, options, config5) {
2112
2112
  }
2113
2113
 
2114
2114
  // ../workspace-tools/src/generators/browser-library/generator.ts
2115
- async function browserLibraryGeneratorFn(tree, schema, config5) {
2115
+ async function browserLibraryGeneratorFn(tree, schema, config) {
2116
2116
  const filesDir = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
2117
2117
  __dirname,
2118
2118
  "src",
@@ -2174,7 +2174,7 @@ async function browserLibraryGeneratorFn(tree, schema, config5) {
2174
2174
  }
2175
2175
  }
2176
2176
  });
2177
- await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config5);
2177
+ await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config);
2178
2178
  await _devkit.formatFiles.call(void 0, tree);
2179
2179
  return null;
2180
2180
  }
@@ -2195,14 +2195,14 @@ var generator_default = withRunGenerator(
2195
2195
  // ../workspace-tools/src/generators/config-schema/generator.ts
2196
2196
 
2197
2197
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
2198
- async function configSchemaGeneratorFn(tree, options, config5) {
2198
+ async function configSchemaGeneratorFn(tree, options, config) {
2199
2199
  _chunk2CDSXWFAjs.writeInfo.call(void 0,
2200
2200
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
2201
- config5
2201
+ config
2202
2202
  );
2203
2203
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
2204
2204
  `Determining the Storm Workspace Configuration JSON Schema...`,
2205
- config5
2205
+ config
2206
2206
  );
2207
2207
  const jsonSchema = z.toJSONSchema(_chunkDTVTFZ3Mjs.workspaceConfigSchema, {
2208
2208
  target: "draft-7",
@@ -2211,25 +2211,25 @@ async function configSchemaGeneratorFn(tree, options, config5) {
2211
2211
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
2212
2212
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
2213
2213
  jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
2214
- _chunk2CDSXWFAjs.writeTrace.call(void 0, jsonSchema, config5);
2214
+ _chunk2CDSXWFAjs.writeTrace.call(void 0, jsonSchema, config);
2215
2215
  if (!options.outputFile) {
2216
2216
  throw new Error(
2217
2217
  "The `outputFile` option is required. Please specify the output file path."
2218
2218
  );
2219
2219
  }
2220
2220
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
2221
- _nullishCoalesce(_optionalChain([config5, 'optionalAccess', _151 => _151.workspaceRoot]), () => ( _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, ))),
2221
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _151 => _151.workspaceRoot]), () => ( _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, ))),
2222
2222
  options.outputFile.startsWith("./") ? "" : "./"
2223
2223
  );
2224
2224
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
2225
2225
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
2226
- config5
2226
+ config
2227
2227
  );
2228
2228
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
2229
2229
  await _devkit.formatFiles.call(void 0, tree);
2230
2230
  _chunk2CDSXWFAjs.writeSuccess.call(void 0,
2231
2231
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
2232
- config5
2232
+ config
2233
2233
  );
2234
2234
  return {
2235
2235
  success: true
@@ -2261,7 +2261,7 @@ var generator_default2 = withRunGenerator(
2261
2261
 
2262
2262
 
2263
2263
 
2264
- async function neutralLibraryGeneratorFn(tree, schema, config5) {
2264
+ async function neutralLibraryGeneratorFn(tree, schema, config) {
2265
2265
  const filesDir = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
2266
2266
  __dirname,
2267
2267
  "src",
@@ -2295,7 +2295,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config5) {
2295
2295
  buildable: options.bundler && options.bundler !== "none",
2296
2296
  hasUnitTestRunner: options.unitTestRunner !== "none"
2297
2297
  });
2298
- await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config5);
2298
+ await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config);
2299
2299
  await _devkit.formatFiles.call(void 0, tree);
2300
2300
  return null;
2301
2301
  }
@@ -2320,7 +2320,7 @@ var generator_default3 = withRunGenerator(
2320
2320
 
2321
2321
 
2322
2322
 
2323
- async function nodeLibraryGeneratorFn(tree, schema, config5) {
2323
+ async function nodeLibraryGeneratorFn(tree, schema, config) {
2324
2324
  const filesDir = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
2325
2325
  __dirname,
2326
2326
  "src",
@@ -2356,7 +2356,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config5) {
2356
2356
  buildable: options.bundler && options.bundler !== "none",
2357
2357
  hasUnitTestRunner: options.unitTestRunner !== "none"
2358
2358
  });
2359
- await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config5);
2359
+ await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config);
2360
2360
  await _devkit.formatFiles.call(void 0, tree);
2361
2361
  return null;
2362
2362
  }
@@ -2612,402 +2612,6 @@ var generator_default5 = withRunGenerator(
2612
2612
  presetGeneratorFn
2613
2613
  );
2614
2614
 
2615
- // ../workspace-tools/src/generators/release-version/generator.ts
2616
-
2617
-
2618
-
2619
-
2620
-
2621
-
2622
-
2623
-
2624
- var _resolvelocalpackagedependencies = require('@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies');
2625
- var _updatelockfile = require('@nx/js/src/release/utils/update-lock-file');
2626
-
2627
- // ../git-tools/dist/chunk-5XU2KBM6.js
2628
- var DEFAULT_COMMIT_PROMPT_MESSAGES = {
2629
- skip: "press enter to skip",
2630
- max: "must be %d chars at most",
2631
- min: "must be %d chars at least",
2632
- emptyWarning: "can not be empty",
2633
- upperLimitWarning: "%s is %d characters longer than the upper limit",
2634
- lowerLimitWarning: "%s is %d characters less than the lower limit",
2635
- closedIssueMessage: "Closes: "
2636
- };
2637
-
2638
- // ../git-tools/dist/chunk-3GGWHKRP.js
2639
- var DEFAULT_COMMIT_TYPES = {
2640
- /* --- Bumps version when selected --- */
2641
- "chore": {
2642
- "description": "Other changes that don't modify src or test files",
2643
- "title": "Chore",
2644
- "emoji": "\u2699\uFE0F ",
2645
- "semverBump": "patch",
2646
- "changelog": {
2647
- "title": "Miscellaneous",
2648
- "hidden": false
2649
- }
2650
- },
2651
- "fix": {
2652
- "description": "A change that resolves an issue previously identified with the package",
2653
- "title": "Bug Fix",
2654
- "emoji": "\u{1FAB2} ",
2655
- "semverBump": "patch",
2656
- "changelog": {
2657
- "title": "Bug Fixes",
2658
- "hidden": false
2659
- }
2660
- },
2661
- "feat": {
2662
- "description": "A change that adds a new feature to the package",
2663
- "title": "Feature",
2664
- "emoji": "\u{1F511} ",
2665
- "semverBump": "minor",
2666
- "changelog": {
2667
- "title": "Features",
2668
- "hidden": false
2669
- }
2670
- },
2671
- "ci": {
2672
- "description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
2673
- "title": "Continuous Integration",
2674
- "emoji": "\u{1F9F0} ",
2675
- "semverBump": "patch",
2676
- "changelog": {
2677
- "title": "Continuous Integration",
2678
- "hidden": false
2679
- }
2680
- },
2681
- "refactor": {
2682
- "description": "A code change that neither fixes a bug nor adds a feature",
2683
- "title": "Code Refactoring",
2684
- "emoji": "\u{1F9EA} ",
2685
- "semverBump": "patch",
2686
- "changelog": {
2687
- "title": "Source Code Improvements",
2688
- "hidden": false
2689
- }
2690
- },
2691
- "style": {
2692
- "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
2693
- "title": "Style Improvements",
2694
- "emoji": "\u{1F48E} ",
2695
- "semverBump": "patch",
2696
- "changelog": {
2697
- "title": "Style Improvements",
2698
- "hidden": false
2699
- }
2700
- },
2701
- "perf": {
2702
- "description": "A code change that improves performance",
2703
- "title": "Performance Improvement",
2704
- "emoji": "\u23F1\uFE0F ",
2705
- "semverBump": "patch",
2706
- "changelog": {
2707
- "title": "Performance Improvements",
2708
- "hidden": false
2709
- }
2710
- },
2711
- /* --- Does not bump version when selected --- */
2712
- "docs": {
2713
- "description": "A change that only includes documentation updates",
2714
- "title": "Documentation",
2715
- "emoji": "\u{1F4DC} ",
2716
- "semverBump": "none",
2717
- "changelog": {
2718
- "title": "Documentation",
2719
- "hidden": false
2720
- }
2721
- },
2722
- "test": {
2723
- "description": "Adding missing tests or correcting existing tests",
2724
- "title": "Testing",
2725
- "emoji": "\u{1F6A8} ",
2726
- "semverBump": "none",
2727
- "changelog": {
2728
- "title": "Testing",
2729
- "hidden": true
2730
- }
2731
- },
2732
- /* --- Not included in commitlint but included in changelog --- */
2733
- "deps": {
2734
- "description": "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
2735
- "title": "Dependencies",
2736
- "emoji": "\u{1F4E6} ",
2737
- "hidden": true,
2738
- "semverBump": "patch",
2739
- "changelog": {
2740
- "title": "Dependency Upgrades",
2741
- "hidden": false
2742
- }
2743
- },
2744
- /* --- Not included in commitlint or changelog --- */
2745
- "build": {
2746
- "description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
2747
- "title": "Build",
2748
- "emoji": "\u{1F6E0} ",
2749
- "hidden": true,
2750
- "semverBump": "none",
2751
- "changelog": {
2752
- "title": "Build",
2753
- "hidden": true
2754
- }
2755
- },
2756
- "release": {
2757
- "description": "Publishing a commit containing a newly released version",
2758
- "title": "Publish Release",
2759
- "emoji": "\u{1F680} ",
2760
- "hidden": true,
2761
- "semverBump": "none",
2762
- "changelog": {
2763
- "title": "Publish Release",
2764
- "hidden": true
2765
- }
2766
- }
2767
- };
2768
- var CHANGELOG_COMMIT_TYPES_OBJECT = Object.freeze(
2769
- Object.entries(DEFAULT_COMMIT_TYPES).reduce(
2770
- (ret, [key, commitType]) => {
2771
- ret[key] = {
2772
- ...commitType.changelog,
2773
- type: key,
2774
- section: _optionalChain([commitType, 'access', _152 => _152.changelog, 'optionalAccess', _153 => _153.title]) || commitType.title,
2775
- hidden: _optionalChain([commitType, 'access', _154 => _154.changelog, 'optionalAccess', _155 => _155.hidden])
2776
- };
2777
- return ret;
2778
- },
2779
- {}
2780
- )
2781
- );
2782
- var CHANGELOG_COMMIT_TYPES = [
2783
- CHANGELOG_COMMIT_TYPES_OBJECT.feat,
2784
- CHANGELOG_COMMIT_TYPES_OBJECT.fix,
2785
- CHANGELOG_COMMIT_TYPES_OBJECT.chore,
2786
- CHANGELOG_COMMIT_TYPES_OBJECT.deps,
2787
- CHANGELOG_COMMIT_TYPES_OBJECT.docs,
2788
- CHANGELOG_COMMIT_TYPES_OBJECT.style,
2789
- CHANGELOG_COMMIT_TYPES_OBJECT.refactor,
2790
- CHANGELOG_COMMIT_TYPES_OBJECT.perf,
2791
- CHANGELOG_COMMIT_TYPES_OBJECT.build,
2792
- CHANGELOG_COMMIT_TYPES_OBJECT.ci,
2793
- CHANGELOG_COMMIT_TYPES_OBJECT.test
2794
- ];
2795
- var CHANGELOG_COMMIT_TYPE_ORDER = CHANGELOG_COMMIT_TYPES.map(
2796
- (entry) => entry.type
2797
- );
2798
- var CHANGELOG_COMMIT_SECTION_ORDER = CHANGELOG_COMMIT_TYPES.map(
2799
- (entry) => entry.section
2800
- );
2801
- var changelogs = {
2802
- props: {
2803
- ignoreCommits: void 0,
2804
- types: CHANGELOG_COMMIT_TYPES,
2805
- bumpStrict: true,
2806
- scope: void 0,
2807
- scopeOnly: false
2808
- }
2809
- };
2810
- var commitlint = {
2811
- helpUrl: "https://developer.stormsoftware.com/commitlint/minimal",
2812
- rules: {
2813
- "body-leading-blank": [1, "always"],
2814
- "body-max-length": [2, "always", 600],
2815
- "footer-leading-blank": [1, "always"],
2816
- "footer-max-line-length": [2, "always", 150],
2817
- "header-max-length": [2, "always", 150],
2818
- "header-trim": [2, "always"],
2819
- "subject-case": [2, "always", ["sentence-case"]],
2820
- "subject-empty": [2, "never"],
2821
- "subject-full-stop": [2, "never", "."],
2822
- "subject-max-length": [2, "always", 150],
2823
- "subject-min-length": [2, "always", 3],
2824
- "type-case": [2, "always", "kebab-case"],
2825
- "type-empty": [2, "never"],
2826
- "type-enum": [
2827
- 2,
2828
- "always",
2829
- Object.keys(DEFAULT_COMMIT_TYPES)
2830
- ],
2831
- "type-max-length": [2, "always", 20],
2832
- "type-min-length": [2, "always", 3],
2833
- "scope-empty": [2, "always"]
2834
- },
2835
- settings: {
2836
- enableMultipleScopes: false,
2837
- disableEmoji: true,
2838
- breakingChangePrefix: "\u{1F4A3} ",
2839
- closedIssuePrefix: "\u2705 ",
2840
- format: "{type}: {emoji}{subject}"
2841
- }
2842
- };
2843
- var config = {
2844
- types: DEFAULT_COMMIT_TYPES,
2845
- changelogs,
2846
- commitlint
2847
- };
2848
- var minimal_default = config;
2849
- var changelogs2 = {
2850
- props: {
2851
- ignoreCommits: void 0,
2852
- types: CHANGELOG_COMMIT_TYPES,
2853
- bumpStrict: true,
2854
- scope: ["monorepo"],
2855
- scopeOnly: true
2856
- }
2857
- };
2858
- var commitlint2 = {
2859
- helpUrl: "https://developer.stormsoftware.com/commitlint/monorepo",
2860
- rules: {
2861
- "body-leading-blank": [1, "always"],
2862
- "body-max-length": [2, "always", 600],
2863
- "footer-leading-blank": [1, "always"],
2864
- "footer-max-line-length": [2, "always", 150],
2865
- "header-max-length": [2, "always", 150],
2866
- "header-trim": [2, "always"],
2867
- "subject-case": [2, "always", ["sentence-case"]],
2868
- "subject-empty": [2, "never"],
2869
- "subject-full-stop": [2, "never", "."],
2870
- "subject-max-length": [2, "always", 150],
2871
- "subject-min-length": [2, "always", 3],
2872
- "type-case": [2, "always", "kebab-case"],
2873
- "type-empty": [2, "never"],
2874
- "type-enum": [
2875
- 2,
2876
- "always",
2877
- Object.keys(DEFAULT_COMMIT_TYPES)
2878
- ],
2879
- "type-max-length": [2, "always", 20],
2880
- "type-min-length": [2, "always", 3],
2881
- "scope-case": [2, "always", ["kebab-case"]],
2882
- "scope-empty": [2, "never"]
2883
- },
2884
- settings: {
2885
- enableMultipleScopes: false,
2886
- disableEmoji: true,
2887
- breakingChangePrefix: "\u{1F4A3} ",
2888
- closedIssuePrefix: "\u2705 ",
2889
- format: "{type}({scope}): {emoji}{subject}"
2890
- }
2891
- };
2892
- var config2 = {
2893
- types: DEFAULT_COMMIT_TYPES,
2894
- changelogs: changelogs2,
2895
- commitlint: commitlint2
2896
- };
2897
- var monorepo_default = config2;
2898
- var COMMIT_CONFIGS = { minimal: minimal_default, monorepo: monorepo_default };
2899
-
2900
- // ../git-tools/dist/chunk-KZRVQ5RZ.js
2901
- var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
2902
- type: {
2903
- type: "select",
2904
- title: "Commit Type",
2905
- description: "Select the commit type that best describes your changes",
2906
- enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
2907
- (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
2908
- ).reduce((ret, type) => {
2909
- ret[type] = DEFAULT_COMMIT_TYPES[type];
2910
- return ret;
2911
- }, {}),
2912
- defaultValue: "chore",
2913
- maxLength: 20,
2914
- minLength: 3
2915
- },
2916
- subject: {
2917
- type: "input",
2918
- title: "Commit Subject",
2919
- description: "Write a short, imperative tense description of the change",
2920
- maxLength: 150,
2921
- minLength: 3
2922
- },
2923
- body: {
2924
- type: "input",
2925
- title: "Commit Body",
2926
- description: "Provide a longer description of the change",
2927
- maxLength: 600
2928
- },
2929
- isBreaking: {
2930
- type: "confirm",
2931
- title: "Breaking Changes",
2932
- description: "Are there any breaking changes as a result of this commit?",
2933
- defaultValue: false
2934
- },
2935
- breakingBody: {
2936
- type: "input",
2937
- title: "Breaking Changes (Details)",
2938
- description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself",
2939
- when: (answers) => answers.isBreaking === true,
2940
- maxLength: 600,
2941
- minLength: 3
2942
- },
2943
- isIssueAffected: {
2944
- type: "confirm",
2945
- title: "Open Issue Affected",
2946
- description: "Does this change impact any open issues?",
2947
- defaultValue: false
2948
- },
2949
- issuesBody: {
2950
- type: "input",
2951
- title: "Open Issue Affected (Details)",
2952
- description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself",
2953
- when: (answers) => answers.isIssueAffected === true,
2954
- maxLength: 600,
2955
- minLength: 3
2956
- }
2957
- };
2958
- var config3 = {
2959
- settings: COMMIT_CONFIGS.minimal.commitlint.settings,
2960
- messages: DEFAULT_COMMIT_PROMPT_MESSAGES,
2961
- questions: DEFAULT_MINIMAL_COMMIT_QUESTIONS,
2962
- types: DEFAULT_COMMIT_TYPES
2963
- };
2964
-
2965
- // ../git-tools/dist/chunk-JCEVFJCA.js
2966
- var DEFAULT_MONOREPO_COMMIT_QUESTIONS = {
2967
- type: DEFAULT_MINIMAL_COMMIT_QUESTIONS.type,
2968
- scope: {
2969
- type: "select",
2970
- title: "Commit Scope",
2971
- description: "Select the project that's the most impacted by this change",
2972
- enum: {},
2973
- defaultValue: "monorepo",
2974
- maxLength: 50,
2975
- minLength: 1
2976
- },
2977
- subject: DEFAULT_MINIMAL_COMMIT_QUESTIONS.subject,
2978
- body: DEFAULT_MINIMAL_COMMIT_QUESTIONS.body,
2979
- isBreaking: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isBreaking,
2980
- breakingBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.breakingBody,
2981
- isIssueAffected: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isIssueAffected,
2982
- issuesBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.issuesBody
2983
- };
2984
- var config4 = {
2985
- settings: COMMIT_CONFIGS.monorepo.commitlint.settings,
2986
- messages: DEFAULT_COMMIT_PROMPT_MESSAGES,
2987
- questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
2988
- types: DEFAULT_COMMIT_TYPES
2989
- };
2990
-
2991
- // ../workspace-tools/src/generators/release-version/generator.ts
2992
-
2993
-
2994
- var _config = require('nx/src/command-line/release/config/config');
2995
-
2996
-
2997
-
2998
- var _git = require('nx/src/command-line/release/utils/git');
2999
-
3000
-
3001
-
3002
- var _resolvesemverspecifier = require('nx/src/command-line/release/utils/resolve-semver-specifier');
3003
- var _semver3 = require('nx/src/command-line/release/utils/semver');
3004
-
3005
-
3006
-
3007
- var _versionlegacy = require('nx/src/command-line/release/version-legacy');
3008
- var _utils = require('nx/src/tasks-runner/utils');
3009
-
3010
-
3011
2615
  // ../workspace-tools/src/base/base-executor.untyped.ts
3012
2616
  var _untyped = require('untyped');
3013
2617
  var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
@@ -3372,6 +2976,18 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3372
2976
  }
3373
2977
  });
3374
2978
 
2979
+ // ../workspace-tools/src/release/js-version-actions.ts
2980
+ var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
2981
+
2982
+ // ../workspace-tools/src/release/rust-version-actions.ts
2983
+
2984
+
2985
+
2986
+ var _release = require('nx/release');
2987
+
2988
+ // ../workspace-tools/src/utils/registry-helpers.ts
2989
+
2990
+
3375
2991
  // ../workspace-tools/src/utils/get-project-configurations.ts
3376
2992
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
3377
2993