feat: upgrade twilio v5, use peer deps, enhance tooling #541
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrades core Twilio dependencies to v5.5.2 across the workspace. Resolves associated type conflicts using peer dependencies. Includes enhancements for create-twilio-function and twilio-run.
Dependency & Type Alignment:
twilio
dependency to5.5.2
inruntime-handler
.twilio
from a direct dependency to apeerDependency (^5.5.2)
inserverless-runtime-types
andtwilio-run
.twilio
instance, resolving type identity conflicts (TS2322/TS2352).serverless-runtime-types
(types.d.ts
) to align with [email protected], primarily usingClientOpts
.ClientOpts as TwilioClientOptions
.@twilio/test-dep
alias tonpm:[email protected]
.peerDependency
fortwilio
for workspace checks.Package Enhancements:
create-twilio-function
: Bumped to v3.5.0, updated default dependencies (twilio
,typescript
,serverlessRuntimeTypes
), fixed TS template (fix(create-twilio-function): fix hello-world template #531).twilio-run
: fixedrequire
->import
conversion.Requires a clean install (removing node_modules and lockfile) after merging.
Contributing to Twilio