Skip to content

Commit 4670d47

Browse files
committed
chore(graphql-api): upgrade code-gen to 1.x
1 parent 836739d commit 4670d47

File tree

3 files changed

+409
-572
lines changed

3 files changed

+409
-572
lines changed

packages/graphql-api/codegen.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ generates:
77
noNamespaces: true
88
plugins:
99
- add: /* tslint:disable */
10-
- typescript-common
11-
- typescript-server
10+
- typescript
1211
- typescript-resolvers
12+
- typescript-operations

packages/graphql-api/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,17 @@
3333
"@accounts/types": "^0.19.0",
3434
"@gql2ts/from-schema": "1.10.1",
3535
"@gql2ts/types": "1.9.0",
36+
"@graphql-codegen/add": "^1.6.1",
37+
"@graphql-codegen/cli": "^1.6.1",
38+
"@graphql-codegen/typescript": "^1.6.1",
39+
"@graphql-codegen/typescript-operations": "^1.6.1",
40+
"@graphql-codegen/typescript-resolvers": "^1.6.1",
41+
"@graphql-codegen/typescript-type-graphql": "^1.6.1",
3642
"@graphql-modules/core": "0.7.10",
3743
"@types/jest": "24.0.18",
3844
"@types/request-ip": "0.0.34",
3945
"concurrently": "4.1.2",
4046
"graphql": "14.5.3",
41-
"graphql-code-generator": "0.18.2",
42-
"graphql-codegen-add": "0.18.2",
43-
"graphql-codegen-typescript-common": "0.18.2",
44-
"graphql-codegen-typescript-resolvers": "0.18.2",
45-
"graphql-codegen-typescript-server": "0.18.2",
4647
"graphql-tools": "4.0.5",
4748
"jest": "24.9.0",
4849
"lodash": "4.17.15",

0 commit comments

Comments
 (0)