Skip to content

@nx/dependency-checks reports package as not used #30952

Open
@tnrich

Description

@tnrich

Current Behavior

A picture is worth a thousand words
Image

Expected Behavior

For the nx dependency check eslint package to correctly decide that buffer and string_decoder are being used by my bio-parsers package in the tg-oss repo.

GitHub Repo

https://github.com/TeselaGen/tg-oss

Steps to Reproduce

  1. Open the tg-oss repo in vscode. Run yarn at the top level to install deps. Reload the vscode window. Open the package.json file in bio-parsers. See the error

Nx Report

Node           : 18.18.0
OS             : darwin-arm64
Native Target  : aarch64-macos
yarn           : 1.22.21

nx                     : 20.4.6
@nx/js                 : 20.4.6
@nx/jest               : 20.4.6
@nx/eslint             : 20.4.6
@nx/workspace          : 20.4.6
@nx/cypress            : 20.4.6
@nx/devkit             : 20.4.6
@nx/esbuild            : 20.4.6
@nx/eslint-plugin      : 20.4.6
@nx/module-federation  : 20.4.6
@nx/react              : 20.4.6
@nx/vite               : 20.4.6
@nx/web                : 20.4.6
nx-cloud               : 19.1.0
typescript             : 5.7.3
---------------------------------------
Community plugins:
@jscutlery/semver : 5.2.2

Failure Logs

Package Manager Version

No response

Operating System

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

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions