angular/tools/BUILD.bazel
Paul Gschwendtner d73c7162df build: add postinstall script as runfile for yarn_install repository rule (#44490)
Adds the postinstall script as runfile for the `yarn_install`
repository rule, so that the dependencies are re-fetched when
the script changes.

PR Close #44490
2022-01-04 12:14:14 -08:00

40 lines
921 B
Text

load("//tools:defaults.bzl", "nodejs_binary", "ts_config")
package(default_visibility = ["//visibility:public"])
exports_files([
"tsconfig.json",
"postinstall-patches.js",
"jasmine-seed-generator.js",
])
ts_config(
name = "tsconfig-test",
src = "tsconfig-test.json",
deps = ["tsconfig.json"],
)
nodejs_binary(
name = "inline-package-json-deps",
entry_point = "inline-package-json-deps.js",
)
platform(
name = "rbe_ubuntu1604-angular",
parents = ["@rbe_ubuntu1604_angular//config:platform"],
remote_execution_properties = """
{PARENT_REMOTE_EXECUTION_PROPERTIES}
properties: {
name: "dockerAddCapabilities"
value: "SYS_ADMIN"
}
properties: {
name: "dockerNetwork"
value: "standard"
}
properties: {
name: "Pool"
value: "default"
}
""",
)