@kud/ai-conventional-commit-cli 0.12.10 → 0.12.11
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/index.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -246,10 +246,11 @@ async function runGenerate(config) {
|
|
|
246
246
|
const bar = chalk.green("+".repeat(addPortion)) + chalk.red("-".repeat(delPortion));
|
|
247
247
|
const counts = chalk.green("+" + add) + " " + chalk.red("-" + del);
|
|
248
248
|
let name = f.file.length > maxName ? f.file.slice(0, maxName - 1) + "\u2026" : f.file;
|
|
249
|
+
let line = name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar;
|
|
249
250
|
if (f.deleted) {
|
|
250
|
-
|
|
251
|
+
line += " " + chalk.red("[deleted]");
|
|
251
252
|
}
|
|
252
|
-
borderLine(
|
|
253
|
+
borderLine(line);
|
|
253
254
|
});
|
|
254
255
|
borderLine(
|
|
255
256
|
chalk.dim(
|
|
@@ -428,10 +429,11 @@ async function runSplit(config, desired) {
|
|
|
428
429
|
const bar = chalk2.green("+".repeat(addPortion)) + chalk2.red("-".repeat(delPortion));
|
|
429
430
|
const counts = chalk2.green("+" + add) + " " + chalk2.red("-" + del);
|
|
430
431
|
let name = f.file.length > maxName ? f.file.slice(0, maxName - 1) + "\u2026" : f.file;
|
|
432
|
+
let line = name.padEnd(maxName) + " | " + counts.padEnd(12) + " " + bar;
|
|
431
433
|
if (f.deleted) {
|
|
432
|
-
|
|
434
|
+
line += " " + chalk2.red("[deleted]");
|
|
433
435
|
}
|
|
434
|
-
borderLine(
|
|
436
|
+
borderLine(line);
|
|
435
437
|
});
|
|
436
438
|
borderLine(
|
|
437
439
|
chalk2.dim(
|
package/package.json
CHANGED