-
Notifications
You must be signed in to change notification settings - Fork 783
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
Package: improving NPM and Bower published files #523
Conversation
leobalter
commented
Feb 2, 2014
- Package.json using files prop: https://npmjs.org/doc/json.html#files
- Added license file to bower
Huh, I've never seen the |
I wonder why is not yet implemented on Bower, or if it is, it's not documented. |
Speaking of which, what's the rationale behind adding the license file to the Bower |
I think it is needed to include the file regarding the license text |
Right but I'm confused as to why we need to include it in the Doesn't Bower just include all files in a repo by default, minus any exclusions? My understanding was that |
Humm, that's why I haven't found any example or documentation about the possibility to negate files in the ignore list, but I did a new research after your question and found an unusual documentation that lead me to the following phrase: "The ignore rules follow the same rules specified in the gitignore pattern spec." So I can remove license file from I'll also apply the license link to a new option on the bower.json, according to the documentation |
@JamesMGreene bower.json is already modified and I also noticed in the documentation the |
Oh, so you're saying that the files included in Bower's Bower: Is that right? I didn't realize that Bower's Sorry if this is getting confusing/frustrating for you as well. Both of these package managers need some serious documentation improvements, IMHO. |
It's really confusing and frustrating. :) It looks like having a Before this patch, I experimented the |
I think NPM is the less confusing of the two, honestly. 😛 So was I correct about my earlier assertion?
|
From the Bower spec:
Related issues/discussion: |
Looks like this is the new issue for |
I can assure you atm I am just seeing this working like magic - when I don't know how and why it works. The OMG, I've got FUD. I don't see anything reliable we can do about it without they clarify the doubts on bower specification, like the mentioned issues. If there's something, please tell me. I am sparing like all my free time with QUnit and it's being cool so far. |
Hopefully @danheberden can set us straight. 😉 |
Just talked to @danheberden. He confirmed that the This PR should be fine to merge now. |
- Package.json using files prop: https://npmjs.org/doc/json.html#files - Added license file and link to bower
rebased with the master branch |
Thanks! |