@storm-software/git-tools 2.130.19 → 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 +1 -1
- package/bin/git.cjs +9 -9
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +21 -21
- package/bin/git.js.map +1 -1
- package/package.json +7 -7
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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.
|
|
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
|
|
455
|
-
return parts.map((val) => escape(val.trim())).filter(Boolean).join(
|
|
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 =
|
|
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-\\.\\/]*?)??(${
|
|
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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|