From 249c1897c843056acc5ec9d8f0c70cbe9f657855 Mon Sep 17 00:00:00 2001 From: timdeschryver <28659384+timdeschryver@users.noreply.github.com> Date: Mon, 22 Apr 2019 21:50:07 +0200 Subject: [PATCH] build(data): add data migration packages --- modules/data/BUILD | 3 +++ modules/data/schematics-core/BUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 modules/data/schematics-core/BUILD diff --git a/modules/data/BUILD b/modules/data/BUILD index 1aa37a5681..68392b688b 100644 --- a/modules/data/BUILD +++ b/modules/data/BUILD @@ -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", diff --git a/modules/data/schematics-core/BUILD b/modules/data/schematics-core/BUILD new file mode 100644 index 0000000000..df5a317d2a --- /dev/null +++ b/modules/data/schematics-core/BUILD @@ -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", + ], +)