mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-13 16:47:21 +02:00
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.
This commit is contained in:
@ -27,6 +27,9 @@ alias npmS="npm i -S "
|
||||
# npmd is used by https://github.com/dominictarr/npmd
|
||||
alias npmD="npm i -D "
|
||||
|
||||
# Force npm to fetch remote resources even if a local copy exists on disk.
|
||||
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"'
|
||||
|
Reference in New Issue
Block a user