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

Create DT badges for readme.md #2074

Closed
Bartvds opened this issue Apr 21, 2014 · 4 comments
Closed

Create DT badges for readme.md #2074

Bartvds opened this issue Apr 21, 2014 · 4 comments

Comments

@Bartvds
Copy link
Collaborator

Bartvds commented Apr 21, 2014

Standard badge for readme's so a JavaScript project can show it has typings on DT (like travis, gemnasium, built-with-grunt etc).

As per #1951 (comment):

@basarat We might start sending PRs to other repo owners README files telling them their repo name on tsd / DT so that typescript users can see that the project has a definition file.

The link can go to like:

  1. definition file on repos
  2. content page on definitelytyped.org
  3. page on www.tsdpm.com
  4. ..?

Maybe we should setup a redirect script so we can update the destination format (yes)

For graphic:

We can start with a simple design (svg/png), but for a dynamic version we could add some fields we could try to extract:

  1. official vs user-supplied
  2. freshness (updates)
  3. traffic (collect from NuGet + TSD)
  4. version info (from header or meta)
  5. version match (with package.json)
  6. has test
  7. has globalvar
  8. has external module
  9. on npm, bower etc
  10. test coverage
  11. ..?

If someone rigs it 😎

@Bartvds Bartvds changed the title Create DT badges for readme.mds Create DT badges for readme.md Apr 21, 2014
@jeffmay
Copy link
Contributor

jeffmay commented Apr 21, 2014

This sounds really awesome, guys!

I think it will be really awesome to make it enticing for JS library developers to stay in sync, and maybe be flattered by the community support for their projects.

Mmm hmm.. So, uh, how you want to rig it? 😏 💅

@Diullei
Copy link
Member

Diullei commented Apr 21, 2014

Very cool! Now we really need someone with a skill for design.

@johnnyreilly
Copy link
Member

This is a brilliant idea!

@Bartvds
Copy link
Collaborator Author

Bartvds commented Apr 24, 2014

I created a new repo for the badges: https://github.com/DefinitelyTyped/badges

To start exploring this I put some existing badges in a file (please add more if you know them)

If this interests you please Watch that repo.

I'll close this issue, please move the discussion to the new repo.

@Bartvds Bartvds closed this as completed Apr 24, 2014
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

4 participants