Skip to content

Commit 7ffd772

Browse files
Merge pull request #2551 from zgriesinger/zgriesinger/fix-peers
fix(@nestjs/apollo): Add in missing peer dependencies.
2 parents 0c678c8 + a6d23c1 commit 7ffd772

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/apollo/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
},
4848
"peerDependencies": {
4949
"@apollo/gateway": "^0.44.1 || ^0.46.0 || ^0.48.0 || ^0.49.0 || ^0.50.0 || ^2.0.0",
50+
"@apollo/subgraph": "^2.0.0",
5051
"@nestjs/common": "^8.2.3 || ^9.0.0",
5152
"@nestjs/core": "^8.2.3 || ^9.0.0",
5253
"@nestjs/graphql": "^10.0.0",
@@ -59,6 +60,9 @@
5960
"@apollo/gateway": {
6061
"optional": true
6162
},
63+
"@apollo/subgraph": {
64+
"optional": true
65+
},
6266
"apollo-server-core": {
6367
"optional": true
6468
},

packages/mercurius/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,16 @@
3535
"mercurius-integration-testing": "6.0.1"
3636
},
3737
"peerDependencies": {
38+
"@apollo/subgraph": "^2.0.0",
3839
"@nestjs/common": "^8.2.3 || ^9.0.0",
3940
"@nestjs/graphql": "^10.0.0",
4041
"fastify": "^3.25.0 || ^4.0.0",
4142
"graphql": "^15.8.0 || ^16.0.0",
4243
"mercurius": "^8.12.0 || ^9.0.0 || ^10.0.0"
44+
},
45+
"peerDependenciesMeta": {
46+
"@apollo/subgraph": {
47+
"optional": true
48+
}
4349
}
4450
}

0 commit comments

Comments
 (0)