Merge pull request #7228 from overleaf/em-node-16

Upgrade to Node 16

GitOrigin-RevId: 3db1ae57ffb02f8a2b9012ffbb3efecfc01d2b04
This commit is contained in:
Eric Mc Sween
2022-04-05 12:20:52 +00:00
committed by Copybot
parent 4e7065c6e0
commit 7e76f94e17
77 changed files with 135 additions and 113 deletions
+1 -1
View File
@@ -1 +1 @@
14.18.3
16.14.2
+1 -1
View File
@@ -2,7 +2,7 @@
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
FROM gcr.io/overleaf-ops/node:14.18.3 as base
FROM node:16.14.2 as base
WORKDIR /overleaf/services/chat
+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) gcr.io/overleaf-ops/node:14.18.3 npm run --silent
RUN_LINTING = docker run --rm -v $(MONOREPO):$(MONOREPO) -w $(HERE) node:16.14.2 npm run --silent
format:
$(RUN_LINTING) format
+1 -2
View File
@@ -3,7 +3,6 @@ chat
--docker-repos=gcr.io/overleaf-ops
--env-add=
--env-pass-through=
--node-image=gcr.io/overleaf-ops/node
--node-version=14.18.3
--node-version=16.14.2
--public-repo=False
--script-version=4.1.0
+2 -2
View File
@@ -6,7 +6,7 @@ version: "2.3"
services:
test_unit:
image: gcr.io/overleaf-ops/node:14.18.3
image: node:16.14.2
volumes:
- .:/overleaf/services/chat
- ../../node_modules:/overleaf/node_modules
@@ -20,7 +20,7 @@ services:
user: node
test_acceptance:
image: gcr.io/overleaf-ops/node:14.18.3
image: node:16.14.2
volumes:
- .:/overleaf/services/chat
- ../../node_modules:/overleaf/node_modules