diff --git a/package.json b/package.json index 6404189a20..1460711466 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "src/*" ], "engines": { - "node": ">=20.18.0", + "node": ">=22.11.0", "yarn": ">=4.5.1" }, "devDependencies": { diff --git a/src/abacus-backoffice/Dockerfile b/src/abacus-backoffice/Dockerfile index db97dbf4ad..282dc63683 100644 --- a/src/abacus-backoffice/Dockerfile +++ b/src/abacus-backoffice/Dockerfile @@ -1,5 +1,5 @@ # 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 @@ -7,7 +7,7 @@ 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 @@ -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 diff --git a/src/abacus-kochka/Dockerfile b/src/abacus-kochka/Dockerfile index 3302e89148..89f6dd897b 100644 --- a/src/abacus-kochka/Dockerfile +++ b/src/abacus-kochka/Dockerfile @@ -1,5 +1,5 @@ # 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 @@ -7,7 +7,7 @@ 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 @@ -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 diff --git a/src/abacus-tools/Dockerfile b/src/abacus-tools/Dockerfile index f717822e75..db1e10f2d6 100644 --- a/src/abacus-tools/Dockerfile +++ b/src/abacus-tools/Dockerfile @@ -1,5 +1,5 @@ # 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 @@ -7,14 +7,14 @@ 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 diff --git a/src/mrtnzlml-meta/Dockerfile b/src/mrtnzlml-meta/Dockerfile index 495456946b..59a83fb908 100644 --- a/src/mrtnzlml-meta/Dockerfile +++ b/src/mrtnzlml-meta/Dockerfile @@ -4,7 +4,7 @@ # 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 @@ -12,7 +12,7 @@ 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 @@ -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 diff --git a/src/mrtnzlml.com/Dockerfile b/src/mrtnzlml.com/Dockerfile index f717822e75..db1e10f2d6 100644 --- a/src/mrtnzlml.com/Dockerfile +++ b/src/mrtnzlml.com/Dockerfile @@ -1,5 +1,5 @@ # 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 @@ -7,14 +7,14 @@ 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 diff --git a/src/typescript-test/package.json b/src/typescript-test/package.json index caa733ef99..998c648e4c 100644 --- a/src/typescript-test/package.json +++ b/src/typescript-test/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@playwright/test": "^1.45.0", - "@types/node": "^20.17.6", + "@types/node": "^22.9.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "eslint": "^8.57.1", diff --git a/yarn.lock b/yarn.lock index b7af41f402..c1bf5dcae6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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.6" + "@types/node": "npm:^22.9.0" "@types/react": "npm:^18.3.12" "@types/react-dom": "npm:^18.3.1" eslint: "npm:^8.57.1" @@ -5305,12 +5305,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.9.0": + version: 22.9.0 + resolution: "@types/node@npm:22.9.0" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/ead9495cfc6b1da5e7025856dcce2591e9bae635357410c0d2dd619fce797d2a1d402887580ca4b336cb78168b195224869967de370a23f61663cf1e4836121c + undici-types: "npm:~6.19.8" + checksum: 10c0/3f46cbe0a49bab4ba30494025e4c8a6e699b98ac922857aa1f0209ce11a1313ee46e6808b8f13fe5b8b960a9d7796b77c8d542ad4e9810e85ef897d5593b5d51 languageName: node linkType: hard @@ -5321,15 +5321,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.17.6": - version: 20.17.6 - resolution: "@types/node@npm:20.17.6" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/5918c7ff8368bbe6d06d5e739c8ae41a9db41628f28760c60cda797be7d233406f07c4d0e6fdd960a0a342ec4173c2217eb6624e06bece21c1f1dd1b92805c15 - languageName: node - linkType: hard - "@types/parse-json@npm:^4.0.0": version: 4.0.0 resolution: "@types/parse-json@npm:4.0.0" @@ -19986,7 +19977,7 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.19.2": +"undici-types@npm:~6.19.8": version: 6.19.8 resolution: "undici-types@npm:6.19.8" checksum: 10c0/078afa5990fba110f6824823ace86073b4638f1d5112ee26e790155f481f2a868cc3e0615505b6f4282bdf74a3d8caad715fd809e870c2bb0704e3ea6082f344