-
Notifications
You must be signed in to change notification settings - Fork 537
chore: upgrade devDependencies, specify optionalDependencies #764
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,8 +89,8 @@ | |
"express": "4.17.1", | ||
"graphiql": "^1.4.1", | ||
"graphiql-subscriptions-fetcher": "0.0.2", | ||
"graphql": "15.4.0", | ||
"graphql-ws": "4.1.2", | ||
"graphql": "15.5.0", | ||
"graphql-ws": "4.1.3", | ||
"mocha": "8.2.1", | ||
"multer": "1.4.2", | ||
"nyc": "15.1.0", | ||
|
@@ -102,12 +102,16 @@ | |
"sinon": "9.2.1", | ||
"subscriptions-transport-ws": "0.9.18", | ||
"supertest": "6.0.1", | ||
"ts-node": "9.0.0", | ||
"typescript": "4.1.2", | ||
"ts-node": "10.0.0", | ||
"typescript": "4.3.2", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we upgraded TypeScript, I think we should also upgrade
At the same time, it would make sense to upgrade |
||
"unfetch": "4.2.0", | ||
"ws": "5.2.2" | ||
"ws": "7.4.6" | ||
}, | ||
"peerDependencies": { | ||
"graphql": "^14.7.0 || ^15.3.0" | ||
"graphql": "^14.7.0 || ^15.5.0" | ||
}, | ||
"optionalDependencies": { | ||
"graphql-ws": "4.1.3", | ||
"graphiql-subscriptions-fetcher": "0.0.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we listing these as optional dependencies? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point, they should be specified in the readme instead |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding locking to
[email protected]
, we could bypass theERR_PACKAGE_PATH_NOT_EXPORTED
by not usingrequire.resolve
, but instead do a plain path concat:WDYT?