From b02cb3dc0164ba79313136deebb21e50e7e6d6fd Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Wed, 3 Apr 2019 17:32:30 -0700 Subject: [PATCH] build(bazel): remove unnecessary scripts from ts_devserver & ts_web_test_suite in /integration/bazel (#29694) PR Close #29694 --- integration/bazel/src/BUILD.bazel | 7 ---- integration/bazel/src/hello-world/BUILD.bazel | 12 ------- integration/bazel/yarn.lock | 32 +++++++++---------- 3 files changed, 16 insertions(+), 35 deletions(-) diff --git a/integration/bazel/src/BUILD.bazel b/integration/bazel/src/BUILD.bazel index a2ed94dd68..bc4b275b5b 100644 --- a/integration/bazel/src/BUILD.bazel +++ b/integration/bazel/src/BUILD.bazel @@ -36,13 +36,6 @@ ts_devserver( entry_module = "bazel_integration_test/src/main", index_html = "index.html", scripts = [ - "@npm//node_modules/@angular/common:bundles/common.umd.js", - "@npm//node_modules/@angular/common:bundles/common-http.umd.js", - "@npm//node_modules/@angular/core:bundles/core.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js", - "@npm//node_modules/@angular/router:bundles/router.umd.js", - "@npm//node_modules/@angular/router:router.ngfactory.js", - "@npm//node_modules/tslib:tslib.js", ":rxjs_umd_modules", ], serving_path = "/bundle.min.js", diff --git a/integration/bazel/src/hello-world/BUILD.bazel b/integration/bazel/src/hello-world/BUILD.bazel index 768cff8e41..27a8955b0c 100644 --- a/integration/bazel/src/hello-world/BUILD.bazel +++ b/integration/bazel/src/hello-world/BUILD.bazel @@ -45,18 +45,6 @@ ts_library( ts_web_test_suite( name = "test", - srcs = [ - "@npm//node_modules/@angular/common:bundles/common.umd.js", - "@npm//node_modules/@angular/compiler:bundles/compiler.umd.js", - "@npm//node_modules/@angular/compiler:bundles/compiler-testing.umd.js", - "@npm//node_modules/@angular/core:bundles/core.umd.js", - "@npm//node_modules/@angular/core:bundles/core-testing.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser-testing.umd.js", - "@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic.umd.js", - "@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic-testing.umd.js", - "@npm//node_modules/tslib:tslib.js", - ], bootstrap = [ "@npm//node_modules/zone.js:dist/zone-testing-bundle.js", "@npm//node_modules/reflect-metadata:Reflect.js", diff --git a/integration/bazel/yarn.lock b/integration/bazel/yarn.lock index bb798c043d..d073c83f50 100644 --- a/integration/bazel/yarn.lock +++ b/integration/bazel/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@bazel/bazel-darwin_x64@0.23.0": - version "0.23.0" - resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.23.0.tgz#11f40d23d282e3034da5c223462f17924adc6c42" - integrity sha512-kEn+SzN9zK2dHeKpTpkZma4ZqZdlzEagYLf2EY7yqRWKpD8oW5MZ2S2JxwvR4w1ZrHCth/x4dFsxwPlNA585JQ== +"@bazel/bazel-darwin_x64@0.24.0": + version "0.24.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.24.0.tgz#828ef298d8d542961df388f17b0244f4f4302a74" + integrity sha512-xly44vkcD/fauUb7Lm5Lme4qhEZdkuuyBKSVQUHPbYAGDdbj/W8dupI3bZREkJAgG/WrRU+WXUemMj4U8ZcLcw== -"@bazel/bazel-linux_x64@0.23.0": - version "0.23.0" - resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.23.0.tgz#5c3a0ebc9e68fa3a4bb7a0d05367febca15897a2" - integrity sha512-B+FQOEcrRCM+D/w2hB5uh8j/HiZC2XN4+nthWvgkvdsgiKDXUf0oP/kLCVF/J7T5FAWafky97KDLPPcD6w1Fhg== +"@bazel/bazel-linux_x64@0.24.0": + version "0.24.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.24.0.tgz#9ef2e7266833ad2221fe4af4ceb6763d2897e3ff" + integrity sha512-p5ylPLWnJZDGbaIFBrtD/tp3Su5rMdzeeNJKU24XyiWQTHVZ3OD3I2Fb0ILCgfBjY8AlA7EtCtOI4hYnAuIOtg== -"@bazel/bazel-win32_x64@0.23.0": - version "0.23.0" - resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.23.0.tgz#9956051d6f66ccf43ed74f0855522c8c673eff97" - integrity sha512-88RfiUwqulva7KmPmgqjYK7EPE1qOwi03jOeDs+U3tb+HUwkyr88t5DKtZU5KBsYjk1UbFFes+RVZtkPmKmcmQ== +"@bazel/bazel-win32_x64@0.24.0": + version "0.24.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.24.0.tgz#02d83113a6c6ed99795a3e41bff5631aa141638d" + integrity sha512-/bcSEx+GoV/q7H4WM0jazfxTcurSiIIePhRv+d05mxRDcaWwhCO8KzmmZRWH1abW6npvq5tLkbSQi7G7nUBhgg== "@bazel/bazel@file:../../node_modules/@bazel/bazel": - version "0.23.0" + version "0.24.0" optionalDependencies: - "@bazel/bazel-darwin_x64" "0.23.0" - "@bazel/bazel-linux_x64" "0.23.0" - "@bazel/bazel-win32_x64" "0.23.0" + "@bazel/bazel-darwin_x64" "0.24.0" + "@bazel/bazel-linux_x64" "0.24.0" + "@bazel/bazel-win32_x64" "0.24.0"