Skip to content

chore(deps): ignore Babel major updates in Dependabot - #42

Merged
Hug0-Drelon merged 1 commit into
masterfrom
chore/dependabot-ignore-babel-major
Sep 1, 2026
Merged

chore(deps): ignore Babel major updates in Dependabot#42
Hug0-Drelon merged 1 commit into
masterfrom
chore/dependabot-ignore-babel-major

Conversation

@Hug0-Drelon

@Hug0-Drelon Hug0-Drelon commented Sep 1, 2026

Copy link
Copy Markdown
Member

What?

Ignore semver-major Dependabot updates for @babel/cli and @babel/core.

Why?

Dependabot PR #40 grouped a Babel 8 major bump with @wordpress/babel-preset-default. Babel 8 is incompatible with the current WordPress toolchain: @wordpress/babel-preset-default still bundles Babel 7 presets/plugins, and @wordpress/eslint-plugin pulls in @babel/eslint-parser@7, which expects @babel/core@^7. The result is a broken npm ci (via preparenpm run build) and ESLint parsing errors.

How?

Add ignore rules with update-types: ["version-update:semver-major"] for @babel/cli and @babel/core in .github/dependabot.yml. Minor and patch Babel updates remain allowed; @wordpress/babel-preset-default can still be updated in the build-tools group.

Test plan

Babel 8 is incompatible with @wordpress/babel-preset-default and
@wordpress/eslint-plugin, which still require @babel/core 7.
@Hug0-Drelon
Hug0-Drelon merged commit 1c5b5af into master Sep 1, 2026
3 checks passed
@Hug0-Drelon
Hug0-Drelon deleted the chore/dependabot-ignore-babel-major branch September 1, 2026 15:14
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.

1 participant