I do commit them before deploy, but I do ***NOT*** commit them to the
dev branch (usually master).

Use a mirror branch containing the exact same source as master, but
with dependencies added, using git commit-tree.

Indirectly, anyhow, I use strong-build:
https://github.com/strongloop/strong-build/#commit-command, if you are
getting pressure to commit deps, use slb to avoid the madness of
100,000s of lines of thirdparty code in your working branches...

Some more discussion here:

http://strongloop.com/strongblog/node-js-deploy-production-best-practice/

shrinkwrap is guaranteed to fail when npm is down or unreachable

Sam

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CACmrRmQ8NeDtUb_NStWv3%2BMqfQ5o0HdS9ERFxkdBnXoO4GgX1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to