mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #18167 from overleaf/em-simpler-typescript-backend
Simpler Typescript setup in the backend GitOrigin-RevId: 3a90f26a5ac8029d14203faa98008375ce933e7d
This commit is contained in:
@@ -35,9 +35,7 @@ FROM deps-prod as deps
|
||||
ENV CYPRESS_INSTALL_BINARY=0
|
||||
|
||||
COPY tsconfig.backend.json /overleaf/
|
||||
RUN cd /overleaf \
|
||||
&& npm install \
|
||||
&& npm run --workspaces --if-present types:build
|
||||
RUN cd /overleaf && npm install
|
||||
|
||||
# the web image with only production dependencies but no webpack production build, for development
|
||||
FROM deps-prod as app-only
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
||||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
||||
"paths": {
|
||||
"@/*": ["./frontend/js/*"]
|
||||
"@/*": ["./frontend/js/*"],
|
||||
"@overleaf/o-error": ["../../libraries/o-error"],
|
||||
"@overleaf/ranges-tracker": ["../../libraries/ranges-tracker"]
|
||||
},
|
||||
"types": ["cypress", "@testing-library/cypress"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user