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

add json output option for listing packages #263

Merged
merged 2 commits into from Jun 14, 2019

Conversation

Projects
None yet
2 participants
@justinwoo
Copy link
Collaborator

commented Jun 14, 2019

Description of the change

i need this

馬 ~/Code/format-nix master 異物 $ spago list-packages -f transitive -j | head -5
{"packageName":"aff","version":"v5.1.1","repo":{"tag":"Remote","contents":"https://github.com/slamdata/purescript-aff.git"}}
{"packageName":"arraybuffer-types","version":"v2.0.0","repo":{"tag":"Remote","contents":"https://github.com/purescript-contrib/purescript-arraybuffer-types.git"}}
{"packageName":"arrays","version":"v5.3.0","repo":{"tag":"Remote","contents":"https://github.com/purescript/purescript-arrays.git"}}
{"packageName":"bifunctors","version":"v4.0.0","repo":{"tag":"Remote","contents":"https://github.com/purescript/purescript-bifunctors.git"}}
{"packageName":"console","version":"v4.2.0","repo":{"tag":"Remote","contents":"https://github.com/purescript/purescript-console.git"}}

Checklist:

  • Added the change to the "Unreleased" section of the changelog
  • Added some example of the new feature to the README
  • Added a test for the contribution (if applicable)

P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊

@justinwoo justinwoo added the feature label Jun 14, 2019

@justinwoo justinwoo requested a review from f-f Jun 14, 2019

@f-f

f-f approved these changes Jun 14, 2019

@justinwoo justinwoo merged commit 1fdeef2 into master Jun 14, 2019

2 checks passed

Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details

@justinwoo justinwoo deleted the asjson branch Jun 14, 2019

elliotdavies pushed a commit to elliotdavies/spago that referenced this pull request Jul 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.