mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 23:22:24 +08:00
Use custom optimized graphql-anywhere
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user