Nx: Your Blissful Path to OSS Angular Library Management
summary
Nx shows how to manage Angular libraries at scale by using ng-packagr for Angular Package Format outputs, generating secondary entry points with nx generate @nx/angular:entry-point, converting each entry point into an Nx project via a convert-to-project generator, and using Nx caching and the affected graph to run only changed tests. Examples: 440 entry points (NG Extension) motivated the approach, build times drop from ~2s to ~38ms with cache, and a plugin plus library are published together with automated release and changelog.
AI-written summary · about
chapters (8)
- 0:00The state of Angular libraries
- 2:09Angular package format
- 5:05Limitations of Angular CLI
- 8:01Introduction to Nx
- 12:17Scaling with entry points
- 14:43Custom workspace plugins
- 21:35Testing and documentation
- 23:35Publishing and maintenance
related talks
40mNx - Enter Enterprise Development for Angular
40mDriving Your JavaScript Library Ecosystem With Nx
35mNx for Angular CLI Users
29mSupercharging the Angular CLI with Nx
26mNx for Angular Developers
09mUsing Nx: Angular CLI Power-ups for Modern Development
22mFine-Tuning Your Angular Workflow with Nx: Beyond the CLI
22mNx for Angular CLI Users
