Skip to content

@angular/google-maps version isn't updated when running ng update #22689

@Heatmanofurioso

Description

@Heatmanofurioso

🐞 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.

Metadata

Metadata

Assignees

Labels

area: ng-updateIssues related to `ng-update` integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions