@releasekit/version 0.2.0-next.1 → 0.2.0-next.3
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/dist/{chunk-3JG7UWIT.js → chunk-OQ5Z3KXR.js} +5 -4
- package/dist/cli.cjs +5 -4
- package/dist/cli.js +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -964,10 +964,11 @@ var CONVENTIONAL_COMMIT_REGEX = /^(\w+)(?:\(([^)]+)\))?(!)?: (.+)(?:\n\n([\s\S]*
|
|
|
964
964
|
var BREAKING_CHANGE_REGEX = /BREAKING CHANGE: ([\s\S]+?)(?:\n\n|$)/;
|
|
965
965
|
function extractChangelogEntriesFromCommits(projectDir, revisionRange) {
|
|
966
966
|
try {
|
|
967
|
-
const output = execSync(
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
967
|
+
const output = execSync(
|
|
968
|
+
"git",
|
|
969
|
+
["log", revisionRange, "--pretty=format:%B---COMMIT_DELIMITER---", "--no-merges", "--", "."],
|
|
970
|
+
{ cwd: projectDir, encoding: "utf8" }
|
|
971
|
+
).toString();
|
|
971
972
|
const commits = output.split("---COMMIT_DELIMITER---").filter((commit) => commit.trim() !== "");
|
|
972
973
|
return commits.map((commit) => parseCommitMessage(commit)).filter((entry) => entry !== null);
|
|
973
974
|
} catch (error) {
|
package/dist/cli.cjs
CHANGED
|
@@ -391,10 +391,11 @@ var CONVENTIONAL_COMMIT_REGEX = /^(\w+)(?:\(([^)]+)\))?(!)?: (.+)(?:\n\n([\s\S]*
|
|
|
391
391
|
var BREAKING_CHANGE_REGEX = /BREAKING CHANGE: ([\s\S]+?)(?:\n\n|$)/;
|
|
392
392
|
function extractChangelogEntriesFromCommits(projectDir, revisionRange) {
|
|
393
393
|
try {
|
|
394
|
-
const output = execSync(
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
394
|
+
const output = execSync(
|
|
395
|
+
"git",
|
|
396
|
+
["log", revisionRange, "--pretty=format:%B---COMMIT_DELIMITER---", "--no-merges", "--", "."],
|
|
397
|
+
{ cwd: projectDir, encoding: "utf8" }
|
|
398
|
+
).toString();
|
|
398
399
|
const commits = output.split("---COMMIT_DELIMITER---").filter((commit) => commit.trim() !== "");
|
|
399
400
|
return commits.map((commit) => parseCommitMessage(commit)).filter((entry) => entry !== null);
|
|
400
401
|
} catch (error) {
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1133,10 +1133,11 @@ var CONVENTIONAL_COMMIT_REGEX = /^(\w+)(?:\(([^)]+)\))?(!)?: (.+)(?:\n\n([\s\S]*
|
|
|
1133
1133
|
var BREAKING_CHANGE_REGEX = /BREAKING CHANGE: ([\s\S]+?)(?:\n\n|$)/;
|
|
1134
1134
|
function extractChangelogEntriesFromCommits(projectDir, revisionRange) {
|
|
1135
1135
|
try {
|
|
1136
|
-
const output = execSync(
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1136
|
+
const output = execSync(
|
|
1137
|
+
"git",
|
|
1138
|
+
["log", revisionRange, "--pretty=format:%B---COMMIT_DELIMITER---", "--no-merges", "--", "."],
|
|
1139
|
+
{ cwd: projectDir, encoding: "utf8" }
|
|
1140
|
+
).toString();
|
|
1140
1141
|
const commits = output.split("---COMMIT_DELIMITER---").filter((commit) => commit.trim() !== "");
|
|
1141
1142
|
return commits.map((commit) => parseCommitMessage(commit)).filter((entry) => entry !== null);
|
|
1142
1143
|
} catch (error) {
|
package/dist/index.js
CHANGED