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

fix(ls): respect prod config for workspaces deps #3429

Merged

Commits on Jun 17, 2021

  1. fix(ls): respect prod config for workspaces

    `npm ls --prod` is currently not omitting devDependencies for configured
    workspaces, this changes it by properly checking for the tweaked
    `currentDepth` value instead of root check that was in place.
    
    Fixes: npm#3382
    
    PR-URL: npm#3429
    Credit: @ruyadorno
    Close: npm#3429
    Reviewed-by: @wraithgar
    ruyadorno authored and wraithgar committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    b19e56c View commit details
    Browse the repository at this point in the history