gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

[enhancement] Add missing bower.json. #107

Open timgluz opened 10 years ago

timgluz commented 10 years ago

Hey, maintainer(s) of gwatts/jquery.sparkline!

We at VersionEye are working hard to keep up the quality of the bower's registry.

We just finished our initial analysis of the quality of the Bower.io registry:

7530 - registered packages, 224 of them doesnt exists anymore;

We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).

Sadly, your library gwatts/jquery.sparkline is one of them.

Can you spare 15 minutes to help us to make Bower better?

Just add a new file bower.json and change attributes.

{
  "name": "gwatts/jquery.sparkline",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.

NB! Please validate your bower.json with jsonlint before commiting your updates.

Thank you!

Timo, twitter: @versioneye email: timo@versioneye.com VersionEye - no more legacy software!

mkoryak commented 10 years ago

+1 this will take 2 seconds to add and save me 15 seconds every time i need this lib

benjaminapetersen commented 10 years ago

Going to add that when you pull it via bower there is no built file anywhere in the repo, either in jquery.sparkline or in sparkline (both are bower packages). maybe should be a new ticket...

mryellow commented 9 years ago

It's amazingly simple and makes everyones life easier. If the dist folder is an issue (another thread it was said to be pollution of the repo) then build it as needed , a bower install can be built using grunt-bower-task or similar.

Here are 2 examples of repo's with Bower installs and no dist folder until after build. https://github.com/knockout/knockout (Grunt build) https://github.com/pouchdb/pouchdb (NPM build)

Currently sparkline is the only library out of 10 or so I'm using which doesn't have a proper build, deployment script or compiled version in the repo.

aadrian commented 9 years ago

+1

zallek commented 9 years ago

+1

SanderSander commented 9 years ago

+1

irlTopper commented 8 years ago

+1

ccravens commented 8 years ago

+1

benjaminapetersen commented 8 years ago

Years passed on this comment & last commit, prob best to fork repo & commit the change. Don't think its maintained anymore.