diff --git a/packages/apollo/package.json b/packages/apollo/package.json index 4eb73e0bd..ab44d4edf 100644 --- a/packages/apollo/package.json +++ b/packages/apollo/package.json @@ -47,6 +47,7 @@ }, "peerDependencies": { "@apollo/gateway": "^0.44.1 || ^0.46.0 || ^0.48.0 || ^0.49.0 || ^0.50.0 || ^2.0.0", + "@apollo/subgraph": "^2.0.0", "@nestjs/common": "^8.2.3 || ^9.0.0", "@nestjs/core": "^8.2.3 || ^9.0.0", "@nestjs/graphql": "^10.0.0", @@ -59,6 +60,9 @@ "@apollo/gateway": { "optional": true }, + "@apollo/subgraph": { + "optional": true + }, "apollo-server-core": { "optional": true }, diff --git a/packages/mercurius/package.json b/packages/mercurius/package.json index e0489906f..8acefac1f 100644 --- a/packages/mercurius/package.json +++ b/packages/mercurius/package.json @@ -35,10 +35,16 @@ "mercurius-integration-testing": "6.0.1" }, "peerDependencies": { + "@apollo/subgraph": "^2.0.0", "@nestjs/common": "^8.2.3 || ^9.0.0", "@nestjs/graphql": "^10.0.0", "fastify": "^3.25.0 || ^4.0.0", "graphql": "^15.8.0 || ^16.0.0", "mercurius": "^8.12.0 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "@apollo/subgraph": { + "optional": true + } } }