Merge pull request #8871 from overleaf/briangough-issue8868

Upgrade node to v16.16.0

GitOrigin-RevId: 6bc6d63aa4af1940649f1eb5966f182250ecac22
This commit is contained in:
Brian Gough 2022-07-15 11:52:41 +01:00 committed by Copybot
parent 8043485572
commit e7531eb047
66 changed files with 84 additions and 84 deletions

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ access-token-encryptor
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ logger
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ metrics
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ o-error
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ object-persistor
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ redis-wrapper
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -4,6 +4,6 @@ settings
--env-add=
--env-pass-through=
--is-library=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/chat

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ chat
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/chat
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/chat
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/clsi
COPY services/clsi/install_deps.sh /overleaf/services/clsi/
@ -26,6 +26,6 @@ COPY services/clsi/ /overleaf/services/clsi/
FROM app
RUN mkdir -p cache compiles output \
&& chown node:node cache compiles output
&& chown node:node cache compiles output
CMD ["node", "--expose-gc", "app.js"]

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -5,6 +5,6 @@ clsi
--env-add=ENABLE_PDF_CACHING="true",PDF_CACHING_ENABLE_WORKER_POOL="true"
--env-pass-through=TEXLIVE_IMAGE
--has-custom-cloudbuild=True
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/contacts

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ contacts
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/contacts
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/contacts
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/docstore

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ docstore
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/docstore
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/docstore
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/document-updater

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ document-updater
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/document-updater
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/document-updater
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/filestore
COPY services/filestore/install_deps.sh /overleaf/services/filestore/
@ -24,7 +24,7 @@ COPY services/filestore/ /overleaf/services/filestore/
FROM app
RUN mkdir -p uploads user_files template_files \
&& chown node:node uploads user_files template_files
&& chown node:node uploads user_files template_files
USER node
CMD ["node", "--expose-gc", "app.js"]

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -4,6 +4,6 @@ filestore
--docker-repos=gcr.io/overleaf-ops
--env-add=ENABLE_CONVERSIONS="true",USE_PROM_METRICS="true",AWS_S3_USER_FILES_BUCKET_NAME=fake_user_files,AWS_S3_TEMPLATE_FILES_BUCKET_NAME=fake_template_files,AWS_S3_PUBLIC_FILES_BUCKET_NAME=fake_public_files,GCS_USER_FILES_BUCKET_NAME=fake_userfiles,GCS_TEMPLATE_FILES_BUCKET_NAME=fake_templatefiles,GCS_PUBLIC_FILES_BUCKET_NAME=fake_publicfiles
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/notifications

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ notifications
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/notifications
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/notifications
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/real-time

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ real-time
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/real-time
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/real-time
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/spelling
COPY services/spelling/install_deps.sh /overleaf/services/spelling/
@ -24,7 +24,7 @@ COPY services/spelling/ /overleaf/services/spelling/
FROM app
RUN mkdir -p cache \
&& chown node:node cache
&& chown node:node cache
USER node
CMD ["node", "--expose-gc", "app.js"]

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -4,6 +4,6 @@ spelling
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=False
--script-version=4.1.0

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/track-changes

View file

@ -30,7 +30,7 @@ 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:16.14.2 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.16.0 npm run --silent
format:
$(RUN_LINTING) format

View file

@ -3,6 +3,6 @@ track-changes
--docker-repos=gcr.io/overleaf-ops
--env-add=AWS_BUCKET=bucket
--env-pass-through=
--node-version=16.14.2
--node-version=16.16.0
--public-repo=True
--script-version=4.1.0

View file

@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/track-changes
- ../../node_modules:/overleaf/node_modules
@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/track-changes
- ../../node_modules:/overleaf/node_modules

View file

@ -1 +1 @@
16.14.2
16.16.0

View file

@ -1,6 +1,6 @@
# the base image is suitable for running web with /overleaf/services/web bind
# mounted
FROM node:16.14.2 as base
FROM node:16.16.0 as base
WORKDIR /overleaf/services/web
@ -33,13 +33,13 @@ COPY services/web /overleaf/services/web
RUN cd /overleaf/services/web && npm run 'lezer-latex:generate'
RUN mkdir -p /overleaf/services/web/data/dumpFolder \
&& mkdir -p /overleaf/services/web/data/logs \
&& mkdir -p /overleaf/services/web/data/pdf \
&& mkdir -p /overleaf/services/web/data/uploads \
&& mkdir -p /overleaf/services/web/data/zippedProjects \
&& mkdir -p /overleaf/services/web/data/projectHistories \
&& chmod -R 0755 /overleaf/services/web/data \
&& chown -R node:node /overleaf/services/web/data
&& mkdir -p /overleaf/services/web/data/logs \
&& mkdir -p /overleaf/services/web/data/pdf \
&& mkdir -p /overleaf/services/web/data/uploads \
&& mkdir -p /overleaf/services/web/data/zippedProjects \
&& mkdir -p /overleaf/services/web/data/projectHistories \
&& chmod -R 0755 /overleaf/services/web/data \
&& chown -R node:node /overleaf/services/web/data
ARG SENTRY_RELEASE
ENV SENTRY_RELEASE=$SENTRY_RELEASE

View file

@ -1,4 +1,4 @@
FROM node:16.14.2
FROM node:16.16.0
# Install Google Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -

View file

@ -6,7 +6,7 @@ volumes:
services:
test_unit:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/web
- ../../node_modules:/overleaf/node_modules
@ -21,7 +21,7 @@ services:
user: node
test_acceptance:
image: node:16.14.2
image: node:16.16.0
volumes:
- .:/overleaf/services/web
- ../../node_modules:/overleaf/node_modules

View file

@ -1,4 +1,4 @@
FROM node:16.14.2
FROM node:16.16.0
WORKDIR /app/scripts/translations