You can use 'npm link' to cross-link private modules. e.g. (cd my_db_module && npm link) (cd my_app && npm link my_db_module)
On Sun, Nov 25, 2012 at 9:44 AM, ravi <[email protected]> wrote: > Hello all, > I'd like to have node use private modules as dependencies. These will be > in the same directory structure of the main project. > > npm can use 'http:' and 'git:' in its dependencies list, Can it use > 'file:' (Or something similar)? > > thanks, > ravi > > -- > 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 > -- 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
