Angular Schematics for Better Productivity
summary
Angular Schematics are npm-based file generators that modify a project tree and drive Angular CLI commands like ng generate. The talk explains how to create a schematics collection (including schema.json for options), implement a rule factory that returns a Tree or Observable<Tree>, wire in templates, and package or link the collection; concrete examples include adding dependencies/scripts to package.json, generating mocks from API responses, and quickly building reusable tooling.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:33What are Schematics?
- 2:53Schematics for Developers
- 4:38Schematics CLI
- 5:21Project Structure
- 6:59Run Your Schematic
- 7:13Test in Your Project
- 9:32Use Templates
- 10:43Custom tooling
- 11:28Generate CI Config
- 12:07(Re)generate Mocks in Your Project
- 12:54Generate Components for Your Library
- 13:21Conclusion
- 14:00Thank You All!!
related talks
22mAngular Schematics - the unknown hero
55mAngular Schematics – the unknown hero
31mAutomated Scaffolding with Schematics (Angular)
29mAutomating your Angular projects with Schematics
45mTotal Guide To Custom Angular Schematics
31mCustom Schematics: An Angular Application by the push of a Button...
20mSchematics: an untapped frontier
41mAngular Schematics - Develop for developers
