Skip to content
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

@nx/dependency-checks - non deterministic behavior #29438

Open
1 of 4 tasks
RobbyRabbitman opened this issue Dec 20, 2024 · 0 comments
Open
1 of 4 tasks

@nx/dependency-checks - non deterministic behavior #29438

RobbyRabbitman opened this issue Dec 20, 2024 · 0 comments

Comments

@RobbyRabbitman
Copy link

Current Behavior

The eslint rule @nx/dependency-checks does not seem to find dependencies when 1. every (?) project has not been build yet and 2. without running nx reset.

After 1. every (?) project has been build and 2. nx reset has run, @nx/dependency-checks does find the dependencies.

This behavior makes nx affected with eslint not usable in ci.

Expected Behavior

Make @nx/dependency-checks behave deterministic.

GitHub Repo

https://github.com/RobbyRabbitman/cv/tree/nx-dependency-checks-issue

Steps to Reproduce

  1. checkout repo https://github.com/RobbyRabbitman/cv/tree/nx-dependency-checks-issue - stackblitz does not seem to work, sry
  2. run nx-dependency-checks-issue.sh

Nx Report

NX   Report complete - copy this into the issue template

Node           : 22.12.0
OS             : darwin-arm64
Native Target  : aarch64-macos
pnpm           : 9.15.0

nx (global)        : 20.1.4
nx                 : 20.2.2
@nx/js             : 20.2.2
@nx/eslint         : 20.2.2
@nx/devkit         : 20.2.2
@nx/eslint-plugin  : 20.2.2
@nx/vite           : 20.2.2
typescript         : 5.6.2
---------------------------------------
Registered Plugins:
@nx/js/typescript
@nx/eslint/plugin
@robby-rabbitman/cv-tools-nx-eslint-dependency-checks-plugin
@robby-rabbitman/cv-tools-nx-angular-plugin
@nx/vite/plugin
@robby-rabbitman/cv-tools-nx-sonar-scan-plugin
---------------------------------------
Community plugins:
@ngrx/signals  : 18.1.1
angular-eslint : 19.0.2
ngxtension     : 4.2.0

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

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

No branches or pull requests

1 participant