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 the ability to get a json list of all local packages #290

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yairhaimo
Copy link

Originally the '/' path returned an html that displays the list of all the local packages.
I splitted the functionality of getting the list of local packages and returning the html into two functions.
The root path '/' still behaves as before but now there is a new path '/-/library/' that returns a json of all local packages. Both paths use the same function to get the data.

@yairhaimo
Copy link
Author

hrm... build seems to fail on eslint using a deprecated --reset flag.
Any help?

@rlidwka
Copy link
Owner

rlidwka commented Aug 8, 2015

build seems to fail on eslint using a deprecated --reset flag

Fixed in 6b36177 .

@rlidwka
Copy link
Owner

rlidwka commented Aug 8, 2015

JSON of all the local packages should already be available in /-/all?local=1 endpoint (as in http://localhost:4873/-/all?local=1)

@yairhaimo
Copy link
Author

What i meant was to return only the custom packages that are published to Sinopia and not all locally installed npm packages. Is there a way to do that?

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

Successfully merging this pull request may close these issues.

2 participants