Skip to content

Commit c23fdcd

Browse files
author
jack
committed
update compatibility table
1 parent b27d5a7 commit c23fdcd

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ The shape of the generated type is based on the client's query strings.
77
This module aim to do the Server counterpart: from a Schema Definition, generate the
88
types to make it type-safed when developing GraphQL server (mainly resolvers)
99

10+
## Compatibility
11+
| graphql-schema-typescript | graphql |
12+
|---------------------------|-----------|
13+
|1.5 | ^14.0.0 |
14+
|1.4 | 0.11~0.13 |
15+
1016
## Features
1117

1218
### Generate Typescript from Schema Definition (1-1 mapping from GQL type to TypeScript)

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-schema-typescript",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "Generate TypeScript from GraphQL's schema type definitions",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -28,7 +28,7 @@
2828
"@types/yargs": "^15.0.0",
2929
"del-cli": "^2.0.0",
3030
"fs-extra": "4.0.2",
31-
"graphql": "15.5.0",
31+
"graphql": "^15.5.0",
3232
"graphql-tools": "2.7.2",
3333
"jest": "^26.0.0",
3434
"lodash": "^4.17.13",
@@ -40,7 +40,7 @@
4040
"yargs": "^16.0.0"
4141
},
4242
"peerDependencies": {
43-
"graphql": "^15.0.0",
43+
"graphql": "^14.0.0",
4444
"typescript": "*"
4545
},
4646
"jest": {

0 commit comments

Comments
 (0)