Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Nov 21, 2023
1 parent f9d5bbe commit 1ae5551
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
</tr>
<tr>
<td>--root</td>
<td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: false)</td>
<td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: true) (default: true)</td>
</tr>
<tr>
<td>-s, --silent</td>
Expand Down
5 changes: 3 additions & 2 deletions src/types/RunOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
"type": "boolean"
},
"groupFunction": {
"description": "Supported function for the --group options.",
"description": "Customize how packages are divided into groups when using `--format group`. Run \"ncu --help --groupFunction\" for details.",
"type": "object"
},
"install": {
Expand Down Expand Up @@ -459,7 +459,8 @@
"type": "number"
},
"root": {
"description": "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: false)",
"default": true,
"description": "Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: true)",
"type": "boolean"
},
"silent": {
Expand Down
5 changes: 4 additions & 1 deletion src/types/RunOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ export interface RunOptions {
*/
retry?: number

/** Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: false) */
/** Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: true)
*
* @default true
*/
root?: boolean

/** Don't output anything. Alias for `--loglevel` silent. */
Expand Down

0 comments on commit 1ae5551

Please sign in to comment.