Skip to content
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

Verify transitive dependencies #6

Open
mweststrate opened this issue Jun 23, 2019 · 4 comments
Open

Verify transitive dependencies #6

mweststrate opened this issue Jun 23, 2019 · 4 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@mweststrate
Copy link
Owner

Currently, relative packages are not installed through yarn / npm, but simply extracted. While in general that works great, it might cause issues if there are differences between the transitive dependencies of the local package, and the published one. It would be great to detect and fix that.

@mweststrate mweststrate added the bug Something isn't working label Jun 23, 2019
@rifler
Copy link

rifler commented Jul 15, 2019

npm supports installing tarball, so we can run install here - https://github.com/mweststrate/relative-deps/blob/master/index.js#L150

@mweststrate
Copy link
Owner Author

mweststrate commented Jul 15, 2019 via email

@rifler
Copy link

rifler commented Jul 16, 2019

So for development purposes it is not really suitable imho

Most often yes, but what if package has deps that cannot be deduped?

node_modules
  lodash@3
  relative-dep
    node_modules
      lodash@2

I don't know how often does this happen. I suppose that for UI lib it is not good to have deps (better to have peerDeps and devDeps for tests), but for server lib it is quite normal situation. Maybe I am wrong

@mweststrate
Copy link
Owner Author

mweststrate commented Jul 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants