Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4736

Move AWS optional dependency to peerDependencies

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.0.0
    • Affects Version/s: 4.11.0
    • Component/s: None
    • 0
    • 1
    • Not Needed
    • Not Needed

      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 Unassigned
            Reporter:
            avaly@plexapp.com Valentin Agachi
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: