Skip to content

Commit

Permalink
feat: Migrate on graphql-compose 2.9.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
nodkz committed Sep 7, 2017
1 parent 4abf247 commit 01d329c
Show file tree
Hide file tree
Showing 69 changed files with 3,245 additions and 1,631 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"trailingComma": "es5",
}],
"import/prefer-default-export": 0,
"arrow-parens": 0
"arrow-parens": 0,
"prefer-destructuring": 0
},
"env": {
"jasmine": true,
Expand All @@ -40,5 +41,6 @@
"Class": true,
"Iterator": true,
"$Shape": true,
"$Keys": true,
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cache:
notifications:
email: true
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
before_install: yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 25c5e9a036a3e199649f88360d74aba9
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.47.0
// flow-typed signature: adfc416d3944bc9e0c30c54aa3ad632b
// flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 3f39e881bf0b4e83c4715f3d9c1be3f9
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.47.0
// flow-typed signature: a339a1bc763a819934b7920cfda8cf01
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
Expand Down
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: 140e378926218ceed9402f883b2debc2
// flow-typed version: <<STUB>>/babel-jest_v^21.0.0/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
*
* 'babel-jest'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'babel-jest' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-jest/build/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-jest/build/index.js' {
declare module.exports: $Exports<'babel-jest/build/index'>;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bbcb803d9f49929318cc761b809a9cf8
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.47.0
// flow-typed signature: 9d65b0c9d809b07ed1065eb8981071bb
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: a7f10d4e1bb10a70f85748b8d561edb8
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.23.0/flow_v0.47.0
// flow-typed signature: 89dfc917947ca47a4c5b9e1992cec48a
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.26.0/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
Expand Down
39 changes: 39 additions & 0 deletions flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// flow-typed signature: 3c0181a4c0caf2048ffeb2f4d65d65a4
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.23.0/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-runtime'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'babel-plugin-transform-runtime' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-transform-runtime/lib/definitions' {
declare module.exports: any;
}

declare module 'babel-plugin-transform-runtime/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-transform-runtime/lib/definitions.js' {
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/definitions'>;
}
declare module 'babel-plugin-transform-runtime/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/index'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9be49775f818b1a7831d1122a5bb96c7
// flow-typed version: <<STUB>>/babel-preset-env_v^1.5.1/flow_v0.47.0
// flow-typed signature: 74d80f7769b6753de780fadfe23183ab
// flow-typed version: <<STUB>>/babel-preset-env_v^1.5.2/flow_v0.54.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Loading

0 comments on commit 01d329c

Please sign in to comment.