Skip to content

Commit

Permalink
fix: update tsconfigs to include darwin_arm64-fastbuild in rootDirs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
CooperBills authored and alexeagle committed Dec 3, 2021
1 parent d44c81f commit 1f75f40
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/TypeScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ Any code that works with `tsc` should work with `ts_project` with a few caveats:
> ".",
> "../../bazel-out/host/bin/path/to",
> "../../bazel-out/darwin-fastbuild/bin/path/to",
> "../../bazel-out/darwin_arm64-fastbuild/bin/path/to",
> "../../bazel-out/k8-fastbuild/bin/path/to",
> "../../bazel-out/x64_windows-fastbuild/bin/path/to",
> "../../bazel-out/darwin-dbg/bin/path/to",
Expand Down
7 changes: 6 additions & 1 deletion examples/nestjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"experimentalDecorators": true,
"target": "ES2015",
"module": "commonjs",
"rootDirs": [".", "bazel-out/k8-fastbuild/bin", "bazel-out/darwin-fastbuild/bin"],
"rootDirs": [
".",
"bazel-out/k8-fastbuild/bin",
"bazel-out/darwin-fastbuild/bin",
"bazel-out/darwin_arm64-fastbuild/bin"
],
"declaration": true
},
"exclude": ["external"]
Expand Down
1 change: 1 addition & 0 deletions examples/protobufjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"rootDirs": [
".",
"bazel-out/darwin-fastbuild/bin",
"bazel-out/darwin_arm64-fastbuild/bin",
"bazel-out/k8-fastbuild/bin",
"bazel-out/x64_windows-fastbuild/bin",
"bazel-out/darwin-dbg/bin",
Expand Down
1 change: 1 addition & 0 deletions packages/esbuild/test/ts_project/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"rootDirs": [
".",
"../../../../bazel-out/darwin-fastbuild/bin/packages/esbuild/test/ts_project",
"../../../../bazel-out/darwin_arm64-fastbuild/bin/packages/esbuild/test/ts_project",
"../../../../bazel-out/k8-fastbuild/bin/packages/esbuild/test/ts_project",
"../../../../bazel-out/x64_windows-fastbuild/bin/packages/esbuild/test/ts_project",
"../../../../bazel-out/darwin-dbg/bin/packages/esbuild/test/ts_project",
Expand Down
1 change: 1 addition & 0 deletions packages/rollup/test/ts_project/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"rootDirs": [
".",
"../../../../bazel-out/darwin-fastbuild/bin/packages/rollup/test/ts_project",
"../../../../bazel-out/darwin_arm64-fastbuild/bin/packages/rollup/test/ts_project",
"../../../../bazel-out/k8-fastbuild/bin/packages/rollup/test/ts_project",
"../../../../bazel-out/x64_windows-fastbuild/bin/packages/rollup/test/ts_project",
"../../../../bazel-out/darwin-dbg/bin/packages/rollup/test/ts_project",
Expand Down
1 change: 1 addition & 0 deletions packages/typescript/internal/ts_project.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ def ts_project_macro(
> ".",
> "../../bazel-out/host/bin/path/to",
> "../../bazel-out/darwin-fastbuild/bin/path/to",
> "../../bazel-out/darwin_arm64-fastbuild/bin/path/to",
> "../../bazel-out/k8-fastbuild/bin/path/to",
> "../../bazel-out/x64_windows-fastbuild/bin/path/to",
> "../../bazel-out/darwin-dbg/bin/path/to",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"rootDirs": [
".",
"../../../../../bazel-out/darwin-fastbuild/bin/packages/typescript/test/ts_project/empty_intermediate",
"../../../../../bazel-out/darwin_arm64-fastbuild/bin/packages/typescript/test/ts_project/empty_intermediate",
"../../../../../bazel-out/k8-fastbuild/bin/packages/typescript/test/ts_project/empty_intermediate",
"../../../../../bazel-out/x64_windows-fastbuild/bin/packages/typescript/test/ts_project/empty_intermediate",
"../../../../../bazel-out/darwin-dbg/bin/packages/typescript/test/ts_project/empty_intermediate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"rootDirs": [
".",
"../../../../../bazel-out/darwin-fastbuild/bin/packages/typescript/test/ts_project/js_library",
"../../../../../bazel-out/darwin_arm64-fastbuild/bin/packages/typescript/test/ts_project/js_library",
"../../../../../bazel-out/k8-fastbuild/bin/packages/typescript/test/ts_project/js_library",
"../../../../../bazel-out/x64_windows-fastbuild/bin/packages/typescript/test/ts_project/js_library",
"../../../../../bazel-out/darwin-dbg/bin/packages/typescript/test/ts_project/js_library",
Expand Down
1 change: 1 addition & 0 deletions packages/typescript/test/ts_project/tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"rootDirs": [
".",
"../../../../bazel-out/darwin-fastbuild/bin/packages/typescript/test/ts_project",
"../../../../bazel-out/darwin_arm64-fastbuild/bin/packages/typescript/test/ts_project",
"../../../../bazel-out/k8-fastbuild/bin/packages/typescript/test/ts_project",
"../../../../bazel-out/x64_windows-fastbuild/bin/packages/typescript/test/ts_project",
"../../../../bazel-out/darwin-dbg/bin/packages/typescript/test/ts_project",
Expand Down

0 comments on commit 1f75f40

Please sign in to comment.