@storm-software/git-tools 2.130.18 → 2.130.20

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
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-2.130.16-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)
30
+ [![Version](https://img.shields.io/badge/version-2.130.18-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/git.cjs CHANGED
@@ -446,19 +446,19 @@ async function createPreset(variant = "monorepo") {
446
446
  );
447
447
  }
448
448
 
449
- // ../../node_modules/.pnpm/conventional-commits-parser@6.3.0/node_modules/conventional-commits-parser/dist/regex.js
449
+ // ../../node_modules/.pnpm/conventional-commits-parser@6.4.0/node_modules/conventional-commits-parser/dist/regex.js
450
450
  var nomatchRegex = /(?!.*)/;
451
451
  function escape(string) {
452
452
  return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
453
453
  }
454
- function join(parts, joiner) {
455
- return parts.map((val) => escape(val.trim())).filter(Boolean).join(joiner);
454
+ function joinOr(parts) {
455
+ return parts.map((val) => typeof val === "string" ? escape(val.trim()) : val.source).filter(Boolean).join("|");
456
456
  }
457
457
  function getNotesRegex(noteKeywords, notesPattern) {
458
458
  if (!noteKeywords) {
459
459
  return nomatchRegex;
460
460
  }
461
- const noteKeywordsSelection = join(noteKeywords, "|");
461
+ const noteKeywordsSelection = joinOr(noteKeywords);
462
462
  if (!notesPattern) {
463
463
  return new RegExp(`^[\\s|*]*(${noteKeywordsSelection})[:\\s]+(.*)`, "i");
464
464
  }
@@ -469,13 +469,13 @@ function getReferencePartsRegex(issuePrefixes, issuePrefixesCaseSensitive) {
469
469
  return nomatchRegex;
470
470
  }
471
471
  const flags = issuePrefixesCaseSensitive ? "g" : "gi";
472
- return new RegExp(`(?:.*?)??\\s*([\\w-\\.\\/]*?)??(${join(issuePrefixes, "|")})([\\w-]+)(?=\\s|$|[,;)\\]])`, flags);
472
+ return new RegExp(`(?:.*?)??\\s*([\\w-\\.\\/]*?)??(${joinOr(issuePrefixes)})([\\w-]+)(?=\\s|$|[,;)\\]])`, flags);
473
473
  }
474
474
  function getReferencesRegex(referenceActions) {
475
475
  if (!referenceActions) {
476
476
  return /()(.+)/gi;
477
477
  }
478
- const joinedKeywords = join(referenceActions, "|");
478
+ const joinedKeywords = joinOr(referenceActions);
479
479
  return new RegExp(`(${joinedKeywords})(?:\\s+(.*?))(?=(?:${joinedKeywords})|$)`, "gi");
480
480
  }
481
481
  function getParserRegexes(options = {}) {
@@ -491,7 +491,7 @@ function getParserRegexes(options = {}) {
491
491
  };
492
492
  }
493
493
 
494
- // ../../node_modules/.pnpm/conventional-commits-parser@6.3.0/node_modules/conventional-commits-parser/dist/utils.js
494
+ // ../../node_modules/.pnpm/conventional-commits-parser@6.4.0/node_modules/conventional-commits-parser/dist/utils.js
495
495
  var SCISSOR = "------------------------ >8 ------------------------";
496
496
  function trimNewLines(input) {
497
497
  const matches = input.match(/[^\r\n]/);
@@ -531,7 +531,7 @@ function assignMatchedCorrespondence(target, matches, correspondence) {
531
531
  return target;
532
532
  }
533
533
 
534
- // ../../node_modules/.pnpm/conventional-commits-parser@6.3.0/node_modules/conventional-commits-parser/dist/options.js
534
+ // ../../node_modules/.pnpm/conventional-commits-parser@6.4.0/node_modules/conventional-commits-parser/dist/options.js
535
535
  var defaultOptions = {
536
536
  noteKeywords: ["BREAKING CHANGE", "BREAKING-CHANGE"],
537
537
  issuePrefixes: ["#"],
@@ -557,7 +557,7 @@ var defaultOptions = {
557
557
  fieldPattern: /^-(.*?)-$/
558
558
  };
559
559
 
560
- // ../../node_modules/.pnpm/conventional-commits-parser@6.3.0/node_modules/conventional-commits-parser/dist/CommitParser.js
560
+ // ../../node_modules/.pnpm/conventional-commits-parser@6.4.0/node_modules/conventional-commits-parser/dist/CommitParser.js
561
561
  function createCommitObject(initialData = {}) {
562
562
  return {
563
563
  merge: null,