Skip to content

Commit 8c2ba2b

Browse files
authored
ui: bump nodejs v24 LTS usage (#12471)
1 parent 1b2ae13 commit 8c2ba2b

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

ui/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ A modern role-based progressive CloudStack UI based on Vue.js and Ant Design.
2727

2828
Install node: (Debian/Ubuntu)
2929

30-
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
30+
curl -sL https://deb.nodesource.com/setup_24.x | sudo -E bash -
3131
sudo apt-get install -y nodejs
3232
# Or use distro provided: sudo apt-get install npm nodejs
3333

3434
Install node: (CentOS/Fedora/RHEL)
3535

36-
curl -sL https://rpm.nodesource.com/setup_20.x | sudo bash -
36+
curl -sL https://rpm.nodesource.com/setup_24.x | sudo bash -
3737
sudo yum install nodejs
3838

3939
Install node: (Mac OS)
4040

41-
brew install node@20
41+
brew install node@24
4242

4343
Optionally, you may also install system-wide dev tools:
4444

ui/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,18 @@
101101
"eslint-plugin-vue": "^7.0.0",
102102
"less": "^3.0.4",
103103
"less-loader": "^5.0.0",
104+
"nan": "2.18.0",
105+
"node-gyp": "10.0.1",
104106
"sass": "^1.49.9",
105107
"sass-loader": "^8.0.2",
106108
"uglifyjs-webpack-plugin": "^2.2.0",
107109
"vue-jest": "^5.0.0-0",
108110
"vue-svg-loader": "^0.17.0-beta.2",
109-
"webpack": "^4.46.0",
110-
"node-gyp": "10.0.1", "nan": "2.18.0"
111+
"webpack": "^4.46.0"
112+
},
113+
"resolutions": {
114+
"nan": "2.18.0"
111115
},
112-
"resolutions": { "nan": "2.18.0" },
113116
"eslintConfig": {
114117
"root": true,
115118
"env": {

0 commit comments

Comments
 (0)