Ok tried to add commit hash:
"dependencies": {
     "lib2": "git+ssh://g...@repo.com:userNa****me/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: 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 <greel...@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": "git+ssh://g...@repo.com:userNa****me/lib2.git"
>>>>   }
>>>> When code changed in lib2 repository I want to have changes in lib1.
>>>> What should I do to get that changes in lib1. I try* npm install* in
>>>> lib1 but nothing had changed.
>>>>
>>>  --
>>> --
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-*
>>> *Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines>
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to nod...@googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> nodejs+un...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en>
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "nodejs" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/**
>>> topic/nodejs/ZnoX1XXgTtU/**unsubscribe<https://groups.google.com/d/topic/nodejs/ZnoX1XXgTtU/unsubscribe>
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> nodejs+un...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> С уважением,
>> Максим Ефремов
>>
>>   --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/ZnoX1XXgTtU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
С уважением,
Максим Ефремов

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to