Skip to content

[BUG] npm outdated doesn't work in workspaces #2032

@justinfagnani

Description

@justinfagnani

Current Behavior:

Running npm outdated in a workspace package results in a listing of all dependencies with a current version of MISSING.

Expected Behavior:

npm outdated will show the current installed version of dependencies hoisted to the workspace root.

Steps To Reproduce:

  1. Create a workspace
  2. Add a sub-package with dependencies
  3. Run npm i in the root of the workspace
  4. Change directories into the sub-package
  5. Run npm outdated

Environment:

  • OS: macOS
  • Node: v15.0.1
  • npm: 7.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancementnew feature or improvementRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions