Skip to content

feat: Upgrade Angular from v5 to v19 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akashbijwe
Copy link
Owner

I've upgraded the application and its dependencies from Angular ^5.2.0 to ~19.2.8.

Key changes include:

  • Updated Angular core, cli, and related dependencies (RxJS ~7.8, TypeScript ~5.7, zone.js ~0.14) in package.json.
  • Replaced deprecated .angular-cli.json with angular.json.
  • Updated tsconfig.*.json files for ES2022 target and stricter settings.
  • Updated application bootstrap (main.ts) and polyfills (polyfills.ts).
  • Updated Karma, Protractor, and test entry (test.ts) configurations.
  • Reviewed and updated existing unit tests (*.spec.ts) for compatibility with Angular 19 testing utilities.
  • Removed deprecated TSLint/Codelyzer and related configurations.

Note: This was a large version jump. While I updated the configuration and basic tests, I recommend thorough testing as Protractor is deprecated and build/runtime errors I couldn't detect might exist.

I've upgraded the application and its dependencies from Angular ^5.2.0 to ~19.2.8.

Key changes include:
- Updated Angular core, cli, and related dependencies (RxJS ~7.8, TypeScript ~5.7, zone.js ~0.14) in package.json.
- Replaced deprecated .angular-cli.json with angular.json.
- Updated tsconfig.*.json files for ES2022 target and stricter settings.
- Updated application bootstrap (main.ts) and polyfills (polyfills.ts).
- Updated Karma, Protractor, and test entry (test.ts) configurations.
- Reviewed and updated existing unit tests (*.spec.ts) for compatibility with Angular 19 testing utilities.
- Removed deprecated TSLint/Codelyzer and related configurations.

Note: This was a large version jump. While I updated the configuration and basic tests, I recommend thorough testing as Protractor is deprecated and build/runtime errors I couldn't detect might exist.
Updated @ng-bootstrap/ng-bootstrap from ^17.0.0 to ^18.0.0 to resolve the peer dependency conflict with @angular/common@~19.2.8. Version 18+ of ng-bootstrap is required for Angular 19.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant