fix(npm): replace removed npm bin in npmE (#14250)

This commit is contained in:
Iain
2026-11-09 13:34:47 +01:00
committed by GitHub
parent 2d03d8ac01
commit 044bcbf82d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ plugins=(... npm)
| `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 |
| `npmE` | `PATH="$(npm root)/.bin":"$PATH"` | Run command from node_modules folder based on current directory |
| `npmO` | `npm outdated` | Check which npm modules are outdated |
| `npmU` | `npm update` | Update all the packages listed to the latest version |
| `npmV` | `npm -v` | Check package versions |
+1 -1
View File
@@ -32,7 +32,7 @@ alias npmF='npm i -f'
# Execute command from node_modules folder based on current directory
# i.e npmE gulp
alias npmE='PATH="$(npm bin)":"$PATH"'
alias npmE='PATH="$(npm root)/.bin":"$PATH"'
# Check which npm modules are outdated
alias npmO="npm outdated"