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

[enhancement] Add missing bower.json. #24

Open
timgluz opened this issue Jan 7, 2014 · 3 comments
Open

[enhancement] Add missing bower.json. #24

timgluz opened this issue Jan 7, 2014 · 3 comments

Comments

@timgluz
Copy link

timgluz commented Jan 7, 2014

Hey, maintainer(s) of grevory/bootstrap-file-input!

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 grevory/bootstrap-file-input 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": "grevory/bootstrap-file-input",
  "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!

@grevory
Copy link
Owner

grevory commented Mar 21, 2014

Sorry for the delay. How is this? https://github.com/grevory/bootstrap-file-input/blob/master/bower.json

@tkhduracell
Copy link

Post-install message from rails-assets-bootstrap-file-input:
This component doesn't define main assets in bower.json.
Please open new pull request in component's repository:
https://github.com/grevory/bootstrap-file-input

According to rails-assert there is main assets missing. But there is a main so I'm confused.

I think you can remove the ./ btw.

@cavarzan
Copy link

cavarzan commented Sep 8, 2014

@grevory I don't know if this is the correct issue, but the tag v1.0.0 seems to not have the bower.json. This may cause the following issue when build some project using the lib because grunt didn't know the current path of the .js file:

bootstrap-file-input was not injected in your file.

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