-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Remove .gitignore from bower package #3801
Comments
I installed version 2.4.0 via bower and the |
@BrunnerLivio if I'm not wrong, there is no "bower package" because contrary to npm packages, bower packages are simply references over the git repository, meaning that it would require to remove the Instead, why not simply force add these files: @tsvetan-ganev that's weird, I just created a fresh bower project, installed |
I agree with this. Maybe ignore the .gitignore in the bower.json file (Have not tried this, don't know if it works)? Or other projects, like angular translate or AngularJS istelf created a new repository just for their bower packages. As far as I know you chart.js does not do this. (+ as you can see angular and angular-translate also don't have .gitignore in their bower repository, so I suppose Chart.js should do that too?) |
I don't think we want to deal with a different repository and change our automated build process for this specific bower use case. Having Still, |
@simonbrunel I don't have a problem with trying it. I don't think it will break anything, but a quick google couldn't confirm that. |
@simonbrunel, you are right. After running It's not the first time that bower behaves unexpectedly so I'm not surprised. Next time when something like this happens, I will clean the cache first. Thanks for pointing me at the solution. |
Expected Behavior
It should not ignore the
dist
directory when chartjs is installed using bower.Context
We check-in the dependencies into our source control, because we don't mirror bower packages locally on our servers. When we add Chart.js as bower dependency, the
dist
folder got ignored from the source control, because of the .gitignore in the bower package. Is it possible to remove the file in the bower package, or is it needed?Environment
The text was updated successfully, but these errors were encountered: