-
Notifications
You must be signed in to change notification settings - Fork 929
Upgrade dependencies #676
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
Upgrade dependencies #676
Conversation
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.
Running yarn upgrade
will only update to the latest compatible versions within the ranges specified in the package.json
.
If you want to actually update the versions, I believe you want to run yarn upgrade --latest
. Typically in the past when I have done this, I do yarn upgrade-interactive --latest
as that lets me be conscious of which upgrades I'm taking.
Yes, I'm aware of that, but our version ranges are defined with |
Fair enough. To the degree that we can, I'd like the |
That's the job of If you feel strongly about this, we can remove |
Here's a scenario (that we've actually encountered) where not updating the
At this point in our local development two things are now true:
However from the individual component point of view (i.e. This is a problem unique to namespaces, if we were using yarn in a single package, updating the Having the package.json file in each repo be the source of truth in this case fixes the issue. An update to the version indicated in the |
I see. In that case, what do you think about my suggestion of removing ranges from all |
I'm fine w/ that in principle, in practice we just need to make sure we are keeping up to date w/ version releases. |
Looks like we're not actually using ranges anyway, so I think it makes sense. |
SGTM, I know that for |
So it looks like I'll take care of it. |
I'll look for the update 😄 |
Done. I updated all packages except Webpack (and loaders), as Webpack is already a major version behind. Also couldn't update grpc in firestore as that update broke a test. I left a TODO. |
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.
Changes LGTM 👍
Upgrades all dependencies to their latest versions based on the version range specified in the
package.json
file.I mainly need the TS upgrade, but we might as well update all packages while we're at it.
FYI: JS/TS file changes are caused by Prettier upgrade.