~/talk

Migrating breaking changes with TSLint and Schematics

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, developer-experience]
slides:none on file

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

  1. 0:00Start
  2. 2:58The Breaking Change
  3. 19:53Add an ESLint configuration file
  4. 22:20Library migrations with ng update
  5. 22:58You can write your own Schematics
  6. 25:10Theory time!
  7. 27:04Schematics Basics
  8. 28:29Find the source directory
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.