Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit ad59f27

Browse files
committed
[Example] Upgrade deps and relay to v2-rc.1
1 parent a042258 commit ad59f27

9 files changed

+1680
-528
lines changed

example/package.json

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,30 @@
1010
},
1111
"resolutions": {
1212
"relay-compiler-language-typescript":
13-
"file:../relay-compiler-language-typescript-1.1.1-alpha.1.tgz"
13+
"file:../relay-compiler-language-typescript-v1.1.1-alpha.2.tgz"
1414
},
1515
"dependencies": {
16+
"@babel/core": "^7.0.0-0",
1617
"babel-core": "^6.26.0",
1718
"babel-loader": "^7.1.2",
18-
"babel-plugin-relay": "^1.7.0",
19+
"babel-plugin-relay": "^2.0.0-rc.1",
1920
"babel-plugin-transform-runtime": "^6.12.0",
2021
"babel-preset-es2015": "^6.13.2",
2122
"babel-preset-react": "^6.11.1",
2223
"babel-preset-stage-0": "^6.5.0",
2324
"babel-runtime": "^6.26.0",
2425
"classnames": "2.2.5",
2526
"express": "^4.15.2",
26-
"express-graphql": "^0.6.4",
27-
"graphql": "^0.13.1",
28-
"graphql-compiler": "^1.7.0",
29-
"graphql-relay": "^0.5.1",
27+
"express-graphql": "^0.7.1",
28+
"graphql": "^14.0.2",
29+
"graphql-compiler": "^2.0.0-rc.1",
30+
"graphql-relay": "^0.5.5",
3031
"prop-types": "^15.6.2",
3132
"react": "^16.4.1",
3233
"react-dom": "^16.4.1",
33-
"react-relay": "^1.7.0",
34+
"react-relay": "^2.0.0-rc.1",
3435
"relay-devtools": "^1.4.0",
35-
"relay-runtime": "^1.7.0",
36+
"relay-runtime": "^2.0.0-rc.1",
3637
"todomvc-app-css": "^2.1.0",
3738
"todomvc-common": "^1.0.3",
3839
"webpack": "^3.5.5",
@@ -48,14 +49,10 @@
4849
"babel-cli": "^6.26.0",
4950
"babel-eslint": "6.1.2",
5051
"csstype": "^2.5.6",
51-
"eslint-config-fbjs": "1.1.1",
52-
"eslint-plugin-babel": "3.3.0",
53-
"eslint-plugin-flowtype": "2.15.0",
54-
"eslint-plugin-react": "5.2.2",
5552
"fork-ts-checker-webpack-plugin": "^0.3.0",
56-
"relay-compiler": "^1.7.0",
53+
"relay-compiler": "^2.0.0-rc.1",
5754
"relay-compiler-language-typescript":
58-
"file:../relay-compiler-language-typescript-1.1.1-alpha.1.tgz",
55+
"file:../relay-compiler-language-typescript-v1.1.1-alpha.2.tgz",
5956
"ts-loader": "^3.2.0",
6057
"tslint": "^5.12.0",
6158
"tslint-plugin-relay": "^0.0.3",

example/ts/__relay_artifacts__/AddTodoMutation.graphql.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type AddTodoInput = {};
4+
export type AddTodoInput = {
5+
readonly text: string;
6+
readonly clientMutationId?: string | null;
7+
};
58
export type AddTodoMutationVariables = {
69
readonly input: AddTodoInput;
710
};

example/ts/__relay_artifacts__/ChangeTodoStatusMutation.graphql.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type ChangeTodoStatusInput = {};
4+
export type ChangeTodoStatusInput = {
5+
readonly complete: boolean;
6+
readonly id: string;
7+
readonly clientMutationId?: string | null;
8+
};
59
export type ChangeTodoStatusMutationVariables = {
610
readonly input: ChangeTodoStatusInput;
711
};

example/ts/__relay_artifacts__/MarkAllTodosMutation.graphql.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type MarkAllTodosInput = {};
4+
export type MarkAllTodosInput = {
5+
readonly complete: boolean;
6+
readonly clientMutationId?: string | null;
7+
};
58
export type MarkAllTodosMutationVariables = {
69
readonly input: MarkAllTodosInput;
710
};

example/ts/__relay_artifacts__/RemoveCompletedTodosMutation.graphql.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type RemoveCompletedTodosInput = {};
4+
export type RemoveCompletedTodosInput = {
5+
readonly clientMutationId?: string | null;
6+
};
57
export type RemoveCompletedTodosMutationVariables = {
68
readonly input: RemoveCompletedTodosInput;
79
};

example/ts/__relay_artifacts__/RemoveTodoMutation.graphql.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type RemoveTodoInput = {};
4+
export type RemoveTodoInput = {
5+
readonly id: string;
6+
readonly clientMutationId?: string | null;
7+
};
58
export type RemoveTodoMutationVariables = {
69
readonly input: RemoveTodoInput;
710
};

example/ts/__relay_artifacts__/RenameTodoMutation.graphql.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/* tslint:disable */
22

33
import { ConcreteRequest } from "relay-runtime";
4-
export type RenameTodoInput = {};
4+
export type RenameTodoInput = {
5+
readonly id: string;
6+
readonly text: string;
7+
readonly clientMutationId?: string | null;
8+
};
59
export type RenameTodoMutationVariables = {
610
readonly input: RenameTodoInput;
711
};

0 commit comments

Comments
 (0)