Angular 2 to 4 Upgrade Assistant

•
2
•

Automates the migration of legacy Angular 2.x applications to Angular 4.x by aligning dependencies and refactoring deprecated APIs.

This skill facilitates a controlled, major-hop upgrade from Angular 2.x to Angular 4.x, ensuring architectural stability by handling version-specific breaking changes. It automatically identifies and updates deprecated symbols like OpaqueToken to InjectionToken, transitions template syntax to ng-template, and migrates animation imports, all while maintaining strict dependency alignment for TypeScript and RxJS within a bounded version slice. It is ideal for developers managing legacy codebases who need a safe, incremental path toward modern Angular versions.

Key Features

01Automated dependency alignment for Angular 4.x core packages
02Migrates legacy <template> tags to <ng-template> syntax
03Validates migration via build, test, and lint script verification
04Refactors deprecated OpaqueToken to InjectionToken for DI compliance
05Updates animation symbols and imports to @angular/animations
062 GitHub stars

Use Cases

01Executing step-by-step framework migrations in large repositories
02Modernizing legacy enterprise Angular 2.x codebases safely
03Automating repetitive refactoring tasks during major version jumps