From 06a33984af3f875f7434375592e6fc3f6fff95bc Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 11 Jul 2018 07:46:38 -0700 Subject: [PATCH] build: rename angular_devkit dependency to angular_cli (#24842) PR Close #24842 --- WORKSPACE | 2 +- packages/bazel/src/BUILD.bazel | 2 +- packages/bazel/src/ng_rollup_bundle.bzl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 8b909046f9..05919663e4 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -58,7 +58,7 @@ http_archive( # Even better, things like aspects will visit the entire graph including # ts_library rules in the devkit repository. http_archive( - name = "angular_devkit", + name = "angular_cli", url = "https://github.com/angular/angular-cli/archive/v6.1.0-rc.0.zip", strip_prefix = "angular-cli-6.1.0-rc.0", sha256 = "8cf320ea58c321e103f39087376feea502f20eaf79c61a4fdb05c7286c8684fd", diff --git a/packages/bazel/src/BUILD.bazel b/packages/bazel/src/BUILD.bazel index 0f01be9729..b7f54bad54 100644 --- a/packages/bazel/src/BUILD.bazel +++ b/packages/bazel/src/BUILD.bazel @@ -14,7 +14,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary") nodejs_binary( name = "rollup_with_build_optimizer", - data = ["@angular_devkit//packages/angular_devkit/build_optimizer:lib"], + data = ["@angular_cli//packages/angular_devkit/build_optimizer:lib"], # Since our rule extends the one in rules_nodejs, we use the same runtime # dependency @build_bazel_rules_nodejs_rollup_deps. We don't need any # additional npm dependencies when we run rollup or uglify. diff --git a/packages/bazel/src/ng_rollup_bundle.bzl b/packages/bazel/src/ng_rollup_bundle.bzl index 49d8b330f0..b90c7e5942 100644 --- a/packages/bazel/src/ng_rollup_bundle.bzl +++ b/packages/bazel/src/ng_rollup_bundle.bzl @@ -24,7 +24,7 @@ load(":esm5.bzl", "esm5_outputs_aspect", "flatten_esm5", "esm5_root_dir") PACKAGES=["packages/core/src", "packages/common/src", "packages/compiler/src", "external/rxjs"] PLUGIN_CONFIG="{sideEffectFreeModules: [\n%s]}" % ",\n".join( [" '.esm5/{0}'".format(p) for p in PACKAGES]) -BO_ROLLUP="angular_devkit/packages/angular_devkit/build_optimizer/src/build-optimizer/rollup-plugin.js" +BO_ROLLUP="angular_cli/packages/angular_devkit/build_optimizer/src/build-optimizer/rollup-plugin.js" BO_PLUGIN="require('%s').default(%s)" % (BO_ROLLUP, PLUGIN_CONFIG) def _use_plain_rollup(ctx):