I've added the node_modules folder to my .gitignore file, which works fine thanks to NPM Shrinkwrap (after deploying I need to run npm install using the shrinkwrap.json file).
However, I've got some private modules now that I won't publish to NPM. I would like to require these modules like the other modules in node_modules.
Unfortunately I cannot put these modules in node_modules, because they'd be ignored by git, messing with my future deployment.
Where should I place these modules instead? I've been told that editing the paths variable for node's module lookup is highly unrecommended.
Note that these are small undocumented nonpublic modules, which is why I don't want to publish them to NPM.
Tom