Move AWS optional dependency to peerDependencies

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 5.0.0
    • Affects Version/s: 4.11.0
    • Component/s: None
    • 0
    • 1
    • Not Needed
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • 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

              Assignee:
              Unassigned
              Reporter:
              Valentin Agachi
              None
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: