@storm-software/git-tools 2.115.10 → 2.115.12

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.
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-2.115.8-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-2.115.10-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 -->
package/bin/git.cjs CHANGED
@@ -3086,15 +3086,23 @@ function createAPI(overrideReleaseConfig) {
3086
3086
  );
3087
3087
  }
3088
3088
  const commitMessage = args.gitCommitMessage || nxReleaseConfig.changelog?.git?.commitMessage;
3089
+ const actualProjectsVersionData = Object.fromEntries(
3090
+ Object.entries(projectsVersionData).filter(
3091
+ ([, data]) => data && semver.valid(data.newVersion)
3092
+ )
3093
+ );
3094
+ chunkXH6F7XTV_cjs.writeInfo(
3095
+ `Preparing to release the following projects:
3096
+ ${Object.entries(actualProjectsVersionData).map(
3097
+ ([project, versionData]) => `- ${project}: ${versionData.currentVersion ? `${versionData.currentVersion} -> ${versionData.newVersion}` : versionData.newVersion}`
3098
+ ).join("\n")}`
3099
+ );
3089
3100
  const commitMessageValues = shared.createCommitMessageValues(
3090
3101
  releaseGroups,
3091
3102
  releaseGroupToFilteredProjects,
3092
- projectsVersionData,
3103
+ actualProjectsVersionData,
3093
3104
  commitMessage
3094
3105
  );
3095
- const actualProjectsVersionData = Object.fromEntries(
3096
- Object.entries(projectsVersionData).filter(([, data]) => data?.newVersion)
3097
- );
3098
3106
  const gitTagValues = args.gitTag ?? nxReleaseConfig.changelog?.git.tag ? shared.createGitTagValues(
3099
3107
  releaseGroups,
3100
3108
  releaseGroupToFilteredProjects,
package/bin/git.js CHANGED
@@ -3069,15 +3069,23 @@ function createAPI(overrideReleaseConfig) {
3069
3069
  );
3070
3070
  }
3071
3071
  const commitMessage = args.gitCommitMessage || nxReleaseConfig.changelog?.git?.commitMessage;
3072
+ const actualProjectsVersionData = Object.fromEntries(
3073
+ Object.entries(projectsVersionData).filter(
3074
+ ([, data]) => data && valid(data.newVersion)
3075
+ )
3076
+ );
3077
+ writeInfo(
3078
+ `Preparing to release the following projects:
3079
+ ${Object.entries(actualProjectsVersionData).map(
3080
+ ([project, versionData]) => `- ${project}: ${versionData.currentVersion ? `${versionData.currentVersion} -> ${versionData.newVersion}` : versionData.newVersion}`
3081
+ ).join("\n")}`
3082
+ );
3072
3083
  const commitMessageValues = createCommitMessageValues(
3073
3084
  releaseGroups,
3074
3085
  releaseGroupToFilteredProjects,
3075
- projectsVersionData,
3086
+ actualProjectsVersionData,
3076
3087
  commitMessage
3077
3088
  );
3078
- const actualProjectsVersionData = Object.fromEntries(
3079
- Object.entries(projectsVersionData).filter(([, data]) => data?.newVersion)
3080
- );
3081
3089
  const gitTagValues = args.gitTag ?? nxReleaseConfig.changelog?.git.tag ? createGitTagValues(
3082
3090
  releaseGroups,
3083
3091
  releaseGroupToFilteredProjects,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.115.10",
3
+ "version": "2.115.12",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -221,8 +221,8 @@
221
221
  "@inquirer/prompts": "7.2.1",
222
222
  "@nx/devkit": "^21.4.1",
223
223
  "@nx/js": "^21.4.1",
224
- "@storm-software/config": "^1.128.9",
225
- "@storm-software/config-tools": "^1.180.10",
224
+ "@storm-software/config": "^1.128.11",
225
+ "@storm-software/config-tools": "^1.180.12",
226
226
  "@textlint/ast-node-types": "14.4.2",
227
227
  "@textlint/markdown-to-ast": "14.4.2",
228
228
  "anchor-markdown-header": "0.7.0",
@@ -251,5 +251,5 @@
251
251
  "tsup": "8.4.0"
252
252
  },
253
253
  "publishConfig": { "access": "public" },
254
- "gitHead": "8aea52bb5224498a26300aa258610643742e6e21"
254
+ "gitHead": "0d8944309d4a3fa08977f4b0ea61adb30596ece7"
255
255
  }