Skip to content

Commit 88b7d1f

Browse files
barankyleHexaField
andauthored
Updated node to version 18 (#7414)
* Updated node to version 18 * fixup * Delete test-deploy.yml fixup Co-authored-by: HexaField <[email protected]>
1 parent 27b47e1 commit 88b7d1f

26 files changed

+36
-35
lines changed

Diff for: .github/workflows/branch-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Use Node.js
2828
uses: actions/setup-node@v3
2929
with:
30-
node-version: 16.x
30+
node-version: 18.x
3131
- name: restore lerna
3232
uses: actions/cache@v2
3333
with:

Diff for: .github/workflows/dev-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Use Node.js
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 16.x
40+
node-version: 18.x
4141
- name: Setup Helm
4242
run: scripts/setup_helm_builder.sh
4343
- name: Setup AWS

Diff for: .github/workflows/documentation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v3
2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: 16.x
28+
node-version: 18.x
2929
- name: Test Build
3030
env:
3131
NODE_OPTIONS: --max_old_space_size=8192
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v3
4545
- uses: actions/setup-node@v3
4646
with:
47-
node-version: '16.x'
47+
node-version: 18.x
4848
- uses: webfactory/[email protected]
4949
with:
5050
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}

Diff for: .github/workflows/prod-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Use Node.js
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 16.x
39+
node-version: 18.x
4040
- name: Setup Helm
4141
run: scripts/setup_helm_builder.sh
4242
- name: Setup AWS

Diff for: .github/workflows/projects-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Use Node.js
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 16.x
39+
node-version: 18.x
4040
- name: restore lerna
4141
uses: actions/cache@v2
4242
with:

Diff for: .github/workflows/publish-gh-container.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 16.x
27+
node-version: 18.x
2828
- name: Setup AWS
2929
run: scripts/setup_aws.sh $AWS_ACCESS_KEY $AWS_SECRET $AWS_REGION $CLUSTER_NAME
3030
env:

Diff for: .github/workflows/publish-npm-packages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v3
2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: 16.x
28+
node-version: 18.x
2929
registry-url: https://npm.pkg.github.com/
3030
scope: '@XRFoundation'
3131
- name: Config npm registry token

Diff for: .github/workflows/qat-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Use Node.js
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 16.x
39+
node-version: 18.x
4040
- name: Setup Helm
4141
run: scripts/setup_helm_builder.sh
4242
- name: Setup AWS

Diff for: .tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 16.3.0
1+
nodejs 18.12.1
22
python 3.8.13

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# not slim because we need github depedencies
2-
FROM node:16-buster-slim
2+
FROM node:18-buster-slim
33

44
RUN apt-get update
55
RUN apt-get install -y build-essential meson python3-testresources python3-venv python3-pip git procps

Diff for: dockerfiles/api/Dockerfile-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY . .
1717

1818
ENV APP_ENV=production
1919

20-
FROM node:16-buster-slim as runner
20+
FROM node:18-buster-slim as runner
2121
RUN apt update
2222
RUN apt-get -y install git
2323
RUN apt-get -y install git-lfs

Diff for: dockerfiles/builder/Dockerfile-builder

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.2
22
# not slim because we need github depedencies
3-
FROM node:16-buster-slim as builder
3+
FROM node:18-buster-slim as builder
44

55
RUN apt update
66
# Create app directory
@@ -26,7 +26,7 @@ COPY . .
2626

2727
ENV APP_ENV=production
2828

29-
FROM node:16-buster-slim as runner
29+
FROM node:18-buster-slim as runner
3030
WORKDIR /app
3131

3232
COPY --from=builder /app ./

Diff for: dockerfiles/client/Dockerfile-client

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ RUN rm -r packages/client/public
7070

7171
ENV APP_ENV=production
7272

73-
FROM node:16-buster-slim as runner
73+
FROM node:18-buster-slim as runner
7474
WORKDIR /app
7575

7676
COPY --from=builder /app/packages/client ./packages/client

Diff for: dockerfiles/instanceserver/Dockerfile-instanceserver

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY . .
1717

1818
ENV APP_ENV=production
1919

20-
FROM node:16-buster-slim as runner
20+
FROM node:18-buster-slim as runner
2121
WORKDIR /app
2222

2323
COPY --from=builder /app ./

Diff for: dockerfiles/package-root/Dockerfile-root

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.2
22
# not slim because we need github depedencies
3-
FROM node:16-buster-slim as root-builder
3+
FROM node:18-buster-slim as root-builder
44

55
RUN apt update
66
# Create app directory

Diff for: dockerfiles/taskserver/Dockerfile-taskserver

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY . .
1717

1818
ENV APP_ENV=production
1919

20-
FROM node:16-buster-slim as runner
20+
FROM node:18-buster-slim as runner
2121
WORKDIR /app
2222

2323
COPY --from=builder /app ./

Diff for: dockerfiles/testbot/Dockerfile-testbot

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY . .
1111

1212
ENV APP_ENV=production
1313

14-
FROM node:16-buster-slim as runner
14+
FROM node:18-buster-slim as runner
1515

1616
WORKDIR /app
1717

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"config": "config/"
3333
},
3434
"engines": {
35-
"node": ">= 16.3.0"
35+
"node": ">= 18.12.0"
3636
},
3737
"npmClient": "npm",
3838
"scripts": {

Diff for: packages/client-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "git://github.com/XRFoundation/XREngine.git"
77
},
88
"engines": {
9-
"node": ">= 16.3.0"
9+
"node": ">= 18.12.0"
1010
},
1111
"publishConfig": {
1212
"access": "public"
@@ -80,7 +80,7 @@
8080
"devDependencies": {
8181
"@emotion/react": "11.9.0",
8282
"@emotion/styled": "11.8.1",
83-
"@types/node": "16.11.26",
83+
"@types/node": "18.11.18",
8484
"@types/react": "18.0.19",
8585
"@types/react-router-dom": "5.3.3",
8686
"@types/styled-components": "5.1.24",

Diff for: packages/client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "git://github.com/XRFoundation/XREngine.git"
88
},
99
"engines": {
10-
"node": ">= 16.3.0"
10+
"node": ">= 18.12.0"
1111
},
1212
"npmClient": "npm",
1313
"scripts": {
@@ -73,7 +73,7 @@
7373
"vite-plugin-package-config": "0.1.1"
7474
},
7575
"devDependencies": {
76-
"@types/node": "16.11.26",
76+
"@types/node": "18.11.18",
7777
"@types/react": "18.0.19",
7878
"@types/react-dom": "18.0.0",
7979
"app-root-path": "3.0.0",

Diff for: packages/editor/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "git://github.com/XRFoundation/XREngine.git"
1010
},
1111
"engines": {
12-
"node": ">= 16.3.0"
12+
"node": ">= 18.12.0"
1313
},
1414
"publishConfig": {
1515
"access": "public"
@@ -69,7 +69,7 @@
6969
"uuid": "^8.3.2"
7070
},
7171
"devDependencies": {
72-
"@types/node": "16.11.26",
72+
"@types/node": "18.11.18",
7373
"@types/react": "18.0.19",
7474
"@types/react-dom": "18.0.0",
7575
"@types/react-router-dom": "5.3.3",

Diff for: packages/instanceserver/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"config": "config/"
2929
},
3030
"engines": {
31-
"node": ">= 16.3.0"
31+
"node": ">= 18.12.0"
3232
},
3333
"scripts": {
3434
"check-errors": "tsc --noemit",
@@ -68,7 +68,7 @@
6868
"devDependencies": {
6969
"@types/compression": "1.7.2",
7070
"@types/cors": "2.8.12",
71-
"@types/node": "16.11.26",
71+
"@types/node": "18.11.18",
7272
"@types/serve-favicon": "2.5.3"
7373
},
7474
"gitHead": "66449f6ffba4d32c424b16b4f0667fe0ad36562c"

Diff for: packages/projects/template-project/.github/workflows/project-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Use Node.js
3030
uses: actions/setup-node@v3
3131
with:
32-
node-version: 16.x
32+
node-version: 18.x
3333
- name: restore lerna
3434
uses: actions/cache@v2
3535
with:

Diff for: packages/server-core/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"contributors": [],
3333
"bugs": {},
3434
"engines": {
35-
"node": ">= 16.3.0"
35+
"node": ">= 18.12.0"
3636
},
3737
"scripts": {
3838
"check-errors": "tsc --noemit",
@@ -102,13 +102,14 @@
102102
"typescript": "4.8.3",
103103
"uint8arrays": "^3.0.0",
104104
"universal-analytics": "^0.5.0",
105-
"uuid": "8.3.2"
105+
"uuid": "8.3.2",
106+
"ws": "8.11.0"
106107
},
107108
"devDependencies": {
108109
"@types/dotenv-flow": "3.2.0",
109110
"@types/mime-types": "2.1.1",
110111
"@types/multer": "1.4.7",
111-
"@types/node": "^16.11.26",
112+
"@types/node": "^18.11.18",
112113
"@types/node-fetch": "2.6.1",
113114
"@types/nodemailer-smtp-transport": "2.7.5",
114115
"@types/pug": "2.0.6"

Diff for: packages/server/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"config": "config/"
2828
},
2929
"engines": {
30-
"node": ">= 16.3.0"
30+
"node": ">= 18.12.0"
3131
},
3232
"scripts": {
3333
"check-errors": "tsc --noemit",
@@ -70,7 +70,7 @@
7070
"devDependencies": {
7171
"@types/compression": "1.7.2",
7272
"@types/cors": "2.8.12",
73-
"@types/node": "16.11.26",
73+
"@types/node": "18.11.18",
7474
"@types/serve-favicon": "2.5.3",
7575
"concurrently": "7.1.0",
7676
"http-server": "14.1.0",

Diff for: packages/taskserver/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"contributors": [],
3030
"bugs": {},
3131
"engines": {
32-
"node": ">= 16.3.0"
32+
"node": ">= 18.12.0"
3333
},
3434
"scripts": {
3535
"check-errors": "tsc --noemit",

0 commit comments

Comments
 (0)