Skip to content

Support @mercuriusjs/[email protected] as peerDependency #27

@djedlajn

Description

@djedlajn

Hello

I'm getting following when trying to upgrade mercurious suite.

While resolving: [email protected]
npm ERR! Found: @mercuriusjs/[email protected]
npm ERR! node_modules/@mercuriusjs/federation
npm ERR!   @mercuriusjs/federation@"^5.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @mercuriusjs/federation@"^1 || ^2" from [email protected]
npm ERR! node_modules/mercurius-integration-testing
npm ERR!   dev mercurius-integration-testing@"^9.0.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @mercuriusjs/[email protected]
npm ERR! node_modules/@mercuriusjs/federation
npm ERR!   peerOptional @mercuriusjs/federation@"^1 || ^2" from [email protected]
npm ERR!   node_modules/mercurius-integration-testing
npm ERR!     dev mercurius-integration-testing@"^9.0.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
 

Meaning that [email protected] expects @mercuriusjs/federation to be version 1.x or 2.x (as specified in its peer dependencies) and the latest is 5.x could we bump the peer deps if possible to enable it to work with latest version of it.

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