-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make name optional in bower.json #706
Comments
* See bower/bower#706 for more info.
👍 |
2 similar comments
+1 |
+1 |
Plus One |
Did this ever get fixed? I saw that #1065 (duplicate?) was recently closed. |
Ultimately, this should be tracked in the bower.json-spec repo -https://github.com/bower/bower.json-spec/blob/master/README.md as you'll see, name is currently still required. I tend to think a name should always be used, whether the package is published or not. |
I think we can use internally directory name if name is not provided. Scheduling on 1.4.0. |
There is an open issue on the spec repository about this bower/spec#22. Also one about the version being optional bower/spec#4 |
👍 |
👍 for add |
I think it was implemented at some point |
I'm not sure if any other published-package-centric fields are required in bower.json, but at the very minimum, the
name
field should be optional. Thename
field should, however, be required for publishing a package.There was a (now resolved) issue isaacs/npm#914 to make name and version in
package.json
optional, because many projects that utilize npm are never published. They use npm modules solely as dev dependencies, andpackage.json
solely as a place to store the list of dev dependencies.The text was updated successfully, but these errors were encountered: