New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't work with npm exec --workspaces npx ncu
#896
Comments
Could you try:
Based on npx vs npm exec arg parsing: If that doesn’t work, try installing
If it is still an issue I can try to reproduce it on my side, but npm-check-updates shouldn’t require anything special for |
@raineorshine thanks!
these two worked! I have |
You could also use the |
be on the lookout that |
Native workspace support added in prerelease
How it worksUpgrade all workspaces:
Upgrade a single workspace:
Upgrade more than one workspace:
Upgrade all workspaces AND the root project:
Upgrade a single workspace AND the root project:
Notes
|
@raineorshine thanks for this great feature! I would love to give some feedback on the syntax. I believe it's easier to understand the command later, instead of current
suggested
or
It's just my personal opinion but I think reading this makes it easier to understand. |
I do like how that looks. Thanks for the suggestion! I was also thinking of utilizing an existing option:
But I feel like this will be a common command and deserves to have a shorter syntax. |
Published to I changed |
thanks for this update. It seems like with this new command NCU gets confused about what packages local workspace packages are and which ones aren't: it seems to be looking for my workspace packages like with should I open a new ticket for this? |
Yes, please open a new ticket. Make sure to include:
|
npm-check-updates
node >= 10.17
Steps to Reproduce
npm exec --workspaces npx ncu --target minor -u
Current Behavior
Here you can see:
Expected Behavior
To work with NPM 7
--workspaces
flag. I'd love to stop using lerna since there's 0 merit over just native NPM 7 workspaces.Let me know if I can help with anything else for further clarification : )
The text was updated successfully, but these errors were encountered: