Skip to content

Commit

Permalink
build(data): add data migration packages
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Apr 22, 2019
1 parent f26443b commit 249c189
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/data/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ ng_package(
],
entry_point = "modules/data/index.js",
packages = [
"//modules/data/migrations:npm_package",
"//modules/data/schematics:npm_package",
"//modules/data/schematics-core:npm_package",
],
deps = [
":data",
Expand Down
29 changes: 29 additions & 0 deletions modules/data/schematics-core/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package(default_visibility = ["//visibility:public"])

load("//tools:defaults.bzl", "npm_package", "ts_library")

ts_library(
name = "schematics-core",
srcs = glob(
[
"**/*.ts",
],
exclude = [
"**/testing/**/*.ts",
"**/*spec.ts",
],
),
module_name = "@ngrx/data/schematics-core",
deps = [
"@npm//@angular-devkit/schematics",
"@npm//typescript",
],
)

npm_package(
name = "npm_package",
srcs = [],
deps = [
":schematics-core",
],
)

0 comments on commit 249c189

Please sign in to comment.