From 1c53ade673c84f7d60f05b9de9a6acd97e5ea5b9 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 17 May 2021 20:13:57 +0200 Subject: [PATCH] feat(multiple): add ng-update entry for `google-maps` and `youtube-player` package Currently if developers run `ng update` without specifying a package, the CLI will analyze the current workspace and find packages that provide migrations and need to be updated. For the `youtube-player` and `google-maps` package we do not provide any migrations, so `ng update` will not report this package. Since these packages are part of the `@angular` scope, we want these packages to be highlighted when users run `ng update`. There aren't any migrations for these packages yet, but we are setting up the integration with `ng update` in order to make these packages visible to the CLI. Fixes #22689. --- src/google-maps/package.json | 3 ++- src/youtube-player/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/google-maps/package.json b/src/google-maps/package.json index 25f963539cb1..b55b80a43314 100644 --- a/src/google-maps/package.json +++ b/src/google-maps/package.json @@ -28,5 +28,6 @@ "sideEffects": false, "publishConfig": { "registry": "https://wombat-dressing-room.appspot.com" - } + }, + "ng-update": {} } diff --git a/src/youtube-player/package.json b/src/youtube-player/package.json index eef4ca51efd6..449c12bc5dcc 100644 --- a/src/youtube-player/package.json +++ b/src/youtube-player/package.json @@ -28,5 +28,6 @@ "sideEffects": false, "publishConfig":{ "registry":"https://wombat-dressing-room.appspot.com" - } + }, + "ng-update": {} }