-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[core] Upgrade the dependencies #16990
[core] Upgrade the dependencies #16990
Conversation
Details of bundle changes.Comparing: 7101bad...7413279
|
2ba56bd
to
a52612e
Compare
I highly suggest only updating the jss related packages and letting dependabot take care of the rest |
@@ -32,6 +32,6 @@ | |||
"nodemod": "^1.5.19", | |||
"react": "^16.3.0", | |||
"react-jss": "^10.0.0-alpha.23", | |||
"styled-system": "latest" | |||
"styled-system": "^5.1.0" |
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.
👍 for specifying the version here, otherwise the benchmark results can differ depending on when yarn install
was ran
a52612e
to
86177d2
Compare
@merceyz What would be the advantage? Is this about having x individual pull requests vs one? I find the granularity of dependabot interesting when batching everything doesn't work. I had a few occurrences of that in the past where I had to to the upgrade in dichotomy. dependabot would have helped. |
86177d2
to
7413279
Compare
The bundle size increase seems JSS related: https://bundlephobia.com/[email protected]. |
Easier to see what changed in the packages, and to see why stuff breaks.
dependabot is limited to 5 updates a week, turn off that limit and you can update everything at once (still seperate PRs) |
Actually it's 10. It's only 5 because it still hasn't settled (there's a special note about this in the PR descriptions). We could bump it to let it settle but considering after two week olivier has already declared this experiment as failed I don't think there's a point to working with it anyway. If we want to continue using it we can pump up the limit so that it can run on every dependency, settle on 10 and see if that is a good limit for weekly updates. Biggest hurdle right now is the deduplication task. I would rather have it run on a schedule so that dependabot PRs are laser focused (i.e. just updating a single dependency). Deduplication is just about keeping node_modules size in check right now. The instances where duplicate packages are an issue are likely an issue with how we require some packages (e.g. declaring plugins by string and not require.resolve). |
I'm aware ;)
Dependabot already does this for us, they shouldn't collide (Not saying it doesn't as I saw it collide in one PR). |
I think that dependabot is interesting no matter if we upgrade all the dependencies or not. The experiment seems to work so far. Dependabot delivers his promise, it works as we have configured it for. It's this nice weekly background job that help us keeping up to date with the dependencies. |
Another reason to let dependabot do it: it updates the package.json file so to resolve a conflict you only have to run |
Bonus, closes #16953