Skip to content

--workspaces flag skipping some deps #1510

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

Open
1 task done
spacedawwwg opened this issue Apr 9, 2025 · 2 comments
Open
1 task done

--workspaces flag skipping some deps #1510

spacedawwwg opened this issue Apr 9, 2025 · 2 comments

Comments

@spacedawwwg
Copy link


Steps to Reproduce

Steps:

Current Behavior

I have the following in a monorepo package /apps/storybook/package.json

"storybook": "8.6.11",

In my root i run this script

pnpx npm-check-updates --root --workspaces --dep dev,optional,peer,prod,overrides,resolutions --upgrade --packageManager pnpm

this skips the above storybook package (but updates everything else!)

THOUGH, if I cd ./apps/storybook and run pnpx npm-check-updates --dep dev,optional,peer,prod,overrides,resolutions --upgrade --packageManager pnpm it works.

storybook  8.6.11  →  8.6.12

which makes me think this is something to do with the --workspaces flag

Expected Behavior

updates to

"storybook": "8.6.12",
@raineorshine
Copy link
Owner

Hi, thanks for reporting.

Could you provide a minimal test repo? We have fairly good test coverage of --workspaces. It's not clear to me why storybook would be excluded.

@spacedawwwg
Copy link
Author

Sorry @raineorshine, I've only just seen this! I will get on this later after I finish my work day 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants