Problem/Motivation

Node.js 20 reached end of life on 30 April 2026, and Drupal core main now requires "node": ">= 24.0" in core/package.json. Entityqueue Form Widget still declares "node": ">= 20.0" and "yarn": ">= 4.9.3" with packageManager yarn@4.9.3 on 2.0.x and 2.1.x, and tests/package.json has no engines.

Node 24 is the LTS line, latest v24.22.2, and it is one of the lines the November 2026 security releases will patch. Pinning the major picks those patches up with no further change. Local systems should use Node.js 24 or 26.

Steps to reproduce

  1. On 2.0.x or 2.1.x, open package.json: the engines say "node": ">= 20.0" and "yarn": ">= 4.9.3", and packageManager is yarn@4.9.3.
  2. Open tests/package.json: there is no engines block.
  3. On 2.1.x, open .gitlab-ci.yml: the composer job sets DRUPAL_CORE to 11.4.3.

Proposed resolution

  • package.json engines: "node": ">= 24.0". tests/package.json gets the same Node engine.
  • Yarn moves to yarn@4.18.1 with the floor ">= 4.18.1", and .yarnrc.yml follows the Varbase standard (approvedGitRepositories, enableScripts, nodeLinker: node-modules, npmMinimalAgeGate: 0), which Yarn before 4.14.0 rejects.
  • .gitlab-ci.yml: .composer-base, which every composer job extends, and stylelint set YARN_RC_FILENAME: .yarnrc.core.yml and YARN_NODE_LINKER: node-modules, so Drupal core's own Yarn 4.9.1 in those jobs does not read the project .yarnrc.yml, whose keys need Yarn 4.14.
  • 2.1.x: DRUPAL_CORE moves from 11.4.3 to 11.4.11, since Twig 3.30 breaks rendered pages on Drupal core 11.4.0 to 11.4.7.
  • yarn.lock is removed and .gitignore now ignores yarn.lock, package-lock.json and pnpm-lock.yaml, so installs resolve from package.json.
  • Dependency ranges use carets, the way Drupal core writes them: tests/package.json asks for @vardot/varbase-e2e ^2.0.1 instead of ~2.0.1.

AI-Generated: Yes

Remaining tasks

  • ✅ 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

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Node.js 24 or newer is now required, in the engines and CI. Yarn 4.18.1 is the package manager.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes
Status: Active » Needs review

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +entityqueue_form_widget-2.0.10, +entityqueue_form_widget-2.1.1

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.