diff options
author | Mauro Porras <167700+mauroporras@users.noreply.github.com> | 2021-04-25 12:02:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-25 19:02:39 +0200 |
commit | 1cc15ca3c23ba1a2b5236432bc62eb652c98972d (patch) | |
tree | 52aad50674647956f7816a3a47722c98358e4588 /plugins/npm/README.md | |
parent | 48a3c2f32d1a4643db367eed4d6c53768c3847b1 (diff) | |
download | zsh-1cc15ca3c23ba1a2b5236432bc62eb652c98972d.tar.gz zsh-1cc15ca3c23ba1a2b5236432bc62eb652c98972d.tar.bz2 zsh-1cc15ca3c23ba1a2b5236432bc62eb652c98972d.zip |
feat(npm): add alias for `npm i -f` (#8454)
As documented in the README, `npm i -f` forces npm to install the specified packages from a remote
package registry, even if local copies exist on disk caches.
Diffstat (limited to 'plugins/npm/README.md')
-rw-r--r-- | plugins/npm/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/npm/README.md b/plugins/npm/README.md index 0b1a2280f..bc627e56f 100644 --- a/plugins/npm/README.md +++ b/plugins/npm/README.md @@ -15,6 +15,7 @@ plugins=(... npm) | `npmg` | `npm i -g` | Install dependencies globally | | `npmS` | `npm i -S` | Install and save to dependencies in your package.json | | `npmD` | `npm i -D` | Install and save to dev-dependencies in your package.json | +| `npmF` | `npm i -f` | Force install from remote registries ignoring local cache | | `npmE` | `PATH="$(npm bin)":"$PATH"` | Run command from node_modules folder based on current directory | | `npmO` | `npm outdated` | Check which npm modules are outdated | | `npmV` | `npm -v` | Check package versions | |