Skip to content

Commit

Permalink
chore(graphql-api): upgrade code-gen to 1.x (#797)
Browse files Browse the repository at this point in the history
* chore(graphql-api): upgrade code-gen to 1.x

* fix: fix merge issue

* pin version

* Fix types
  • Loading branch information
NickBolles authored and pradel committed Nov 12, 2019
1 parent 46aff58 commit 5575f82
Show file tree
Hide file tree
Showing 5 changed files with 1,135 additions and 1,057 deletions.
5 changes: 3 additions & 2 deletions packages/graphql-api/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ generates:
./src/models.ts:
config:
noNamespaces: true
noSchemaStitching: true
plugins:
- add: /* eslint-disable */
- typescript-common
- typescript-server
- typescript
- typescript-resolvers
- typescript-operations
11 changes: 6 additions & 5 deletions packages/graphql-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@
"@accounts/types": "^0.19.0",
"@gql2ts/from-schema": "1.10.1",
"@gql2ts/types": "1.9.0",
"@graphql-codegen/add": "1.8.3",
"@graphql-codegen/cli": "1.8.3",
"@graphql-codegen/typescript": "1.8.3",
"@graphql-codegen/typescript-operations": "1.8.3",
"@graphql-codegen/typescript-resolvers": "1.8.3",
"@graphql-codegen/typescript-type-graphql": "1.8.3",
"@graphql-modules/core": "0.7.13",
"@types/jest": "24.0.22",
"@types/request-ip": "0.0.34",
"concurrently": "5.0.0",
"graphql": "14.5.8",
"graphql-code-generator": "0.18.2",
"graphql-codegen-add": "0.18.2",
"graphql-codegen-typescript-common": "0.18.2",
"graphql-codegen-typescript-resolvers": "0.18.2",
"graphql-codegen-typescript-server": "0.18.2",
"graphql-tools": "4.0.6",
"jest": "24.9.0",
"lodash": "4.17.15",
Expand Down
Loading

0 comments on commit 5575f82

Please sign in to comment.