Migrating breaking changes with TSLint and Schematics
summary
Claims that ng update can automate breaking-change migrations by combining a custom TSLint rule (with a fixer that handles import declarations require calls and dynamic imports, preserves quotes) and an update schematics collection. Presents a runnable plugin plus tests, a migration JSON pointing to a schematic factory, and a rule that verifies and programmatically rewrites many import syntaxes. Demonstrates running ng update to install and then apply the migration, with the repository files updated automatically.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:58The Breaking Change
- 19:53Add an ESLint configuration file
- 22:20Library migrations with ng update
- 22:58You can write your own Schematics
- 25:10Theory time!
- 27:04Schematics Basics
- 28:29Find the source directory
related talks
29mCustom ESLint Rules with Angular Schematics
31mAutomated Scaffolding with Schematics (Angular)
06mTSLint to ESLint in 5 minutes
32mSupercharging Angular Libraries with 'ng add' and Schematics
20mSchematics: an untapped frontier
55mAngular Schematics – the unknown hero
46m2019: A Schematic Odyssey
16mA Gentle Introduction to Angular Schematics
