alexa / ask-cli

Alexa Skills Kit Command Line Interface
https://developer.amazon.com/en-US/docs/alexa/smapi/ask-cli-intro.html
Apache License 2.0
163 stars 54 forks source link

Typescript-based template(s) #494

Open habuma opened 9 months ago

habuma commented 9 months ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request 
[ ] Other... Please describe: 

Expected Behavior

When starting a new project with ask new, I'd like the option to create a Typescript-based project. This becomes more important as new features (such as the LLM stuff announced today; https://developer.amazon.com/en-US/blogs/alexa/alexa-skills-kit/2023/09/alexa-llm-fall-devices-services-sep-2023) start with Typescript-based projects.

Current Behavior

Currently, the templates offered are for NodeJS, Python, and Java. If I want to create a Typescript skill, I must start with a NodeJS skill and perform some manual steps to convert it to a Typescript object.

Alternatively, I could create/use my own template that is already written in Typescript. But, unfortunately, this only works with Lambda-hosted skills, not Alexa-hosted skills and I generally start with Alexa-hosted.

Possible Solution

I'd like at least a Typescript-based template equivalent to the NodeJS "Hello world" template. Anything beyond that is great, but a "Hello world" template as the starting point for a Typescript-based skill project is the essential thing I'd like.

Your Environment and Context

tydonelson commented 9 months ago

Thanks @habuma for the request! We're pretty fond of TypeScript as well and would like to see this, we'll see if we can get it on the roadmap.