A Gentle Introduction to Angular Schematics
summary
Step-by-step guide that creates a real Angular schematic, unit-tests it with the schematic test runner, and installs it into an app via npm pack to prove distribution works; explains the painful gotcha where generated .npmignore strips TypeScript templates and how to fix it. Shows template expressions, schema.json prompts, and how to wire dependencies and modify files. Demonstrates configuring OpenID Connect auth using ng add and a published package octa-dev-schematics that supports Angular, React, Vue, Ionic and React Native and the demo runs.
AI-written summary · about
chapters (4)
- 0:00Start
- 9:30Publish Your Schematic to npm
- 10:31Add Support for ng add with Angular CLI
- 11:40Example Template Code
related talks
45mTotal Guide To Custom Angular Schematics
46m2019: A Schematic Odyssey
50mHow to leverage Angular Schematics to empower Devs of Frontend Apps & Libraries
22mAngular Schematics - the unknown hero
14mAngular Schematics for Better Productivity
31mAutomated Scaffolding with Schematics (Angular)
55mAngular Schematics – the unknown hero
31mCustom Schematics: An Angular Application by the push of a Button...
