@code-pushup/cli 0.10.4 → 0.10.5

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -998,6 +998,7 @@ var mpb;
998
998
  function getSingletonProgressBars(options2) {
999
999
  if (!mpb) {
1000
1000
  mpb = new MultiProgressBars({
1001
+ progressWidth: TERMINAL_WIDTH,
1001
1002
  initMessage: "",
1002
1003
  border: true,
1003
1004
  ...options2
@@ -1333,6 +1334,8 @@ function reportToOverviewSection2({
1333
1334
  plugins
1334
1335
  }) {
1335
1336
  const table = new CliTable3({
1337
+ // eslint-disable-next-line no-magic-numbers
1338
+ colWidths: [TERMINAL_WIDTH - 7 - 8 - 4, 7, 8],
1336
1339
  head: reportRawOverviewTableHeaders,
1337
1340
  colAligns: ["left", "right", "right"],
1338
1341
  style: {
@@ -1688,7 +1691,7 @@ function auditOutputsCorrelateWithPluginOutput(auditOutputs, pluginConfigAudits)
1688
1691
 
1689
1692
  // packages/core/package.json
1690
1693
  var name = "@code-pushup/core";
1691
- var version = "0.10.4";
1694
+ var version = "0.10.5";
1692
1695
 
1693
1696
  // packages/core/src/lib/implementation/collect.ts
1694
1697
  async function collect(options2) {
@@ -2176,7 +2179,7 @@ function yargsCli(argv, cfg) {
2176
2179
  }).coerce(
2177
2180
  "config",
2178
2181
  (config) => Array.isArray(config) ? config.at(-1) : config
2179
- ).options(options2);
2182
+ ).options(options2).wrap(TERMINAL_WIDTH);
2180
2183
  if (usageMessage) {
2181
2184
  cli2.usage(chalk9.bold(usageMessage));
2182
2185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/cli",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "code-pushup": "index.js"