Skip to content

Commit fb1d930

Browse files
authored
feat(multiple): add ng-update entry for google-maps and youtube-player package (#22710)
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.
1 parent 8bbe9bb commit fb1d930

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/google-maps/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
"sideEffects": false,
2929
"publishConfig": {
3030
"registry": "https://wombat-dressing-room.appspot.com"
31-
}
31+
},
32+
"ng-update": {}
3233
}

src/youtube-player/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
"sideEffects": false,
2929
"publishConfig":{
3030
"registry":"https://wombat-dressing-room.appspot.com"
31-
}
31+
},
32+
"ng-update": {}
3233
}

0 commit comments

Comments
 (0)