23 Commits

Author SHA1 Message Date
André Cruz
82ae977ba6 Only fire end event when end saving reps to the component,json, #258. 2013-02-24 12:10:05 +00:00
André Cruz
e7299b1125 Add --save-dev flag to the install command, #258. 2013-02-17 16:42:44 +00:00
André Cruz
2c992f1ece Fix some minor issues, closes #214. 2013-02-01 00:25:13 +00:00
André Cruz
755d87338d Add --force-latest flag to allow conflict resolution, #214. 2013-01-31 23:16:27 +00:00
André Cruz
ca9cb2f61b Fix tags being added to non-repo packages in update, fixes #197. 2013-01-29 16:12:39 +00:00
André Cruz
9c34adf2dc Merge branch 'completion' of git://github.com/mklabs/bower into completion
Conflicts:
	lib/commands/register.js
2012-12-30 10:28:39 +00:00
Mickael Daniel
b544425667 completion - generic method to complete command options
at command level, attach the `shorthand` Hash to the completion
function. The completion command will then try to complete shorthands
and longer flag based on user input.

completing after just one `-` will complete the list of short flags.

completing after just two `--` will complete the list of longer flags.
2012-12-25 16:03:21 +01:00
André Cruz
879f19c70a Fix uninstall removing packages not saved in the component.json, fixes #178.
Also fix possible issues with options in other commands.
2012-12-10 16:03:57 +00:00
Mickael Daniel
e11651648f Add completion handler for each command 2012-12-01 21:32:34 +01:00
André Cruz
30d95d3751 Fix resolve event emitting data in the install/update commands. 2012-11-20 20:51:56 +00:00
André Cruz
bc598a334b Add jshintrc and fix all CS issues related to it. 2012-11-18 20:44:41 +00:00
André Cruz
e9514423ce Remove package.json support, remove console.logs. 2012-11-17 15:35:59 +00:00
André Cruz
822efbe34c Huge commit.
- Support local path repositories
- Fix various issues with the list command
- If no component.json is detected, bower now creates one if the --save option is true
- Save command now saves in the form of ~tag instead of latest
2012-11-17 15:03:42 +00:00
André Cruz
496eeb1336 Oops, fix little regression. 2012-11-05 02:17:01 +00:00
André Cruz
4ab8cd398b Fix update for asset packages. 2012-11-05 01:53:43 +00:00
André Cruz
d23adeef5a Fix force flag. 2012-11-03 13:21:00 +00:00
André Cruz
9c81c3ce29 Use custom fileExists that returns true if the file exists but cannot be stat'ed.
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
8dc17f64f8 Important fixes to the update command.
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
3bcd2e08e8 Revert "Ability to disable colors with the --no-colors arg."
This reverts commit 008e0d8c8a.
2012-10-15 20:16:48 +01:00
André Cruz
a403585e1e Fix update command on non tagged repos. 2012-10-15 01:37:04 +01:00
André Cruz
008e0d8c8a Ability to disable colors with the --no-colors arg. 2012-10-15 01:27:33 +01:00
John-David Dalton
a7dca30d9d Replace Underscore with Lo-Dash. 2012-09-11 22:45:02 -07:00
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00