@angular/google-maps version isn't updated when running ng update
See original GitHub issueπ Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version in which this bug was not present was: ....No
Description
A clear and concise description of the problem...When running ng update
on an Angular project that has the dependency @angular/google-maps
present, ng will not prompt, or update the google maps dependency.
ng version
also doesnβt seem to list @angular/google-maps
in the list of Angular dependencies, but does show it in the list of packages.
π¬ Minimal Reproduction
1- Create a new Angular project with an outdated dependency version, and add an outdated version of @angular/google-maps
to the project.
1- Or add an outdated version of @angular/google-maps
to an existing project.
2- Run ng update
and validate that there is no prompt indicating that @angular/google-maps
has an available updated version.
π₯ Exception or Error
No exception is thrown
π Your Environment
Angular CLI: 12.0.0
Node: 15.10.0
Package Manager: npm 7.12.1
OS: win32 x64
Angular: 12.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, localize, material, platform-browser
... platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1102.12
@angular-devkit/build-angular 12.0.0
@angular-devkit/core 11.2.12
@angular-devkit/schematics 12.0.0
@angular/google-maps 11.2.12
@schematics/angular 12.0.0
rxjs 7.0.1
typescript 4.2.4
Anything else relevant?
Iβve noted this issue since a few versions back. Unsure when it started, or if it is intended.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top GitHub Comments
Looks like it is an angular/components issue, as this package is not listed in the
ng-update
packageGroup
.https://github.com/angular/components/blob/6626fee8197c9195373ecd4a35d1165064432343/src/material/package.json#L34-L38
Correct.