[build_ts_refs] improve caches, allow building a subset of projects (#107981)

* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Spencer 2021-08-10 22:12:45 -07:00 committed by GitHub
parent 6ed4b4f70c
commit c0395c9ef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
338 changed files with 1162 additions and 1281 deletions

View file

@ -47,7 +47,8 @@ ts_config(
name = "tsconfig",
src = "tsconfig.json",
deps = [
"//:tsconfig.base.json",
"//:tsconfig.base.json",
"//:tsconfig.bazel.json",
],
)
@ -57,7 +58,6 @@ ts_project(
args = ["--pretty"],
declaration = True,
declaration_map = True,
incremental = True,
out_dir = "target",
root_dir = "src",
source_map = True,

View file

@ -1,9 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"incremental": true,
"outDir": "target",
"rootDir": "src",
"sourceMap": true,