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

[Feature request] yarn 2 support #10

Open
Reon90 opened this issue Feb 11, 2021 · 2 comments
Open

[Feature request] yarn 2 support #10

Reon90 opened this issue Feb 11, 2021 · 2 comments

Comments

@Reon90
Copy link

Reon90 commented Feb 11, 2021

check-peer-dependencies --yarn --install
Usage Error: Couldn't find a script named "upgrade".

@christopherthielen
Copy link
Owner

I don't think this library will ever truly support yarn 2 because it relies on node_module traversals. I have a branch that detects yarn2 and uses yarn up instead of yarn upgrade but I'm sure this will only work if you use node_modules resolver in yarn 2. Try it out, and if it works I'll merge #40

@Chaz0r
Copy link

Chaz0r commented Apr 19, 2023

Fyi: yarn up should work. I tried this package on yarn 2 and I use pnp. I got the error that yarn upgrade does not exist. So i simply added a script in my package json called "upgrade" which simply runs "yarn up".
In that case yarn upgrade exists and executes yarn up. Worked perfectly fine.

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

No branches or pull requests

3 participants