nodules icon indicating copy to clipboard operation
nodules copied to clipboard

dependent package.json

Open dvv opened this issue 14 years ago • 1 comments

HI!

Does nodules honor package's package.json, in particular, its dependencies key? I have a package which requires some stuff A for its internal purposes. This stuff is mentioned in its dependencies. Now I want to require my package from another project B. The package gets downloaded but the first require(A) fails since there's no mapping for A in B's package.json. Bug or feature? To specify internal dependencies of A in B's package.json is quirky, unclean and breaks orthogonality and opaqueness brought by packaging either.

TIA, --Vladimir

dvv avatar Nov 26 '10 16:11 dvv

Effectively, since in my package I already have "mappings" which resolves all its internal dependencies, I just need that package package.json to be appended to package B package.json

dvv avatar Nov 26 '10 17:11 dvv