Schematics: an untapped frontier
summary
Schematics are shown as executable generators that modify and create code deterministically using the schematics CLI plus the Angular CLI and TypeScript tooling, leveraging an AST (abstract syntax tree) to find exact insertion points. Examples include an automated Prettier/ng-setup schematic, a pattern that scaffolds unsubscribe boilerplate, and a sandbox workflow (ng new, tsc, npm link) that diffs changes so authors can iterate and it consistently works.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:35Agenda
- 2:04Definition
- 3:23Getting started
- 4:22Brians schematic
- 6:20Adding files
- 8:12Updating files
- 8:56What are nodes
- 12:17Extending Schematics
- 13:29Copying Attribute
- 14:33Looking at Source Code
- 14:52Schematic Sandbox
- 15:31Building a Schematic Sandbox
- 16:36Use Cases
- 18:31Outro
related talks
55mAngular Schematics – the unknown hero
22mAngular Schematics - the unknown hero
31mAutomated Scaffolding with Schematics (Angular)
14mAngular Schematics for Better Productivity
31mAutomating boring Programming Tasks with the Angular CLI and Schematics
31mCustom Schematics: An Angular Application by the push of a Button...
41mAngular Schematics - Develop for developers
29mAutomating your Angular projects with Schematics
