mweststrate / relative-deps

Installs local dependencies for optimal developer experience
MIT License
429 stars 32 forks source link

Support reinstall when lib's dependencies changed. #28

Closed zhangwilling closed 4 years ago

zhangwilling commented 4 years ago

Thanks mweststrate‘s work. This lib helps me a lot.

But it doesn't solve all problems.

Here is my case.

Some libs doesn't need to build like react-scripts. When lib's dependencies changed, we should reinstall dependencies in example app. For example, we update webpack in react-scripts and test react-scripts in example app.

I read through source code. Here is my solution that we should diff lib's dependencies and install them which changed with explicit version.

After finish my work, i will try to support this issue.

zhangwilling commented 4 years ago

maybe this case can be solved by install tarball. and i found this solution is duplicated #6 :)