Upgrade a number of NPM packages under a common namespace
19 September 2023 (Updated 19 September 2023)
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
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment