@storm-software/git-tools 2.131.45 → 2.131.47
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 +10 -7
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +10 -7
- package/bin/git.js.map +1 -1
- package/package.json +9 -9
package/bin/git.js
CHANGED
|
@@ -1331,19 +1331,22 @@ async function runCommit(commitizenFile, dryRun = false) {
|
|
|
1331
1331
|
writeInfo("Running in dry mode.", workspaceConfig);
|
|
1332
1332
|
}
|
|
1333
1333
|
console.log(
|
|
1334
|
-
chalk2.bold.hex("#
|
|
1334
|
+
chalk2.bold.hex("#4b585b")("----------------------------------------") + "\n" + chalk2.bold.hex("#FFFFFF")(
|
|
1335
1335
|
` ${brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
|
|
1336
|
-
) + "\n" + chalk2.hex("#
|
|
1336
|
+
) + "\n" + chalk2.hex("#9ca8ab")("Please provide the requested details below...") + "\n"
|
|
1337
1337
|
);
|
|
1338
1338
|
state.answers = await askQuestions(state);
|
|
1339
1339
|
const message = formatCommitMessage(state, workspaceConfig);
|
|
1340
1340
|
const commitMsgFile = joinPaths(getGitDir(), "COMMIT_EDITMSG");
|
|
1341
1341
|
console.log(
|
|
1342
|
-
chalk2.bold.hex("#
|
|
1343
|
-
|
|
1344
|
-
${chalk2.bold.hex("#FFFFFF")("
|
|
1345
|
-
|
|
1346
|
-
)}
|
|
1342
|
+
chalk2.bold.hex("#4b585b")("----------------------------------------") + `
|
|
1343
|
+
|
|
1344
|
+
${chalk2.bold.hex("#FFFFFF")("Commit message")}${chalk2.hex("#4b585b")(
|
|
1345
|
+
" - "
|
|
1346
|
+
)}${chalk2.hex("#9ca8ab")(message)}
|
|
1347
|
+
${chalk2.bold.hex("#FFFFFF")("Git-Commit File")}${chalk2.hex("#4b585b")(
|
|
1348
|
+
" - "
|
|
1349
|
+
)}${chalk2.hex("#9ca8ab")(commitMsgFile)}
|
|
1347
1350
|
`
|
|
1348
1351
|
);
|
|
1349
1352
|
await runCommitLint(workspaceConfig, { message });
|