Overview
Bazel

Overview

TypeScript compilation

Rules

ts_library

ts_library type-checks and compiles a set of TypeScript sources to JavaScript.

Macros

tsc_wrapped_tsconfig

Produce a tsconfig.json that sets options required under Bazel.

ts_library_macro

Wraps ts_library to set the default for the tsconfig attribute.

tsconfig.json files using extends

Rules

ts_config

Allows a tsconfig.json file to extend another file.

Install toolchain dependencies

Macros

ts_setup_workspace

This repository rule should be called from your WORKSPACE file.

ts_setup_dev_workspace

Setup the toolchain needed for local development, but not needed by users.

Simple development server

Rules

ts_devserver

ts_devserver is a simple development server intended for a quick "getting started" experience.

Macros

ts_devserver_macro

Macro for creating a ts_devserver

Protocol Buffers

Rules

ts_proto_library

Wraps https://github.com/dcodeIO/protobuf.js for use in Bazel.