-
-
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
--save
by default
#1040
Comments
👍 |
Upvote 👍 |
👍 |
1 similar comment
👍 |
Of course this is |
👍 |
1 similar comment
👍 |
We could add a |
+1 Would it possible to set this to |
@gh-naylor no, that's a task for another tool. |
👍 To @wibblymat's proposal. |
PRs welcome ;) |
Added a .bowerrc option to make bower install assume --save (#1040)
I disagree. The |
@ninjatronic, component for example is using |
Yeah, I think this is a solid change and we should move in that direction. |
Composer saves packages by default, for the note. |
Worth noting then that |
👍 |
👍 (always annoyed that other package managers don't do the same) |
Added to 2.0 milestone. We'll need to output some message indicating the bower.json has been updated. |
+1 |
4 similar comments
👍 |
+1 |
+1 |
👍 |
👍 |
+1 for |
👍 I'm for this feature! Often forget to add --save, mostly I install package and want to save it to bower.json. Also I'm for removing .bowerrc and add directory option to bower.json, this really confused me when I learned Bower. |
👍 |
I would suggest to make this configurable like npm does.
http://blog.heroku.com/archives/2015/11/10/node-habits-2016#2-use-a-smart-npmrc |
Good idea. I'll accept a PR enabling it for .bowerrc (with tests). |
yup :) |
Since most people would want to save a dependency to bower.json when doing
bower install <package>
I suggest we make--save
the default and introduce a--no-save
flag. The default will only have an effect if there is a bower.json.The text was updated successfully, but these errors were encountered: