Skip to content

Commit a247644

Browse files
mrTuomoKcursoragent
andcommitted
fix(proxies): scope tsconfig types for pnpm hoisted layout
Override compilerOptions.types to node only in graphql proxies so typecheck does not require jest-dom/vitest globals they do not use. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c5b8ae8 commit a247644

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

proxies/events-graphql-proxy/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"incremental": true,
1616
"esModuleInterop": true,
1717
"allowImportingTsExtensions": true,
18+
"types": ["node"],
1819
"paths": {
1920
"@events-helsinki/graphql-proxy-server": [
2021
"../../packages/graphql-proxy-server/src/"

proxies/venue-graphql-proxy/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"incremental": true,
1616
"esModuleInterop": true,
1717
"allowImportingTsExtensions": true,
18+
"types": ["node"],
1819
"paths": {
1920
"@events-helsinki/graphql-proxy-server": [
2021
"../../packages/graphql-proxy-server/src/index.ts"

0 commit comments

Comments
 (0)