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
Patching root package version of monorepo results in all apps and libs being "affected" #11366
Comments
Any idea what version this change was introduced on @AgentEnder? Wondering if I can downgrade temporarily until resolved 🤔 |
got the same problem, also when I change from 'package.json' at implicit dependencies to:
it's slightly better, but looks like affected sometimes works with errors and affect all libs |
I'm actually having the reverse problem. I just got |
Struggling with the same problem when we bump the patch version in the root package.json in our GHA workflow, Has anyone figured out any workarounds? I tested defining nx version: 15.8.6 |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
bump |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This is definitely still an issue. Actually for us it's basically the single biggest issue when using nx (well this and any other root package.json changes affecting everything). The |
I very much agree with this. I've used NX a lot in the past years but always with NPM only based monorepos. Now, with a combination of NPM and Python, it's not ideal anymore. |
I was wondering if |
Current Behavior
When root level package.json version is bumped
print-affected
considers all apps and libs in the monorepo to be "affected"Expected Behavior
In the past only libs and apps that are actually affected by changes in the app/lib or dependencies of the app/lib were shown here.
Steps to Reproduce
Create a new workspace with a react app:
Add a lib and commit changes in git:
Run npm version twice:
Run print-affected on tags:
Expected result:
No apps or libs would be "affected"
Actual result:
All apps and libs are "affected"
Repro:
https://github.com/blingerson/nx-print-affected-issue
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: