This change turns on preserve-symlinks in nodejs to verify hermeticity of the Angular build.
BREAKING CHANGE: Use of @angular/bazel rules now requires calling ng_setup_workspace() in your WORKSPACE file.
For example:
local_repository(
name = "angular",
path = "node_modules/@angular/bazel",
)
load("@angular//:index.bzl", "ng_setup_workspace")
ng_setup_workspace()
PR Close #24881
11 lines
241 B
Python
11 lines
241 B
Python
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
jasmine_node_test(
|
|
name = "validate-commit-message",
|
|
srcs = glob(["*.js"]),
|
|
data = [
|
|
"commit-message.json",
|
|
"spec/support/jasmine.json",
|
|
],
|
|
)
|