From a99ec6a5453fb732500ef7abff67f76511a74da3 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Mon, 20 May 2024 10:02:08 -0400 Subject: [PATCH] fix(@angular/cli): keep cli package first in update package group metadata The `ng update` command will use the first element in the `packageGroup` metadata data within `package.json` for display purposes. The newly introduced `@angular/build` package was initially added alphabetically but this interfered with the first element position. (cherry picked from commit 3e07f5e7886a62de6b973bdafcf40981fa177e9c) --- packages/angular/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular/cli/package.json b/packages/angular/cli/package.json index a8fddfb74436..99d517fc1cd6 100644 --- a/packages/angular/cli/package.json +++ b/packages/angular/cli/package.json @@ -43,8 +43,8 @@ "ng-update": { "migrations": "@schematics/angular/migrations/migration-collection.json", "packageGroup": { - "@angular/build": "0.0.0-PLACEHOLDER", "@angular/cli": "0.0.0-PLACEHOLDER", + "@angular/build": "0.0.0-PLACEHOLDER", "@angular/ssr": "0.0.0-PLACEHOLDER", "@angular-devkit/architect": "0.0.0-EXPERIMENTAL-PLACEHOLDER", "@angular-devkit/build-angular": "0.0.0-PLACEHOLDER",