[monorepo] Upgrade to node 22.18.0 (#27977)

* Upgrade to node 22.18.0

* Switch projects-data fixture to strip-types compatible form

GitOrigin-RevId: 4a7ec56f4a82395d2be8870526df0c679de38ab5
This commit is contained in:
Andrew Rumble
2025-08-21 09:11:11 +01:00
committed by Copybot
parent 8212483da7
commit 6190005f9b
86 changed files with 115 additions and 115 deletions

View File

@@ -1 +1 @@
22.17.0
22.18.0

View File

@@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/overleaf/internal/
FROM node:22.17.0 AS base
FROM node:22.18.0 AS base
WORKDIR /overleaf/services/contacts

View File

@@ -32,12 +32,12 @@ HERE=$(shell pwd)
MONOREPO=$(shell cd ../../ && pwd)
# 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.17.0 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:22.18.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 ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER) npm run --silent
# Same but from the top of the monorepo
RUN_LINTING_MONOREPO = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(MONOREPO) node:22.17.0 npm run --silent
RUN_LINTING_MONOREPO = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(MONOREPO) node:22.18.0 npm run --silent
SHELLCHECK_OPTS = \
--shell=bash \

View File

@@ -4,6 +4,6 @@ contacts
--env-add=
--env-pass-through=
--esmock-loader=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0

View File

@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/contacts
- ../../node_modules:/overleaf/node_modules
@@ -19,7 +19,7 @@ services:
user: node
test_acceptance:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/contacts
- ../../node_modules:/overleaf/node_modules