-
Notifications
You must be signed in to change notification settings - Fork 60
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
chore(ci): Upgrade dependencies and change package managers #8397
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8397 +/- ##
==========================================
- Coverage 31.12% 30.86% -0.26%
==========================================
Files 3009 2945 -64
Lines 54558 53033 -1525
Branches 14562 14042 -520
==========================================
- Hits 16982 16370 -612
+ Misses 37576 36663 -913
Flags with carried forward coverage won't be shown. Click here to find out more. |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
46f7091
to
417435d
Compare
Upgrade node to 18 Upgrade Typescript to 4.4.2
If we did not use await there we hit the following error: |
That is surprising, but I will accept the change. This code has change and we may need to revisit this when you merge with main. |
We made a separate issue for fixing remaining type-safety violations: We looked into some of them but they require more digging - The main issue with having this PR not merged is that it is time sensitive, the more we wait the more we could expect new code from main to cause the new typescript compiler to fail. |
Upgrade dependencies and change package managers
To start off we're going to upgrade a few things:
Positive side effect of upgrading node and typescript is you are forced to update some other packages.
Yarn is being upgraded to berry because this allows us to utilize some new methods to optimize things surrounding node_modules in our builds.
Typescript is being upgraded because of: yarnpkg/berry#3275
The changes introduced some more type safety enforcing in the compiler, so some additional changes in code were necessary.
Issues pending fixes
Checklist: