Skip to content

Commit 2ade76b

Browse files
Update Node.js to v22
1 parent 43b9790 commit 2ade76b

9 files changed

+19
-19
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# to take advantage of docker cache
33

44
# build step
5-
FROM node:20-alpine as build
5+
FROM node:22-alpine as build
66
RUN npm install -g @vercel/ncc@0.36.1
77
WORKDIR /app
88
COPY package.json yarn.lock ./
@@ -33,7 +33,7 @@ COPY web/nginx.conf web/
3333
# ----- api only ------
3434
# to build only back run
3535
# docker build . --target api --tag my-api-tag`
36-
FROM node:20-alpine as api
36+
FROM node:22-alpine as api
3737
RUN npm install -g forever@4.0.3
3838
RUN apk add --no-cache \
3939
git \

Dockerfile.api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine as build
1+
FROM node:22-alpine as build
22
RUN apk add --no-cache \
33
git \
44
openssh-client \

Dockerfile.web

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build step
2-
FROM node:20-alpine as build
2+
FROM node:22-alpine as build
33
WORKDIR /app
44
COPY package.json yarn.lock ./
55
COPY api/package.json api/

api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@types/deepmerge": "^2.2.0",
4444
"@types/express": "4.17.21",
4545
"@types/memoizee": "^0.4.7",
46-
"@types/node": "^18.19.64",
46+
"@types/node": "^22.0.0",
4747
"@types/node-fetch": "^2.5.7",
4848
"@types/semver": "^7.5.3",
4949
"@types/ungap__structured-clone": "^0.3.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"turbo": "^1.12.5"
1717
},
1818
"engines": {
19-
"node": "^20"
19+
"node": "^22.0.0"
2020
},
2121
"workspaces": [
2222
"api",

web/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build environment
2-
FROM node:18-alpine as build
2+
FROM node:22-alpine as build
33
WORKDIR /app
44
COPY package.json yarn.lock ./
55
COPY public ./public

web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@storybook/react": "^6.5.10",
6666
"@types/flexsearch": "^0.7.3",
6767
"@types/memoizee": "^0.4.4",
68-
"@types/node": "^18.19.64",
68+
"@types/node": "^22.0.0",
6969
"@types/react": "^18.0.18",
7070
"@types/react-dom": "^18.0.6",
7171
"@typescript-eslint/eslint-plugin": "^4.24.0",

yarn.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -4086,12 +4086,12 @@
40864086
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.119.tgz#88443bb82119b7c0920e86949673876cbe1c3492"
40874087
integrity sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ==
40884088

4089-
"@types/node@^18.19.64":
4090-
version "18.19.64"
4091-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.64.tgz#122897fb79f2a9ec9c979bded01c11461b2b1478"
4092-
integrity sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==
4089+
"@types/node@^22.0.0":
4090+
version "22.10.7"
4091+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.7.tgz#14a1ca33fd0ebdd9d63593ed8d3fbc882a6d28d7"
4092+
integrity sha512-V09KvXxFiutGp6B7XkpaDXlNadZxrzajcY50EuoLIpQ6WWYCSvf19lVIazzfIzQvhUN2HjX12spLojTnhuKlGg==
40934093
dependencies:
4094-
undici-types "~5.26.4"
4094+
undici-types "~6.20.0"
40954095

40964096
"@types/normalize-package-data@^2.4.0":
40974097
version "2.4.4"
@@ -18602,16 +18602,16 @@ underscore@1.12.1:
1860218602
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
1860318603
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==
1860418604

18605-
undici-types@~5.26.4:
18606-
version "5.26.5"
18607-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
18608-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
18609-
1861018605
undici-types@~6.19.8:
1861118606
version "6.19.8"
1861218607
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
1861318608
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
1861418609

18610+
undici-types@~6.20.0:
18611+
version "6.20.0"
18612+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
18613+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
18614+
1861518615
unfetch@^4.2.0:
1861618616
version "4.2.0"
1861718617
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"

0 commit comments

Comments
 (0)