Skip to content

graphql mismatching dependency versions #2301

@artola

Description

@artola

Intended outcome:

No warnings, no wrong deps installation.

Actual outcome:

Warning:

apollo > apollo-language-server > @apollographql/graphql-language-service-interface > @apollographql/graphql-language-service-utils@2.0.2" has incorrect peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0".

How to reproduce the issue:

apollo install graphql v15 and installs apollo-language-server that includes @apollographql/graphql-language-service-interface but requires:

 "peerDependencies": {
    "graphql": "^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
  },

Package.json:

{
  "name": "apollo-language-server",
  "dependencies": {
    "@apollographql/graphql-language-service-interface": "^2.0.2",
    "graphql": "14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0",

Versions

verified with:
apollo v2.32.11 and v2.32.13 (latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions