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-18 08:04:37 +00:00
committed by Copybot
parent ae9b702890
commit ebfa862c8c
66 changed files with 84 additions and 84 deletions
+1 -1
View File
@@ -1 +1 @@
16.14.2
16.16.0
+2 -2
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"]
+1 -1
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
+1 -1
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