@storm-software/git-tools 2.131.34 → 2.131.35
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/bin/git.cjs +8 -7
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +8 -7
- package/bin/git.js.map +1 -1
- package/dist/{chunk-3GGWHKRP.js → chunk-4T5NCWMG.js} +2 -2
- package/dist/{chunk-4VPJA7YJ.cjs → chunk-5TXHP6RI.cjs} +2 -2
- package/dist/{chunk-MOPECH2N.cjs → chunk-64WGOUGZ.cjs} +4 -4
- package/dist/{chunk-USTER7R2.js → chunk-OMWWQPRY.js} +2 -2
- package/dist/{chunk-7ZSL4J35.cjs → chunk-RIPABM45.cjs} +11 -11
- package/dist/{chunk-DCFVA6SR.js → chunk-RKA52WU4.js} +2 -2
- package/dist/{chunk-CT6VGZZS.cjs → chunk-WRSI3KUJ.cjs} +6 -6
- package/dist/{chunk-WCAKLYL2.js → chunk-XS6PFVQQ.js} +1 -1
- package/dist/commit/minimal.cjs +4 -4
- package/dist/commit/minimal.js +2 -2
- package/dist/commit/monorepo.cjs +5 -5
- package/dist/commit/monorepo.js +3 -3
- package/dist/commitlint/minimal.cjs +2 -2
- package/dist/commitlint/minimal.js +1 -1
- package/dist/commitlint/monorepo.cjs +2 -2
- package/dist/commitlint/monorepo.js +1 -1
- package/dist/index.cjs +22 -22
- package/dist/index.js +4 -4
- package/dist/release/config.cjs +21 -21
- package/dist/release/config.js +4 -4
- package/package.json +6 -6
package/bin/git.cjs
CHANGED
|
@@ -327,7 +327,7 @@ var commitlint = {
|
|
|
327
327
|
enableMultipleScopes: false,
|
|
328
328
|
disableEmoji: true,
|
|
329
329
|
breakingChangePrefix: "\u{1F4A3} ",
|
|
330
|
-
closedIssuePrefix: "\
|
|
330
|
+
closedIssuePrefix: "\u2714 ",
|
|
331
331
|
format: "{type}: {emoji}{subject}"
|
|
332
332
|
}
|
|
333
333
|
};
|
|
@@ -378,7 +378,7 @@ var commitlint2 = {
|
|
|
378
378
|
enableMultipleScopes: false,
|
|
379
379
|
disableEmoji: true,
|
|
380
380
|
breakingChangePrefix: "\u{1F4A3} ",
|
|
381
|
-
closedIssuePrefix: "\
|
|
381
|
+
closedIssuePrefix: "\u2714 ",
|
|
382
382
|
format: "{type}({scope}): {emoji}{subject}"
|
|
383
383
|
}
|
|
384
384
|
};
|
|
@@ -1355,7 +1355,7 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1355
1355
|
chunkM4LUWNQR_cjs.writeInfo("Running in dry mode.", workspaceConfig);
|
|
1356
1356
|
}
|
|
1357
1357
|
console.log(
|
|
1358
|
-
chalk2__default.default.bold.hex("#999999")("----------------------------------------") + "\n
|
|
1358
|
+
chalk2__default.default.bold.hex("#999999")("----------------------------------------") + "\n" + chalk2__default.default.bold.hex("#FFFFFF")(
|
|
1359
1359
|
` ${chunkM4LUWNQR_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
|
|
1360
1360
|
) + "\n" + chalk2__default.default.hex("#CCCCCC")("Please provide the requested details below...")
|
|
1361
1361
|
);
|
|
@@ -1364,13 +1364,11 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1364
1364
|
const commitMsgFile = chunkM4LUWNQR_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
|
|
1365
1365
|
console.log(
|
|
1366
1366
|
chalk2__default.default.bold.hex("#999999")("----------------------------------------") + `
|
|
1367
|
-
|
|
1368
1367
|
${chalk2__default.default.bold.hex("#FFFFFF")("Commit message")} - ${chalk2__default.default.hex("#DDDDDD")(message)}
|
|
1369
1368
|
${chalk2__default.default.bold.hex("#FFFFFF")("Git-Commit File")} - ${chalk2__default.default.hex("#DDDDDD")(
|
|
1370
1369
|
commitMsgFile
|
|
1371
1370
|
)}
|
|
1372
|
-
|
|
1373
|
-
`
|
|
1371
|
+
`
|
|
1374
1372
|
);
|
|
1375
1373
|
await runCommitLint(workspaceConfig, { message });
|
|
1376
1374
|
const commandItems = ["git", "commit", "-S"];
|
|
@@ -1401,7 +1399,10 @@ async function askQuestions(state) {
|
|
|
1401
1399
|
return state.answers;
|
|
1402
1400
|
}
|
|
1403
1401
|
async function askQuestion(index, question) {
|
|
1404
|
-
const message = `${chalk2__default.default.bold(
|
|
1402
|
+
const message = `${chalk2__default.default.bold(
|
|
1403
|
+
`${index + 1}. ${question.title}`
|
|
1404
|
+
)} - ${question.description}
|
|
1405
|
+
`;
|
|
1405
1406
|
if (question.type === "select" && question.enum && Object.keys(question.enum).length > 1) {
|
|
1406
1407
|
return default11__default.default({
|
|
1407
1408
|
message,
|