@soybeanjs/changelog 0.0.6 → 0.0.7
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.cjs +2 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,6 @@ const convertGitmoji = require('convert-gitmoji');
|
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
11
11
|
|
|
12
|
-
const cliProgress__default = /*#__PURE__*/_interopDefaultCompat(cliProgress);
|
|
13
12
|
const dayjs__default = /*#__PURE__*/_interopDefaultCompat(dayjs);
|
|
14
13
|
|
|
15
14
|
async function execCommand(cmd, args, options) {
|
|
@@ -523,9 +522,9 @@ async function getTotalChangelogMarkdown(options, showProgress = true) {
|
|
|
523
522
|
const opts = await createOptions(options);
|
|
524
523
|
let bar = null;
|
|
525
524
|
if (showProgress) {
|
|
526
|
-
bar = new
|
|
525
|
+
bar = new cliProgress.SingleBar(
|
|
527
526
|
{ format: "generate total changelog: [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}" },
|
|
528
|
-
|
|
527
|
+
cliProgress.Presets.shades_classic
|
|
529
528
|
);
|
|
530
529
|
}
|
|
531
530
|
const tags = getFromToTags(opts.tags);
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SingleBar, Presets } from 'cli-progress';
|
|
2
2
|
import { readFile, writeFile } from 'fs/promises';
|
|
3
3
|
import { ofetch } from 'ofetch';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
@@ -516,9 +516,9 @@ async function getTotalChangelogMarkdown(options, showProgress = true) {
|
|
|
516
516
|
const opts = await createOptions(options);
|
|
517
517
|
let bar = null;
|
|
518
518
|
if (showProgress) {
|
|
519
|
-
bar = new
|
|
519
|
+
bar = new SingleBar(
|
|
520
520
|
{ format: "generate total changelog: [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}" },
|
|
521
|
-
|
|
521
|
+
Presets.shades_classic
|
|
522
522
|
);
|
|
523
523
|
}
|
|
524
524
|
const tags = getFromToTags(opts.tags);
|