Skip to content
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: add missing @babel/runtime dependencies #32954

Merged
merged 2 commits into from Aug 30, 2021

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Aug 29, 2021

This PR adds @babel/runtime as a dependency to all packages that are missing it. Because packages are all compiled with @babel/plugin-transform-runtime, they all need it as a dependency. It usually works ok because it is a dependency of gatsby, but it's good practice to not rely on transitive dependencies, and in some situations can be tree-shaken away.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 29, 2021
@ascorbic ascorbic changed the title chore: add missing dependencies chore: add missing @babel/runtime dependencies Aug 29, 2021
@wardpeet wardpeet added type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Aug 30, 2021
@ascorbic
Copy link
Contributor Author

The test failures seem to be unrelated (and seem to be a weird snapshot failing which actually is identical)

@LekoArts LekoArts merged commit 401b358 into gatsbyjs:master Aug 30, 2021
@ascorbic ascorbic deleted the chore/babel-runtime branch August 30, 2021 13:05
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants