-
Notifications
You must be signed in to change notification settings - Fork 1
Update to Angular 18 #606
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
Update to Angular 18 #606
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
==========================================
- Coverage 44.65% 44.60% -0.05%
==========================================
Files 369 371 +2
Lines 11283 11292 +9
Branches 1850 1850
==========================================
- Hits 5038 5037 -1
- Misses 6079 6087 +8
- Partials 166 168 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9a03373
to
c0a52cd
Compare
@cecilia-donnelly @liam-lloyd @crisnicandrei For this PR what I'm thinking is... I have the PR itself broken into commits where not every commit stands on its own, but it shows the progress of the migration. I can then squash appropriately before merge it so there's a single "commit" for "update to Angular 18" At any rate... I think this is ready for review. |
c0a52cd
to
054794a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be worth including the Prettier corrections in this PR; the migration tool seems to have mangled formatting pretty badly in a number of places. There are a lot of nonsensically formatted arrays, in particular, where it's pretty difficult to find the closing bracket.
@liam-lloyd will do... the problem is just running prettier rewrites basically the entire code base because most of the code base doesn't conform to prettier. I guess this is just a matter of spending 30m manually running on each changed file? Or maybe there's a handy command...? Would you be open to the idea of having my next PR be "run prettier on the entire code base which will fix this PLUS everything else"? Or alternatively, I could do that pass overall as part of this PR as a final commit? (ok ok now that I typed all that out: I'll do that first most correct thing) |
We want to get to 22 ultimately but we need to move a bit slower / update alongside major Angular updates. This also updates dependabot so that it won't try to bump major versions of the node types outside of our own node upgrade cycles. Issue #590 Update to Angular 20 Issue #592 Update development environment to Node 22
054794a
to
6f4bedb
Compare
@liam-lloyd fixed up (separate commit since I'm not entirely sure which introduced the issue, but again I'll be squashing) |
6f4bedb
to
9ad4df5
Compare
ACK -- normally dev deps are not so comprehensive to need QA but this is a bigger one and I had originally intended to tag @omnignorant for QA before merging, but muscle memory took over just now (this is what I get for checking github on a weekend). The good news is we have time to do QA retroactively and if there are any issues I'll dive in and fix them in time for deploy. Tagging @omnignorant now. |
@omnignorant this is an upgrade of the version of the entire frontend framework, so we should do a full test of pretty much anything you can think of. |
@liam-lloyd clicked around a bit when he reviewed and I will do so as well before deploying. |
Changing archives seems to not refresh the file list: Observed behavior (on dev):
Expected behavior: |
Closing the loop on the above: we aren't able to reproduce this issue at this point, but will be doing another round of tests for the Angular 19 MR |
This PR moves the front-end code base to Angular 18. It's part of a larger set of transitions which will ultimately culminate in Angular 20.
I separated the commits into pieces to reflect the "stages" of the move to Angular 18. Once the code is reviewed my plan would be to combine "ng build works" through to the end so there is a single "Angular 18" update which makes all of the needed migration changes in one place.
Related to #590