Use custom optimized graphql-anywhere

This commit is contained in:
Chi Vinh Le
2017-11-30 21:55:16 +01:00
parent 65be2b89a4
commit 3db7439d76
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ export default (document, config = {}) => hoistStatics((WrappedComponent) => {
const variables = typeof this.wrappedOptions === 'function'
? this.wrappedOptions(this.props).variables
: this.wrappedOptions.variables;
const previousResult = this.client.readQuery({
query: rootQuery,
variables,
+1 -1
View File
@@ -105,7 +105,7 @@
"fs-extra": "^4.0.1",
"gql-merge": "^0.0.4",
"graphql": "^0.9.1",
"graphql-anywhere": "^3.1.0",
"graphql-anywhere-optimized": "git+https://git@github.com/cvle/graphql-anywhere#optimized",
"graphql-docs": "0.2.0",
"graphql-errors": "^2.1.0",
"graphql-redis-subscriptions": "1.3.0",
+1
View File
@@ -120,6 +120,7 @@ const config = {
},
resolve: {
alias: {
'graphql-anywhere': 'graphql-anywhere-optimized',
'plugin-api': path.resolve(__dirname, 'plugin-api/'),
plugins: path.resolve(__dirname, 'plugins/'),
pluginsConfig: pluginsPath
+5 -1
View File
@@ -3507,7 +3507,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6:
version "1.0.1"
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
graphql-anywhere@^3.0.1, graphql-anywhere@^3.1.0:
"graphql-anywhere-optimized@git+https://git@github.com/cvle/graphql-anywhere#optimized":
version "3.1.0"
resolved "git+https://git@github.com/cvle/graphql-anywhere#7338ffed17ff27d79e56ae09ad4adeea33c21388"
graphql-anywhere@^3.0.1:
version "3.1.0"
resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-3.1.0.tgz#3ea0d8e8646b5cee68035016a9a7557c15c21e96"