Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing module dependencies #402

Open
karneaud opened this issue Sep 11, 2019 · 2 comments
Open

Installing module dependencies #402

karneaud opened this issue Sep 11, 2019 · 2 comments

Comments

@karneaud
Copy link

karneaud commented Sep 11, 2019

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
Copy link
Author

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

@pipegris
Copy link
Contributor

pipegris commented Oct 2, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants