Skip to content

Prepare for Babel 8#250

Merged
nicolo-ribaudo merged 12 commits intobabel:mainfrom
nicolo-ribaudo:babel-8-cleanup
Mar 6, 2026
Merged

Prepare for Babel 8#250
nicolo-ribaudo merged 12 commits intobabel:mainfrom
nicolo-ribaudo:babel-8-cleanup

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Member

@nicolo-ribaudo nicolo-ribaudo commented Mar 6, 2026

This PR aligns the repository with the way we are doing Babel 8:

  • Removed babel-plugin-polyfill-corejs2
  • Removed the CJS build
  • Use jest-light-runner to run tests as actual CJS
  • Updated the engines.node to match the other Babel packages
  • Removed some now unnecessary dependencies

It does not actually update the packages to depend on Babel 8 stuff rather than Babel 7 stuff. The next steps here are:

  • Update these packages to depend on Babel ^8.0.0-rc.2 <8.0.0
  • (maybe) Test their compatibility with Babel 7 on CI
  • Probably release them as 1.0.0-rc.1 (they have been stable for a while now)
  • Before releasing Babel 8, update them to depend on 8.0.0-rc.<latest rc number> || ^8.0.0
  • Release them as 1.0.0
  • Update Babel 8 to depend on version ^1.0.0 of these packages
  • Release Babel 8.0.0
  • Update these packages to depend only on Babel ^8.0.0

If needed, we can keep the current Babel-7-compatible packages in a branch, just in case we'll need security fixes or critical backports.

@nicolo-ribaudo nicolo-ribaudo merged commit b9dc3db into babel:main Mar 6, 2026
6 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the babel-8-cleanup branch March 6, 2026 16:32
@nicolo-ribaudo nicolo-ribaudo mentioned this pull request Mar 16, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants