I have a main angular application and other developers from other companies will have to provide functionality that is integrated in our app.
I was thinking to provide them with some documentation and require them to develop everything in one module, but this could result in them accessing some global state and breaking stuff.
I do not like that the way of integrating is to just copy that module in the app, edit the code and import the module and the main component. It will need to be tested for each module, and it is a high risk involved with each external module.
How else could I look at this problem?
I was thinking to require them to provide the entire module as a web component, but I am not convinced that it would solve the problem completely.
How can I have third party developers create modules for my app and integrate them with as little risk as possible?