Merge pull request #16524 from overleaf/em-fix-typescript-backend

Fix typescript config in the backend

GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
This commit is contained in:
Eric Mc Sween
2024-01-17 09:03:42 +00:00
committed by Copybot
parent c20e1b13c8
commit b92d1a0251
50 changed files with 324 additions and 180 deletions
+5 -4
View File
@@ -7,7 +7,7 @@
"url": "https://github.com/overleaf/metrics-module.git"
},
"main": "index.js",
"types": "types/index.js",
"types": "types/index.d.ts",
"dependencies": {
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
"@google-cloud/profiler": "^6.0.0",
@@ -34,12 +34,13 @@
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
"test:unit": "mocha --exit test/**/*.{js,cjs}",
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
"test": "npm run lint && npm run format && npm run typecheck && npm run test:unit",
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
"test:ci": "npm run test:unit",
"typecheck": "tsc --noEmit",
"update-types": "rm -rf types && tsc --emitDeclarationOnly"
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
"types:check": "tsc --noEmit",
"types:rebuild": "rm -rf types && npm run types:build"
},
"peerDependencies": {
"@overleaf/logger": "*"