mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-24 15:48:06 -05:00
docs(install): supplementary explanation of --force (#5932)
Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
6
.changeset/mean-squids-rest.md
Normal file
6
.changeset/mean-squids-rest.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-installation": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Add more info to the description of the `--force` option in the `pnpm install` command.
|
||||
6
.changeset/thick-worms-camp.md
Normal file
6
.changeset/thick-worms-camp.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/resolve-dependencies": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
`pnpm install --fix-lockfile` should install successfully when package has no dependencies but has auto installed peer dependencies [#
|
||||
@@ -215,7 +215,9 @@ by any dependencies, so it is an emulation of a flat node_modules',
|
||||
name: '--package-import-method clone',
|
||||
},
|
||||
{
|
||||
description: 'Force reinstall dependencies: refetch packages modified in store, recreate a lockfile and/or modules directory created by a non-compatible version of pnpm',
|
||||
description: 'Force reinstall dependencies: refetch packages modified in store, \
|
||||
recreate a lockfile and/or modules directory created by a non-compatible version of pnpm. \
|
||||
Install all optionalDependencies even they don\'t satisfy the current environment(cpu, os, arch)',
|
||||
name: '--force',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user