npm-upgrade
npm-upgrade copied to clipboard
Support NPM workspaces
Please consider supporting NPM workspaces.
https://docs.npmjs.com/cli/v7/using-npm/workspaces
Assuming most of the tool works off of package-lock.json
, then this affects the question at the end to update package.json
, which should also ask to update other package.json
files in the workspace packages.
@th0r, do you mind letting us know what's your take on this? Do you see value in this feature or it can be done some other way at the moment?
Thank you!
@amalitsky, Here's a temporary workaround: https://github.com/antongolub/npm-upgrade-monorepo
I can also say that it would be really cool to just run npm-upgrade
in your monorepo root dir and then it just tells you which dep it wants to upgrade in which project.