-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add subscriptions #280
Add subscriptions #280
Changes from all commits
8d8c1e4
47c10a8
9606c4b
6e90ef9
bd8426c
3097610
63649b6
c8c669b
f9a6a49
e8d8519
5094fa0
4b024d3
87cfad7
6ed0d93
1e7f617
da4a649
56e44b6
b15fa91
ed164cf
2f4f79f
469879d
a9fa099
5551d5c
c1696b2
09d16a9
d0cac5f
e318e3a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"test:unit": "vue-cli-service test:unit" | ||
}, | ||
"dependencies": { | ||
"apollo-boost": "^0.4.4", | ||
"apollo-utilities": "^1.3.2", | ||
"axios-fetch": "^1.1.0", | ||
"cytoscape": "^3.9.0", | ||
"cytoscape-cise": "^1.0.0", | ||
|
@@ -37,7 +37,6 @@ | |
"tippy.js": "^4.3.5", | ||
"vee-validate": "^3.0.11", | ||
"vue": "^2.6.10", | ||
"vue-apollo": "^3.0.0-beta.30", | ||
"vue-cytoscape": "^0.2.10", | ||
"vue-i18n": "^8.14.1", | ||
"vue-meta": "^2.3.1", | ||
|
@@ -55,11 +54,17 @@ | |
"@vue/cli-plugin-unit-mocha": "^3.12.0", | ||
"@vue/cli-service": "^3.12.0", | ||
"@vue/test-utils": "^1.0.0-beta.29", | ||
"apollo-cache-inmemory": "^1.6.3", | ||
"apollo-client": "^2.6.4", | ||
"apollo-link": "^1.2.13", | ||
"apollo-link-http": "^1.5.16", | ||
"apollo-link-ws": "^1.0.19", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were dependencies of ApolloBoost, a helper that simplifies creating Apollo clients. However, when you provide a link that can handle both HTTP and WebSocket, ApolloBoost ignores it and unless you provide a URI, it will create and use an HTTP Link, simply ignoring the WebSocket. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where it shows that ApolloBoost is not compatible with WebSockets. Hence the removal, and the need to add these dependencies. |
||
"axios": "^0.19.0", | ||
"babel-eslint": "^10.0.3", | ||
"chai": "^4.2.0", | ||
"cross-env": "^6.0.3", | ||
"eslint": "^6.5.1", | ||
"cross-fetch": "^3.0.4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We were using the node-fetch for tests, but it didn't work after removing the default ApolloClient (which would prevent Apollo and its libraries of trying to validate that the fetch global existed. This polyfill provides the global fetch for tests. |
||
"eslint-config-vuetify": "*", | ||
"eslint-plugin-vue": "^5.2.3", | ||
"istanbul-instrumenter-loader": "^3.0.1", | ||
|
@@ -68,10 +73,11 @@ | |
"nyc": "^14.1.1", | ||
"sass": "^1.23.0", | ||
"sass-loader": "^7.3.1", | ||
"sinon": "^7.4.1", | ||
"standard": "^14.0.2", | ||
"sinon": "^7.5.0", | ||
"standard": "^14.3.1", | ||
"svgo": "^1.3.2", | ||
"vue-cli-plugin-apollo": "^0.21.0", | ||
"subscriptions-transport-ws": "^0.9.16", | ||
"vue-cli-plugin-eslint-config-vuetify": "latest", | ||
"vue-cli-plugin-vuetify": "latest", | ||
"vue-cli-plugin-vuetify-essentials": "latest", | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import './axios' | ||
import './layouts' | ||
import './veevalidate' | ||
import './apollo' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops.