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

pnpm outdated gives no output #1447

Closed
plesiecki opened this issue Oct 29, 2018 · 5 comments
Closed

pnpm outdated gives no output #1447

plesiecki opened this issue Oct 29, 2018 · 5 comments

Comments

@plesiecki
Copy link

plesiecki commented Oct 29, 2018

Hello,

Looks like pnpm outdated prints nothing. Tested on clean repo with just one outdated dependency. No errors occurred. Exit status is 0.

pnpm version: 2.17.5

Code to reproduce the issue:

pnpm outdated

Expected behavior:

Print information about latest deps versions.

Actual behavior:

No output

Additional information:

  • node -v prints: v11.0.0
  • Windows, OS X, or Linux?: Ubuntu 18.04.1 LTS

Peace

@plesiecki
Copy link
Author

plesiecki commented Oct 29, 2018

Now I noticed pnpm outdated doesn't work if you don't have outdated dep from dependencies. Looks like devDependencies are not taken into account. In other words outdated works only if you have outdated dependency from dependencies.

Please tell me if you need repro.

@zkochan
Copy link
Member

zkochan commented Oct 29, 2018

I'll look into it

@zkochan
Copy link
Member

zkochan commented Oct 29, 2018

Please provide a repro
I could not reproduce it

@plesiecki
Copy link
Author

plesiecki commented Oct 30, 2018

Steps to reproduce:

#inside empty directory
pnpm init
pnpm i -D camelcase@4.0.0 #installing devDep, 5.0 is the latest version
pnpm outdated #no output
pnpm rm camelcase
pnpm i camelcase@4.0.0 #installing same dep but as regular dependency
pnpm outdated #this time it gives an output 

@zkochan
Copy link
Member

zkochan commented Oct 31, 2018

🚢 2.17.6

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

2 participants