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.
Ignite UI CLI version: all
Framework: Angular
Steps to reproduce
Open angular project with workspaces and 'ng-package.json' file.
Run npx ng g @igniteui/angular-schematics:upgrade-packages
Result
Expected result
The packages and references to be updated to the official version.
Description
When
npx ng g @igniteui/angular-schematics:upgrade-packages
is used in project that containsng-package.json
file , 'hasOwnProperty' error will be thrown due to the includedng-package.json
inpkgJsonFiles
collection and it does not contains dependencies.Steps to reproduce
npx ng g @igniteui/angular-schematics:upgrade-packages
Result
Expected result
The packages and references to be updated to the official version.