-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng update does not update deps in projects #18205
Comments
Hi @patoncrispy, in an Angular workspace only workspace (root) level dependencies are updated. The main reason for this is because typically only the root level |
Thanks, @alan-agius4. Why then if you follow the setup guide for a library do you get:
in the |
In most cases libraries should not have In your case, in your library dev dependencies you are specifying Note: by design |
Thanks for your explanation, @alan-agius4 . That really helps! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
This seems to be an issue with @angular/cli.
Is this a regression?
Not sure, first time trying to update a project!
Description
I've run through the
ng update
(from Angular 8.2 to Angular 9.1) process and the workspace deps were updated, but my projectpackage.json
was not updated with the new versions.My workspace deps look like this:
while my project deps look like this:
🔬 Minimal Reproduction
I couldn't find a way of creating an Angular 8 project as
ng new
seems to just opt for latest. If this is incorrect, please correct me and I'll try and create a reproduction of this.🌍 Your Environment
Angular Version:
Before upgrade:
After upgrade:
The text was updated successfully, but these errors were encountered: