Skip to content

Commit dc7f8ac

Browse files
Update Node.js to v22
1 parent 40d817e commit dc7f8ac

9 files changed

+47
-22
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: 38 additions & 13 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"
@@ -17065,7 +17065,16 @@ string-natural-compare@^3.0.1:
1706517065
resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4"
1706617066
integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==
1706717067

17068-
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
17068+
"string-width-cjs@npm:string-width@^4.2.0":
17069+
version "4.2.3"
17070+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
17071+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
17072+
dependencies:
17073+
emoji-regex "^8.0.0"
17074+
is-fullwidth-code-point "^3.0.0"
17075+
strip-ansi "^6.0.1"
17076+
17077+
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
1706917078
version "4.2.3"
1707017079
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1707117080
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -17197,7 +17206,7 @@ stringify-object@^3.3.0:
1719717206
is-obj "^1.0.1"
1719817207
is-regexp "^1.0.0"
1719917208

17200-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
17209+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
1720117210
version "6.0.1"
1720217211
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1720317212
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -17211,6 +17220,13 @@ strip-ansi@^3.0.1:
1721117220
dependencies:
1721217221
ansi-regex "^2.0.0"
1721317222

17223+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
17224+
version "6.0.1"
17225+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
17226+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
17227+
dependencies:
17228+
ansi-regex "^5.0.1"
17229+
1721417230
strip-ansi@^7.0.1:
1721517231
version "7.1.0"
1721617232
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -18100,16 +18116,16 @@ [email protected]:
1810018116
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
1810118117
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==
1810218118

18103-
undici-types@~5.26.4:
18104-
version "5.26.5"
18105-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
18106-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
18107-
1810818119
undici-types@~6.19.8:
1810918120
version "6.19.8"
1811018121
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
1811118122
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
1811218123

18124+
undici-types@~6.20.0:
18125+
version "6.20.0"
18126+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
18127+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
18128+
1811318129
unfetch@^4.2.0:
1811418130
version "4.2.0"
1811518131
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"
@@ -19344,7 +19360,16 @@ worker-rpc@^0.1.0:
1934419360
dependencies:
1934519361
microevent.ts "~0.1.1"
1934619362

19347-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
19363+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
19364+
version "7.0.0"
19365+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
19366+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
19367+
dependencies:
19368+
ansi-styles "^4.0.0"
19369+
string-width "^4.1.0"
19370+
strip-ansi "^6.0.0"
19371+
19372+
wrap-ansi@^7.0.0:
1934819373
version "7.0.0"
1934919374
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1935019375
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

0 commit comments

Comments
 (0)