Merge pull request #18167 from overleaf/em-simpler-typescript-backend

Simpler Typescript setup in the backend

GitOrigin-RevId: 3a90f26a5ac8029d14203faa98008375ce933e7d
This commit is contained in:
Eric Mc Sween
2024-05-07 08:04:00 +00:00
committed by Copybot
parent 5da8662fa8
commit e87df4a791
43 changed files with 63 additions and 155 deletions
+1 -4
View File
@@ -7,7 +7,6 @@
"url": "https://github.com/overleaf/overleaf"
},
"main": "index.js",
"types": "types/index.d.ts",
"license": "AGPL-3.0-only",
"version": "3.1.1",
"scripts": {
@@ -18,9 +17,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 --noEmit false --emitDeclarationOnly",
"types:check": "tsc --noEmit",
"types:rebuild": "rm -rf types && npm run types:build"
"types:check": "tsc --noEmit"
},
"dependencies": {
"@google-cloud/logging-bunyan": "^5.0.0",
-4
View File
@@ -1,9 +1,5 @@
{
"extends": "../../tsconfig.backend.json",
"compilerOptions": {
"declaration": true,
"outDir": "types"
},
"include": [
"**/*.js",
"**/*.cjs"