-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
fix: issue-5850 - Settle override conflicts between edges and propagate changes #8089
base: latest
Are you sure you want to change the base?
Conversation
…erarchy. Tests need a parent/child relationship for overrides 5 & 6
@AlonNavon 🎉 🕺 |
Thank you @owlstronaut! |
@jdalton Yep, working on it! I'm brand new to the team/space, so I'm just starting to learn all about this. Happy to accept any help and direction 😄 Going will be slow 😆 |
// rawSpec can be undefined, so we need to use the fallback value of spec if it is. | ||
let spec = npa(`${edge.name}@${edge.rawSpec || edge.spec}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm making an assumption here that we can fallback
@@ -2753,6 +2755,7 @@ t.test('overrides', (t) => { | |||
name: 'baz', | |||
version: '1.0.0', | |||
pkg: { | |||
version: '1.0.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the package comparison here made me do this. Does the version belong in the pkg? Or the outer part? Or both? https://github.com/npm/cli/pull/8089/files#diff-4e00e62cbcb655399ea5f1c3869d23ca15b59e69fccf95e16a60a9075f6de2deR363
This PR is to help get #7025 over the line. The community member did a great job the fixes in - this'll be an attempt to get it over the line
References
Related:
#7025 #5850