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:
crisbeto
2020-06-12 18:25:08 +02:00
committed by Misko Hevery
parent a7359d494a
commit 87a679b210
26 changed files with 3269 additions and 1 deletions

View 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",
],
)