Skip to content

Commit 8df4cb6

Browse files
authored
fix(twilio-run): align @twilio/runtime-handler dep with create-twilio-function (#558)
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
1 parent c77e26e commit 8df4cb6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'twilio-run': patch
3+
---
4+
5+
fix: align `@twilio/runtime-handler` dev dependency with the version scaffolded by `create-twilio-function`
6+
7+
`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.

packages/twilio-run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"@ngrok/ngrok": "^1.7.0"
8787
},
8888
"devDependencies": {
89-
"@twilio/runtime-handler": "^2.1.0",
89+
"@twilio/runtime-handler": "^2.0.3",
9090
"@types/cheerio": "^0.22.12",
9191
"@types/common-tags": "^1.8.0",
9292
"@types/debug": "^4.1.4",

0 commit comments

Comments
 (0)