-
Notifications
You must be signed in to change notification settings - Fork 23
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
Version upgrades and yarn.lock #16
Comments
In your example, I guess Could you please provide a more specific example isolating your case as far as possible? It could be a bug, or an inherent limitation on how |
Note that There's currently some discussion (yarnpkg/yarn#1213 and yarnpkg/rfcs#41) on how |
Yes,
Dependencies go
That is how I see it working theoretically. Let me know what you think of that idea. |
I really want to keep oao simple and predictable:
The proposed new publishing algorithm would involve multiple additional steps, knowledge of the transitive dependency graph, automatic internal dependency upgrades (which might not be what the user wants), more complex error handling and potentially unpredictable states. All this complexity might make it more error-prone. Instead, I'd rather wait and see how In the meantime, consider the fact that
I'd agree we are missing a small piece of the puzzle: a P.S. Sorry about this long answer. What do you think about all this? |
I think your answer is reasonable, although I approached it the way I did because I faced actual errors during development. With the lock files out of step locally, I couldn't run |
Both |
Closing this, considering that |
There seems to be something out of step with bumping versions with dependent sub-packages. Let's take the following example:
package
alpha
:package
beta
:If I want to make updates to
alpha
, I have to manually update the dependency version inbeta
to pick up the changes. Ifalpha
has new dependencies, and thereby a new yarn.lock file, those deps won't be picked up in the yarn.lock file ofbeta
.Running
bootstrap
after this work doesn't make any changes either.The text was updated successfully, but these errors were encountered: