refactor: convert AIO tooling scripts used in Bazel to ESM (#48521)

Since the Bazel setup in this repo will now always use ESM,
the tooling scripts/binaries in AIO need to be switched to ESM
too. Most of the scripts are already ESM, but a few had to be converted.

Note that the Dgeni generation does not use ESM because it's unaffected
and the Dgeni CLI is used. In the future we could also update the Dgeni
setup to ESM but there is no need currently.

PR Close #48521
This commit is contained in:
Paul Gschwendtner
2022-12-14 09:59:42 +00:00
parent a425a1ce65
commit 13d3039c7d
24 changed files with 504 additions and 413 deletions
@@ -18,7 +18,7 @@ def partial_compliance_golden(filePath):
name = generate_partial_name,
testonly = True,
data = data,
data_for_args = [filePath],
data_for_expansion = [filePath],
visibility = [":__pkg__"],
entry_point = "//packages/compiler-cli/test/compliance/partial:cli.ts",
templated_args = ["$(execpath %s)" % filePath],