Upgrade Angular from 9.0.1 to 11.2.14#156
Open
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
Open
Upgrade Angular from 9.0.1 to 11.2.14#156devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
Conversation
Phase 1: Angular 9 to 10 upgrade - Updated all @angular/* packages from ~9.0.1 to ~10.2.5 - Updated @angular/cli from ~9.0.2 to ~10.2.4 - Updated @angular-devkit/build-angular from ~0.900.2 to ~0.1002.4 - Updated typescript from ~3.7.5 to ~3.9.10 - Updated zone.js from ~0.10.2 to ~0.10.3 - Updated tslib from ^1.10.0 to ^2.0.0 - Updated various dev dependencies for Angular 10 compatibility Phase 2: Angular 10 to 11 upgrade - Updated all @angular/* packages from ~10.2.5 to ~11.2.14 - Updated @angular/cli from ~10.2.4 to ~11.2.19 - Updated @angular-devkit/build-angular from ~0.1002.4 to ~0.1102.19 - Updated typescript from ~3.9.10 to ~4.0.8 - Updated zone.js from ~0.10.3 to ~0.11.4 - Removed deprecated 'extractCss' option from angular.json - Updated karma from ~5.0.0 to ~6.1.0 Switched from yarn.lock to package-lock.json for npm compatibility. Co-Authored-By: Max <max@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade Angular from 9.0.1 to 11.2.14
Summary
This PR upgrades the Angular application from version 9.0.1 to version 11.2.14 following the recommended incremental upgrade path (9 → 10 → 11). The upgrade includes updates to all Angular core packages, CLI tooling, TypeScript, and related dependencies.
Key changes:
@angular/*packages:~9.0.1→~11.2.14@angular/cli:~9.0.2→~11.2.19@angular-devkit/build-angular:~0.900.2→~0.1102.19typescript:~3.7.5→~4.0.8zone.js:~0.10.2→~0.11.4tslib:^1.10.0→^2.0.0extractCssoption fromangular.json(CSS extraction is now the default in Angular 11)yarn.locktopackage-lock.jsonThe build compiles successfully and generates both ES5 and ES2015 bundles.
Review & Testing Checklist for Human
npm start) and verify it loads correctly in a browser - the build passes but runtime behavior was not testedRecommended test plan: Run
npm install && npm start, navigate through the app's main features (feed pages, item details, user profiles), and verify no console errors appear.Notes
NODE_OPTIONS=--openssl-legacy-provideron newer Node.js versions due to webpack compatibilityLink to Devin run: https://app.devin.ai/sessions/b926dc35bdcd4c4b9e5701d849f6e0fb
Requested by: Max (max@cognition.ai)