angular/packages/misc/angular-in-memory-web-api/BUILD.bazel
Paul Gschwendtner d081ef9b06 build: replace all ng_package with new rule from rules_angular (#61843)
Replaces all `ng_package` rule with the new rule from `rules_angular`.

PR Close #61843
2025-06-04 09:13:41 +00:00

31 lines
661 B
Text

load("//tools:defaults2.bzl", "ng_package", "ng_project")
package(default_visibility = ["//visibility:public"])
ng_project(
name = "angular-in-memory-web-api",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
interop_deps = [
"//packages/common",
"//packages/common/http",
],
module_name = "angular-in-memory-web-api",
deps = [
"//:node_modules/rxjs",
"//packages/core:core_rjs",
],
)
ng_package(
name = "npm_package",
srcs = ["package.json"],
package = "angular-in-memory-web-api",
deps = [
":angular-in-memory-web-api_rjs",
],
)