Supercharging Angular Libraries with 'ng add' and Schematics
summary
Shows how to make an Angular library installable with ng add by shipping a schematics collection and setting the "schematics" entry in package.json. Demonstrates concrete techniques: using schematics APIs (chain, externalSchematic, mergeWith, template/URL sources), atomic updates via a virtual file system so failed changes roll back, editing package.json safely (read/parse/overwrite) and a live example that adds a dependency (tel-aviv@5.0) and scaffolds files.
AI-written summary Β· about
chapters (12)
- 0:00Introduction to talk
- 1:08NativeScript overview
- 3:01Why use schematics
- 5:49Benefits of schematics
- 8:41Creating schematics collection
- 11:14Schematics theory basics
- 13:04Developing schematics
- 17:24Composing schematics
- 19:59Templating in schematics
- 24:19Editing files with schematics
- 30:38Live coding demo
- 31:22Q&A and resources
related talks
42mSupercharging Angular Libraries with "NG Add" and Schematics!
28mLeverage Angular Schematics to Empower Frontend Apps & Libraries
50mHow to leverage Angular Schematics to empower Devs of Frontend Apps & Libraries
31mAutomated Scaffolding with Schematics (Angular)
29mAutomating your Angular projects with Schematics
14mAngular Schematics for Better Productivity
22mAngular Schematics - the unknown hero
45mTotal Guide To Custom Angular Schematics
