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 npm scopes #429

Closed
deepsweet opened this issue Apr 21, 2015 · 11 comments
Closed

support npm scopes #429

deepsweet opened this issue Apr 21, 2015 · 11 comments

Comments

@deepsweet
Copy link

http://blog.npmjs.org/post/116936804365/solving-npms-hard-problem-naming-packages

Scopes are like namespaces for npm packages. Each npm user has their own scope.

@username/project-name

This means that you don’t have to worry about someone else taking your package name. Only you can add packages in your scope.

for example – https://www.npmjs.com/package/@yummies/inherit-loader – it should be possible to specify scope name at least for npm-version badge:

https://img.shields.io/npm/v/@yummies/inherit-loader.svg
@kgryte
Copy link

kgryte commented Apr 23, 2015

+1

2 similar comments
@chmontgomery
Copy link

👍

@shinnn
Copy link

shinnn commented Apr 25, 2015

👍

@espadrine
Copy link
Member

Thanks for the suggestion!

I wonder how it ties into their existing API.

@wilmoore
Copy link

This is mostly resolved with #435, the only caveat is downloads. See the PR for more detail.

@wilmoore
Copy link

wilmoore commented May 5, 2015

This is fixed given #435 has been merged.

@jokeyrhyme
Copy link

This seems to have broken recently. I have many scoped packages using shield.io, and now they all display "npm | invalid", e.g.

Am I using the correct URL structure?

Note: the way I have been doing it up until now was definitely working last week, as I never would have committed the badge to my README.md file in the first place if it wasn't working.

@joshrtay
Copy link
Contributor

Ya. I agree. Just stopped working in last couple of days.

@joshrtay
Copy link
Contributor

Looks like the npm registry changed it's api. https://registry.npmjs.org/[@scope]/[package]/latest no longer seems to be valid. Not sure what the new endpoint is.

@yordis
Copy link

yordis commented Jan 3, 2016

👍

@espadrine
Copy link
Member

I believe #616 fixed it.

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

No branches or pull requests

9 participants