runset 0.0.3 → 0.0.4

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 CHANGED
@@ -200,9 +200,9 @@ show their status and duration: `✓ 2.1s`, `✗ code 1 · 2.1s`, or
200
200
  `– stopped · 2.1s`. Failure and stop lines also name the command. These lines
201
201
  follow the command's stdout settings, including grouping and redirection.
202
202
 
203
- `-w, --wrap` wraps long labelled lines and repeats the label on every line. It
203
+ Long labelled lines are wrapped, with the label repeated on every line. Wrapping
204
204
  uses the terminal width, or `COLUMNS` when no terminal width is available;
205
- without either, lines stay whole. Wrapping is off by default.
205
+ without either, lines stay whole. `--no-wrap` or `wrap: false` turns it off.
206
206
 
207
207
  ## Config
208
208
 
@@ -352,7 +352,7 @@ setting from the config. `--no-color` is an alias for `--color none`.
352
352
  | `--color <mode>` | `auto` (default), `none`, `basic`, `soft`, or `all`. |
353
353
  | `--show-command` | Print each command when it starts; default: off. |
354
354
  | `--show-exit-code` | Print each command's exit status and duration; default: off. |
355
- | `-w, --wrap` | Wrap long labelled lines, repeating the label; default: off. |
355
+ | `--no-wrap` | Leave long labelled lines whole instead of wrapping them with the label repeated. |
356
356
  | `--log-level <level>` | Filter runset's own messages: `error`, `warn`, `info` (default), or `debug`. Does not filter command output. |
357
357
 
358
358
  ### Configuration and help
package/dist/index.d.mts CHANGED
@@ -121,7 +121,7 @@ export interface ConfigJs {
121
121
  showExitCode?: boolean;
122
122
  stderr?: Partial<Std> | string;
123
123
  stdout?: Partial<Std> | string;
124
- /** Wrap labelled lines to the terminal, labelling each piece. Default: `false`. */
124
+ /** Wrap labelled lines to the terminal, labelling each piece. Default: `true`. */
125
125
  wrap?: boolean;
126
126
  }
127
127
  /** A config module may export the object itself or a sync factory for it. */
package/dist/index.mjs CHANGED
@@ -878,7 +878,6 @@ const FLAGS = [
878
878
  },
879
879
  {
880
880
  name: "wrap",
881
- short: "w",
882
881
  takesValue: false
883
882
  },
884
883
  {
@@ -1107,7 +1106,7 @@ var Config = class {
1107
1106
  this.recursive = options.recursive ?? file.recursive ?? false;
1108
1107
  this.showCommand = options.showCommand ?? file.showCommand ?? false;
1109
1108
  this.showExitCode = options.showExitCode ?? file.showExitCode ?? false;
1110
- this.wrap = options.wrap ?? file.wrap ?? false;
1109
+ this.wrap = options.wrap ?? file.wrap ?? true;
1111
1110
  this.envColumns = parseColumns(env.COLUMNS);
1112
1111
  this.labels = options.labels ?? file.labels ?? "auto";
1113
1112
  this.onSuccess = options.onSuccess ?? file.onSuccess ?? "continue";
@@ -2204,7 +2203,7 @@ Output:
2204
2203
  none | auto | custom | all (default: auto)
2205
2204
  --show-command print each command as it starts
2206
2205
  --show-exit-code mark each exit and its duration: ✓ 2.1s, ✗ code 1 · 2.1s
2207
- -w, --wrap wrap labelled lines to the terminal, a label on each
2206
+ --no-wrap leave long labelled lines whole instead of wrapping
2208
2207
 
2209
2208
  General:
2210
2209
  -c, --config <path> load a config file, skipping the default lookup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runset",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Run npm scripts and shell commands in parallel or sequence, with glob matching, reusable pipelines, colored labels, and grouped output",
5
5
  "keywords": [
6
6
  "npm-run-all",