@storm-software/git-tools 2.121.3 → 2.121.4

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.121.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-2.121.2-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
@@ -893,7 +893,11 @@ ${footer}` : message;
893
893
  return message || "";
894
894
  };
895
895
  async function lint(message, commitlintConfig) {
896
- const parser = new CommitParser(commitlintConfig.parserOpts);
896
+ const workspaceConfig = await chunkN5U2S3QK_cjs.getWorkspaceConfig();
897
+ const parserOpts = await createParserOpts(workspaceConfig.variant);
898
+ const parser = new CommitParser(
899
+ chunkN5U2S3QK_cjs.defu(commitlintConfig.parserOpts, parserOpts)
900
+ );
897
901
  const parsed = parser.parse(message);
898
902
  if (parsed.header === null && parsed.body === null && parsed.footer === null) {
899
903
  return {
package/bin/git.js CHANGED
@@ -875,7 +875,11 @@ ${footer}` : message;
875
875
  return message || "";
876
876
  };
877
877
  async function lint(message, commitlintConfig) {
878
- const parser = new CommitParser(commitlintConfig.parserOpts);
878
+ const workspaceConfig = await getWorkspaceConfig();
879
+ const parserOpts = await createParserOpts(workspaceConfig.variant);
880
+ const parser = new CommitParser(
881
+ defu(commitlintConfig.parserOpts, parserOpts)
882
+ );
879
883
  const parsed = parser.parse(message);
880
884
  if (parsed.header === null && parsed.body === null && parsed.footer === null) {
881
885
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.121.3",
3
+ "version": "2.121.4",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -185,8 +185,8 @@
185
185
  "@inquirer/prompts": "7.2.1",
186
186
  "@nx/devkit": "^21.4.1",
187
187
  "@nx/js": "^21.4.1",
188
- "@storm-software/config": "^1.131.3",
189
- "@storm-software/config-tools": "^1.185.3",
188
+ "@storm-software/config": "^1.131.4",
189
+ "@storm-software/config-tools": "^1.185.4",
190
190
  "@textlint/ast-node-types": "14.4.2",
191
191
  "@textlint/markdown-to-ast": "14.4.2",
192
192
  "anchor-markdown-header": "0.7.0",
@@ -194,7 +194,7 @@
194
194
  "axios": "1.8.2",
195
195
  "chalk": "^4.1.2",
196
196
  "chalk-template": "1.1.0",
197
- "conventional-changelog-storm-software": "^0.1.3",
197
+ "conventional-changelog-storm-software": "^0.1.4",
198
198
  "htmlparser2": "10.0.0",
199
199
  "jsonc-parser": "3.2.1",
200
200
  "nx": "^21.4.1",
@@ -216,5 +216,5 @@
216
216
  "tsup": "8.4.0"
217
217
  },
218
218
  "publishConfig": { "access": "public" },
219
- "gitHead": "1b9f901274134d51c4200e5797348cf9587203dc"
219
+ "gitHead": "bf0e3ad2902fa0cd4613fe4896deea054a78a4be"
220
220
  }