Angular Micro-Frontend Dependency Policy

•
2
•

Manages library sharing across Angular micro-frontends to prevent domain leakage and optimize bundle sizes.

This skill provides a structured framework for defining and auditing dependency sharing policies in Angular micro-frontend architectures using Nx and Module Federation. It enforces the 'share contracts, not domain ownership' principle, ensuring that shared libraries remain focused on UI components and utilities while blocking the leakage of private domain services and state. By providing clear guidance on safe vs. unsafe sharing, it helps developers reduce bundle duplication risks and avoid hidden runtime coupling between shell and remote applications.

Características Principales

01Identifies safe sharing candidates like UI kits and design systems
02Audits and minimizes bundle duplication risks in Module Federation
03Standardizes singleton service policies across shell and remote apps
04Enforces 'Share contracts, not domain ownership' architecture rules
052 GitHub stars
06Prevents domain leakage by blocking private services from shared packages

Casos de Uso

01Configuring Module Federation sharing rules for a new Nx workspace
02Auditing existing micro-frontend dependencies to reduce coupling
03Establishing a standardized sharing policy for distributed development teams