@@ -80,11 +80,9 @@ result in new modules being installed.
80
80
81
81
Using ` npm find-dupes` will run the command in ` --dry-run` mode.
82
82
83
- Note that by default ` npm dedupe` will not update the semver values of direct
84
- dependencies in your project ` package.json` , if you want to also update
85
- values in ` package.json` you can run: ` npm dedupe --save` (or add the
86
- ` save=true` option to a [configuration file](/configuring-npm/npmrc)
87
- to make that the default behavior).
83
+ Note: ` npm dedupe` will never update the semver values of direct
84
+ dependencies in your project ` package.json` , if you want to update
85
+ values in ` package.json` you can run: ` npm update --save` instead.
88
86
89
87
# ## Configuration
90
88
@@ -158,22 +156,6 @@ This configuration does not affect `npm ci`.
158
156
<!-- automatically generated, do not edit manually -->
159
157
<!-- see lib/utils/config/definitions.js -->
160
158
161
- #### `save`
162
-
163
- * Default: `true` unless when using `npm update` or `npm dedupe` where it
164
- defaults to `false`
165
- * Type: Boolean
166
-
167
- Save installed packages to a `package.json` file as dependencies.
168
-
169
- When used with the `npm rm` command, removes the dependency from
170
- `package.json`.
171
-
172
- Will also prevent writing to `package-lock.json` if set to `false`.
173
-
174
- <!-- automatically generated, do not edit manually -->
175
- <!-- see lib/utils/config/definitions.js -->
176
-
177
159
#### `omit`
178
160
179
161
* Default: ' dev' if the `NODE_ENV` environment variable is set to
@@ -323,6 +305,8 @@ When false, specifying individual workspaces via the `workspace` config, or
323
305
all workspaces via the `workspaces` flag, will cause npm to operate only on
324
306
the specified workspaces, and not on the root project.
325
307
308
+ This value is not exported to the environment for child processes.
309
+
326
310
<!-- automatically generated, do not edit manually -->
327
311
<!-- see lib/utils/config/definitions.js -->
328
312
0 commit comments