Files
Paul Gschwendtner a9a7654cbf build: migrate packages/compiler-cli to ts_project (#61862)
This commit migrates the remaining pieces of `compiler-cli` to
`ts_project`. This involves a few more things during migration:

- the `ng_module` ngc_wrapped rule broke as part of this change, so we
  switched it to `ts_project` too. This logic is soon gone anyway.

- we needed an extra pnpm "package.json" for the linker babel test. This test is
  loading from the real compiler-cli npm package. Babel needs a real
  node module for this, so this solution seems reasonable. It may be
  worth exploring in the future to move this test into an integration
  test though.

- the older integrationtest in compiler-cli is removed as the coverage
  is much better with the compliance test suite and this test.

PR Close #61862
2025-06-05 07:34:49 +00:00

23 lines
613 B
Python

load("//tools:defaults2.bzl", "ts_project")
package(default_visibility = ["//visibility:public"])
ts_project(
name = "babel",
srcs = ["index.ts"] + glob([
"src/**/*.ts",
]),
interop_deps = [
"//packages/compiler",
"//packages/compiler-cli/linker",
"//packages/compiler-cli/private",
"//packages/compiler-cli/src/ngtsc/file_system",
"//packages/compiler-cli/src/ngtsc/logging",
"//packages/compiler-cli/src/ngtsc/translator",
],
deps = [
"//:node_modules/@babel/core",
"//:node_modules/@types/babel__core",
],
)