Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2022-03-24 18:46:54 +0300
committerGitHub <noreply@github.com>2022-03-24 18:46:54 +0300
commit723a0918a5a9d9f795584f85d04506fafda9ca42 (patch)
tree37f0f659d7b81abd9b6cb6d2038ce83571e2c2b4 /docs
parent362831c4eba2554b44feec60fdff197d92eac0c1 (diff)
feat(version): reify on workspace version change (#4588)
Adds a minimalistic reify step that updates the installed tree after a version change within one of the configured workspaces when using any of the workspaces config options. It's also possible to use the `--save` config option in order to auto update semver ranges of dependencies declarations accross dependent `package.json` files. Fixes: https://github.com/npm/cli/issues/3403 Relates to: https://github.com/npm/rfcs/issues/556 Relates to: https://github.com/npm/cli/issues/3757 Relates to: https://github.com/npm/cli/issues/4193
Diffstat (limited to 'docs')
-rw-r--r--docs/content/commands/npm-version.md11
-rw-r--r--docs/content/using-npm/config.md11
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/content/commands/npm-version.md b/docs/content/commands/npm-version.md
index 86e2ce90e..713e5ae41 100644
--- a/docs/content/commands/npm-version.md
+++ b/docs/content/commands/npm-version.md
@@ -144,6 +144,17 @@ This value is not exported to the environment for child processes.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
+#### `workspaces-update`
+
+* Default: true
+* Type: Boolean
+
+If set to true, the npm cli will run an update after operations that may
+possibly change the workspaces installed to the `node_modules` folder.
+
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/utils/config/definitions.js -->
+
#### `include-workspace-root`
* Default: false
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index df259715f..76e5e35e6 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -1823,6 +1823,17 @@ This value is not exported to the environment for child processes.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
+#### `workspaces-update`
+
+* Default: true
+* Type: Boolean
+
+If set to true, the npm cli will run an update after operations that may
+possibly change the workspaces installed to the `node_modules` folder.
+
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/utils/config/definitions.js -->
+
#### `yes`
* Default: null