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 CDNJS version badge in README.md #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

extend1994
Copy link

This badge will show the library version on CDNJS!

This badge will show the library version on CDNJS!
@TehShrike
Copy link
Contributor

I'd lean towards adding a link to the unpkg.com distribution instead of pushing forward with CDNJS, since unpkg gets updated automatically from npm and we wouldn't have to do extra work on each release.

@extend1994
Copy link
Author

@TehShrike CDNJS also updates automatically from npm using a mechanism called auto-update, you don't have to do extra work :)

@TehShrike
Copy link
Contributor

huh. Looks like some stuff needs to be changed in package.json to enable that, I guess?

@extend1994
Copy link
Author

extend1994 commented Oct 2, 2017

Sorry for late reply. Have been busy these days 😓
Once the library has new tag/release on GitHub or new release on npm, cdnjs has a bot to detect new version and add this new version to CDN. So what cdnjs needs is tag/release rather than package.json of the lib itself :)

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.

None yet

2 participants