mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #16661 from overleaf/em-fix-tsconfig
Small backend Typescript config fixes GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
This commit is contained in:
parent
d61ac98225
commit
5c517a56c3
13 changed files with 13 additions and 12 deletions
|
@ -12,7 +12,7 @@
|
|||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
||||
"test:ci": "npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
},
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"allowJs": true,
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"noEmit": true,
|
||||
"noImplicitAny": false,
|
||||
"skipLibCheck": true,
|
||||
"strict": true
|
||||
|
|
Loading…
Reference in a new issue