diff --git a/.changeset/runtime-handler-version-alignment.md b/.changeset/runtime-handler-version-alignment.md new file mode 100644 index 00000000..5598b49f --- /dev/null +++ b/.changeset/runtime-handler-version-alignment.md @@ -0,0 +1,7 @@ +--- +'twilio-run': patch +--- + +fix: align `@twilio/runtime-handler` dev dependency with the version scaffolded by `create-twilio-function` + +`twilio-run` depended on `@twilio/runtime-handler@^2.1.0` while `create-twilio-function` pins `^2.0.3`. The two were inconsistent, and `2.1.0` — although published to npm as `latest` — is currently rejected by the Twilio Serverless platform at deploy time (`Error 20001: No matching version found for @twilio/runtime-handler@2.1.0`). Pinning `twilio-run` to `^2.0.3` keeps the monorepo internally consistent and avoids signalling a version that cannot be deployed. See #557. diff --git a/packages/twilio-run/package.json b/packages/twilio-run/package.json index c07533aa..c6de7075 100644 --- a/packages/twilio-run/package.json +++ b/packages/twilio-run/package.json @@ -86,7 +86,7 @@ "@ngrok/ngrok": "^1.7.0" }, "devDependencies": { - "@twilio/runtime-handler": "^2.1.0", + "@twilio/runtime-handler": "^2.0.3", "@types/cheerio": "^0.22.12", "@types/common-tags": "^1.8.0", "@types/debug": "^4.1.4",