From f452143e89e603bb4e13897c0dc33f8b20ced1bf Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 23 Aug 2019 21:18:20 +0300 Subject: [PATCH] feat(web): add nebular dep --- angular-metadata.tsconfig.json | 8 +- apps/lazy-loading-app/src/BUILD.bazel | 9 + apps/lazy-loading-app/src/app/BUILD.bazel | 2 + apps/lazy-loading-app/src/app/app.module.ts | 9 +- apps/lazy-loading-app/src/rxjs_shims.js | 16 + package.json | 4 + yarn.lock | 6716 +++++++++++-------- 7 files changed, 3794 insertions(+), 2970 deletions(-) diff --git a/angular-metadata.tsconfig.json b/angular-metadata.tsconfig.json index 8feb306..8f41b67 100644 --- a/angular-metadata.tsconfig.json +++ b/angular-metadata.tsconfig.json @@ -1,7 +1,3 @@ -// Workaround for https://github.com/angular/angular/issues/18810 -// -// This file is required to run ngc on 3rd party libraries such as @ngrx, -// to write files like node_modules/@ngrx/store/store.ngsummary.json. { "compilerOptions": { "lib": [ @@ -17,9 +13,11 @@ "enableSummariesForJit": true }, "include": [ - "node_modules/@angular/**/*" + "node_modules/@angular/**/*", + "node_modules/@nebular/**/*" ], "exclude": [ + "node_modules/@angular/**/schematics/**", "node_modules/@angular/common/upgrade*", "node_modules/@angular/router/upgrade*", "node_modules/@angular/bazel/**", diff --git a/apps/lazy-loading-app/src/BUILD.bazel b/apps/lazy-loading-app/src/BUILD.bazel index b610422..4536462 100644 --- a/apps/lazy-loading-app/src/BUILD.bazel +++ b/apps/lazy-loading-app/src/BUILD.bazel @@ -56,6 +56,7 @@ filegroup( # We always strip these paths off the front of any assets we serve _ROOT_DIRS = [ "npm/node_modules/zone.js/dist", + "npm/node_modules/intersection-observer", ] # Files that we serve in both development and production @@ -85,6 +86,7 @@ ts_devserver( # loader to load them. data = [ "favicon.ico", + "@npm//:node_modules/intersection-observer/intersection-observer.js", ], entry_module = "nx_bazel_example/apps/lazy-loading-app/src/main.dev", #