Skip to content

Commit

Permalink
server upgrade node version to 18 (#16942)
Browse files Browse the repository at this point in the history
## Description
Upgrade server packages to Node v18 as v16 is deprecated soon.

---------

Co-authored-by: Ping Zhu <pizh@Pings-MacBook-Pro.local>
  • Loading branch information
PingZhu2232 and Ping Zhu authored Aug 28, 2023
1 parent 6adc25e commit 4bef37d
Show file tree
Hide file tree
Showing 32 changed files with 329 additions and 332 deletions.
2 changes: 1 addition & 1 deletion server/gitrest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT License.
# DisableDockerDetector "No feasible secure solution for OSS repos yet"

FROM node:16.19.1-buster-slim AS base
FROM node:18.17.1-buster-slim AS base

# Add Tini
ENV TINI_VERSION v0.18.0
Expand Down
4 changes: 2 additions & 2 deletions server/gitrest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@types/lorem-ipsum": "^1.0.2",
"@types/mocha": "^10.0.0",
"@types/nconf": "^0.10.0",
"@types/node": "^16.18.16",
"@types/node": "^18.17.1",
"@types/rimraf": "^3.0.2",
"@types/supertest": "^2.0.7",
"@types/uuid": "^3.4.4",
Expand All @@ -79,7 +79,7 @@
"@yarnpkg/parsers is a transitive dependency of lerna via nx, but versions >3.0.0-rc.48.1 require node 18, while we use 16."
],
"overrides": {
"@types/node": "^16.18.16",
"@types/node": "^18.17.1",
"nx>@yarnpkg/parsers": "3.0.0-rc.48.1",
"qs": "^6.11.0"
}
Expand Down
2 changes: 1 addition & 1 deletion server/gitrest/packages/gitrest-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/lorem-ipsum": "^1.0.2",
"@types/mocha": "^10.0.0",
"@types/nconf": "^0.10.0",
"@types/node": "^16.18.16",
"@types/node": "^18.17.1",
"@types/rimraf": "^3.0.2",
"@types/supertest": "^2.0.7",
"@types/uuid": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion server/gitrest/packages/gitrest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/lorem-ipsum": "^1.0.2",
"@types/mocha": "^10.0.0",
"@types/nconf": "^0.10.0",
"@types/node": "^16.18.16",
"@types/node": "^18.17.1",
"@types/rimraf": "^3.0.2",
"@types/supertest": "^2.0.7",
"@types/uuid": "^3.4.4",
Expand Down
Loading

0 comments on commit 4bef37d

Please sign in to comment.