From 1ae5551618ace445fc4029da90f1cd4fdcb34ac2 Mon Sep 17 00:00:00 2001 From: Raine Revere Date: Tue, 21 Nov 2023 23:14:05 +0000 Subject: [PATCH] build --- README.md | 2 +- src/types/RunOptions.json | 5 +++-- src/types/RunOptions.ts | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7fadb31..bf21ba00 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e. --root - 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) -s, --silent diff --git a/src/types/RunOptions.json b/src/types/RunOptions.json index f35cf1d9..a3af598e 100644 --- a/src/types/RunOptions.json +++ b/src/types/RunOptions.json @@ -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": { @@ -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": { diff --git a/src/types/RunOptions.ts b/src/types/RunOptions.ts index 2853fbc5..ac35d873 100644 --- a/src/types/RunOptions.ts +++ b/src/types/RunOptions.ts @@ -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. */