exogenesis icon indicating copy to clipboard operation
exogenesis copied to clipboard

NPM uses wrong command

Open bitboxer opened this issue 9 years ago • 2 comments

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: .

bitboxer avatar Dec 21 '14 06:12 bitboxer

The more I learn about NPM, the more I want to burn it down.

moonglum avatar Dec 22 '14 08:12 moonglum

Yep. Javascript. If there is no surprise when using it, it is not Javascript 😄

bitboxer avatar Dec 22 '14 10:12 bitboxer