Re: [foreman-dev] The package.json thing in git

2017-12-14 Thread Lukas Zapletal
I have this aliases: alias bi="bundle install && test -f package.json && npm install || node_modules/.bin/npm install" alias bu="bundle update && test -f package.json && npm upgrade || node_modules/.bin/npm upgrade" We don't have Gemfile.lock in git, therefore update needs to be executed often.

Re: [foreman-dev] The package.json thing in git

2017-12-14 Thread Ewoud Kohl van Wijngaarden
On Thu, Dec 14, 2017 at 04:18:45PM +0100, Lukas Zapletal wrote: for some reason, npm upgrade is touching my package.json on every run. This file is in git, so it is annoying to have that edited every run. Can we do something with this? I think you're supposed to use npm install. npm upgrade is