task: #3635737 Update Node.js to >= 24.0

Moves the Node.js pins on 5.0.x to 24, the floor Drupal core main declares in core/package.json. Node.js 20 reached end of life on 30 April 2026.

Issue: https://www.drupal.org/i/3635737

  • package.json: engines node >= 24.0.
  • Stay on Yarn Classic: Yarn 4 cannot install the farbtastic GitHub tarball, which has no package.json.
  • Remove yarn.lock and ignore JavaScript lockfiles.
  • Use caret version ranges, as Drupal core does.

Checked in node:24 (v24.22.2) with no lockfile present: Yarn Classic 1.22.22 install and the build pass. No .yarnrc.yml here, so the composer jobs need no change. MR pipeline 1033840 passes, the opt-in composer variants included; its advisory lint and phpstan jobs fail the same on 5.0.x today.

Remaining tasks

  • Move to Yarn 4 once farbtastic comes from a package that has a package.json. Yarn 4 cannot install the GitHub tarball (Manifest not found), so this branch stays on Yarn Classic for now.
  • Pre-existing on 5.0.x: cspell (the same 55 words), eslint (no airbnb-base config), stylelint, phpcs and phpstan with its two variants. cspell, eslint, stylelint, phpcs, phpstan, phpstan (next minor), phpstan (previous major).

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading