Comments (4)
π€Early morning research robot has brought you a gift! π
https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API
from jk.
We now have the stdlib described in ts and publish typings in @jkcfg/std
from jk.
@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.
from jk.
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.
from jk.
Related Issues (20)
- Force format of output HOT 1
- Transform doesn't write streams back again
- Validate doesn't read multi-valued files HOT 1
- Support CSV files HOT 3
- Support for YAML streams HOT 3
- Running JK in Node HOT 4
- Sandboxing JK HOT 4
- `write` can write outside the output directory HOT 1
- Migrate from gometalinter golangci-lint
- Can the jkcfg/build image use jkcfg/prebuilt? HOT 5
- JK vs Helm vs Kustomize vs TK vs Jsonnet
- Kubernetes Resource Typescript Generation HOT 1
- fatal panic during exection due to import cycle HOT 1
- Can't run jk generate with absolute path
- jk generate will fail silently to overwrite files HOT 2
- Possible to generate a YAML comment? HOT 2
- Using params with std.Format.Raw HOT 2
- TOML support HOT 1
- comparison to l9t and usage of denojs HOT 1
- Status of Project? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jk.