Skip to content

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