Skip to content

Commit 8e2467c

Browse files
authored
Fix peer dependencies error when using Nest 9 (#14)
As of #13 the nestjs-graphile-worker library supports both Nest 9 and Nest 10. However, the peerDependencies specified only Nest 10, thus causing peer dependency install errors when using it in a Nest 9 codebase. This change relaxes the strong Nest 10 peer dependency and allows installing it with Nest 9 again.
1 parent f1dadc4 commit 8e2467c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"typescript": "^4.9.4"
6060
},
6161
"peerDependencies": {
62-
"@nestjs/common": "^10.0.0",
63-
"@nestjs/core": "^10.0.0",
62+
"@nestjs/common": "^9.0.0 || ^10.0.0",
63+
"@nestjs/core": "^9.0.0 || ^10.0.0",
6464
"graphile-worker": "^0.13.0"
6565
},
6666
"jest": {

0 commit comments

Comments
 (0)