exogenesis
exogenesis copied to clipboard
NPM uses wrong command
trafficstars
In this node ticket they explain that our update script is wrong. We should not use npm update but this instead:
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
npm -g install "$package"
done
Because:
What that does is a bit surprising: without respecting semantic versioning, it updates all the dependencies of bower (but not bower itself) to the latest available version.
Yep, sad :panda_face: .
The more I learn about NPM, the more I want to burn it down.
Yep. Javascript. If there is no surprise when using it, it is not Javascript 😄