docs(readme): preferFrozenShrinkwrap option is now true by default

This commit is contained in:
Dave Jeffery
2018-04-06 23:04:46 +01:00
committed by Zoltan Kochan
parent dd543f0571
commit 2ff9083d8d

View File

@@ -72,7 +72,7 @@ Install all modules listed as dependencies in `package.json`.
* `options.frozenShrinkwrap` - *Boolean* - `false` by default. When `true`, shrinkwrap file is not generated and installation fails if an update is needed.
With this option, a headless installation is performed. A headless installation is ~33% faster than a regular one because it skips
dependencies resolution and peers resolution.
* `options.preferFrozenShrinkwrap` - *Boolean* - `false` by default. When `true`, a headless installation is performed if the shrinkwrap file
* `options.preferFrozenShrinkwrap` - *Boolean* - `true` by default. When `true`, a headless installation is performed if the shrinkwrap file
is up-to-date with the `package.json` file.
### `supi.uninstall(pkgsToUninstall, [options])`