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

Support --json for pnpm outdated #2705

Closed
esatterwhite opened this issue Jul 24, 2020 · 1 comment · Fixed by #5582
Closed

Support --json for pnpm outdated #2705

esatterwhite opened this issue Jul 24, 2020 · 1 comment · Fixed by #5582

Comments

@esatterwhite
Copy link

esatterwhite commented Jul 24, 2020

npm supports json output for the `outdated command, pnpm should also support this kind of output

  "sinon": {
    "current": "8.0.0",
    "wanted": "9.0.2",
    "latest": "9.0.2",
    "location": "node_modules/sinon"
  }

pnpm version: 5.2.6

Code to reproduce the issue:

npm outdated --json

Expected behavior:

Actual behavior:

Error is thrown

 ERROR  Unknown option: 'json'
@kaiyoma
Copy link

kaiyoma commented Mar 30, 2022

This would be very useful for dependency upgrade automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants