serverless-toolkit
serverless-toolkit copied to clipboard
CLI tool to develop, debug and deploy Twilio Functions
Right now if you create a template and then run immediately `deploy` the template might break. I think we can find ways to improve the experience here.
The PR of #115 introduced the capability to set custom template repo URLs and branches to improve the DX for people developing templates. The safeguards around it are limited at...
It would be nice to have a helper function that can take a deployed Twilio Function URL and return the `serviceSid`, `environmentSid`, `buildSid` and any other meta information that might...
The PR twilio-labs/serverless-api#31 added verification for paths to the tooling. Right now we handle some special characters but it's still unclear what the right path for emojis are. We checked...
There is a parameter on the Service resource in the API ui-editable which is false by default. Setting this to true means resources like Functions within Environments become editable in...
### Repro Steps 1. Deploy a Serverless Function under any `name` with `twilio serverless:deploy` 2. Change the `name` value in `package.json` 3. Deploy again with `twilio serverless:deploy` 4. Notice that...
I think it would be nice to setup some E2E test to verify that everything works as part of the PR automation. What I have in mind right now is...
Inside deployed Twilio Functions there's only one way to properly require other JavaScript files inside your project: ```js const mod = require(Runtime.getAssets()['/some/lib'].path) ``` This is necessary that Functions renames files...
While developing new function template I found an obscure bug. This code works: ```js exports.handler = function(context, event, callback) { let twiml = new Twilio.twiml.MessagingResponse(); twiml.message('Hello World'); callback(null, twiml); };...
During a stream we found [Nixt](https://github.com/vesln/nixt). It might be a good tool to implement some E2E tests for the various commands. We should probably have them in a dedicated folder...