Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dobromirts opened this issue Aug 1, 2024 · 1 comment
Assignees
Labels
cli-package igniteui-cli package core @igniteui/cli-core package 🆕 status: new 🏃 priority: high

Comments

@dobromirts
Copy link

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

  • Ignite UI CLI version: all
  • Framework: Angular

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.

@dobromirts dobromirts added core @igniteui/cli-core package cli-package igniteui-cli package labels Aug 1, 2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli-package igniteui-cli package core @igniteui/cli-core package 🆕 status: new 🏃 priority: high
Projects
None yet
Development

No branches or pull requests

3 participants