Skip to content

Commit 029f84c

Browse files
committed
fix: make compatible with [email protected], update dependencies
1 parent 4748d0c commit 029f84c

File tree

5 files changed

+1137
-857
lines changed

5 files changed

+1137
-857
lines changed

.flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@
4141
[options]
4242
esproposal.class_instance_fields=enable
4343
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
44-
unsafe.enable_getters_and_setters=true

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ cache:
77
notifications:
88
email: true
99
node_js:
10+
- "9"
1011
- "8"
11-
- "7"
12-
- "6"
1312
before_install: yarn global add greenkeeper-lockfile@1
1413
before_script: greenkeeper-lockfile-update
1514
after_script: greenkeeper-lockfile-upload

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@
2626
},
2727
"devDependencies": {
2828
"babel-cli": "^6.26.0",
29-
"babel-eslint": "^8.0.1",
30-
"babel-jest": "^21.2.0",
29+
"babel-eslint": "^8.2.1",
30+
"babel-jest": "^22.1.0",
3131
"babel-plugin-transform-flow-strip-types": "^6.22.0",
3232
"babel-plugin-transform-object-rest-spread": "^6.26.0",
3333
"babel-plugin-transform-runtime": "^6.23.0",
3434
"babel-preset-env": "^1.6.1",
3535
"cz-conventional-changelog": "^2.1.0",
36-
"eslint": "^4.10.0",
36+
"eslint": "^4.16.0",
3737
"eslint-config-airbnb-base": "^12.1.0",
38-
"eslint-config-prettier": "^2.6.0",
39-
"eslint-plugin-flowtype": "^2.39.1",
38+
"eslint-config-prettier": "^2.9.0",
39+
"eslint-plugin-flowtype": "^2.42.0",
4040
"eslint-plugin-import": "^2.8.0",
41-
"eslint-plugin-prettier": "^2.3.1",
42-
"flow-bin": "^0.57.3",
43-
"graphql": "^0.11.7",
44-
"graphql-compose": "^2.9.5",
45-
"jest": "^21.2.1",
46-
"prettier": "^1.7.4",
41+
"eslint-plugin-prettier": "^2.5.0",
42+
"flow-bin": "^0.64.0",
43+
"graphql": "0.13.0-rc.1",
44+
"graphql-compose": "^2.13.0",
45+
"jest": "^22.1.4",
46+
"prettier": "^1.10.2",
4747
"rimraf": "^2.6.2",
48-
"semantic-release": "^8.2.0"
48+
"semantic-release": "^12.4.1"
4949
},
5050
"dependencies": {
5151
"babel-runtime": "^6.26.0"

src/nodeFieldConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function getNodeFieldConfig(typeMapForRelayNode: TypeMapForRelayNode) {
4343
// it will correctly add required fields for `relation` to `projection`
4444
let projection;
4545
if (info) {
46+
// $FlowFixMe
4647
info.returnType = graphqlType;
4748
projection = getProjectionFromAST(info);
4849
} else {

0 commit comments

Comments
 (0)