mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #16661 from overleaf/em-fix-tsconfig
Small backend Typescript config fixes GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user