Merge pull request #16524 from overleaf/em-fix-typescript-backend

Fix typescript config in the backend

GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
This commit is contained in:
Eric Mc Sween
2024-01-17 09:03:42 +00:00
committed by Copybot
parent 5f336d0494
commit a2e4480396
50 changed files with 324 additions and 180 deletions
+4 -2
View File
@@ -34,7 +34,10 @@ FROM deps-prod as deps
ENV CYPRESS_INSTALL_BINARY=0
RUN cd /overleaf && npm install
COPY tsconfig.backend.json /overleaf/
RUN cd /overleaf \
&& npm install \
&& npm run --workspaces --if-present types:build
# the web image with only production dependencies but no webpack production build, for development
FROM deps-prod as app-only
@@ -49,7 +52,6 @@ FROM deps as dev
ARG SENTRY_RELEASE
ENV SENTRY_RELEASE=$SENTRY_RELEASE
COPY tsconfig.backend.json /overleaf/
COPY services/web /overleaf/services/web
# Build the latex parser