Update babel monorepo to v8 - #828
Conversation
|
To increment version on merge, please add one of |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 050a47efc3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.24.1", | ||
| "@babel/core": "^8.0.0", |
There was a problem hiding this comment.
Keep Babel 8 off Node 20 builds
This upgrade makes the documented and workflow environments unable to install or run the build: I checked README.md/.nvmrc, which still point developers at Node 20.20.2, plus .github/workflows/publish-rc.yaml on Node 20.x and design-workflow.yml on Node 16.x before yarn install, while Babel 8 requires Node ^22.18.0 || >=24.11.0. On those current environments, the install/build path for lint, tests, and RC publishing will fail before a package can be produced, so the repo/CI Node version needs to move with this change or Babel should remain on 7.x.
Useful? React with 👍 / 👎.
| "@babel/preset-react": "^7.24.1", | ||
| "@babel/preset-typescript": "^7.24.1", | ||
| "@babel/preset-react": "^8.0.0", | ||
| "@babel/preset-typescript": "^8.0.0", |
There was a problem hiding this comment.
Remove removed TypeScript preset options
With @babel/preset-typescript upgraded to Babel 8, the dist Rollup build still loads babel.config.dist.json and passes { "isTSX": true, "allExtensions": true }. Babel 8 removed those preset-typescript options and reports invalid option names; for this TSX plus @babel/preset-react setup the migration is to remove them, so yarn build-dist and RC publishing will fail when Rollup invokes Babel.
Useful? React with 👍 / 👎.
bd51f5e to
8c5a96c
Compare
7def768 to
654cdad
Compare
654cdad to
ef80831
Compare
This PR contains the following updates:
^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0^7.24.1→^8.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
babel/babel (@babel/core)
v8.0.1Compare Source
💥 Breaking Change
babel-core,babel-plugin-transform-object-rest-spread,babel-plugin-transform-runtime,babel-preset-env,babel-standalonepreset-env'suseBuiltIns(@nicolo-ribaudo)v8.0.0Compare Source
👓 Spec Compliance
babel-core💥 Breaking Change
babel-cli,babel-node,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-modules-commonjs,babel-plugin-transform-object-rest-spread,babel-plugin-transform-parameters,babel-plugin-transform-react-constant-elements,babel-plugin-transform-regenerator,babel-preset-env,babel-registermodules: auto(@nicolo-ribaudo)babel-plugin-transform-runtime,babel-runtime-corejs3,babel-runtime@babe/runtime-corejs3(@liuxingbaoyu)babel-parserlocations: "packed"(@liuxingbaoyu)🐛 Bug Fix
babel-generatorbabel-plugin-transform-modules-systemjs📝 Documentation
🏠 Internal
🏃♀️ Performance
babel-corev7.29.7Compare Source
v7.29.7 (2026-05-25)
Re-release all packages with npm provenance attestations
v7.29.6Compare Source
v7.29.6 (2026-05-25)
🐛 Bug Fix
babel-generatorbabel-corebabel-core,babel-generatorCommitters: 3
v7.29.0Compare Source
v7.29.0 (2026-01-31)
Thanks @simbahax for your first PR!
🚀 New Feature
babel-typesbabel-standalone🐛 Bug Fix
babel-parserextendsclause (@nicolo-ribaudo)babel-traversebabel-plugin-transform-block-scoping,babel-traverse🏃♀️ Performance
babel-generator,babel-runtime-corejs3Committers: 6
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.