Skip to content

Commit

Permalink
fix: bump @whatwg-node/server to fix webworker/dom conflict issue (#2147
Browse files Browse the repository at this point in the history
)

* fix: bump @whatwg-node/server to fix webworker/dom conflict issue

* Satisfy
  • Loading branch information
ardatan committed Nov 22, 2022
1 parent 1dbb6ca commit 39a8fe8
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-wasps-play.md
@@ -0,0 +1,5 @@
---
'graphql-yoga': patch
---

Bump @whatwg-node/server to fix the conflict issue between webworker & dom TS typing libs
1 change: 1 addition & 0 deletions examples/pothos/package.json
Expand Up @@ -12,6 +12,7 @@
"graphql": "16.6.0"
},
"devDependencies": {
"@types/node": "18.11.9",
"ts-node": "10.9.1",
"typescript": "4.9.3"
}
Expand Down
9 changes: 5 additions & 4 deletions examples/pothos/tsconfig.json
Expand Up @@ -4,11 +4,12 @@
"moduleResolution": "node",
"module": "commonjs",
"sourceMap": true,
"lib": ["esnext", "DOM", "DOM.Iterable"],
"lib": ["esnext"],
"typeRoots": ["./node_modules/@types"],
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"skipLibCheck": false,
"strict": true
},
"include": ["src"],
"exclude": ["node_modules", "dist", "test"]
"files": ["./src/index.ts"],
"exclude": ["**/node_modules", "**/dist"]
}
2 changes: 1 addition & 1 deletion packages/graphql-yoga/package.json
Expand Up @@ -57,7 +57,7 @@
"@graphql-tools/utils": "^9.0.1",
"@graphql-yoga/subscription": "^3.0.0",
"@whatwg-node/fetch": "0.5.3",
"@whatwg-node/server": "0.4.16",
"@whatwg-node/server": "0.4.17",
"dset": "^3.1.1",
"tslib": "^2.3.1"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/graphql-yoga/src/plugins/useReadinessCheck.ts
@@ -1,4 +1,5 @@
import { Plugin, FetchAPI } from 'graphql-yoga'
import { FetchAPI } from '../types.js'
import { Plugin } from './types.js'

export interface ReadinessCheckPluginOptions {
/**
Expand Down
18 changes: 10 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39a8fe8

Please sign in to comment.