Skip to content

update node 24 and dependencies#184

Open
MarieComet wants to merge 1 commit into
mainfrom
node-24
Open

update node 24 and dependencies#184
MarieComet wants to merge 1 commit into
mainfrom
node-24

Conversation

@MarieComet

@MarieComet MarieComet commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Note

Medium Risk
Wide dependency and toolchain upgrades can change build output and lint rules; Sass API changes are localized but affect all compiled CSS.

Overview
Bumps the theme toolchain to Node 24.16 and Yarn 4.15 (Volta) and refreshes a large set of npm dev/runtime dependencies (WordPress packages, webpack 5, eslint 10, stylelint 17, sass, imagemin, etc.), including @beapi/be-a11y v2.

ESLint moves from legacy .eslintrc to flat config in eslint.config.mjs (WordPress recommended + jQuery global). Webpack’s ESLintPlugin no longer passes overrideConfigFile, so it picks up the new flat config.

Sass mixins/functions are updated for current Dart Sass: global type-of / unitless are replaced with sass:meta and sass:math (meta.type-of, math.is-unitless).

Remaining edits are mostly formatting (.wp-env.json, theme JSON, Yarn SDK shims, grumphp.yml, wp-cli.yml) and minor config style (svgo.config.js semicolon).

Reviewed by Cursor Bugbot for commit 10e2b3d. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 10e2b3d. Configure here.

Comment thread package.json
"node": "22.13.1",
"yarn": "4.5.0"
"node": "24.16.0",
"yarn": "4.15.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Volta yarn version mismatches packageManager and yarnPath

Medium Severity

The volta.yarn field is set to "4.15.0" but packageManager remains "yarn@4.5.0", and .yarnrc.yml still references .yarn/releases/yarn-4.5.0.cjs (which is the only yarn binary present in the repo). Developers using Volta will get a different yarn version than what Corepack or the yarn binary provides, leading to inconsistent behavior across environments.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 10e2b3d. Configure here.

@francoistibo

Copy link
Copy Markdown
Contributor

test de virer YARN, ca a tout cassé.
sujet en cours chez Marie dès qu'elle a du temps

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