~/talk

Upgrading your AngularJS App, Without the Tears

Talkat NG-MY 2019 · 2019-07-06..07-07· [angular, legacy-modernisation]
slides:none on file

An enterprise AngularJS 1.4 ES5 app embedded in JSPs and built with Maven upgrades to AngularJS 1.7 and then into a hybrid Angular setup using ng-upgrade and TypeScript. Security scan shows 6 high severity, 31 medium, 18 low JS vulnerabilities, fixed by upgrading dependencies and breaking the build via SonarQube. Tests (900+) get rewritten from implementation checks to outcome assertions, ng-annotate is applied with a bash loop to fix DI, imports are generated, and the long-term plan moves to NX micro-frontends; the migration takes about four months.

AI-written summary · about

  1. 0:00Introduction to the project
  2. 1:34Analyzing technical debt
  3. 4:14Addressing security issues
  4. 5:54Dependency upgrades
  5. 7:31Importance of testing
  6. 10:13Improving developer experience
  7. 11:56Preparation for ng upgrade
  8. 13:21Technical migration steps
  9. 16:43Switching to TypeScript
  10. 19:00Configuring Angular CLI
  11. 20:23Hybrid app development
  12. 23:05Future architecture and wrap
~/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.