modules icon indicating copy to clipboard operation
modules copied to clipboard

Installing module dependencies

Open karneaud opened this issue 6 years ago • 2 comments

How are 3rd party dependencies for modules handled? Do I install them into the root of the project or Can I install them root of module?

karneaud avatar Sep 11 '19 16:09 karneaud

Thus,... are they handled by adding them to the module.json as you would a composer.json file?

karneaud avatar Sep 11 '19 16:09 karneaud

AFIK if you add it to the root project, it would be available in the whole system (given you import it with the appropiate namespace). But if you need a separate composer.json file per module, I used this plugin for that, don't know if someone knows a better alternative. https://github.com/wikimedia/composer-merge-plugin Cheers!

pipegris avatar Oct 02 '19 18:10 pipegris