-
Notifications
You must be signed in to change notification settings - Fork 58
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: try to fix the max satisfy version (n.x) in grandfather's deps #50
Conversation
By analyzing the blame information on this pull request, we identified @dead-horse to be a potential reviewer |
Current coverage is
|
fix: try to fix the max satisfy version (n.x) in grandfather's deps
1.3.2 |
试了很多项目,就只有 antd 会这么使用 |
@@ -142,6 +143,26 @@ function* _install(parentDir, pkg, options) { | |||
if (bundledDependencies.indexOf(childPkg.name) !== -1) { | |||
continue; | |||
} | |||
// if version format "n.x", check grandfather's dependencies |
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.
这个逻辑怎么看怎么恶心。。
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.
和 n.x
没关系吧,其他写法也有一样的问题。本质还是顺序问题。优先安装父级的相同依赖模块版本。
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.
closes #49