sajad torkamani

Syntax:

npm outdated | grep @<namespace> |  awk '{print $1}' | xargs -I '{}' npm i "{}@latest"

Example:

npm outdated | grep @storybook |  awk '{print $1}' | xargs -I '{}' npm i "{}@latest"
Tagged: NPM

Leave a comment

Your email address will not be published. Required fields are marked *