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
This commit is contained in:
Igor Minar 2018-04-10 22:03:24 -07:00
parent aae437cb1e
commit 58faa0c7e7
1 changed files with 4 additions and 1 deletions

View File

@ -8,8 +8,11 @@ DEFAULT_TSCONFIG = "//packages:tsconfig-build.json"
# Packages which are versioned together on npm # Packages which are versioned together on npm
ANGULAR_SCOPED_PACKAGES = ["@angular/%s" % p for p in [ 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", "core",
"bazel",
"common", "common",
"compiler", "compiler",
"compiler-cli", "compiler-cli",