You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the original report with a GitHub Repo. The repo was generated via npx create-nx-workspace@18.3.4, and the @nx/nest plugin added and initialized, and new app generated. Cloning the repo and modifying either the .eslintrc.json file or the jest.preset.js file does not affect any targets (as expected).
In addition to workspace root files not working correctly, I also noticed that excluded inputs (those starting with a !) were broken. There is another related issue filed #22930
We seem to experience similar issues in our repo. It started because Nx fails to pickup dependency changes from other languages then JS. So we've tried to add the Cargo.lock and Cargo.toml inputs and it seems to not pick up the changes
Current Behavior
As of Nx v18 (also v19),
inputs
provided totargetDefaults
that are not anamedInput
group are not correctly used when calculatingaffected
.Note
useInferencePlugins
is set tofalse
Expected Behavior
Non-named/grouped inputs are used when calculating
affected
, just as they were in Nx v17.GitHub Repo
https://github.com/warnellw/nx-bug
Steps to Reproduce
Clone the linked repo. Modify the
.eslintrc.json
file or thejest.preset.js
file. Note no projects are affected.Here is a basic example using the
@nx/eslint:lint
target:As per the comment, modifying the
.eslintrc.json
file in this example does notaffect
any projects. There are a few caveats to this:affected
is calculated correctly (i.e. only"{workspaceRoot}/.eslintrc.json"
is present).Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: