h2non / nar

node.js application archive - create self-contained binary like executable applications that are ready to ship and run
MIT License
428 stars 23 forks source link

Copy nested dependencies while generating nar executables #120

Closed h2non closed 8 years ago

h2non commented 8 years ago

When creating nar executables, if the nar has not been installed as global dependency, it might fail due to missing shared dependencies, since the current strategy is to copy the whole directory.

The solution is resolving nested shared dependencies and copying them to the node_modules nar directory inside the executable tarball.

h2non commented 8 years ago

Create test case for intermediate shared dependencies.

h2non commented 8 years ago

Done!