Skip to content

Commit 1251fe0

Browse files
andrew-polknabalone
authored andcommitted
Upgrade to node v22
Also updated a couple dependencies
1 parent b700416 commit 1251fe0

File tree

7 files changed

+1065
-149
lines changed

7 files changed

+1065
-149
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Install Node
2222
uses: actions/setup-node@v4
2323
with:
24-
# Keep in sync with the version in the package.json files
25-
node-version: 18
24+
# Keep in sync with the version specified for volta in the root package.json
25+
node-version: 22
2626
registry-url: https://registry.npmjs.org/
2727

2828
- name: Install dependencies

.github/workflows/runTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- name: Install Node
2121
uses: actions/setup-node@v4
2222
with:
23-
# Keep in sync with the version in the package.json files
24-
node-version: 18
23+
# Keep in sync with the version specified for volta in the root package.json
24+
node-version: 22
2525
registry-url: https://registry.npmjs.org/
2626

2727
- name: Install dependencies

components/language-chooser/common/find-language/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,5 @@
2323
"@types/node": "^20.16.11",
2424
"tsx": "^4.19.2",
2525
"typescript": "^5.2.2"
26-
},
27-
"// We've tested with 18 and have no reason to believe it won't work with higher versions": "",
28-
"engines": {
29-
"node": ">=18.18"
3026
}
3127
}

components/language-chooser/react/common/language-chooser-react-hook/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,5 @@
2626
"@vitejs/plugin-react-swc": "^3.8.0",
2727
"typescript": "^5.2.2",
2828
"vite-plugin-dts": "^4.2.1"
29-
},
30-
"// We've tested with 18.18 and have no reason to believe it won't work with higher versions": "",
31-
"engines": {
32-
"node": ">=18.18"
3329
}
3430
}

components/language-chooser/react/language-chooser-react-mui/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,5 @@
4646
"react": "^17.0.2",
4747
"react-dom": "^17.0.2"
4848
},
49-
"// We've tested with 18 and have no reason to believe it won't work with higher versions": "",
50-
"engines": {
51-
"node": ">=18.18"
52-
},
5349
"nx": {}
5450
}

0 commit comments

Comments
 (0)