@@ -80,11 +80,9 @@ result in new modules being installed.
8080
8181Using ` npm find-dupes` will run the command in ` --dry-run` mode.
8282
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.
8886
8987# ## Configuration
9088
@@ -158,22 +156,6 @@ This configuration does not affect `npm ci`.
158156<!-- automatically generated, do not edit manually -->
159157<!-- see lib/utils/config/definitions.js -->
160158
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-
177159#### `omit`
178160
179161* 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
323305all workspaces via the `workspaces` flag, will cause npm to operate only on
324306the specified workspaces, and not on the root project.
325307
308+ This value is not exported to the environment for child processes.
309+
326310<!-- automatically generated, do not edit manually -->
327311<!-- see lib/utils/config/definitions.js -->
328312
0 commit comments