Skip to content

chore(deps): bump babel minor - #31857

Merged
gatsbybot merged 3 commits into
masterfrom
vladar/bump-babel
Jun 10, 2021
Merged

chore(deps): bump babel minor#31857
gatsbybot merged 3 commits into
masterfrom
vladar/bump-babel

Conversation

@vladar

@vladar vladar commented Jun 10, 2021

Copy link
Copy Markdown
Contributor

Description

Babel bump in #31143 upgrades to different minor versions of babel: some packages upgraded to 7.14, some to 7.13 and for others, it keeps 7.12.

Looks like it confuses yarn when upgrading from older version of gatsby to gatsby 3.7.0

[1/4] Why do we have the module "@babel/plugin-proposal-class-properties"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "@babel/plugin-proposal-class-properties@7.13.0"
info Reasons this module exists
   - "gatsby#babel-preset-gatsby" depends on it
   - Hoisted from "gatsby#babel-preset-gatsby#@babel#plugin-proposal-class-properties"

=> Found "@babel/preset-env#@babel/plugin-proposal-class-properties@7.14.5"
info This module exists because "gatsby#babel-preset-gatsby#@babel#preset-env" depends on it.

This PR attempts to use the same latest minor version of babel for all gatsby packages. That could still cause issues if upstream dependencies rely on earlier minor versions. But at least our own packages won't be conflicting.

Fixes #31853

@gatsbot gatsbot Bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 10, 2021
@vladar vladar removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 10, 2021
@vladar vladar added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Jun 10, 2021
@gatsbybot
gatsbybot merged commit 7d42e8d into master Jun 10, 2021
@gatsbybot
gatsbybot deleted the vladar/bump-babel branch June 10, 2021 12:53
vladar added a commit that referenced this pull request Jun 10, 2021
vladar added a commit that referenced this pull request Jun 10, 2021
@vladar

vladar commented Jun 10, 2021

Copy link
Copy Markdown
Contributor Author

Published in gatsby@3.7.1

mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
* chore(deps): bump babel minor

* run yarn-deduplicate

* re-run yarn
raffishquartan pushed a commit to raffishquartan/gatsby that referenced this pull request Apr 28, 2026
* chore(deps): bump babel minor

* run yarn-deduplicate

* re-run yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: merge on green Gatsbot will merge these PRs automatically when all tests passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing class properties transform

3 participants