DevKit and Schematics
summary
Angular CLI splits into a reusable DevKit library and a workflow engine called schematics. The build optimizer runs TypeScript transforms, replaces TS helpers with imports and marks Angular libs as side‑effect free, yielding the claim of ~60% reduction in an internal docs bundle and AOT dev rebuilds near 1.2–1.5s. Schematics are atomic, sandboxed rule factories that chain, extend and merge collections, validate options, and plan tasks; roadmap adds ng add for libraries, PWA/service‑worker polish, build hooks, IDE integration and automatic code migrations.
AI-written summary · about
chapters (12)
- 0:00Start
- 10:24What is Build Optimizer?
- 11:25Why use Build Optimizer?
- 15:53Prefix Classes
- 16:09Class Fold
- 16:40Scrub File (part 1)
- 18:23Wrap Enums
- 19:30Using Build Optimizer
- 25:40Simple Schematic
- 26:48Using Another Schematic
- 29:14Getting Started
- 34:40Merging Collections
related talks
29mAutomating your Angular projects with Schematics
41mAngular Schematics - Develop for developers
55mAngular Schematics – the unknown hero
22mAngular Schematics - the unknown hero
50mHow to leverage Angular Schematics to empower Devs of Frontend Apps & Libraries
14mAngular Schematics for Better Productivity
31mAutomating boring Programming Tasks with the Angular CLI and Schematics
28mLeverage Angular Schematics to Empower Frontend Apps & Libraries
