mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #8871 from overleaf/briangough-issue8868
Upgrade node to v16.16.0 GitOrigin-RevId: 6bc6d63aa4af1940649f1eb5966f182250ecac22
This commit is contained in:
@@ -1 +1 @@
|
||||
16.14.2
|
||||
16.16.0
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user