-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
yarn update upgrades to Angular 8.1.0-rc.0 release 🤔 #1540
Comments
Just updated the original description to better reflect my latest findings. |
It appears to be an issue with
|
I'm going to close this one. Since we can't do much with the way |
@vsavkin 👍 |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.
Expected Behavior
I'm currently working on #1110 (having a local fix I'll push soon) and while doing so I tried to upgrade an NX 7 workspace I have to the latest version of NX. Strangely it results in getting Angular v8.1.0-rc.0 instead 🤔. I observed the upgrade process and first it upgrades to v8 correctly, but when the process comes at the point of upgrading the Angular CLI, it looks like it upgrades the Angular core deps again, now from v8 to v8 RC.
Steps to Reproduce & Failure Information (for bugs)
To reproduce:
npx --ignore-existing [email protected] nxupgradetest
ng-packagr
as dep (ng g lib core --publishable=true
)yarn update
Here's an example JSON with which I'm able to reproduce the bug:
It looks like this happens due to the 2-step upgrade and only if
ng-packagr
is included (which I cannot explain to myself why this is the case, I'd have to dig further). With the Angular CLI, normally the update command is something likeng update @angular/cli @angular/core
, which means in 1 step both are being updated.In NX though, first the
@angular/core
deps are updated (using--force --allow-dirty
), which upgrades all deps successfully tov8
, but then when the update for@angular/cli
is done, it upgrades the already upgradedv8
deps to the latest RC.The text was updated successfully, but these errors were encountered: