Skip to content

Commit 799492e

Browse files
Update Node.js to v24
1 parent a0decce commit 799492e

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.nvmrc

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

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copied and adapted from https://github.com/vercel/next.js/tree/canary/examples/with-docker
22

33
# Install dependencies only when needed
4-
FROM node:22-alpine AS deps
4+
FROM node:24-alpine AS deps
55
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
66
RUN apk add --no-cache libc6-compat
77
WORKDIR /app
@@ -17,7 +17,7 @@ RUN \
1717
RUN yarn install --immutable
1818

1919
# Rebuild the source code only when needed
20-
FROM node:22-alpine AS builder
20+
FROM node:24-alpine AS builder
2121
WORKDIR /app
2222
COPY --from=deps /app/node_modules ./node_modules
2323
COPY . .
@@ -38,7 +38,7 @@ RUN yarn build
3838
# RUN npm run build
3939

4040
# Production image, copy all the files and run next
41-
FROM node:22-alpine AS runner
41+
FROM node:24-alpine AS runner
4242
WORKDIR /app
4343

4444
ENV NODE_ENV production

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"engines": {
6-
"node": "^22.0.0"
6+
"node": "^24.0.0"
77
},
88
"scripts": {
99
"dev": "next dev",
@@ -50,7 +50,7 @@
5050
"@svgr/webpack": "^8.1.0",
5151
"@tanstack/react-query-devtools": "^5.75.2",
5252
"@types/lodash": "^4.17.16",
53-
"@types/node": "^22.15.6",
53+
"@types/node": "^24.0.0",
5454
"@types/react": "^19.2.2",
5555
"@types/react-dom": "^19.1.2",
5656
"@typescript-eslint/eslint-plugin": "^8.32.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,12 +2703,12 @@ __metadata:
27032703
languageName: node
27042704
linkType: hard
27052705

2706-
"@types/node@npm:^22.15.6":
2707-
version: 22.18.8
2708-
resolution: "@types/node@npm:22.18.8"
2706+
"@types/node@npm:^24.0.0":
2707+
version: 24.10.1
2708+
resolution: "@types/node@npm:24.10.1"
27092709
dependencies:
2710-
undici-types: "npm:~6.21.0"
2711-
checksum: 10c0/54473730e7417b923fec427f62ed3204259acbd8e450a7593bad8ae02a75effcfcc864b34bf02c108eeb9c04a404791687f42b801bafa5264a8761f4df9122fd
2710+
undici-types: "npm:~7.16.0"
2711+
checksum: 10c0/d6bca7a78f550fbb376f236f92b405d676003a8a09a1b411f55920ef34286ee3ee51f566203920e835478784df52662b5b2af89159d9d319352e9ea21801c002
27122712
languageName: node
27132713
linkType: hard
27142714

@@ -5818,7 +5818,7 @@ __metadata:
58185818
"@tanstack/react-query": "npm:^5.75.2"
58195819
"@tanstack/react-query-devtools": "npm:^5.75.2"
58205820
"@types/lodash": "npm:^4.17.16"
5821-
"@types/node": "npm:^22.15.6"
5821+
"@types/node": "npm:^24.0.0"
58225822
"@types/react": "npm:^19.2.2"
58235823
"@types/react-dom": "npm:^19.1.2"
58245824
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
@@ -8770,10 +8770,10 @@ __metadata:
87708770
languageName: node
87718771
linkType: hard
87728772

8773-
"undici-types@npm:~6.21.0":
8774-
version: 6.21.0
8775-
resolution: "undici-types@npm:6.21.0"
8776-
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
8773+
"undici-types@npm:~7.16.0":
8774+
version: 7.16.0
8775+
resolution: "undici-types@npm:7.16.0"
8776+
checksum: 10c0/3033e2f2b5c9f1504bdc5934646cb54e37ecaca0f9249c983f7b1fc2e87c6d18399ebb05dc7fd5419e02b2e915f734d872a65da2e3eeed1813951c427d33cc9a
87778777
languageName: node
87788778
linkType: hard
87798779

0 commit comments

Comments
 (0)