There's a typescript gradle plugin

https://github.com/sothmann/typescript-gradle-plugin

The Tapestry build could use this at build time to convert Typescript to
Javascript which is published to maven central. So downstream consumers
wouldn't need nodejs installed

On 4 Apr 2017 12:13 p.m., "Jochen Kemnade" <jochen.kemn...@eddyson.de>
wrote:

> Hi,
>
> Am 04.04.2017 um 13:05 schrieb Bob Harner:
>
>> As I understand it the Typescript compiler is written Typescript, which
>> can
>> be compiled to JavaScript, and then that compiled compiler can be run in
>> any compliant JavaScript engine, including Rhino that Tapestry already
>> employs as well as the Nashorn engine built into Java 8.
>>
>
> Not if they use Node API, for example for file access etc. But even if
> they do that, there are ways to get it to work. You could rely on Node
> being available on the PATH and just execute it, which is what
> tapestry-react [1] does.
> Or you could install a Node distribution on the fly and use that.
>
> Jochen
>
> [1] https://github.com/eddyson-de/tapestry-react
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>
>

Reply via email to