Central deployments
While having one large release is often considered a downside of monoliths, it also can be seen as a desired solution. After all, this is an easy way to ensure we have one unit that works together. In this solution, we can also control when the application updates very well. Finally, the ultimate advantage of using a central deployment for micro frontends is that we can join the micro frontends that are already up front. This allows optimizations and enhancements that would be very hard to incorporate in a non-central pipeline.
It turns out there are two major ways of thinking about a central CI pipeline, outlined as follows:
- Using a mono repository (monorepo)
- Joining multiple repositories
While the former is easier to set up, the latter may be closer to what the majority of users are after. Let’s have a look at both.
Using a monorepo
Monorepos have become quite popular, one reason being that they allow the mixing of different...