Skip to content

Update Babel dependencies to v8#8028

Closed
Copilot wants to merge 8 commits into
mainfrom
copilot/update-babel-dependencies-to-v8
Closed

Update Babel dependencies to v8#8028
Copilot wants to merge 8 commits into
mainfrom
copilot/update-babel-dependencies-to-v8

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Updates Babel dependencies to v8 and adjusts repository build tooling for Babel 8 compatibility.

Changelog

New

  • Added a changeset for published package impact.

Changed

  • Updated Babel packages across the repo, including core, parser, presets, runtime, and transform plugins.
  • Replaced Babel 7 proposal plugin usage with Babel 8-compatible transform plugins.
  • Updated Babel parser usage where Babel 8 changed sync parsing APIs.
  • Updated parser plugin lists to remove syntax plugins now handled by default.

Removed

  • Removed incompatible babel-plugin-styled-components usage from build configs.

Rollout strategy

  • Patch release
  • Minor release
  • Major release; @primer/mcp includes a Babel runtime major dependency update.
  • None; if selected, include a brief description as to why

Testing & Reviewing

Review dependency, lockfile, and Babel config changes together. The key compatibility areas are build output generation and export graph parsing.

Merge checklist

Copilot AI and others added 8 commits June 22, 2026 17:12
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 43ed04c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@primer/mcp Major
@primer/styled-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI requested a review from joshblack June 22, 2026 17:37
@github-actions github-actions Bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Jun 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. If this doesn't work, you can also use the original workflow here. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

To publish a canary release for integration testing, apply the Canary Release label to this PR.

@joshblack joshblack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot this is not a major or minor change to packages. It's an internal update. This should not impact the public API of packages

@joshblack

Copy link
Copy Markdown
Member

@copilot fix CI

@joshblack joshblack closed this Jun 23, 2026
@joshblack joshblack deleted the copilot/update-babel-dependencies-to-v8 branch June 23, 2026 21:10
Copilot stopped work on behalf of joshblack due to an error June 23, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants