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. Varbase Theme - Bootstrap 4 still declares Node 18 and Node 20 in its engines, and Node 20 in GitLab CI.
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
- On 9.2.x, open
package.json: the engines say"node": ">= 20.0"andpackageManagerisyarn@4.9.3.VARTHEME_BS4_SUBTHEME/package.jsonsays"node": ">= 18.0". - Open
.gitlab-ci.yml: the functional test job installs NodeSourcesetup_20.x. - On 9.1.x, both
package.jsonfiles say"node": ">= 18.0", andscripts/install-needed-tools.shinstalls NodeSourcesetup_18.x.
Proposed resolution
package.jsonandVARTHEME_BS4_SUBTHEME/package.jsonengines on both branches:"node": ">= 24.0".- 9.2.x root: Yarn moves to
yarn@4.18.1with the floor">= 4.18.1", and.yarnrc.ymlfollows the Varbase standard (approvedGitRepositories,enableScripts,nodeLinker: node-modules,npmMinimalAgeGate: 0), which Yarn before 4.14.0 rejects. - 9.1.x and the
VARTHEME_BS4_SUBTHEMEstarter kit stay on Yarn Classic: Yarn 4 cannot resolve thefarbtasticGitHub tarball, which has nopackage.json. .gitlab-ci.ymlon 9.2.x: NodeSourcesetup_24.x..gitlab-ci.yml: thecomposerandstylelintjobs setYARN_RC_FILENAME: .yarnrc.core.ymlandYARN_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.scripts/install-needed-tools.shandscripts/create-new-vartheme-bs4.sh: NodeSourcesetup_24.xinstead ofsetup_18.x.yarn.lockis removed on both branches and.gitignorenow ignoresyarn.lock,package-lock.jsonandpnpm-lock.yaml, so installs resolve frompackage.json. CI on 9.2.x already setsYARN_ENABLE_IMMUTABLE_INSTALLSto"false".- Dependency ranges in
package.jsonuse carets, the way Drupal core writes them: exact versions,~and.xranges become^MAJOR.MINOR.PATCH, with no major bump.
AI-Generated: Yes
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ❌ Testing to ensure no regression
- ❌ Move 9.1.x and the
VARTHEME_BS4_SUBTHEMEstarter kit to Yarn 4 once thefarbtasticandjoyrideGitHub tarballs are replaced - ➖ 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.
Issue fork vartheme_bs4-3635685
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
Comment #4
rajab natshahComment #7
rajab natshah✅ Released vartheme_bs4-9.2.3
The 9.1.x commit is merged, but 9.1.x is a skipped legacy line, so it does not hold this issue open.