Does anyone know how can I retrieve the list of dependencies handled by
yarn nx migrate @nrwl/workspace ?
I’m on a nx project where third party libraries have been added and I would like to know what do I have to update manually
I would make sure you’ve committed/stashed everything in git and then run
yarn nx migrate @nrwl/workspace. Then you can view the git diff.
Maybe I’m misunderstanding what you’re asking though
Thanks for your reply. Actually I think my question might not be clear enough.
From what I understand, running
yarn nx migrate @nrwl/workspace will update the package.json with newer versions for a given list of dependencies.
But, after several months of development, I don’t know what is automatically updated by nx and what dependencies do I still have to manage myself anymore.
A workaround I’ve found is to create a new nx workspace with the same settings and look at it’s default dependencies from the package.json, but if there is a command or even a file where I could find such a list, it would be easier.
Ah, I see. Yes, that would be helpful information to know. It isn’t just a static list. Each plugin manages its own dependencies, so you would need something like a command to tell you all the dependencies that are being managed by some Nx plugin. I think this is worth filing a feature request for in the github issues.