renansigolo
11/8/2017 - 11:27 PM

Update Local packages

Update Local packages with npm and brew

NPM

Check for updates

npm outdated -g --depth=0

Update the dependencie

npm update -g dependencieName

Update all dependencies

npm update -g

List all global dependencies installed

npm list -g --depth=0

List all dependencies installed

npm list --depth=0

Brew

Update the formulae and Homebrew itself

brew update

You can now find out what is outdated with

brew upgrade

To see what would be cleaned up

brew cleanup -n

Clean up everything at once

brew cleanup

Cordova Plugins

Install

npm install -g cordova-check-plugins

Check for available updates

cordova-check-plugins

Update all plugins

cordova-check-plugins --update=auto

https://github.com/dpa99c/cordova-check-plugins

NPMVET

Checks the package.json against the current .lock file

npmvet

Ruby

Update Ruby packages

https://sourabhbajaj.com/mac-setup/Ruby/RubyGems.html

Yarn

yarn check --integrity

yarn upgrade-interactive --latest

ng config -g cli.packageManager yarn

ng config cli.packageManager yarn

yarn upgrade-interactive --latest