@storm-software/git-tools 2.131.21 → 2.131.23

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 (75) hide show
  1. package/bin/{chunk-K3M4EFXG.js → chunk-2JR3HPAL.js} +3 -3
  2. package/bin/{chunk-K3M4EFXG.js.map → chunk-2JR3HPAL.js.map} +1 -1
  3. package/bin/{chunk-2K6K4B6C.js → chunk-5OEE2E65.js} +3 -3
  4. package/bin/{chunk-2K6K4B6C.js.map → chunk-5OEE2E65.js.map} +1 -1
  5. package/bin/{chunk-7FLNOTUH.cjs → chunk-77NN2DPB.cjs} +4 -4
  6. package/bin/{chunk-7FLNOTUH.cjs.map → chunk-77NN2DPB.cjs.map} +1 -1
  7. package/bin/{chunk-2DHSN2C3.cjs → chunk-7I4XZL7P.cjs} +6 -6
  8. package/bin/{chunk-2DHSN2C3.cjs.map → chunk-7I4XZL7P.cjs.map} +1 -1
  9. package/bin/{chunk-OOFHIS6Q.cjs → chunk-AU2HBQCB.cjs} +8 -4
  10. package/bin/{chunk-OOFHIS6Q.cjs.map → chunk-AU2HBQCB.cjs.map} +1 -1
  11. package/bin/{chunk-NPCKWTZG.js → chunk-CBJFXXVE.js} +3 -3
  12. package/bin/{chunk-NPCKWTZG.js.map → chunk-CBJFXXVE.js.map} +1 -1
  13. package/bin/{chunk-PXSKDL54.cjs → chunk-FNM5AXPR.cjs} +4 -4
  14. package/bin/{chunk-PXSKDL54.cjs.map → chunk-FNM5AXPR.cjs.map} +1 -1
  15. package/bin/{chunk-JZL474YC.js → chunk-J76RVP3G.js} +3 -3
  16. package/bin/{chunk-JZL474YC.js.map → chunk-J76RVP3G.js.map} +1 -1
  17. package/bin/{chunk-S2KYF4B5.js → chunk-KBH5ZZ4V.js} +3 -3
  18. package/bin/{chunk-S2KYF4B5.js.map → chunk-KBH5ZZ4V.js.map} +1 -1
  19. package/bin/{chunk-RNHFC7RJ.js → chunk-KDRZY2YU.js} +8 -4
  20. package/bin/{chunk-RNHFC7RJ.js.map → chunk-KDRZY2YU.js.map} +1 -1
  21. package/bin/{chunk-GVYZ5VMU.cjs → chunk-KHPLFH3X.cjs} +4 -4
  22. package/bin/{chunk-GVYZ5VMU.cjs.map → chunk-KHPLFH3X.cjs.map} +1 -1
  23. package/bin/{chunk-CZGE4575.cjs → chunk-NKCKZ3E3.cjs} +4 -4
  24. package/bin/{chunk-CZGE4575.cjs.map → chunk-NKCKZ3E3.cjs.map} +1 -1
  25. package/bin/{chunk-NFY3U5Y5.js → chunk-S2N3WA4O.js} +3 -3
  26. package/bin/{chunk-NFY3U5Y5.js.map → chunk-S2N3WA4O.js.map} +1 -1
  27. package/bin/{chunk-WVG2JDAL.js → chunk-YDVAE433.js} +3 -3
  28. package/bin/{chunk-WVG2JDAL.js.map → chunk-YDVAE433.js.map} +1 -1
  29. package/bin/{chunk-TCH5N4G6.cjs → chunk-Z5SKX5XN.cjs} +4 -4
  30. package/bin/{chunk-TCH5N4G6.cjs.map → chunk-Z5SKX5XN.cjs.map} +1 -1
  31. package/bin/{chunk-KQFEBKJ6.cjs → chunk-ZRZDX2ZA.cjs} +5 -5
  32. package/bin/{chunk-KQFEBKJ6.cjs.map → chunk-ZRZDX2ZA.cjs.map} +1 -1
  33. package/bin/git.cjs +179 -184
  34. package/bin/git.cjs.map +1 -1
  35. package/bin/git.js +43 -48
  36. package/bin/git.js.map +1 -1
  37. package/bin/post-checkout.cjs +7 -7
  38. package/bin/post-checkout.js +2 -2
  39. package/bin/post-commit.cjs +7 -7
  40. package/bin/post-commit.js +2 -2
  41. package/bin/post-merge.cjs +7 -7
  42. package/bin/post-merge.js +2 -2
  43. package/bin/pre-commit.cjs +7 -7
  44. package/bin/pre-commit.js +2 -2
  45. package/bin/pre-install.cjs +7 -7
  46. package/bin/pre-install.js +2 -2
  47. package/bin/pre-push.cjs +7 -7
  48. package/bin/pre-push.js +2 -2
  49. package/bin/prepare.cjs +7 -7
  50. package/bin/prepare.js +2 -2
  51. package/bin/version-warning.cjs +5 -5
  52. package/bin/version-warning.js +1 -1
  53. package/dist/{chunk-3ISKKN7V.cjs → chunk-2KO5IEIY.cjs} +2 -2
  54. package/dist/{chunk-3NDL3NYQ.cjs → chunk-46DT23BR.cjs} +6 -2
  55. package/dist/{chunk-22KHZEQ7.js → chunk-4KMJAFZI.js} +1 -1
  56. package/dist/{chunk-MWHYSQOS.cjs → chunk-6HBRIYPP.cjs} +3 -3
  57. package/dist/{chunk-HLX2O3W5.js → chunk-BNXSIXM2.js} +5 -16
  58. package/dist/{chunk-PV25OROZ.js → chunk-BPDSCBOI.js} +6 -2
  59. package/dist/{chunk-4SXK4XZ7.js → chunk-C53K5W6J.js} +1 -1
  60. package/dist/{chunk-Q22WRFSZ.cjs → chunk-CUC73XZD.cjs} +15 -26
  61. package/dist/{chunk-PUNY63CE.cjs → chunk-D2TE2WQZ.cjs} +2 -2
  62. package/dist/{chunk-ICTL4AOJ.js → chunk-FBGULNA7.js} +1 -1
  63. package/dist/{chunk-BBFGZEK2.cjs → chunk-GNPQRGZ2.cjs} +4 -4
  64. package/dist/{chunk-JOWTWLTO.js → chunk-HRYBIFJL.js} +1 -1
  65. package/dist/{chunk-K6YQY3XT.cjs → chunk-IDG5O4UL.cjs} +2 -2
  66. package/dist/{chunk-GQZU3KQU.cjs → chunk-KVTWY6IN.cjs} +2 -2
  67. package/dist/{chunk-GPIIJKQ7.js → chunk-NABJ2MII.js} +1 -1
  68. package/dist/{chunk-TUICLGR7.js → chunk-UVEWNW75.js} +1 -1
  69. package/dist/{chunk-VVDS3FJO.js → chunk-WVCBWTDU.js} +1 -1
  70. package/dist/{chunk-OWXRRH4A.cjs → chunk-YOBEA3QU.cjs} +2 -2
  71. package/dist/index.cjs +33 -33
  72. package/dist/index.js +9 -9
  73. package/dist/release/config.cjs +19 -19
  74. package/dist/release/config.js +2 -2
  75. package/package.json +6 -6
package/bin/git.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
- import { postCheckoutHook } from './chunk-WVG2JDAL.js';
3
- import { postCommitHook } from './chunk-NFY3U5Y5.js';
4
- import { postMergeHook } from './chunk-S2KYF4B5.js';
5
- import { preCommitHook } from './chunk-K3M4EFXG.js';
6
- import './chunk-2K6K4B6C.js';
7
- import { prePushHook } from './chunk-JZL474YC.js';
2
+ import { postCheckoutHook } from './chunk-YDVAE433.js';
3
+ import { postCommitHook } from './chunk-S2N3WA4O.js';
4
+ import { postMergeHook } from './chunk-KBH5ZZ4V.js';
5
+ import { preCommitHook } from './chunk-2JR3HPAL.js';
6
+ import './chunk-5OEE2E65.js';
7
+ import { prePushHook } from './chunk-J76RVP3G.js';
8
8
  import './chunk-HBLWPOJV.js';
9
- import { prepareHook } from './chunk-NPCKWTZG.js';
9
+ import { prepareHook } from './chunk-CBJFXXVE.js';
10
10
  import { run, runAsync } from './chunk-RPK5AKGK.js';
11
- import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, writeTrace, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-RNHFC7RJ.js';
11
+ import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, writeWarning, writeTrace, isVerbose, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-KDRZY2YU.js';
12
12
  import TOML from '@ltd/j-toml';
13
13
  import { Command } from 'commander';
14
14
  import '@inquirer/checkbox';
@@ -3580,21 +3580,10 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
3580
3580
  };
3581
3581
  }
3582
3582
  function formatConfigLog(config5) {
3583
- return formatLogMessage(
3584
- {
3585
- ...omit(config5, ["groups"]),
3586
- groups: Object.fromEntries(
3587
- Object.entries(config5.groups ?? {}).map(([name, group]) => [
3588
- name,
3589
- {
3590
- ...omit(group, ["projects"]),
3591
- projects: group.projects.length ? group.projects : "No projects"
3592
- }
3593
- ])
3594
- )
3595
- },
3596
- { sort: true, skip: ["workspaceConfig"] }
3597
- );
3583
+ return formatLogMessage(config5, {
3584
+ sort: true,
3585
+ skip: ["workspaceConfig", "conventionalCommits"]
3586
+ });
3598
3587
  }
