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

Commit b98d688

Browse files
authored
Merge pull request #152 from relay-tools/drop-example-patch
chore: Drop patch in example
2 parents e60bd56 + 3073647 commit b98d688

11 files changed

+62
-645
lines changed

example/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"build": "relay-compiler --src ./ts/ --schema ./data/schema.graphql --language typescript --artifactDirectory ./ts/__relay_artifacts__",
66
"update-schema": "babel-node ./scripts/updateSchema.js",
77
"lint": "tslint --project tsconfig.json",
8-
"postinstall": "patch-package",
98
"type-check": "tsc --noEmit --pretty"
109
},
1110
"prettier": {
@@ -44,13 +43,11 @@
4443
"@types/react": "^16.4.12",
4544
"@types/react-dom": "^16.0.7",
4645
"@types/react-relay": "^6.0.1",
47-
"@types/relay-runtime": "^6.0.6",
46+
"@types/relay-runtime": "^6.0.7",
4847
"babel-cli": "^6.26.0",
4948
"babel-eslint": "6.1.2",
5049
"csstype": "^2.5.6",
5150
"fork-ts-checker-webpack-plugin": "^0.3.0",
52-
"patch-package": "^6.2.0",
53-
"postinstall-postinstall": "^2.0.0",
5451
"relay-compiler": "^6.0.0",
5552
"relay-compiler-language-typescript": "file:.yalc/relay-compiler-language-typescript",
5653
"ts-loader": "^6.2.0",

example/patches/@types+relay-runtime+6.0.6.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.

example/ts/__relay_artifacts__/AddTodoMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type AddTodoInput = {
66
readonly clientMutationId?: string | null;
77
};
88
export type AddTodoMutationVariables = {
9-
readonly input: AddTodoInput;
9+
input: AddTodoInput;
1010
};
1111
export type AddTodoMutationResponse = {
1212
readonly addTodo: {

example/ts/__relay_artifacts__/ChangeTodoStatusMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type ChangeTodoStatusInput = {
77
readonly clientMutationId?: string | null;
88
};
99
export type ChangeTodoStatusMutationVariables = {
10-
readonly input: ChangeTodoStatusInput;
10+
input: ChangeTodoStatusInput;
1111
};
1212
export type ChangeTodoStatusMutationResponse = {
1313
readonly changeTodoStatus: {

example/ts/__relay_artifacts__/MarkAllTodosMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type MarkAllTodosInput = {
66
readonly clientMutationId?: string | null;
77
};
88
export type MarkAllTodosMutationVariables = {
9-
readonly input: MarkAllTodosInput;
9+
input: MarkAllTodosInput;
1010
};
1111
export type MarkAllTodosMutationResponse = {
1212
readonly markAllTodos: {

example/ts/__relay_artifacts__/RemoveCompletedTodosMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export type RemoveCompletedTodosInput = {
55
readonly clientMutationId?: string | null;
66
};
77
export type RemoveCompletedTodosMutationVariables = {
8-
readonly input: RemoveCompletedTodosInput;
8+
input: RemoveCompletedTodosInput;
99
};
1010
export type RemoveCompletedTodosMutationResponse = {
1111
readonly removeCompletedTodos: {

example/ts/__relay_artifacts__/RemoveTodoMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type RemoveTodoInput = {
66
readonly clientMutationId?: string | null;
77
};
88
export type RemoveTodoMutationVariables = {
9-
readonly input: RemoveTodoInput;
9+
input: RemoveTodoInput;
1010
};
1111
export type RemoveTodoMutationResponse = {
1212
readonly removeTodo: {

example/ts/__relay_artifacts__/RenameTodoMutation.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type RenameTodoInput = {
77
readonly clientMutationId?: string | null;
88
};
99
export type RenameTodoMutationVariables = {
10-
readonly input: RenameTodoInput;
10+
input: RenameTodoInput;
1111
};
1212
export type RenameTodoMutationResponse = {
1313
readonly renameTodo: {

0 commit comments

Comments
 (0)