[nodejs] Re: update git dependencies

2013-07-13 Thread Alex Kocharin
1. mv node_modules node_modules.backup 2. npm install `npm update` is just broken, and there is no way around it :( On Monday, July 8, 2013 8:15:50 PM UTC+4, Maxim Yefremov wrote: I got lib1 that depends on lib2 via git: dependencies: { lib2: git+ssh://g...@repo.com:userName/lib2.git

Re: [nodejs] Re: update git dependencies

2013-07-13 Thread Maxim Yefremov
Thank you, Alex On Jul 13, 2013 10:08 AM, Alex Kocharin a...@equenext.com wrote: 1. mv node_modules node_modules.backup 2. npm install `npm update` is just broken, and there is no way around it :( On Monday, July 8, 2013 8:15:50 PM UTC+4, Maxim Yefremov wrote: I got lib1 that depends on

[nodejs] Re: update git dependencies

2013-07-09 Thread greelgorke
npm update? Am Montag, 8. Juli 2013 18:15:50 UTC+2 schrieb Maxim Yefremov: I got lib1 that depends on lib2 via git: dependencies: { lib2: git+ssh://g...@repo.com:userName/lib2.git } When code changed in lib2 repository I want to have changes in lib1. What should I do to get that

Re: [nodejs] Re: update git dependencies

2013-07-09 Thread Maxim Yefremov
*npm update* updates everything exept git dependencies On Tue, Jul 9, 2013 at 3:26 PM, greelgorke greelgo...@gmail.com wrote: npm update? Am Montag, 8. Juli 2013 18:15:50 UTC+2 schrieb Maxim Yefremov: I got lib1 that depends on lib2 via git: dependencies: { lib2:

Re: [nodejs] Re: update git dependencies

2013-07-09 Thread greelgorke
ah yes. here: https://npmjs.org/doc/json.html#Git-URLs-as-Dependencies to update, just append the commit hash Am Dienstag, 9. Juli 2013 13:35:46 UTC+2 schrieb Maxim Yefremov: *npm update* updates everything exept git dependencies On Tue, Jul 9, 2013 at 3:26 PM, greelgorke

Re: [nodejs] Re: update git dependencies

2013-07-09 Thread Maxim Yefremov
Ok tried to add commit hash: dependencies: { lib2: git+ssh://g...@repo.com:userName/lib2.git#e899c1e } And then *npm update* But nothing changed. On Tue, Jul 9, 2013 at 4:05 PM, greelgorke greelgo...@gmail.com wrote: ah yes. here: