Skip to content

Commit bc396ba

Browse files
author
Juan Tejada
committed
Update issue-tracker to Relay v11.0.0-rc.0
1 parent 7d0dd8e commit bc396ba

17 files changed

+3495
-2993
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
.idea
33
.nvmrc
4+
.env.local
45
/dist/
56
/lib/
67
node_modules

issue-tracker/package.json

+13-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"react": "0.0.0-experimental-f42431abe",
1010
"react-dom": "0.0.0-experimental-f42431abe",
1111
"react-markdown": "^4.2.2",
12-
"react-relay": "0.0.0-experimental-8cc94ddc",
12+
"react-relay": "^11.0.0-rc.0",
1313
"react-router": "^5.1.2",
1414
"react-router-config": "^5.1.1",
1515
"react-scripts": "3.2.0",
16-
"relay-runtime": "^9.0.0"
16+
"relay-runtime": "^11.0.0-rc.0"
1717
},
1818
"scripts": {
1919
"start": "yarn run relay; concurrently --kill-others --names \"react-scripts,relay\" \"react-scripts start\" \"yarn run relay --watch\"",
@@ -39,13 +39,21 @@
3939
]
4040
},
4141
"devDependencies": {
42-
"babel-plugin-relay": "^9.0.0",
42+
"@babel/core": "^7.12.9",
43+
"@babel/node": "^7.12.6",
44+
"@babel/plugin-proposal-class-properties": "^7.12.1",
45+
"@babel/plugin-transform-runtime": "^7.12.1",
46+
"@babel/preset-env": "^7.12.7",
47+
"@babel/preset-flow": "^7.12.1",
48+
"@babel/preset-react": "^7.12.7",
49+
"@babel/runtime": "^7.12.5",
50+
"babel-plugin-relay": "^11.0.0-rc.0",
4351
"concurrently": "^5.0.0",
4452
"eslint-plugin-prettier": "^3.1.1",
4553
"get-graphql-schema": "^2.1.2",
46-
"graphql": "^14.5.8",
54+
"graphql": "^15.4.0",
4755
"prettier": "^1.18.2",
48-
"relay-compiler": "^9.0.0"
56+
"relay-compiler": "^11.0.0-rc.0"
4957
},
5058
"husky": {
5159
"hooks": {

issue-tracker/src/Issues.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Issues(props) {
2121
@argumentDefinitions(
2222
cursor: { type: "String" }
2323
count: { type: "Int", defaultValue: 10 }
24-
states: { type: "[IssueState!]", defaultValue: ["OPEN"] }
24+
states: { type: "[IssueState!]", defaultValue: OPEN }
2525
)
2626
@refetchable(queryName: "IssuesPaginationQuery") {
2727
issues(after: $cursor, first: $count, states: $states)

issue-tracker/src/__generated__/HomeRootIssuesQuery.graphql.js

+69-71
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)