-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify aws-sdk only as peer dependency #36
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Also, as a heads up, npm 8 automatically changes |
Since the behavior changed in npm v7 I'm not sure what the best approach would be anymore - I marked |
That's exactly what I figured. From the latest docs: "As of npm v7, peerDependencies are installed by default."
Same thing. I'm in the process of testing it out to see if I can use it in earthstewards/littermap-aws-backend, in particular because it might take care of batch requests. |
Works like a charm. |
Status update: I haven't forgotten this pull request, but I'm unsure if the proposed changes are the appropriate course of action to maintain the behavior I'd like.
I don't think it is - if we continue to rely on I've been procrastinating dealing with npm 7+ for a long time because from what I can tell they don't account for scenarios like this one where we explicitly do not want to install I would prefer to keep As far as |
I did eventually forget about this PR. Sorry about that! With the upcoming 2.0 release there will be an explicit dependency on |
If
aws-sdk
is declared as a peer dependency it probably makes little sense to also have it listed as a dev dependency.