Skip to content

Commit 1e561de

Browse files
committed
bump v3
1 parent 95a92a6 commit 1e561de

File tree

7 files changed

+4198
-13
lines changed

7 files changed

+4198
-13
lines changed

examples/apollo-client-3/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "apollo-client-example",
33
"private": true,
4-
"version": "2.1.0",
4+
"version": "3.0.0",
55
"scripts": {
66
"postinstall": "patch-typed-document-node && yarn generate",
77
"generate": "graphql-codegen",
@@ -13,8 +13,8 @@
1313
"graphql": "15.3.0",
1414
"typescript": "3.9.7",
1515
"@apollo/client": "3.1.2",
16-
"@graphql-typed-document-node/core": "2.1.0",
17-
"@graphql-typed-document-node/patch-cli": "2.1.0",
16+
"@graphql-typed-document-node/core": "3.0.0",
17+
"@graphql-typed-document-node/patch-cli": "3.0.0",
1818
"@graphql-codegen/typed-document-node": "1.17.7",
1919
"@graphql-codegen/cli": "1.17.7",
2020
"@graphql-codegen/typescript": "1.17.7",

examples/apollo-client-3/typed-document-nodes.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { DocumentNode } from 'graphql';
2-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
1+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
32
export type Maybe<T> = T | null;
4-
export type Exact<T extends { [key: string]: any }> = { [K in keyof T]: T[K] };
3+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
54
/** All built-in and custom scalars, mapped to their actual values */
65
export type Scalars = {
76
ID: string;
@@ -42,4 +41,4 @@ export type RatesQuery = (
4241
);
4342

4443

45-
export const RatesDocument: TypedDocumentNode<RatesQuery, RatesQueryVariables> = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"rates"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"currency"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},"directives":[]}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currency"},"value":{"kind":"Variable","name":{"kind":"Name","value":"currency"}}}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"},"arguments":[],"directives":[]},{"kind":"Field","name":{"kind":"Name","value":"rate"},"arguments":[],"directives":[]}]}}]}}]};
44+
export const RatesDocument: DocumentNode<RatesQuery, RatesQueryVariables> = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"rates"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"currency"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},"directives":[]}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"currency"},"value":{"kind":"Variable","name":{"kind":"Name","value":"currency"}}}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"},"arguments":[],"directives":[]},{"kind":"Field","name":{"kind":"Name","value":"rate"},"arguments":[],"directives":[]}]}}]}}]};

examples/apollo-client-3/yarn.lock

+4,186
Large diffs are not rendered by default.

examples/graphql/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "graphql-example",
33
"private": true,
4-
"version": "2.1.0",
4+
"version": "3.0.0",
55
"scripts": {
66
"postinstall": "patch-typed-document-node && yarn generate",
77
"generate": "graphql-codegen",
@@ -12,8 +12,8 @@
1212
"@types/node": "14.0.23",
1313
"graphql": "15.3.0",
1414
"typescript": "3.9.7",
15-
"@graphql-typed-document-node/core": "2.1.0",
16-
"@graphql-typed-document-node/patch-cli": "2.1.0",
15+
"@graphql-typed-document-node/core": "3.0.0",
16+
"@graphql-typed-document-node/patch-cli": "3.0.0",
1717
"@graphql-codegen/typed-document-node": "1.17.7",
1818
"@graphql-codegen/cli": "1.17.7",
1919
"@graphql-codegen/typescript": "1.17.7",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-typed-document-node",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"private": true,
55
"workspaces": [
66
"./packages/*"

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-typed-document-node/core",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"repository": "[email protected]:dotansimha/graphql-typed-document-node.git",
55
"author": "Dotan Simha <[email protected]>",
66
"license": "MIT",

packages/patch-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphql-typed-document-node/patch-cli",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"repository": "[email protected]:dotansimha/graphql-typed-document-node.git",
55
"author": "Dotan Simha <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)