Alex Eagle 1e6cc42a01 test: migrate remaining public-api tests to Bazel (#22639)
We now create npm packages to cover all the public api assertions in tools/public_api_guard.
We no longer depend on ts-api-guardian from npm - it is now stale since the repository was archived.
There is no longer a gulp task to enforce or accept the public API, this is in CircleCI as part of running all bazel test targets.

PR Close #22639
2018-03-09 09:11:40 -08:00

33 lines
667 B
Python

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ng_module", "ng_package")
ng_module(
name = "animations",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "@angular/animations",
deps = [
"//packages/core",
],
)
ng_package(
name = "npm_package",
srcs = ["package.json"],
entry_point = "packages/animations/index.js",
secondary_entry_points = [
"browser",
"browser/testing",
],
deps = [
":animations",
"//packages/animations/browser",
"//packages/animations/browser/testing",
],
)