jquery.sparkline icon indicating copy to clipboard operation
jquery.sparkline copied to clipboard

[enhancement] Add missing bower.json.

Open timgluz opened this issue 11 years ago • 9 comments

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: [email protected] VersionEye - no more legacy software!

timgluz avatar Jan 07 '14 10:01 timgluz

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

mkoryak avatar Apr 22 '14 21:04 mkoryak

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...

benjaminapetersen avatar May 30 '14 14:05 benjaminapetersen

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.

mryellow avatar Nov 15 '14 20:11 mryellow

+1

aadrian avatar Dec 27 '14 09:12 aadrian

+1

zallek avatar Feb 01 '15 16:02 zallek

+1

SanderSander avatar Oct 09 '15 15:10 SanderSander

+1

irlTopper avatar Jan 27 '16 17:01 irlTopper

+1

ccravens avatar Jul 22 '16 04:07 ccravens

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

benjaminapetersen avatar Jul 22 '16 20:07 benjaminapetersen