From 58faa0c7e700bf0d089d1486ce020811c83eff6c Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Apr 2018 22:03:24 -0700 Subject: [PATCH] build: reorder PACKAGE_GROUP entries to make @angular/core the first one (#23303) CLI will soon consider the first entry to be the main entry in the package group. This will then be used to display the main entry in "ng update" listing. PR Close #23303 --- tools/defaults.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/defaults.bzl b/tools/defaults.bzl index da86fa87e4..0a5ad0026a 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -8,8 +8,11 @@ DEFAULT_TSCONFIG = "//packages:tsconfig-build.json" # Packages which are versioned together on npm ANGULAR_SCOPED_PACKAGES = ["@angular/%s" % p for p in [ - "bazel", + # core should be the first package because it's the main package in the group + # this is significant for Angular CLI and "ng update" specifically, @angular/core + # is considered the identifier of the group by these tools. "core", + "bazel", "common", "compiler", "compiler-cli",