Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node.js to v22 #8115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"src/*"
],
"engines": {
"node": ">=20.18.1",
"node": ">=22.11.0",
"yarn": ">=4.5.3"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/abacus-backoffice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:21.7.3-alpine AS deps
FROM node:22.11.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:21.7.3-alpine AS builder
FROM node:22.11.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:21.7.3-alpine AS runner
FROM node:22.11.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/abacus-kochka/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:21.7.3-alpine AS deps
FROM node:22.11.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:21.7.3-alpine AS builder
FROM node:22.11.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:21.7.3-alpine AS runner
FROM node:22.11.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/abacus-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Install dependencies only when needed
FROM node:21.7.3-alpine AS deps
FROM node:22.11.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:21.7.3-alpine AS builder
FROM node:22.11.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:21.7.3-alpine AS runner
FROM node:22.11.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/mrtnzlml-meta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# docker run --rm -p 3000:3000 -it test

# Install dependencies only when needed
FROM node:21.7.3-alpine AS deps
FROM node:22.11.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:21.7.3-alpine AS builder
FROM node:22.11.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
Expand All @@ -21,7 +21,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
yarn build && yarn install # --immutable

# Production image, copy all the files and run Docusaurus
FROM node:21.7.3-alpine AS runner
FROM node:22.11.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions src/mrtnzlml.com/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Install dependencies only when needed
FROM node:21.7.3-alpine AS deps
FROM node:22.11.0-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json ./
RUN yarn install # --immutable

# Rebuild the source code only when needed
FROM node:21.7.3-alpine AS builder
FROM node:22.11.0-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build && yarn install # --immutable

# Production image, copy all the files and run next
FROM node:21.7.3-alpine AS runner
FROM node:22.11.0-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
2 changes: 1 addition & 1 deletion src/typescript-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@playwright/test": "^1.45.0",
"@types/node": "^20.17.8",
"@types/node": "^22.10.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^8.57.1",
Expand Down
29 changes: 10 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ __metadata:
resolution: "@adeira/typescript-test@workspace:src/typescript-test"
dependencies:
"@playwright/test": "npm:^1.45.0"
"@types/node": "npm:^20.17.8"
"@types/node": "npm:^22.10.0"
"@types/react": "npm:^18.3.12"
"@types/react-dom": "npm:^18.3.1"
eslint: "npm:^8.57.1"
Expand Down Expand Up @@ -5845,12 +5845,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:^22.0.0":
version: 22.5.5
resolution: "@types/node@npm:22.5.5"
"@types/node@npm:*, @types/node@npm:^22.0.0, @types/node@npm:^22.10.0":
version: 22.10.0
resolution: "@types/node@npm:22.10.0"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10c0/ead9495cfc6b1da5e7025856dcce2591e9bae635357410c0d2dd619fce797d2a1d402887580ca4b336cb78168b195224869967de370a23f61663cf1e4836121c
undici-types: "npm:~6.20.0"
checksum: 10c0/efb3783b6fe74b4300c5bdd4f245f1025887d9b1d0950edae584af58a30d95cc058c10b4b3428f8300e4318468b605240c2ede8fcfb6ead2e0f05bca31e54c1b
languageName: node
linkType: hard

Expand All @@ -5861,15 +5861,6 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.17.8":
version: 20.17.8
resolution: "@types/node@npm:20.17.8"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10c0/d68bbd9f8946a56d3f405e2dbfcc98d1d7a3cdbaa45d0a8fea2865e63ecdf3a2c9a0e992d9ea1658651909273026d341047e593596e133e842374371e04031c3
languageName: node
linkType: hard

"@types/parse-json@npm:^4.0.0":
version: 4.0.0
resolution: "@types/parse-json@npm:4.0.0"
Expand Down Expand Up @@ -20958,10 +20949,10 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.8
resolution: "undici-types@npm:6.19.8"
checksum: 10c0/078afa5990fba110f6824823ace86073b4638f1d5112ee26e790155f481f2a868cc3e0615505b6f4282bdf74a3d8caad715fd809e870c2bb0704e3ea6082f344
"undici-types@npm:~6.20.0":
version: 6.20.0
resolution: "undici-types@npm:6.20.0"
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
languageName: node
linkType: hard

Expand Down
Loading