Replies: 3 comments
-
Can you explain a bit more how the difference between peerDependencies works in your app and how multiple copies impacts you. The deps:
are used at runtime. Can changing to peerDependencies impact other users? |
Beta Was this translation helpful? Give feedback.
-
Moving it to peers would require me to provide those libraries, but that helps with deduping the In the end it probably does not affect standard project and more libraries, so it could not be a big issue. From my point of view I have found a satisfactory solution. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback. Removing as a dep would require other users to manually install the SDK which is less than ideal. Your solution seems the best. Thank you for following up. |
Beta Was this translation helpful? Give feedback.
-
The library is using
@aws-sdk/*
declared as direct dependencies. While this is not a problem when you develop a single app, we have libraries in our project that will not function properly in conjunction withdynamodb-onetable
because yarn/npm will install multiple copies of theaws-sdk
libs.Can you please consider moving the AWS SDK related items to
peerDependencies
?Beta Was this translation helpful? Give feedback.
All reactions