Configuring Angular Libraries with Monorepos
summary
Creates Angular libraries with the CLI using the specific command ng generate library, produces build outputs like esm2015 and UMD bundles (no ES5 by default), and packs the distributable as a .tgz via npm pack. Explains that the Angular CLI inlines templates and emits AOT metadata and typing files, notes the current warning against publishing libraries directly, and shows NX workspaces where apps hold config, libs hold business logic, and NX enforces restricted dependencies between projects.
AI-written summary · about
chapters (5)
- 0:00Start
- 0:58Why Do We Need Libraries
- 18:31Data Access Libraries
- 19:04Nx Workspace
- 20:36Restricted Dependencies
related talks
28mCreate & Publish Angular Libs like a PRO
20mThe New CLI and angular.json
22mSustainable Angular Architectures with Monorepos and Strategic Domain Driven Design
33mArchitectures for huge Angular based Enterprise Applications: npm Packages, Monorepos and Microservices
29mSupercharging the Angular CLI with Nx
34mAngular Monorepo Diaries
30mCreate and publish Angular libs like a Pro
26mAngular Libraries: from zero to Open Source
