Skip to content

Commit 5dfffb3

Browse files
Update Node.js to v22
1 parent fd13f2f commit 5dfffb3

9 files changed

+19
-19
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

Dockerfile

Lines changed: 2 additions & 2 deletions
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/[email protected]
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 [email protected]
3838
RUN apk add --no-cache \
3939
git \

Dockerfile.api

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@storybook/react": "^6.5.10",
6565
"@types/flexsearch": "^0.7.3",
6666
"@types/memoizee": "^0.4.4",
67-
"@types/node": "^18.19.64",
67+
"@types/node": "^22.0.0",
6868
"@types/react": "^18.0.18",
6969
"@types/react-dom": "^18.0.6",
7070
"@typescript-eslint/eslint-plugin": "^4.24.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4055,12 +4055,12 @@
40554055
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.119.tgz#88443bb82119b7c0920e86949673876cbe1c3492"
40564056
integrity sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ==
40574057

4058-
"@types/node@^18.19.64":
4059-
version "18.19.64"
4060-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.64.tgz#122897fb79f2a9ec9c979bded01c11461b2b1478"
4061-
integrity sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==
4058+
"@types/node@^22.0.0":
4059+
version "22.10.1"
4060+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.1.tgz#41ffeee127b8975a05f8c4f83fb89bcb2987d766"
4061+
integrity sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==
40624062
dependencies:
4063-
undici-types "~5.26.4"
4063+
undici-types "~6.20.0"
40644064

40654065
"@types/normalize-package-data@^2.4.0":
40664066
version "2.4.4"
@@ -18111,16 +18111,16 @@ [email protected]:
1811118111
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
1811218112
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==
1811318113

18114-
undici-types@~5.26.4:
18115-
version "5.26.5"
18116-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
18117-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
18118-
1811918114
undici-types@~6.19.8:
1812018115
version "6.19.8"
1812118116
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
1812218117
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
1812318118

18119+
undici-types@~6.20.0:
18120+
version "6.20.0"
18121+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
18122+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
18123+
1812418124
unfetch@^4.2.0:
1812518125
version "4.2.0"
1812618126
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"

0 commit comments

Comments
 (0)