Closed simlu closed 3 years ago
My failed attempt here: https://github.com/apollographql/graphql-subscriptions/pull/222
Looks like there are quite a few dependencies that will need to be updated for apollo server to work with graphql 15.x: https://circleci.com/gh/blackflux/apollo-server-tools/3274
[23:50:17] warning "apollo-server > graphql-subscriptions@1.1.0" has incorrect peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "apollo-server > graphql-tools@4.0.7" has incorrect peer dependency "graphql@^0.13.0 || ^14.0.0".
warning "apollo-server > apollo-server-core > graphql-tag@2.10.3" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "apollo-server > apollo-server-core > graphql-upload@8.1.0" has incorrect peer dependency "graphql@0.13.1 - 14".
warning "apollo-server > apollo-server-core > subscriptions-transport-ws@0.9.16" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1 || ^14.0.2".
warning "apollo-server > graphql-tools > apollo-link@1.2.13" has incorrect peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0".
warning "apollo-server > graphql-tools > apollo-utilities@1.3.3" has incorrect peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "apollo-server > apollo-server-core > apollo-engine-reporting > apollo-graphql@0.4.1" has incorrect peer dependency "graphql@^14.2.1".
Similar issue, plus this line:
warning "type-graphql > graphql-query-complexity@0.5.0" has incorrect peer dependency "graphql@^0.13.0 || ^14.0.0".
Same here.
Scott
"dependencies": {
"@types/lodash": "^4.14.149",
"apollo-link-ws": "^1.0.20",
"apollo-utilities": "^1.3.4",
"body-parser": "^1.19.0",
"bson": "^4.0.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"graphql": "^15.0.0",
"graphql-playground-middleware-express": "^1.7.18",
"graphql-subscriptions": "^1.1.0",
"graphql-tools": "^6.0.15",
"graphql-upload": "^11.0.0",
"grpc-graphql-sdk": "^0.1.0",
"helmet": "^3.22.0",
"ioredis": "^4.17.3",
"jackson-js": "^1.1.0",
"lodash": "^4.17.15",
"serialize-javascript": "^4.0.0",
"serializr": "^2.0.3",
"subscriptions-transport-ws": "^0.9.17",
"surrial": "^2.0.2",
"ws": "^7.3.1",
"zeebe-node": "^0.23.0-alpha.4"
}
npm ls | grep graphql
...
npm ERR! peer dep missing: graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0, required by graphql-subscriptions@1.1.0
Version 1.2.0 has been released to npm (but is not yet tagged in GitHub). This issue can probably be closed.
/cc @glasser
Oops, sorry about the lack of git push (I'm spoiled by the CI-based publishing we have on other repos). Agreed, this is fixed!
Will open pr shortly