Upgrade Node.js from 22.18 to 24.13 (#30509)

GitOrigin-RevId: c2405a0583e68c61351f52b32ba28faec994fbc0
This commit is contained in:
Anna Claire Fields
2026-01-30 09:05:28 +00:00
committed by Copybot
parent a054938414
commit e80ce42896
95 changed files with 896 additions and 2715 deletions
+1 -1
View File
@@ -1 +1 @@
22.18.0
24.13.0
+1 -1
View File
@@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/overleaf/internal/
FROM node:22.18.0 AS base
FROM node:24.13.0 AS base
WORKDIR /overleaf/services/real-time
+2 -2
View File
@@ -50,12 +50,12 @@ clean:
# Run the linting commands in the scope of the monorepo.
# Eslint and prettier (plus some configs) are on the root.
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:22.18.0 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:24.13.0 npm run --silent
RUN_LINTING_CI = docker run --rm --volume $(MONOREPO)/.editorconfig:/overleaf/.editorconfig --volume $(MONOREPO)/.eslintignore:/overleaf/.eslintignore --volume $(MONOREPO)/.eslintrc:/overleaf/.eslintrc --volume $(MONOREPO)/.prettierignore:/overleaf/.prettierignore --volume $(MONOREPO)/.prettierrc:/overleaf/.prettierrc --volume $(MONOREPO)/tsconfig.backend.json:/overleaf/tsconfig.backend.json --volume $(MONOREPO)/services/real-time/reports:/overleaf/services/real-time/reports $(IMAGE_CI) npm run --silent
# Same but from the top of the monorepo
RUN_LINTING_MONOREPO = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(MONOREPO) node:22.18.0 npm run --silent
RUN_LINTING_MONOREPO = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(MONOREPO) node:24.13.0 npm run --silent
SHELLCHECK_OPTS = \
--shell=bash \
+1 -1
View File
@@ -3,7 +3,7 @@ real-time
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--node-version=24.13.0
--pipeline-owner=🚉 Platform
--public-repo=False
--test-unit-vitest=True
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.18.0
image: node:24.13.0
volumes:
- .:/overleaf/services/real-time
- ../../node_modules:/overleaf/node_modules
@@ -29,7 +29,7 @@ services:
condition: service_healthy
test_acceptance:
image: node:22.18.0
image: node:24.13.0
volumes:
- .:/overleaf/services/real-time
- ../../node_modules:/overleaf/node_modules