Upgrade to Angular 8

Proprietary

Migrates Angular 7.x applications to Angular 8. This includes adding the static flag that @ViewChild and @ContentChild now require, with the timing each query had in Angular 7 where the class shows it, moving the DOCUMENT import from @angular/platform-browser to @angular/common, removing rxjs-compat and flagging any remaining RxJS 5-style imports, migrating @angular/http to @angular/common/http and flagging what has no equivalent, converting deprecated string-based loadChildren to dynamic imports, and upgrading Angular, TypeScript, and related dependency versions.

org.openrewrite.angular.UpgradeToAngular8
mod run . --recipe=org.openrewrite.angular.UpgradeToAngular8

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Upgrade to Angular 8 (code changes)
  2. org.openrewrite.javascript.UpgradeDependencyVersion
  3. org.openrewrite.javascript.UpgradeDependencyVersion
  4. org.openrewrite.javascript.UpgradeDependencyVersion
  5. org.openrewrite.javascript.UpgradeDependencyVersion
  6. org.openrewrite.javascript.UpgradeDependencyVersion
  7. org.openrewrite.javascript.UpgradeDependencyVersion
  8. org.openrewrite.javascript.UpgradeDependencyVersion
  9. org.openrewrite.javascript.UpgradeDependencyVersion
  10. org.openrewrite.javascript.UpgradeDependencyVersion
  11. org.openrewrite.javascript.UpgradeDependencyVersion
  12. org.openrewrite.javascript.UpgradeDependencyVersion