Though to be fair, I often prefer manually creating the symlink directly as you did since I use nvm and my global node_modules changes when testing different versions of node. On Dec 7, 2013 7:55 PM, "Dave Horton" <[email protected]> wrote:
> Ah, yes thanks! > > On Saturday, December 7, 2013 6:51:07 PM UTC, Brian Di Palma wrote: >> >> npm link? >> >> On Sat, Dec 7, 2013 at 6:48 PM, Dave Horton <[email protected]> wrote: >> > I'm developing two related modules concurrently -- module A depends on >> > module B. Neither is anywhere near a state where I want to put them >> into >> > npm yet, so I can't simply have module A have a dependency on B in its >> > package.json and leave it at that. I'm thinking what I will do is have >> the >> > projects in separate folders (separate git repos) on my laptop, and >> then >> > just make a symbolic link under A/node_modules to where B is, so I can >> > modify B real-time and then test it as I run tests/examples on A. >> > >> > But I'm thinking this must be common, and whether smarter people than >> me >> > have figured out a better approach for this... >> > >> > -- >> > -- >> > 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 [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > 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 [email protected]. >> > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
