This change adds typescript compilation step to the polygerrit build rules. The compiler is used only to produce the final gr-app bundle and is not used in other parts (tests, local development). In this change, the compiler does almost nothing - it only copies .js files to the output directory and makes some minor checks in .js files. Additionally, in this change the .ts-out directory as added to the top level of gerrit project. This directory is used as output directory when typescript runs in IDE. It is not used in bazel. Change-Id: I494993fd2ec98df45f46126399c2ee98c8365a2e
This directory contains compiled js code. Typescript uses subdirectories as output directories when runs under IDE.
Bazel doesn't use this directory