@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.js
CHANGED
|
@@ -303,7 +303,7 @@ var commitlint = {
|
|
|
303
303
|
enableMultipleScopes: false,
|
|
304
304
|
disableEmoji: true,
|
|
305
305
|
breakingChangePrefix: "\u{1F4A3} ",
|
|
306
|
-
closedIssuePrefix: "\
|
|
306
|
+
closedIssuePrefix: "\u2714 ",
|
|
307
307
|
format: "{type}: {emoji}{subject}"
|
|
308
308
|
}
|
|
309
309
|
};
|
|
@@ -354,7 +354,7 @@ var commitlint2 = {
|
|
|
354
354
|
enableMultipleScopes: false,
|
|
355
355
|
disableEmoji: true,
|
|
356
356
|
breakingChangePrefix: "\u{1F4A3} ",
|
|
357
|
-
closedIssuePrefix: "\
|
|
357
|
+
closedIssuePrefix: "\u2714 ",
|
|
358
358
|
format: "{type}({scope}): {emoji}{subject}"
|
|
359
359
|
}
|
|
360
360
|
};
|
|
@@ -1331,7 +1331,7 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1331
1331
|
writeInfo("Running in dry mode.", workspaceConfig);
|
|
1332
1332
|
}
|
|
1333
1333
|
console.log(
|
|
1334
|
-
chalk2.bold.hex("#999999")("----------------------------------------") + "\n
|
|
1334
|
+
chalk2.bold.hex("#999999")("----------------------------------------") + "\n" + chalk2.bold.hex("#FFFFFF")(
|
|
1335
1335
|
` ${brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
|
|
1336
1336
|
) + "\n" + chalk2.hex("#CCCCCC")("Please provide the requested details below...")
|
|
1337
1337
|
);
|
|
@@ -1340,13 +1340,11 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1340
1340
|
const commitMsgFile = joinPaths(getGitDir(), "COMMIT_EDITMSG");
|
|
1341
1341
|
console.log(
|
|
1342
1342
|
chalk2.bold.hex("#999999")("----------------------------------------") + `
|
|
1343
|
-
|
|
1344
1343
|
${chalk2.bold.hex("#FFFFFF")("Commit message")} - ${chalk2.hex("#DDDDDD")(message)}
|
|
1345
1344
|
${chalk2.bold.hex("#FFFFFF")("Git-Commit File")} - ${chalk2.hex("#DDDDDD")(
|
|
1346
1345
|
commitMsgFile
|
|
1347
1346
|
)}
|
|
1348
|
-
|
|
1349
|
-
`
|
|
1347
|
+
`
|
|
1350
1348
|
);
|
|
1351
1349
|
await runCommitLint(workspaceConfig, { message });
|
|
1352
1350
|
const commandItems = ["git", "commit", "-S"];
|
|
@@ -1377,7 +1375,10 @@ async function askQuestions(state) {
|
|
|
1377
1375
|
return state.answers;
|
|
1378
1376
|
}
|
|
1379
1377
|
async function askQuestion(index, question) {
|
|
1380
|
-
const message = `${chalk2.bold(
|
|
1378
|
+
const message = `${chalk2.bold(
|
|
1379
|
+
`${index + 1}. ${question.title}`
|
|
1380
|
+
)} - ${question.description}
|
|
1381
|
+
`;
|
|
1381
1382
|
if (question.type === "select" && question.enum && Object.keys(question.enum).length > 1) {
|
|
1382
1383
|
return default11({
|
|
1383
1384
|
message,
|