Reputation: 1
I have a distribution folder which contains the root package.json file and sub projects. Ex project1, project2, etc. I want to pack it as a tarball tgz file. Now when anyone install package from tgz file it should install all the dependency from project1, project2, etc. Currently it's just installing root package.json's dependency.
Upvotes: 0
Views: 1516
Reputation: 106
Hm, you can take a look at this cli: https://github.com/lerna/lerna
From their doc:
What does a Lerna repo look like? There's actually very little to it.
You have a file structure that looks like this:
Upvotes: 1