Skip to content

Commit

Permalink
fix: Follow ther API
Browse files Browse the repository at this point in the history
They seem changing the API that affects us. I'll investigate the root cause later. Ref. #44
  • Loading branch information
piglovesyou committed Jan 30, 2020
1 parent 3f96231 commit 33fe539
Show file tree
Hide file tree
Showing 3 changed files with 718 additions and 839 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"loader.js"
],
"dependencies": {
"@graphql-codegen/cli": "^1.11.2",
"@graphql-codegen/plugin-helpers": "^1.11.2",
"@graphql-codegen/cli": "^1.12.1",
"@graphql-codegen/plugin-helpers": "^1.12.1",
"fast-glob": "^3.1.1",
"loader-utils": "^1.2.3",
"log-update": "^3.3.0",
Expand All @@ -36,9 +36,9 @@
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@graphql-codegen/typescript": "^1.11.2",
"@graphql-codegen/typescript-operations": "^1.11.2",
"@graphql-codegen/typescript-react-apollo": "^1.11.2",
"@graphql-codegen/typescript": "^1.12.1",
"@graphql-codegen/typescript-operations": "^1.12.1",
"@graphql-codegen/typescript-react-apollo": "^1.12.1",
"@types/babel__core": "^7.1.3",
"@types/eslint": "^6.1.7",
"@types/eslint-plugin-prettier": "^2.2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/graphql-codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export async function processGraphQLCodegen(
filename: tsxFullPath,
documents: [
{
filePath: gqlRelPath,
content: gql(gqlContent),
location: gqlRelPath,
document: gql(gqlContent),
},
],
});
Expand Down
Loading

0 comments on commit 33fe539

Please sign in to comment.