rfcs
rfcs copied to clipboard
[RRFC] yarn's upgrade-interactive equivalent in npm
Motivation ("The Why")
It's super useful, in npm we have to run npx npm-check -u
that's a third party package.
Example
Try it in yarn.
How
Current Behaviour
Seems like doesn't have this feature in npm
Desired Behaviour
Like yarn's upgrade-interactive command
References
- n/a
+1 on this and for workspace. npm-check
does not seem to support workspace per https://github.com/dylang/npm-check/issues/405 and I've heard developers are having hard time to migrate to npm from the other monorepo tools because of this issue.
I work with various types of monorepo in different package managers and I feel this to be a missing feature when dealing with monorepo in npm.
- npm: none
- npm-check and npm-check-updates are for a package
- yarn: yarn upgrade-interactive
- pnpm: pnpm update --interactive
Context: I have created a wrapper called ni.zsh that handles different package managers in the same command, but i found that there is no way to handle interactive updates of monorepo in npm.