Specify aws-sdk only as peer dependency#36
Specify aws-sdk only as peer dependency#36specious wants to merge 1 commit intoSleavely:masterfrom specious:aws-sdk-peer-dep
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
|
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-sdkis declared as a peer dependency it probably makes little sense to also have it listed as a dev dependency.