Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
32532c14
Unverified
Commit
32532c14
authored
Apr 25, 2021
by
Petr Rajtslegr
Committed by
GitHub
Apr 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(npm): add alias for `npm update` (#9442)
parent
1cc15ca3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
README.md
plugins/npm/README.md
+1
-0
npm.plugin.zsh
plugins/npm/npm.plugin.zsh
+3
-0
No files found.
plugins/npm/README.md
View file @
32532c14
...
...
@@ -18,6 +18,7 @@ plugins=(... npm)
|
`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 |
|
`npmU`
|
`npm update`
| Update all the packages listed to the latest version |
|
`npmV`
|
`npm -v`
| Check package versions |
|
`npmL`
|
`npm list`
| List installed packages |
|
`npmL0`
|
`npm ls --depth=0`
| List top-level installed packages |
...
...
plugins/npm/npm.plugin.zsh
View file @
32532c14
...
...
@@ -37,6 +37,9 @@ alias npmE='PATH="$(npm bin)":"$PATH"'
# Check which npm modules are outdated
alias
npmO
=
"npm outdated"
# Update all the packages listed to the latest version
alias
npmU
=
"npm update"
# Check package versions
alias
npmV
=
"npm -v"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment