Skip to content

Commit

Permalink
Further bug fixes related to issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshally committed May 21, 2020
1 parent 46d6390 commit 74cf350
Show file tree
Hide file tree
Showing 9 changed files with 172 additions and 125 deletions.
87 changes: 65 additions & 22 deletions demo/src/autogen/hasura/ts.ts

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions packages/graphql-codegen-hasura-core/dist/src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-codegen-hasura-core",
"version": "4.8.4",
"version": "4.9.0-alpha.0",
"description": "GraphQL Code Generator plugin for generating a CRUD TypeScript Config for Hasura from Documents",
"author": "ahrnee <[email protected]>",
"license": "MIT",
Expand All @@ -23,36 +23,36 @@
"directory": "dist/src"
},
"peerDependencies": {
"graphql-tag": "^2.0.0"
"graphql-tag": "^2.10.3"
},
"dependencies": {
"@apollo/client": "^3.0.0-beta.35",
"@apollo/react-hooks": "^3.2.0-beta.0",
"@types/react": "16.9.13",
"react": "^16.12.0",
"react-dom": "^16.12.0"
"@apollo/client": "3.0.0-beta.50",
"@apollo/react-hooks": "^4.0.0-beta.1",
"@types/react": "16.9.35",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@graphql-codegen/core": "^1.12.2",
"@graphql-codegen/plugin-helpers": "1.12.2",
"@graphql-codegen/typescript": "^1.12.2",
"@graphql-codegen/visitor-plugin-common": "1.12.2",
"@types/jest": "^24.0.23",
"babel-jest": "^24.9.0",
"graphql": "^14.5.8",
"jest": "^24.9.0",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@graphql-codegen/core": "^1.14.0",
"@graphql-codegen/plugin-helpers": "1.14.0",
"@graphql-codegen/typescript": "^1.14.0",
"@graphql-codegen/visitor-plugin-common": "1.14.0",
"@types/jest": "^25.2.3",
"babel-jest": "^26.0.1",
"graphql": "^15.0.0",
"jest": "^26.0.1",
"path": "^0.12.7",
"tslib": "1.10.0",
"typescript": "3.7.2"
"tslib": "2.0.0",
"typescript": "3.9.3"
},
"sideEffects": false,
"main": "dist/graphql-codegen-hasura-client-config/src/index.js",
"typings": "dist/graphql-codegen-hasura-client-config/src/index.d.ts",
"typescript": {
"definition": "dist/graphql-codegen-hasura-client-config/src/index.d.ts"
},
"gitHead": "6019f0bd59c21a34e205b36a3d531a2577ae0242"
"gitHead": "46d63908e32c3b34e3fec2bd0ac295f789d0c4ea"
}
4 changes: 2 additions & 2 deletions packages/graphql-codegen-hasura-shared/dist/src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-codegen-hasura-shared",
"version": "4.8.4",
"version": "4.9.0-alpha.0",
"description": "GraphQL Code Generator plugin for generating a CRUD TypeScript Config for Hasura from Documents",
"author": "ahrnee <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -35,7 +35,7 @@
"typescript": {
"definition": "dist/graphql-codegen-hasura-client-config/src/index.d.ts"
},
"gitHead": "6019f0bd59c21a34e205b36a3d531a2577ae0242",
"gitHead": "46d63908e32c3b34e3fec2bd0ac295f789d0c4ea",
"dependencies": {
"change-case": "^4.1.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export declare function injectSharedHelpersPre({ contentManager, entityNamedType
entityNamedType: GraphQLNamedType;
fragmentName: string;
trimString?: string;
primaryKeyIdField: FieldDefinitionNode;
primaryKeyIdField?: FieldDefinitionNode;
typescriptCodegenOutputPath: string;
}): void;
export declare function injectCacheHelpers({ contentManager, entityNamedType, fragmentName, trimString, primaryKeyIdField, typescriptCodegenOutputPath, }: {
Expand Down Expand Up @@ -59,15 +59,15 @@ export declare function injectDeleteHelpers({ contentManager, entityNamedType, f
entityNamedType: GraphQLNamedType;
fragmentName: string;
trimString?: string;
primaryKeyIdField: FieldDefinitionNode;
primaryKeyIdField?: FieldDefinitionNode;
typescriptCodegenOutputPath: string;
}): void;
export declare function injectSharedHelpersPost({ contentManager, entityNamedType, fragmentName, trimString, primaryKeyIdField, typescriptCodegenOutputPath, withClientAndCacheHelpers, withQueries, withSubscriptions, withInserts, withUpdates, withDeletes, }: {
contentManager: ContentManager;
entityNamedType: GraphQLNamedType;
fragmentName: string;
trimString?: string;
primaryKeyIdField: FieldDefinitionNode;
primaryKeyIdField?: FieldDefinitionNode;
typescriptCodegenOutputPath: string;
withClientAndCacheHelpers?: boolean;
withQueries?: boolean;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,8 @@
"affectsGlobalScope": false
},
"../src/tshelperinjectors.ts": {
"version": "bfa0a5135cb966290f947a18dd8594e7974f7cfe98e5b4adfa9f1dce4b1d7cba",
"signature": "cece1ac7895795b475d6b9d0a236c551899c78e24708ea30564ab62521f11148",
"version": "9384fa97f07431d3e7117e2bf95a785ebf9fc09abc4977ac0285c0a55ae5726e",
"signature": "849b786e01d76fa4d1c2340a79a11e5d091bf4b4db1e326f8a92c3d3ed175c22",
"affectsGlobalScope": false
},
"../src/reactinjectors.ts": {
Expand Down
Loading

0 comments on commit 74cf350

Please sign in to comment.