[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 d06b4d2bcc
commit c4ef5cf262
86 changed files with 115 additions and 115 deletions
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
@@ -5,6 +5,6 @@ access-token-encryptor
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ fetch-utils
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ logger
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ metrics
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ mongo-utils
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ o-error
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ object-persistor
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
@@ -5,6 +5,6 @@ overleaf-editor-core
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ promise-utils
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ ranges-tracker
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ redis-wrapper
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ settings
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -5,6 +5,6 @@ stream-utils
--env-pass-through=
--esmock-loader=False
--is-library=True
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22.17.0
FROM node:22.18.0
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& echo \
"deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" \
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/chat
+2 -2
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 \
+1 -1
View File
@@ -4,6 +4,6 @@ chat
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/chat
- ../../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/chat
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/clsi
COPY services/clsi/install_deps.sh /overleaf/services/clsi/
+2 -2
View File
@@ -33,12 +33,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 \
+1 -1
View File
@@ -5,7 +5,7 @@ clsi
--env-add=ENABLE_PDF_CACHING="true",PDF_CACHING_ENABLE_WORKER_POOL="true",ALLOWED_IMAGES=quay.io/sharelatex/texlive-full:2017.1,TEXLIVE_IMAGE=quay.io/sharelatex/texlive-full:2017.1,TEX_LIVE_IMAGE_NAME_OVERRIDE=us-east1-docker.pkg.dev/overleaf-ops/ol-docker,TEXLIVE_IMAGE_USER="tex",SANDBOXED_COMPILES="true",SANDBOXED_COMPILES_HOST_DIR_COMPILES=$PWD/compiles,SANDBOXED_COMPILES_HOST_DIR_OUTPUT=$PWD/output
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=True
--script-version=4.7.0
--use-large-ci-runner=True
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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
+2 -2
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 \
+1 -1
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
+2 -2
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
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/docstore
+2 -2
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 \
+1 -1
View File
@@ -4,6 +4,6 @@ docstore
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=True
--script-version=4.7.0
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/docstore
- ../../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/docstore
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/document-updater
+2 -2
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 \
+1 -1
View File
@@ -4,6 +4,6 @@ document-updater
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=True
--script-version=4.7.0
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/document-updater
- ../../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/document-updater
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/filestore
COPY services/filestore/install_deps.sh /overleaf/services/filestore/
+2 -2
View File
@@ -33,12 +33,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 \
+1 -1
View File
@@ -5,7 +5,7 @@ filestore
--env-add=ENABLE_CONVERSIONS="true",USE_PROM_METRICS="true",AWS_S3_USER_FILES_STORAGE_CLASS=REDUCED_REDUNDANCY,AWS_S3_USER_FILES_BUCKET_NAME=fake-user-files,AWS_S3_USER_FILES_DEK_BUCKET_NAME=fake-user-files-dek,AWS_S3_TEMPLATE_FILES_BUCKET_NAME=fake-template-files,GCS_USER_FILES_BUCKET_NAME=fake-gcs-user-files,GCS_TEMPLATE_FILES_BUCKET_NAME=fake-gcs-template-files
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=True
--script-version=4.7.0
--test-acceptance-shards=SHARD_01_,SHARD_02_,SHARD_03_
+1 -1
View File
@@ -67,7 +67,7 @@ services:
certs:
build:
dockerfile_inline: |
FROM node:22.17.0
FROM node:22.18.0
RUN wget -O /certgen "https://github.com/minio/certgen/releases/download/v1.3.0/certgen-linux-$(dpkg --print-architecture)"
RUN chmod +x /certgen
volumes:
+1 -1
View File
@@ -75,7 +75,7 @@ services:
certs:
build:
dockerfile_inline: |
FROM node:22.17.0
FROM node:22.18.0
RUN wget -O /certgen "https://github.com/minio/certgen/releases/download/v1.3.0/certgen-linux-$(dpkg --print-architecture)"
RUN chmod +x /certgen
volumes:
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/history-v1
COPY services/history-v1/install_deps.sh /overleaf/services/history-v1/
+2 -2
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 \
+1 -1
View File
@@ -4,7 +4,7 @@ history-v1
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
--tsconfig-extra-includes=backup-deletion-app.mjs,backup-verifier-app.mjs,backup-worker-app.mjs,api/**/*,migrations/**/*,storage/**/*
+1 -1
View File
@@ -105,7 +105,7 @@ services:
certs:
build:
dockerfile_inline: |
FROM node:22.17.0
FROM node:22.18.0
RUN wget -O /certgen "https://github.com/minio/certgen/releases/download/v1.3.0/certgen-linux-$(dpkg --print-architecture)"
RUN chmod +x /certgen
volumes:
+1 -1
View File
@@ -114,7 +114,7 @@ services:
certs:
build:
dockerfile_inline: |
FROM node:22.17.0
FROM node:22.18.0
RUN wget -O /certgen "https://github.com/minio/certgen/releases/download/v1.3.0/certgen-linux-$(dpkg --print-architecture)"
RUN chmod +x /certgen
volumes:
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/notifications
+2 -2
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 \
+1 -1
View File
@@ -4,6 +4,6 @@ notifications
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=True
--script-version=4.7.0
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/notifications
- ../../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/notifications
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/project-history
+2 -2
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 --volume $(MONOREPO)/services/document-updater/app/js/types.ts:/overleaf/services/document-updater/app/js/types.ts 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 \
+1 -1
View File
@@ -4,6 +4,6 @@ project-history
--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
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/project-history
- ../../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/project-history
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
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/real-time
+2 -2
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 \
+1 -1
View File
@@ -4,6 +4,6 @@ real-time
--env-add=
--env-pass-through=
--esmock-loader=False
--node-version=22.17.0
--node-version=22.18.0
--public-repo=False
--script-version=4.7.0
+2 -2
View File
@@ -4,7 +4,7 @@
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/real-time
- ../../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/real-time
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1 +1 @@
22.17.0
22.18.0
+1 -1
View File
@@ -1,6 +1,6 @@
# the base image is suitable for running web with /overleaf/services/web bind
# mounted
FROM node:22.17.0 AS base
FROM node:22.18.0 AS base
WORKDIR /overleaf/services/web
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22.17.0
FROM node:22.18.0
# Install Google Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
+3 -3
View File
@@ -1,13 +1,13 @@
steps:
- id: npm_ci
name: "node:22.17.0"
name: "node:22.18.0"
entrypoint: /bin/bash
args:
- '-c'
- 'bin/npm_install_subset . libraries/* services/web'
- id: build-storybook
name: 'node:22.17.0'
name: 'node:22.18.0'
env:
- 'BRANCH_NAME=$BRANCH_NAME'
- 'BUILD_ID=$BUILD_ID'
@@ -49,7 +49,7 @@ steps:
- deploy-storybook
- id: create-storybook-index
name: 'node:22.17.0'
name: 'node:22.18.0'
dir: services/web
env:
- 'BRANCH_NAME=$BRANCH_NAME'
+1 -1
View File
@@ -45,6 +45,6 @@ OVERLEAF_SAML_IS_ADMIN_FIELD_VALUE=Brookes
OVERLEAF_SAML_CERT=MIIDXTCCAkWgAwIBAgIJAOvOeQ4xFTzsMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNVBAYTAkdCMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMTYxMTE1MTQxMjU5WhcNMjYxMTE1MTQxMjU5WjBFMQswCQYDVQQGEwJHQjETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxCT6MBe5G9VoLU8MfztOEbUhnwLp17ak8eFUqxqeXkkqtWB0b/cmIBU3xoQoO3dIF8PBzfqehqfYVhrNt/TFgcmDfmJnPJRL1RJWMW3VmiP5odJ3LwlkKbZpkeT3wZ8HEJIR1+zbpxiBNkbd2GbdR1iumcsHzMYX1A2CBj+ZMV5VijC+K4P0e9c05VsDEUtLmfeAasJAiumQoVVgAe/BpiXjICGGewa6EPFI7mKkifIRKOGxdRESwZZjxP30bI31oDN0cgKqIgSJtJ9nfCn9jgBMBkQHu42WMuaWD4jrGd7+vYdX+oIfArs9aKgAH5kUGhGdew2R9SpBefrhbNxG8QIDAQABo1AwTjAdBgNVHQ4EFgQU+aSojSyyLChP/IpZcafvSdhj7KkwHwYDVR0jBBgwFoAU+aSojSyyLChP/IpZcafvSdhj7KkwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEABl3+OOVLBWMKs6PjA8lPuloWDNzSr3v76oUcHqAb+cfbucjXrOVsS9RJ0X9yxvCQyfM9FfY43DbspnN3izYhdvbJD8kKLNf0LA5st+ZxLfy0ACyL2iyAwICaqndqxAjQYplFAHmpUiu1DiHckyBPekokDJd+ze95urHMOsaGS5RWPoKJVE0bkaAeZCmEu0NNpXRSBiuxXSTeSAJfv6kyE/rkdhzUKyUl/cGQFrsVYfAFQVA+W6CKOh74ErSEzSHQQYndl7nD33snD/YqdU1ROxV6aJzLKCg+sdj+wRXSP2u/UHnM4jW9TGJfhO42jzL6WVuEvr9q4l7zWzUQKKKhtQ==
# DEVICE_HISTORY_SECRET has been generated using:
# NOTE: crypto.generateKeySync was added in v15, v16 is the next LTS release.
# $ docker run --rm node:22.17.0 --print 'require("crypto").generateKeySync("aes", { length: 256 }).export().toString("hex")'
# $ docker run --rm node:22.18.0 --print 'require("crypto").generateKeySync("aes", { length: 256 }).export().toString("hex")'
DEVICE_HISTORY_SECRET=1b46e6cdf72db02845da06c9517c9cfbbfa0d87357479f4e1df3ce160bd54807
QUEUE_PROCESSING_ENABLED=true
+2 -2
View File
@@ -4,7 +4,7 @@ volumes:
services:
test_unit:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/web
- ../../node_modules:/overleaf/node_modules
@@ -28,7 +28,7 @@ services:
- redis_test
test_acceptance:
image: node:22.17.0
image: node:22.18.0
volumes:
- .:/overleaf/services/web
- ../../node_modules:/overleaf/node_modules
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22.17.0
FROM node:22.18.0
WORKDIR /app/scripts/translations
@@ -34,7 +34,7 @@ const users = {
},
}
export const copyableProject = <Project>{
export const copyableProject = {
id: '62f17f594641b405ca2b3264',
name: 'Starfleet Report (owner)',
lastUpdated: moment().subtract(1, 'day').toISOString(),
@@ -44,9 +44,9 @@ export const copyableProject = <Project>{
archived: false,
trashed: false,
owner: users.riker,
}
} as Project
export const archiveableProject = <Project>{
export const archiveableProject = {
id: '62d6d3721357e20a682110d5',
name: "Captain's logs (Invite & Read Only)",
lastUpdated: moment().subtract(1, 'week').toISOString(),
@@ -56,9 +56,9 @@ export const archiveableProject = <Project>{
archived: false,
trashed: false,
owner: users.picard,
}
} as Project
export const trashedProject = <Project>{
export const trashedProject = {
id: '42f17f594641b405ca2b3265',
name: 'Starfleet Report draft (owner & trashed)',
lastUpdated: moment().subtract(2, 'year').toISOString(),
@@ -68,9 +68,9 @@ export const trashedProject = <Project>{
archived: false,
trashed: true,
owner: users.riker,
}
} as Project
export const archivedProject = <Project>{
export const archivedProject = {
id: '52f17f594641b405ca2b3266',
name: 'Starfleet Report old (owner & archive)',
lastUpdated: moment().subtract(1, 'year').toISOString(),
@@ -80,9 +80,9 @@ export const archivedProject = <Project>{
archived: true,
trashed: false,
owner: users.riker,
}
} as Project
export const trashedAndNotOwnedProject = <Project>{
export const trashedAndNotOwnedProject = {
id: '63d6d3721357e20a682110d5',
name: "Captain's logs very old (Trashed & Read Only & Not Owned)",
lastUpdated: moment().subtract(11, 'year').toISOString(),
@@ -92,7 +92,7 @@ export const trashedAndNotOwnedProject = <Project>{
archived: false,
trashed: true,
owner: users.picard,
}
} as Project
export const sharedProject = archiveableProject