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

PnP (Yarn) support #70

Closed
DanielRuf opened this issue Sep 17, 2018 · 6 comments
Closed

PnP (Yarn) support #70

DanielRuf opened this issue Sep 17, 2018 · 6 comments

Comments

@DanielRuf
Copy link

There is the new Plug'n'Play concept which makes node_modules obsolete:

yarnpkg/rfcs#101

yarnpkg/yarn#6382

https://www.reddit.com/r/node/comments/9fh89w/yarn_plugnplay_getting_rid_of_node_modules/

@DanielRuf
Copy link
Author

So it might make sense to define the directory to check or some mapping (like the new pnp file).

@ken-duck
Copy link
Contributor

Heavy. Thanks for the heads up. I'll look into exploring these various options. It will have to wait a little while as I am currently mostly focussed on getting the other OSS clients upgraded (for other languages/ecosystems).
Once I have them upgraded I will be able to revisit the npm client and ensure it works for these alternatives.

@DanielRuf
Copy link
Author

For npm, see https://github.com/npm/tink which is a different implementation.

@ken-duck
Copy link
Contributor

Whoa, this one has lingered. Sorry for that. I am looking into implementing a lock file check, which I suspect is one way to deal with this problem. Once that is done I will dig further to see if there are more alternatives that make sense.

@ken-duck
Copy link
Contributor

Release 3.1.1 is out, with support for the yarn.lock file:

auditjs -p yarn.lock

@DarthHater
Copy link
Member

I believe this can be closed, and we have yarn support in 4.0.x (see #125 as feedback there would be very useful!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants