What is the command to list all package versions from a yarn.lock file in yarn3.x?

Asked 2 years ago

I've tried using yarn list but it gives too much detail and it's a bit hard to read. Adding the --json flag doesn't make it any easier either. I don't want to manually check the node_modules folder and is there a way to do it so I don't have to also go into package.json?

Josh Camacho

Friday, July 22, 2022

The command to list all package versions from a yarn.lock file in yarn3.x is "yarn list --pattern ."





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?