build: import in-memory-web-api project (#37182)
Moves the `angular-in-memory-web-api` project into the main repository in order to make it easier to maintain and release. PR Close #37182
This commit is contained in:
29
packages/misc/angular-in-memory-web-api/BUILD.bazel
Normal file
29
packages/misc/angular-in-memory-web-api/BUILD.bazel
Normal file
@ -0,0 +1,29 @@
|
||||
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
ng_module(
|
||||
name = "angular-in-memory-web-api",
|
||||
srcs = glob(
|
||||
[
|
||||
"*.ts",
|
||||
"src/**/*.ts",
|
||||
],
|
||||
),
|
||||
module_name = "angular-in-memory-web-api",
|
||||
deps = [
|
||||
"//packages/common",
|
||||
"//packages/common/http",
|
||||
"//packages/core",
|
||||
"@npm//rxjs",
|
||||
],
|
||||
)
|
||||
|
||||
ng_package(
|
||||
name = "npm_package",
|
||||
srcs = ["package.json"],
|
||||
entry_point = ":index.ts",
|
||||
deps = [
|
||||
":angular-in-memory-web-api",
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user