check-peer-dependencies icon indicating copy to clipboard operation
check-peer-dependencies copied to clipboard

[Feature request] yarn 2 support

Open Reon90 opened this issue 4 years ago • 2 comments

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

Reon90 avatar Feb 11 '21 10:02 Reon90

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

christopherthielen avatar Mar 13 '23 19:03 christopherthielen

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.

Chaz0r avatar Apr 19 '23 14:04 Chaz0r