mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 19:41:12 +08:00
This CL adds integration for TypeScript in the Ninja build system. It includes the ts_library.py script that calls the typescript compiler on the source files. The Ninja template in typescript.gni is a similar definition to the Bazel definition [1]. It does not yet have dependency resolution, which will be implemented in a follow-up CL. The tsconfig will also change later, but that is still up for discussion. Only 1 ts_library can be used per BUILD.gn file, which will be fixed later. [1]: https://bazelbuild.github.io/rules_nodejs/TypeScript.html#compiling-typescript-ts_library Bug:1011811 Change-Id: I11a85318cfcc791cb277388aed6028b34f749a14 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1924203 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Name: TypeScript Short Name: typescript URL: Internal Version: 0.1 License: Apache 2.0 License File: LICENSE Security Critical: No Description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. This package includes TypeScript integration into Ninja.