Skip to content

@nx/dependency-checks does not recognize dependency aliases #23469

Open

Description

Current Behavior

The @nx/dependency-checks eslint rule does not recognize dependency aliases. See #23422

https://docs.npmjs.com/cli/v8/using-npm/package-spec#aliases

Expected Behavior

The @nx/dependency-checks eslint rule should recognize dependency aliases.

GitHub Repo

No response

Steps to Reproduce

Nx Report

Node   : 20.13.1
OS     : linux-x64
pnpm   : 8.15.7

nx (global)        : 19.0.2
nx                 : 19.0.0-rc.1
@nx/js             : 0.0.1
@nx/jest           : 0.0.1
@nx/eslint         : 0.0.1
@nx/workspace      : 0.0.1
@nx/angular        : 0.0.1
@nx/cypress        : 0.0.1
@nx/detox          : 0.0.1
@nx/devkit         : 0.0.1
@nx/esbuild        : 19.0.0-rc.1
@nx/eslint-plugin  : 19.0.0-rc.1
@nx/expo           : 0.0.1
@nx/express        : 0.0.1
@nx/gradle         : 0.0.1
@nx/nest           : 0.0.1
@nx/next           : 0.0.1
@nx/node           : 0.0.1
@nx/nuxt           : 0.0.1
@nx/playwright     : 19.0.0-rc.1
@nx/plugin         : 0.0.1
@nx/react          : 0.0.1
@nx/react-native   : 0.0.1
@nx/rollup         : 0.0.1
@nx/remix          : 0.0.1
@nx/storybook      : 0.0.1
@nrwl/tao          : 0.0.1
@nx/vite           : 0.0.1
@nx/vue            : 0.0.1
@nx/web            : 0.0.1
@nx/webpack        : 0.0.1
typescript         : 5.4.2
---------------------------------------
Registered Plugins:
@monodon/rust
@nx/playwright/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/webpack/plugin
@nx/jest/plugin
@nx/jest/plugin
---------------------------------------
Community plugins:
@monodon/rust      : 1.3.3
@ngrx/effects      : 17.0.1
@ngrx/router-store : 17.0.1
@ngrx/store        : 17.0.1
---------------------------------------
Local workspace plugins:
         @nx/workspace-plugin
         @nx/react-native
         @nx/playwright
         @nx/storybook
         @nx/workspace
         @nx/angular
         @nx/cypress
         @nx/esbuild
         @nx/express
         @nx/webpack
         @nx/eslint
         @nx/gradle
         @nx/plugin
         @nx/rollup
         @nx/detox
         @nx/react
         @nx/remix
         @nx/expo
         @nx/jest
         @nx/nest
         @nx/next
         @nx/node
         @nx/nuxt
         @nx/vite
         @nx/vue
         @nx/web
         @nx/js
         nx
---------------------------------------

Failure Logs

https://staging.nx.app/cipes/6645c6f6a7d9291d966d1639

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions