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. */