How to build and deploy Angular 17 Microfrontend Apps in a Monorepo

Discussão em 'Angular' iniciado por vsam, Novembro 15, 2024.

  1. vsam

    vsam Guest

    I have an npm workspace that includes three Angular standalone applications (ver. 17), all built as standalone apps without using the Nx framework (Since we are using an internal framework, I can't use Nx). Each application has its own specific library, along with a shared library used across all apps. The goal is to manage these applications as microfrontends within a monorepo structure using Module Federation.

    I want to optimize the CI/CD pipeline in GitLab so that only the specific application (or its associated library) that has been modified is rebuilt, rather than rebuilding all applications in the workspace. For deployment, I'm using Rancher, and my next objective is to configure it so that each Angular application can be deployed independently on its own pod.

    Could you advise on the best approach to deploy each application separately on Rancher and integrate this setup with single GitLab pipeline and dockerfile?

    Continue reading...

Compartilhe esta Página