Skip to content

Commit a2d6a50

Browse files
Update Node.js to v22
1 parent 6d15d6c commit a2d6a50

9 files changed

+20
-48
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/[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

+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
@@ -62,7 +62,7 @@
6262
"@storybook/react": "^6.5.10",
6363
"@types/flexsearch": "^0.7.3",
6464
"@types/memoizee": "^0.4.4",
65-
"@types/node": "^18.19.64",
65+
"@types/node": "^22.0.0",
6666
"@types/react": "^18.0.18",
6767
"@types/react-dom": "^18.0.6",
6868
"@typescript-eslint/eslint-plugin": "^4.24.0",

yarn.lock

+11-39
Original file line numberDiff line numberDiff line change
@@ -1187,14 +1187,6 @@
11871187
pirates "^4.0.6"
11881188
source-map-support "^0.5.16"
11891189

1190-
"@babel/runtime-corejs3@^7.16.5":
1191-
version "7.26.0"
1192-
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.26.0.tgz#5af6bed16073eb4a0191233d61e158a5c768c430"
1193-
integrity sha512-YXHu5lN8kJCb1LOb9PgV6pvak43X2h4HvRApcN5SdWeaItQOzfn1hgP6jasD6KWQyJDBxrVmA9o9OivlnNJK/w==
1194-
dependencies:
1195-
core-js-pure "^3.30.2"
1196-
regenerator-runtime "^0.14.0"
1197-
11981190
"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.9", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
11991191
version "7.26.0"
12001192
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1"
@@ -2497,14 +2489,6 @@
24972489
redux-thunk "^2.4.2"
24982490
reselect "^4.1.8"
24992491

2500-
"@retorquere/bibtex-parser@^7.0.11":
2501-
version "7.0.16"
2502-
resolved "https://registry.yarnpkg.com/@retorquere/bibtex-parser/-/bibtex-parser-7.0.16.tgz#0986bf1c777acaa9fec0b07b0f24525b59a2a049"
2503-
integrity sha512-8FyAzZZDQR3uXXwANgDkYaJVwTboES9FcPb2VPZxwuCODc7GPLSVeJpzrY7OC3NFc9BtNU7x8g6XFtUwPfGetg==
2504-
dependencies:
2505-
unicode2latex "^5.0.13"
2506-
xregexp "^5.1.1"
2507-
25082492
"@rollup/plugin-babel@^5.2.0":
25092493
version "5.3.1"
25102494
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283"
@@ -4102,12 +4086,12 @@
41024086
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.119.tgz#88443bb82119b7c0920e86949673876cbe1c3492"
41034087
integrity sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ==
41044088

4105-
"@types/node@^18.19.64":
4106-
version "18.19.64"
4107-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.64.tgz#122897fb79f2a9ec9c979bded01c11461b2b1478"
4108-
integrity sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==
4089+
"@types/node@^22.0.0":
4090+
version "22.10.2"
4091+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.2.tgz#a485426e6d1fdafc7b0d4c7b24e2c78182ddabb9"
4092+
integrity sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==
41094093
dependencies:
4110-
undici-types "~5.26.4"
4094+
undici-types "~6.20.0"
41114095

41124096
"@types/normalize-package-data@^2.4.0":
41134097
version "2.4.4"
@@ -6916,7 +6900,7 @@ core-js-compat@^3.38.0, core-js-compat@^3.38.1, core-js-compat@^3.8.1:
69166900
dependencies:
69176901
browserslist "^4.24.2"
69186902

6919-
core-js-pure@^3.23.3, core-js-pure@^3.30.2:
6903+
core-js-pure@^3.23.3:
69206904
version "3.39.0"
69216905
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.39.0.tgz#aa0d54d70a15bdc13e7c853db87c10abc30d68f3"
69226906
integrity sha512-7fEcWwKI4rJinnK+wLTezeg2smbFFdSBP6E2kQZNbnzM2s1rpKQ6aaRteZSSg7FLU3P0HGGVo/gbpfanU36urg==
@@ -18589,16 +18573,16 @@ [email protected]:
1858918573
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
1859018574
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==
1859118575

18592-
undici-types@~5.26.4:
18593-
version "5.26.5"
18594-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
18595-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
18596-
1859718576
undici-types@~6.19.8:
1859818577
version "6.19.8"
1859918578
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
1860018579
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
1860118580

18581+
undici-types@~6.20.0:
18582+
version "6.20.0"
18583+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
18584+
integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==
18585+
1860218586
unfetch@^4.2.0:
1860318587
version "4.2.0"
1860418588
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"
@@ -18635,11 +18619,6 @@ unicode-property-aliases-ecmascript@^2.0.0:
1863518619
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd"
1863618620
integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==
1863718621

18638-
unicode2latex@^5.0.13:
18639-
version "5.0.18"
18640-
resolved "https://registry.yarnpkg.com/unicode2latex/-/unicode2latex-5.0.18.tgz#8c10fa88fd5126c58014e9f850f4398888b16120"
18641-
integrity sha512-/CX1f7nAv6QITIEZa5auBZ77c1nn7aIx2and/KNOlwzg67LDrEyMnk3K8q5VP8RCJ92qjGuSmCmSAMBoBNTqNg==
18642-
1864318622
1864418623
version "9.2.0"
1864518624
resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.0.tgz#67a62c627c40589edebbf60f53edfd4d822027f8"
@@ -19983,13 +19962,6 @@ xmlchars@^2.2.0:
1998319962
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
1998419963
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
1998519964

19986-
xregexp@^5.1.1:
19987-
version "5.1.1"
19988-
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-5.1.1.tgz#6d3fe18819e3143aaf52f9284d34f49a59583ebb"
19989-
integrity sha512-fKXeVorD+CzWvFs7VBuKTYIW63YD1e1osxwQ8caZ6o1jg6pDAbABDG54LCIq0j5cy7PjRvGIq6sef9DYPXpncg==
19990-
dependencies:
19991-
"@babel/runtime-corejs3" "^7.16.5"
19992-
1999319965
xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
1999419966
version "4.0.2"
1999519967
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"

0 commit comments

Comments
 (0)