Skip to content

Commit 01d329c

Browse files
committed
feat: Migrate on graphql-compose 2.9.0
- update dependencies - cover mongoose lib with flow-typed - refactor using reexported graphql package via graphql-compose/lib/graphql - reassemble type defs and remove definition.js file - bunch of other code-style changes
1 parent 4abf247 commit 01d329c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3245
-1631
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"trailingComma": "es5",
2727
}],
2828
"import/prefer-default-export": 0,
29-
"arrow-parens": 0
29+
"arrow-parens": 0,
30+
"prefer-destructuring": 0
3031
},
3132
"env": {
3233
"jasmine": true,
@@ -40,5 +41,6 @@
4041
"Class": true,
4142
"Iterator": true,
4243
"$Shape": true,
44+
"$Keys": true,
4345
}
4446
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ cache:
88
notifications:
99
email: true
1010
node_js:
11+
- "8"
1112
- "7"
1213
- "6"
13-
- "5"
1414
- "4"
1515
before_install: yarn global add greenkeeper-lockfile@1
1616
before_script: greenkeeper-lockfile-update

flow-typed/npm/babel-cli_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 25c5e9a036a3e199649f88360d74aba9
2-
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.47.0
1+
// flow-typed signature: adfc416d3944bc9e0c30c54aa3ad632b
2+
// flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.54.1
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-eslint_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 3f39e881bf0b4e83c4715f3d9c1be3f9
2-
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.47.0
1+
// flow-typed signature: a339a1bc763a819934b7920cfda8cf01
2+
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.54.1
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-jest_vx.x.x.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// flow-typed signature: 140e378926218ceed9402f883b2debc2
2+
// flow-typed version: <<STUB>>/babel-jest_v^21.0.0/flow_v0.54.1
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-jest'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-jest' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-jest/build/index' {
26+
declare module.exports: any;
27+
}
28+
29+
// Filename aliases
30+
declare module 'babel-jest/build/index.js' {
31+
declare module.exports: $Exports<'babel-jest/build/index'>;
32+
}

flow-typed/npm/babel-plugin-transform-flow-strip-types_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: bbcb803d9f49929318cc761b809a9cf8
2-
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.47.0
1+
// flow-typed signature: 9d65b0c9d809b07ed1065eb8981071bb
2+
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.54.1
33

44
/**
55
* This is an autogenerated libdef stub for:

flow-typed/npm/babel-plugin-transform-object-rest-spread_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: a7f10d4e1bb10a70f85748b8d561edb8
2-
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.23.0/flow_v0.47.0
1+
// flow-typed signature: 89dfc917947ca47a4c5b9e1992cec48a
2+
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.26.0/flow_v0.54.1
33

44
/**
55
* This is an autogenerated libdef stub for:
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// flow-typed signature: 3c0181a4c0caf2048ffeb2f4d65d65a4
2+
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.23.0/flow_v0.54.1
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-plugin-transform-runtime'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-plugin-transform-runtime' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-plugin-transform-runtime/lib/definitions' {
26+
declare module.exports: any;
27+
}
28+
29+
declare module 'babel-plugin-transform-runtime/lib/index' {
30+
declare module.exports: any;
31+
}
32+
33+
// Filename aliases
34+
declare module 'babel-plugin-transform-runtime/lib/definitions.js' {
35+
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/definitions'>;
36+
}
37+
declare module 'babel-plugin-transform-runtime/lib/index.js' {
38+
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/index'>;
39+
}

flow-typed/npm/babel-preset-env_vx.x.x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 9be49775f818b1a7831d1122a5bb96c7
2-
// flow-typed version: <<STUB>>/babel-preset-env_v^1.5.1/flow_v0.47.0
1+
// flow-typed signature: 74d80f7769b6753de780fadfe23183ab
2+
// flow-typed version: <<STUB>>/babel-preset-env_v^1.5.2/flow_v0.54.1
33

44
/**
55
* This is an autogenerated libdef stub for:

0 commit comments

Comments
 (0)