3599
3588
  var validReleaseVersionPrefixes = ["auto", "", "~", "^", "="];
3600
3589
  var ReleaseGraph = class _ReleaseGraph {
@@ -5075,17 +5064,20 @@ ${formatConfigLog(config5)}`,
5075
5064
  v.newVersion ? extractPreid(v.newVersion) : void 0
5076
5065
  ])
5077
5066
  );
5078
- const releaseGraph = await createReleaseGraph({
5079
- tree: this.tree,
5080
- projectGraph: this.projectGraph,
5081
- nxReleaseConfig: this.releaseConfig,
5082
- filters: {
5083
- projects: options.projects,
5084
- groups: options.groups
5067
+ const releaseGraph = await createReleaseGraph(
5068
+ {
5069
+ tree: this.tree,
5070
+ projectGraph: this.projectGraph,
5071
+ nxReleaseConfig: this.releaseConfig,
5072
+ filters: {
5073
+ projects: options.projects,
5074
+ groups: options.groups
5075
+ },
5076
+ firstRelease: !!options.firstRelease,
5077
+ verbose: isVerbose(this.workspaceConfig.logLevel)
5085
5078
  },
5086
- firstRelease: !!options.firstRelease,
5087
- verbose: isVerbose(this.workspaceConfig.logLevel)
5088
- });
5079
+ this.workspaceConfig
5080
+ );
5089
5081
  const projectToAdditionalDependencyBumps = /* @__PURE__ */ new Map();
5090
5082
  for (const releaseGroup of releaseGraph.releaseGroups) {
5091
5083
  if (releaseGroup.projectsRelationship !== "independent") {
@@ -5404,19 +5396,22 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5404
5396
  "Failed to load the project graph. Please run `nx reset`, then run the `storm-git commit` command again."
5405
5397
  );
5406
5398
  }
5407
- const releaseGraph = await createReleaseGraph({
5408
- tree: this.tree,
5409
- projectGraph: this.projectGraph,
5410
- nxReleaseConfig: this.releaseConfig,
5411
- filters: {
5412
- projects: options.projects,
5413
- groups: options.groups
5399
+ const releaseGraph = await createReleaseGraph(
5400
+ {
5401
+ tree: this.tree,
5402
+ projectGraph: this.projectGraph,
5403
+ nxReleaseConfig: this.releaseConfig,
5404
+ filters: {
5405
+ projects: options.projects,
5406
+ groups: options.groups
5407
+ },
5408
+ firstRelease: !!options.firstRelease,
5409
+ verbose,
5410
+ preid: options.preid ?? this.workspaceConfig.preid,
5411
+ versionActionsOptionsOverrides: options.versionActionsOptionsOverrides
5414
5412
  },
5415
- firstRelease: !!options.firstRelease,
5416
- verbose,
5417
- preid: options.preid ?? this.workspaceConfig.preid,
5418
- versionActionsOptionsOverrides: options.versionActionsOptionsOverrides
5419
- });
5413
+ this.workspaceConfig
5414
+ );
5420
5415
  if (releaseGraph.filterLog && process.env.NX_RELEASE_INTERNAL_SUPPRESS_FILTER_LOG !== "true") {
5421
5416
  writeDebug(formatNxLog(releaseGraph.filterLog), this.workspaceConfig);
5422
5417
  }
@@ -5756,7 +5751,7 @@ var runRelease = async (config5, {
5756
5751
  writeDebug("Determining the current release versions...", config5);
5757
5752
  const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
5758
5753
  dryRun,
5759
- verbose: isVerbose(config5.logLevel),
5754
+ verbose: true,
5760
5755
  preid: config5.preid,
5761
5756
  stageChanges: true,
5762
5757
  gitCommit: false
@@ -5765,7 +5760,7 @@ var runRelease = async (config5, {
5765
5760
  version: releaseConfig?.projectsRelationship === "fixed" ? workspaceVersion : void 0,
5766
5761
  versionData: projectsVersionData,
5767
5762
  dryRun,
5768
- verbose: isVerbose(config5.logLevel),
5763
+ verbose: true,
5769
5764
  to,
5770
5765
  from,
5771
5766
  releaseGraph
@@ -5790,7 +5785,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5790
5785
  await updatePackageManifests(projectsVersionData, config5);
5791
5786
  const result = await releaseClient.releasePublish({
5792
5787
  dryRun,
5793
- verbose: isVerbose(config5.logLevel)
5788
+ verbose: true
5794
5789
  });
5795
5790
  const failedProjects = Object.keys(result).filter(
5796
5791
  (key) => result[key]?.code && result[key]?.code > 0