twilio-labs / serverless-toolkit

CLI tool to develop, debug and deploy Twilio Functions

Home Page:https://www.twilio.com/docs/labs/serverless-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exact dependencies in templates are not correctly installed

dkundel opened this issue · comments

It seems like when we trigger pkg-install the dependencies are automatically installed in version ranges even if an exact version is given.

Example:

twilio serverless:init example --template=verified-broadcast

Will result in a @twilio/runtime-handler of ^1.2.0-rc.3 even though it should be an exact version the same way as in the template.

This might be solved if we would pass in the exact flag to pkg-install but this will require more research to validate that it will preserve ranges.