-
Notifications
You must be signed in to change notification settings - Fork 335
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
ncu -i should execute npm install just once in a workspace. #1182
Comments
I am also running into this, and as a quick fix it would be nice if a CLI option was available to avoid the auto-install prompt altogether. This way I can add a |
@ghdoergeloh Is this literally just run |
Workspace support added in prerelease
How it worksUPDATED 2023-09-23 Upgrade 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
|
Wow you work fast @raineorshine! This worked well for me, I confirmed that |
I have been using this with seemingly no problems, can I expect different behavior with the new support, and thanks!
|
@httpete The only difference is the auto npm install in interactive mode.
The end result appears to be the same. |
Published to Note that |
But it not working in v16.3.2. |
@raineorshine FYI |
Flags are enabled and working as expected. |
Is there a way to run on all except a select few workspaces when using |
No, they would have to be specified explicitly with |
npm-check-updates
node >= 14
Steps to Reproduce
Create the following structure:
root package.json:
[email protected]
in "a" as well as in "b".ncu -i -deep
inncu-bug
Current Behavior
Expected Behavior
It should run
npm install
only once in a workspace.The text was updated successfully, but these errors were encountered: