Automated Scaffolding with Schematics (Angular)
summary
Shows how to write and run custom Angular schematics that actually modify a project: generating folder/file templates, TS config path aliases, and stylePreprocessorOptions includePaths, using the schematics API methods (create, overwrite, merge) and workspace queries. Demonstrates linking a local schematics package with npm link, piping multiple schematics as a schematics pipeline, validating options via schema, dry-run behavior, and proves it works by creating files and overwriting angular.json and tsconfig with the expected changes.
AI-written summary · about
chapters (5)
- 0:00Start
- 7:19install schematics
- 8:31create an angular project in a folder at the same level
- 20:16generate files in the file system
- 24:13run a series of validation functions
related talks
29mAutomating your Angular projects with Schematics
14mAngular Schematics for Better Productivity
55mAngular Schematics – the unknown hero
20mSchematics: an untapped frontier
22mAngular Schematics - the unknown hero
45mTotal Guide To Custom Angular Schematics
28mLeverage Angular Schematics to Empower Frontend Apps & Libraries
50mHow to leverage Angular Schematics to empower Devs of Frontend Apps & Libraries
