mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-28 21:13:20 -05:00
Re-enable type checking in CI (#8114)
* Re-enable type checking in CI * Update use-codemirror-scope.ts * Run patch-package in postinstall script * Update Dockerfile * Update .dockerignore GitOrigin-RevId: 512c7c71a109d2cf34895193078a98c66eb91f29
This commit is contained in:
parent
75f66ed80c
commit
506010cb14
4 changed files with 5 additions and 4 deletions
|
@ -19,7 +19,8 @@
|
||||||
"format": "prettier --list-different $PWD/'**/*.js'",
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
||||||
"format:fix": "prettier --write $PWD/'**/*.js'",
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
||||||
"lint": "eslint --max-warnings 0 --format unix .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"lint:fix": "eslint --fix ."
|
"lint:fix": "eslint --fix .",
|
||||||
|
"postinstall": "patch-package"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"libraries/*",
|
"libraries/*",
|
||||||
|
|
|
@ -17,6 +17,7 @@ FROM base as deps
|
||||||
COPY package.json package-lock.json /overleaf/
|
COPY package.json package-lock.json /overleaf/
|
||||||
COPY services/web/package.json /overleaf/services/web/
|
COPY services/web/package.json /overleaf/services/web/
|
||||||
COPY libraries/ /overleaf/libraries/
|
COPY libraries/ /overleaf/libraries/
|
||||||
|
COPY patches/ /overleaf/patches/
|
||||||
|
|
||||||
ENV CYPRESS_INSTALL_BINARY=0
|
ENV CYPRESS_INSTALL_BINARY=0
|
||||||
|
|
||||||
|
|
|
@ -436,9 +436,8 @@ lint: lint_flag_res_send_usage
|
||||||
lint_flag_res_send_usage:
|
lint_flag_res_send_usage:
|
||||||
bin/lint_flag_res_send_usage
|
bin/lint_flag_res_send_usage
|
||||||
|
|
||||||
#lint: typecheck_frontend
|
lint: typecheck_frontend
|
||||||
typecheck_frontend:
|
typecheck_frontend:
|
||||||
cd ../.. && npx patch-package
|
|
||||||
npx tsc --noEmit
|
npx tsc --noEmit
|
||||||
|
|
||||||
lint_in_docker:
|
lint_in_docker:
|
||||||
|
|
|
@ -152,7 +152,7 @@ const initialize = () => {
|
||||||
'gv',
|
'gv',
|
||||||
'mf',
|
'mf',
|
||||||
],
|
],
|
||||||
}
|
} as typeof window.ExposedSettings
|
||||||
|
|
||||||
window.project_id = project._id
|
window.project_id = project._id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue