Skip to content

Commit f5527e5

Browse files
committed
fix: update Node.js version management
- Update .tool-versions: Node 10.19.0 → 22.12.0 (align with CI/CD) - Add .nvmrc for nvm users (22.12.0) - Add engines field to package.json to enforce Node >=22 <23 - Specify Yarn >=4.0.0 as required package manager This fixes the critical mismatch where local .tool-versions was 12 major versions behind the CI/CD configuration (Node 22.x).
1 parent 9a57665 commit f5527e5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.12.0

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
nodejs 10.19.0
1+
nodejs 22.12.0
22
java adopt-openjdk-11.0.4+11.4
33
gradle 5.6.2

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"keywords": [],
1010
"license": "Apache 2.0",
1111
"packageManager": "yarn@4.12.0",
12+
"engines": {
13+
"node": ">=22.0.0 <23.0.0",
14+
"npm": "please-use-yarn",
15+
"yarn": ">=4.0.0"
16+
},
1217
"main": "app",
1318
"typings": "app",
1419
"scripts": {

0 commit comments

Comments
 (0)