From a6408ba76c31c157a1bd265baff643a0f8169b3a Mon Sep 17 00:00:00 2001 From: Kelley R Date: Thu, 25 Jun 2026 09:25:28 -0400 Subject: [PATCH] fix(twilio-run): align @twilio/runtime-handler dep with create-twilio-function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit twilio-run declared @twilio/runtime-handler@^2.1.0 while create-twilio-function pins ^2.0.3. The two were inconsistent, and 2.1.0 — though published to npm as'latest' — is currently rejected by the Twilio Serverless platform at deploy time (Error 20001). Pin twilio-run to ^2.0.3 to keep the monorepo internally consistent and avoid signalling a non-deployable version. Refs #557 --- .changeset/runtime-handler-version-alignment.md | 7 +++++++ packages/twilio-run/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/runtime-handler-version-alignment.md 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",