IgniteUI / igniteui-cli

Ignite UI Command-Line Interface by Infragistics
https://bit.ly/2L19rhp
MIT License
118 stars 4 forks source link

Using upgrade-packages throws an error for Angular projects with workspaces containing ng-package.json file #1298

Open dobromirts opened 3 months ago

dobromirts commented 3 months ago

Description

When npx ng g @igniteui/angular-schematics:upgrade-packages is used in project that contains ng-package.json file , 'hasOwnProperty' error will be thrown due to the included ng-package.json in pkgJsonFiles collection and it does not contains dependencies. image

Steps to reproduce

  1. Open angular project with workspaces and 'ng-package.json' file.
  2. Run npx ng g @igniteui/angular-schematics:upgrade-packages

Result

image

Expected result

The packages and references to be updated to the official version.

github-actions[bot] commented 1 month ago

There has been no recent activity and this issue has been marked inactive.