Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Typescript support #54

Open
dlespiau opened this issue Dec 11, 2018 · 4 comments
Open

Native Typescript support #54

dlespiau opened this issue Dec 11, 2018 · 4 comments

Comments

@dlespiau
Copy link
Member

We could:

@dlespiau dlespiau added the kind/enhancement New feature or request label Dec 11, 2018
@dlespiau
Copy link
Member Author

We now have the stdlib described in ts and publish typings in @jkcfg/std

@geekflyer
Copy link

geekflyer commented Apr 4, 2020

@dlespiau @squaremo Could you add in one of the next releases native TypeScript support, as-in automatically running .ts files through a TypeScript compiler (maybe using ts-node)?
I think it's fine to still require the user to install typescript locally or globally, but jkcfg should automatically run the compilation step instead of requiring the user to do this "out of process".
I think this would largely increase the popularity of jk.
I'm currently already using pulumi in yaml render-mode but jk could be a good lighter-weight alternative for cases where one really only wants to render yamls instead of deploying them right away.

@dlespiau
Copy link
Member Author

dlespiau commented Apr 5, 2020

That's something I'd really like to see soon as well :) My current goal is to finish the plugin system so we can do interesting things such as rendering a helm chart, exposing its objects in js/ts and be able to manipulate them from a jk script.

Next goal will be the ts compiler if @squaremo doesn't beat me to it. It may take some time though as this project is a spare-time project for me.

@squaremo
Copy link
Member

squaremo commented Apr 7, 2020

🤖Early morning research robot has brought you a gift! 🎁

https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants