Closed JacopoPatroclo closed 3 years ago
I want to be able to select a different version for Twilio client
I want to be able to select a different version of Twilio node client instead of the specific one that this wrapper enforce.
Add Twilio as a peer dependency instead of a direct dependency in package.json, maybe with something like this.
In package.json
.... "peerDependencies": { "twilio": "*" } ....
The star in there is because this package do not use some specific feature of twilio and should not enforce some specific version.
I use this article as a reference for when to use peer or not.
See for example TypeOrm Nest integration. In this case this package enforce a specific version for TypeOrm.
I will follow up this issue with a pull request if you guys don't have the time to look into it.
Feature Request
I want to be able to select a different version for Twilio client
Describe the Feature
I want to be able to select a different version of Twilio node client instead of the specific one that this wrapper enforce.
Describe the Solution you'd like
Add Twilio as a peer dependency instead of a direct dependency in package.json, maybe with something like this.
In package.json
The star in there is because this package do not use some specific feature of twilio and should not enforce some specific version.
Additional Information
I use this article as a reference for when to use peer or not.
See for example TypeOrm Nest integration. In this case this package enforce a specific version for TypeOrm.
I will follow up this issue with a pull request if you guys don't have the time to look into it.