-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: 4.11.0
-
Component/s: None
What problem are you facing?
mongodb v4.11.0 has an optional dependency which installs many packages which never get used if you don't use AWS.
yarn v3 does not support ignoring optional dependencies, so we have to install all the optional packages.
The change was introduced in https://jira.mongodb.org/browse/NODE-4721
Proposal: move the AWS optional dependency to peerDependencies
What driver and relevant dependency versions are you using?
mongodb v4.11.0
yarn v3.2.4
Steps to reproduce?
yarn install