-
Notifications
You must be signed in to change notification settings - Fork 604
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
[rush] using yarn not always updates node_modules of the module after update #1748
Comments
Tested on Rush 5.20 the same behavior. |
Ok. So what I tell you so far. What I can see after I tried all that above is that updates are not getting populated. In the The problem is with To put it in an example: Let's say we add an external package
After we run
Since we added an internal package
It should become
Because we added external Problem is that nothing of that happens, so |
And, by the way, I have 2 allowed packages with 2 versions each that are allowed. If that may change anything in all this algorithm and actually break this thingy. |
@octogonz some guidance where to look will help :) Or maybe it's me who did something wrong, but I don't think so. (I'll try to make repro repo later today if will have some time) |
Yes, that would be super helpful. I have a lot on my plate right now, but if you can provide an isolated repro, I'm willing to at least investigate it and explain how it could be fixed. We might need to get someone else to create the PR. Thanks @RIP21 ! |
@octogonz here we go! Can't wait for fix! |
@octogonz It's really a deal-breaker for us, and we can't move to
Also, Thanks, and sorry for chase :) |
@RIP21 is this something you observed when you updated rush's version or was that always an issue ? |
@apostolisms it was always like that. But we migrated exactly a week ago, so the only version I tried is 5.19 and 5.20. I tried some old versions of yarn too, just to be on the safe side, same results. |
I'll be super happy if there is older version that is stable with yarn updates, but fix of the latest would be the best :) |
@octogonz I have added repro repository more than 3 weeks ago. Please check it out. (adding repro repo added label will be nice too :P ) |
@RIP21 Thank you for providing this repro! Sorry it took a while to respond. (Things are a little crazy right now!) I took a look and confirmed that it is a bug. Let me see what our options are and then follow up. |
@octogonz Thank you :) Even who we migrated to pnpm already because it was
the easiest solution for us. For other projects that will be super helpful.
чт, 26 мар. 2020 г. в 23:55, Pete Gonzalez <[email protected]>:
… @RIP21 <https://github.com/RIP21> Thank you for providing this repro! I
took a look and confirmed that it is a bug. Let me see what our options are
and then follow up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1748 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6B532NQMM3EJU7CTGQNI3RJPMPRANCNFSM4KVK226A>
.
--
*Andrii Los.*
*Senior Software Engineer *at Revolut.com
<http://goog_1948405826>
Github <https://github.com/RIP21>
|
PNPM is an excellent package manager. 👍 |
Yes it's a duplicate. I don't know why it's ignored for that long. I did everything I could so it gets fixed. Decent repro with steps and stuff. |
@octogonz this one still needs to be fixed :( Or just remove the copy about yarn support from the docs if this one is not a priority and never going to be fixed. |
We're working towards this plan that will make Yarn much easier to support with Rush: #1553 The first big step is in this recent PR: #1897 We do want to improve the support for both Yarn and NPM, but the Rush maintainers pretty much exclusively use PNPM, so it has been difficult to prioritize. If someone from the community wants to help out, that would speed things up. (But we will do this work either way, because there are certain important scenarios that still have compatibility issues with PNPM.) |
@octogonz thanks for update. My concern is that there is more and more cases for monorepos in my company, but everywhere we have yarn, so it's complicates things when moving towards rush (which I think the best monorepo manager out there for existing Node projects) |
rush has better support for pnpm than yarn, see microsoft/rushstack#1836 and microsoft/rushstack#1748 (comment)
Any updates on this? |
the issue still there impossible to work with yarn |
Feature or a bug?
Actual behavior.
Simple steps are. You are using
yarn: 1.22.0
(same with1.21.1
for sure)rush update
b
in monorepo and add one dependency existent in other packages in monorepo e.g[email protected]
rush update/install
b/node_modules/*
looking fornode_modules/a
Only
rush update --full --purge
makes it working which is super annoying and long (6-7 minutes in my case)Expected behavior.
It's there and stuff works as expected. (Using
pnpm
it's reliable and works like that)The text was updated successfully, but these errors were encountered: