From 7b0906043b3b9e14fb79702d5331b779c2103e14 Mon Sep 17 00:00:00 2001 From: Ihor Date: Sat, 16 Oct 2021 01:54:49 +0200 Subject: [PATCH] docs(install): add help for `--force` option of `install` command (#3878) ref #1906 --- .changeset/kind-beers-doubt.md | 5 +++++ packages/plugin-commands-installation/src/install.ts | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/kind-beers-doubt.md diff --git a/.changeset/kind-beers-doubt.md b/.changeset/kind-beers-doubt.md new file mode 100644 index 0000000000..cc24815746 --- /dev/null +++ b/.changeset/kind-beers-doubt.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-installation": patch +--- + +add help for `--force` option of `install` command (re: #3878) diff --git a/packages/plugin-commands-installation/src/install.ts b/packages/plugin-commands-installation/src/install.ts index 2ca748b8df..81d82cb860 100644 --- a/packages/plugin-commands-installation/src/install.ts +++ b/packages/plugin-commands-installation/src/install.ts @@ -204,6 +204,10 @@ by any dependencies, so it is an emulation of a flat node_modules', description: 'Clone (aka copy-on-write) packages from the store', 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', + name: '--force', + }, ...UNIVERSAL_OPTIONS, ], },