@storm-software/workspace-tools 1.289.3 → 1.290.0

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 (80) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -1
  3. package/dist/{chunk-JXPBXBVT.mjs → chunk-M3HC5OLX.mjs} +178 -70
  4. package/dist/{chunk-QFSU34UE.mjs → chunk-NMQP6WEB.mjs} +1 -1
  5. package/dist/{chunk-2AMDW3YQ.mjs → chunk-O6WPJVUK.mjs} +1 -1
  6. package/dist/{chunk-YFBXGVV7.mjs → chunk-S2N7LJJH.mjs} +1 -1
  7. package/dist/{chunk-LRNWFATF.mjs → chunk-SIJTE7Y2.mjs} +1 -1
  8. package/dist/{chunk-BSC56LZT.mjs → chunk-W2A22QES.mjs} +1 -1
  9. package/dist/{chunk-2AWJ2YR5.js → chunk-ZDIU6OXP.js} +184 -76
  10. package/dist/executors.mjs +1 -1
  11. package/dist/generators.js +2 -2
  12. package/dist/generators.mjs +6 -6
  13. package/dist/index.js +2 -2
  14. package/dist/index.mjs +6 -6
  15. package/dist/src/base/base-executor.mjs +1 -1
  16. package/dist/src/base/base-executor.untyped.mjs +1 -1
  17. package/dist/src/base/base-generator.mjs +1 -1
  18. package/dist/src/base/base-generator.untyped.mjs +1 -1
  19. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  20. package/dist/src/base/index.mjs +1 -1
  21. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  22. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  23. package/dist/src/executors/cargo-build/executor.mjs +1 -1
  24. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  25. package/dist/src/executors/cargo-check/executor.mjs +1 -1
  26. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  27. package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
  28. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  29. package/dist/src/executors/cargo-doc/executor.mjs +1 -1
  30. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  31. package/dist/src/executors/cargo-format/executor.mjs +1 -1
  32. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  33. package/dist/src/executors/cargo-publish/executor.mjs +1 -1
  34. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  35. package/dist/src/executors/clean-package/executor.mjs +1 -1
  36. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  37. package/dist/src/executors/esbuild/executor.mjs +1 -1
  38. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  39. package/dist/src/executors/npm-publish/executor.mjs +1 -1
  40. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  41. package/dist/src/executors/size-limit/executor.mjs +1 -1
  42. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  43. package/dist/src/executors/typia/executor.mjs +1 -1
  44. package/dist/src/executors/typia/untyped.mjs +1 -1
  45. package/dist/src/executors/unbuild/executor.mjs +1 -1
  46. package/dist/src/executors/unbuild/untyped.mjs +1 -1
  47. package/dist/src/generators/browser-library/generator.mjs +2 -2
  48. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  49. package/dist/src/generators/config-schema/generator.mjs +1 -1
  50. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  51. package/dist/src/generators/init/init.mjs +1 -1
  52. package/dist/src/generators/init/untyped.mjs +1 -1
  53. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  54. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  55. package/dist/src/generators/node-library/generator.mjs +2 -2
  56. package/dist/src/generators/node-library/untyped.mjs +1 -1
  57. package/dist/src/generators/preset/generator.mjs +2 -2
  58. package/dist/src/generators/preset/untyped.mjs +1 -1
  59. package/dist/src/generators/release-version/generator.js +2 -2
  60. package/dist/src/generators/release-version/generator.mjs +2 -2
  61. package/dist/src/generators/release-version/untyped.mjs +1 -1
  62. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  63. package/dist/src/plugins/rust/index.mjs +1 -1
  64. package/dist/src/plugins/typescript/index.mjs +1 -1
  65. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  66. package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
  67. package/dist/src/types.mjs +1 -1
  68. package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
  69. package/dist/src/utils/cargo.mjs +1 -1
  70. package/dist/src/utils/create-cli-options.mjs +1 -1
  71. package/dist/src/utils/get-project-configurations.mjs +1 -1
  72. package/dist/src/utils/index.mjs +1 -1
  73. package/dist/src/utils/lock-file.mjs +1 -1
  74. package/dist/src/utils/nx-json.mjs +1 -1
  75. package/dist/src/utils/package-helpers.mjs +1 -1
  76. package/dist/src/utils/plugin-helpers.mjs +1 -1
  77. package/dist/src/utils/project-tags.mjs +1 -1
  78. package/dist/src/utils/typia-transform.mjs +1 -1
  79. package/dist/src/utils/versions.mjs +1 -1
  80. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.289.4](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.4) (2025-09-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([4ecf1952d](https://github.com/storm-software/storm-ops/commit/4ecf1952d))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated pnpm-tools to 0.3.4
15
+ - Updated npm-tools to 0.3.4
16
+ - Updated prettier to 0.55.4
17
+ - Updated esbuild to 0.51.4
18
+ - Updated unbuild to 0.55.4
19
+
20
+ ## [1.289.3](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.3) (2025-09-18)
21
+
22
+ ### Miscellaneous
23
+
24
+ - **monorepo:** Update workspace package links
25
+ ([5fc0b1cec](https://github.com/storm-software/storm-ops/commit/5fc0b1cec))
26
+
27
+ ### Updated Dependencies
28
+
29
+ - Updated pnpm-tools to 0.3.3
30
+ - Updated npm-tools to 0.3.3
31
+ - Updated prettier to 0.55.3
32
+ - Updated esbuild to 0.51.3
33
+ - Updated unbuild to 0.55.3
34
+
5
35
  ## [1.289.2](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.2) (2025-09-18)
6
36
 
7
37
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.289.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.289.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Workspace Tools](#storm-workspace-tools)
@@ -39,8 +39,19 @@ import {
39
39
  import { resolveLocalPackageDependencies as resolveLocalPackageJsonDependencies } from "@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies";
40
40
  import { updateLockFile } from "@nx/js/src/release/utils/update-lock-file";
41
41
 
42
- // ../git-tools/dist/chunk-GRCMQK4Q.js
43
- var COMMIT_TYPES = {
42
+ // ../git-tools/dist/chunk-5XU2KBM6.js
43
+ var DEFAULT_COMMIT_PROMPT_MESSAGES = {
44
+ skip: "press enter to skip",
45
+ max: "must be %d chars at most",
46
+ min: "must be %d chars at least",
47
+ emptyWarning: "can not be empty",
48
+ upperLimitWarning: "%s is %d characters longer than the upper limit",
49
+ lowerLimitWarning: "%s is %d characters less than the lower limit",
50
+ closedIssueMessage: "Closes: "
51
+ };
52
+
53
+ // ../git-tools/dist/chunk-3GGWHKRP.js
54
+ var DEFAULT_COMMIT_TYPES = {
44
55
  /* --- Bumps version when selected --- */
45
56
  "chore": {
46
57
  "description": "Other changes that don't modify src or test files",
@@ -169,15 +180,148 @@ var COMMIT_TYPES = {
169
180
  }
170
181
  }
171
182
  };
183
+ var CHANGELOG_COMMIT_TYPES_OBJECT = Object.freeze(
184
+ Object.entries(DEFAULT_COMMIT_TYPES).reduce(
185
+ (ret, [key, commitType]) => {
186
+ ret[key] = {
187
+ ...commitType.changelog,
188
+ type: key,
189
+ section: commitType.changelog?.title || commitType.title,
190
+ hidden: commitType.changelog?.hidden
191
+ };
192
+ return ret;
193
+ },
194
+ {}
195
+ )
196
+ );
197
+ var CHANGELOG_COMMIT_TYPES = [
198
+ CHANGELOG_COMMIT_TYPES_OBJECT.feat,
199
+ CHANGELOG_COMMIT_TYPES_OBJECT.fix,
200
+ CHANGELOG_COMMIT_TYPES_OBJECT.chore,
201
+ CHANGELOG_COMMIT_TYPES_OBJECT.deps,
202
+ CHANGELOG_COMMIT_TYPES_OBJECT.docs,
203
+ CHANGELOG_COMMIT_TYPES_OBJECT.style,
204
+ CHANGELOG_COMMIT_TYPES_OBJECT.refactor,
205
+ CHANGELOG_COMMIT_TYPES_OBJECT.perf,
206
+ CHANGELOG_COMMIT_TYPES_OBJECT.build,
207
+ CHANGELOG_COMMIT_TYPES_OBJECT.ci,
208
+ CHANGELOG_COMMIT_TYPES_OBJECT.test
209
+ ];
210
+ var CHANGELOG_COMMIT_TYPE_ORDER = CHANGELOG_COMMIT_TYPES.map(
211
+ (entry) => entry.type
212
+ );
213
+ var CHANGELOG_COMMIT_SECTION_ORDER = CHANGELOG_COMMIT_TYPES.map(
214
+ (entry) => entry.section
215
+ );
216
+ var changelogs = {
217
+ props: {
218
+ ignoreCommits: void 0,
219
+ types: CHANGELOG_COMMIT_TYPES,
220
+ bumpStrict: true,
221
+ scope: void 0,
222
+ scopeOnly: false
223
+ }
224
+ };
225
+ var commitlint = {
226
+ helpUrl: "https://developer.stormsoftware.com/commitlint/minimal",
227
+ rules: {
228
+ "body-leading-blank": [1, "always"],
229
+ "body-max-length": [2, "always", 600],
230
+ "footer-leading-blank": [1, "always"],
231
+ "footer-max-line-length": [2, "always", 150],
232
+ "header-max-length": [2, "always", 150],
233
+ "header-trim": [2, "always"],
234
+ "subject-case": [2, "always", ["sentence-case"]],
235
+ "subject-empty": [2, "never"],
236
+ "subject-full-stop": [2, "never", "."],
237
+ "subject-max-length": [2, "always", 150],
238
+ "subject-min-length": [2, "always", 3],
239
+ "type-case": [2, "always", "kebab-case"],
240
+ "type-empty": [2, "never"],
241
+ "type-enum": [
242
+ 2,
243
+ "always",
244
+ Object.keys(DEFAULT_COMMIT_TYPES)
245
+ ],
246
+ "type-max-length": [2, "always", 20],
247
+ "type-min-length": [2, "always", 3],
248
+ "scope-empty": [2, "always"]
249
+ },
250
+ settings: {
251
+ enableMultipleScopes: false,
252
+ disableEmoji: true,
253
+ breakingChangePrefix: "\u{1F4A3} ",
254
+ closedIssuePrefix: "\u2705 ",
255
+ format: "{type}: {emoji}{subject}"
256
+ }
257
+ };
258
+ var config = {
259
+ types: DEFAULT_COMMIT_TYPES,
260
+ changelogs,
261
+ commitlint
262
+ };
263
+ var minimal_default = config;
264
+ var changelogs2 = {
265
+ props: {
266
+ ignoreCommits: void 0,
267
+ types: CHANGELOG_COMMIT_TYPES,
268
+ bumpStrict: true,
269
+ scope: ["monorepo"],
270
+ scopeOnly: true
271
+ }
272
+ };
273
+ var commitlint2 = {
274
+ helpUrl: "https://developer.stormsoftware.com/commitlint/monorepo",
275
+ rules: {
276
+ "body-leading-blank": [1, "always"],
277
+ "body-max-length": [2, "always", 600],
278
+ "footer-leading-blank": [1, "always"],
279
+ "footer-max-line-length": [2, "always", 150],
280
+ "header-max-length": [2, "always", 150],
281
+ "header-trim": [2, "always"],
282
+ "subject-case": [2, "always", ["sentence-case"]],
283
+ "subject-empty": [2, "never"],
284
+ "subject-full-stop": [2, "never", "."],
285
+ "subject-max-length": [2, "always", 150],
286
+ "subject-min-length": [2, "always", 3],
287
+ "type-case": [2, "always", "kebab-case"],
288
+ "type-empty": [2, "never"],
289
+ "type-enum": [
290
+ 2,
291
+ "always",
292
+ Object.keys(DEFAULT_COMMIT_TYPES)
293
+ ],
294
+ "type-max-length": [2, "always", 20],
295
+ "type-min-length": [2, "always", 3],
296
+ "scope-case": [2, "always", ["kebab-case"]],
297
+ "scope-empty": [2, "never"]
298
+ },
299
+ settings: {
300
+ enableMultipleScopes: false,
301
+ disableEmoji: true,
302
+ breakingChangePrefix: "\u{1F4A3} ",
303
+ closedIssuePrefix: "\u2705 ",
304
+ format: "{type}({scope}): {emoji}{subject}"
305
+ }
306
+ };
307
+ var config2 = {
308
+ types: DEFAULT_COMMIT_TYPES,
309
+ changelogs: changelogs2,
310
+ commitlint: commitlint2
311
+ };
312
+ var monorepo_default = config2;
313
+ var COMMIT_CONFIGS = { minimal: minimal_default, monorepo: monorepo_default };
314
+
315
+ // ../git-tools/dist/chunk-KZRVQ5RZ.js
172
316
  var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
173
317
  type: {
174
318
  type: "select",
175
319
  title: "Commit Type",
176
320
  description: "Select the commit type that best describes your changes",
177
- enum: Object.keys(COMMIT_TYPES).filter(
178
- (type) => COMMIT_TYPES[type].hidden !== true
321
+ enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
322
+ (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
179
323
  ).reduce((ret, type) => {
180
- ret[type] = COMMIT_TYPES[type];
324
+ ret[type] = DEFAULT_COMMIT_TYPES[type];
181
325
  return ret;
182
326
  }, {}),
183
327
  defaultValue: "chore",
@@ -226,6 +370,14 @@ var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
226
370
  minLength: 3
227
371
  }
228
372
  };
373
+ var config3 = {
374
+ settings: COMMIT_CONFIGS.minimal.commitlint.settings,
375
+ messages: DEFAULT_COMMIT_PROMPT_MESSAGES,
376
+ questions: DEFAULT_MINIMAL_COMMIT_QUESTIONS,
377
+ types: DEFAULT_COMMIT_TYPES
378
+ };
379
+
380
+ // ../git-tools/dist/chunk-JCEVFJCA.js
229
381
  var DEFAULT_MONOREPO_COMMIT_QUESTIONS = {
230
382
  type: DEFAULT_MINIMAL_COMMIT_QUESTIONS.type,
231
383
  scope: {
@@ -244,61 +396,17 @@ var DEFAULT_MONOREPO_COMMIT_QUESTIONS = {
244
396
  isIssueAffected: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isIssueAffected,
245
397
  issuesBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.issuesBody
246
398
  };
247
- var DEFAULT_MINIMAL_COMMIT_RULES = {
248
- "body-leading-blank": [1, "always"],
249
- "body-max-length": [2, "always", 600],
250
- "footer-leading-blank": [1, "always"],
251
- "footer-max-line-length": [2, "always", 150],
252
- "header-max-length": [2, "always", 150],
253
- "header-trim": [2, "always"],
254
- "subject-case": [2, "always", ["sentence-case"]],
255
- "subject-empty": [2, "never"],
256
- "subject-full-stop": [2, "never", "."],
257
- "subject-max-length": [2, "always", 150],
258
- "subject-min-length": [2, "always", 3],
259
- "type-case": [2, "always", "kebab-case"],
260
- "type-empty": [2, "never"],
261
- "type-enum": [
262
- 2,
263
- "always",
264
- Object.keys(COMMIT_TYPES)
265
- ],
266
- "type-max-length": [2, "always", 20],
267
- "type-min-length": [2, "always", 3],
268
- "scope-empty": 0,
269
- "scope-case": 0,
270
- "scope-enum": 0
271
- /* Disabled */
272
- };
273
- var DEFAULT_MONOREPO_COMMIT_RULES = {
274
- "body-leading-blank": [1, "always"],
275
- "body-max-length": [2, "always", 600],
276
- "footer-leading-blank": [1, "always"],
277
- "footer-max-line-length": [2, "always", 150],
278
- "header-max-length": [2, "always", 150],
279
- "header-trim": [2, "always"],
280
- "subject-case": [2, "always", ["sentence-case"]],
281
- "subject-empty": [2, "never"],
282
- "subject-full-stop": [2, "never", "."],
283
- "subject-max-length": [2, "always", 150],
284
- "subject-min-length": [2, "always", 3],
285
- "type-case": [2, "always", "kebab-case"],
286
- "type-empty": [2, "never"],
287
- "type-enum": [
288
- 2,
289
- "always",
290
- Object.keys(COMMIT_TYPES)
291
- ],
292
- "type-max-length": [2, "always", 20],
293
- "type-min-length": [2, "always", 3],
294
- "scope-case": [2, "always", ["kebab-case"]],
295
- "scope-empty": [2, "never"]
399
+ var config4 = {
400
+ settings: COMMIT_CONFIGS.monorepo.commitlint.settings,
401
+ messages: DEFAULT_COMMIT_PROMPT_MESSAGES,
402
+ questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
403
+ types: DEFAULT_COMMIT_TYPES
296
404
  };
297
405
 
298
- // ../git-tools/dist/chunk-2IQTQBAX.js
406
+ // ../git-tools/dist/chunk-YCEUZFMU.js
299
407
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
300
408
  questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
301
- types: COMMIT_TYPES
409
+ types: DEFAULT_COMMIT_TYPES
302
410
  };
303
411
 
304
412
  // src/generators/release-version/generator.ts
@@ -320,19 +428,19 @@ import {
320
428
  } from "nx/src/command-line/release/version-legacy";
321
429
  import { interpolate } from "nx/src/tasks-runner/utils";
322
430
  import { prerelease } from "semver";
323
- async function releaseVersionGeneratorFn(tree, options, config) {
431
+ async function releaseVersionGeneratorFn(tree, options, config5) {
324
432
  writeInfo(`\u26A1 Running the Storm Release Version generator...
325
433
 
326
- `, config);
434
+ `, config5);
327
435
  const stopwatch = getStopwatch("Storm Release Version generator");
328
436
  try {
329
437
  const workspaceRoot = findWorkspaceRoot();
330
438
  writeDebug(
331
439
  `Loading the Storm Config from environment variables and storm.config.js file...
332
440
  - workspaceRoot: ${workspaceRoot}`,
333
- config
441
+ config5
334
442
  );
335
- config = await getConfig(workspaceRoot);
443
+ config5 = await getConfig(workspaceRoot);
336
444
  writeTrace(
337
445
  `Generator schema options \u2699\uFE0F
338
446
  ${Object.keys(options ?? {}).filter(
@@ -343,7 +451,7 @@ ${Object.keys(options ?? {}).filter(
343
451
  "currentVersionResolverMetadata"
344
452
  ].includes(key)
345
453
  ).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
346
- config
454
+ config5
347
455
  );
348
456
  const versionData = {};
349
457
  if (options.specifier) {
@@ -367,8 +475,8 @@ Valid values are: ${validReleaseVersionPrefixes.map((s) => `"${s}"`).join(", ")}
367
475
  options.currentVersionResolver ??= "git-tag";
368
476
  const projects = options.projects;
369
477
  const createResolvePackageRoot = (customPackageRoot) => (projectNode) => {
370
- if (projectNode?.data?.root === config?.workspaceRoot || projectNode?.data?.root === ".") {
371
- return config?.workspaceRoot ?? findWorkspaceRoot();
478
+ if (projectNode?.data?.root === config5?.workspaceRoot || projectNode?.data?.root === ".") {
479
+ return config5?.workspaceRoot ?? findWorkspaceRoot();
372
480
  }
373
481
  if (!customPackageRoot) {
374
482
  return projectNode.data.root;
@@ -410,13 +518,13 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
410
518
  );
411
519
  }
412
520
  const workspaceRelativePackagePath = relative(
413
- config?.workspaceRoot ?? findWorkspaceRoot(),
521
+ config5?.workspaceRoot ?? findWorkspaceRoot(),
414
522
  tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
415
523
  );
416
524
  const log = (msg) => {
417
- writeInfo(`${projectName}: ${msg}`, config);
525
+ writeInfo(`${projectName}: ${msg}`, config5);
418
526
  };
419
- writeInfo(`Running release version for project: ${project.name}`, config);
527
+ writeInfo(`Running release version for project: ${project.name}`, config5);
420
528
  let packageName;
421
529
  let currentVersionFromDisk;
422
530
  if (tree.exists(packageJsonPath)) {
@@ -644,7 +752,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
644
752
  tree,
645
753
  options.projectGraph,
646
754
  projects.filter(
647
- (project2) => project2?.data?.root && project2?.data?.root !== config?.workspaceRoot
755
+ (project2) => project2?.data?.root && project2?.data?.root !== config5?.workspaceRoot
648
756
  ),
649
757
  projectNameToPackageRootMap,
650
758
  resolvePackageRoot,
@@ -796,7 +904,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
796
904
  writeSuccess(
797
905
  `Completed running the Storm Release Version generator!
798
906
  `,
799
- config
907
+ config5
800
908
  );
801
909
  return {
802
910
  data: versionData,
@@ -834,13 +942,13 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
834
942
  } catch (error) {
835
943
  writeFatal(
836
944
  "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate",
837
- config
945
+ config5
838
946
  );
839
947
  writeError(
840
948
  `An exception was thrown in the Storm Release Version generator's process
841
949
  - Details: ${error.message}
842
950
  - Stacktrace: ${error.stack}`,
843
- config
951
+ config5
844
952
  );
845
953
  throw new Error(
846
954
  `An exception was thrown in the Storm Release Version generator's process
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__951eea6f126fd84bd771c4f315c150af/node_modules/tsup/assets/esm_shims.js
1
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fa5acda50dbe19817dbc1cdda69071eb/node_modules/tsup/assets/esm_shims.js
2
2
  import { fileURLToPath } from "url";
3
3
  import path from "path";
4
4
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-IYDKU4UX.mjs";
8
8
  import {
9
9
  __dirname
10
- } from "./chunk-QFSU34UE.mjs";
10
+ } from "./chunk-NMQP6WEB.mjs";
11
11
 
12
12
  // src/generators/preset/generator.ts
13
13
  import {
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-C26A6BXG.mjs";
14
14
  import {
15
15
  __dirname
16
- } from "./chunk-QFSU34UE.mjs";
16
+ } from "./chunk-NMQP6WEB.mjs";
17
17
 
18
18
  // src/generators/node-library/generator.ts
19
19
  import {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-C26A6BXG.mjs";
11
11
  import {
12
12
  __dirname
13
- } from "./chunk-QFSU34UE.mjs";
13
+ } from "./chunk-NMQP6WEB.mjs";
14
14
 
15
15
  // src/generators/neutral-library/generator.ts
16
16
  import {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-C26A6BXG.mjs";
11
11
  import {
12
12
  __dirname
13
- } from "./chunk-QFSU34UE.mjs";
13
+ } from "./chunk-NMQP6WEB.mjs";
14
14
 
15
15
  // src/generators/browser-library/generator.ts
16
16
  import {