Commit Graph

17 Commits

Author SHA1 Message Date
André Cruz
eb9f6aca03 Merge branch 'master' of github.com:twitter/bower into completion
Conflicts:
	README.md
	lib/commands/register.js
	lib/core/config.js
2012-12-30 11:01:11 +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
3dec991e7e Fetch versions only if necessary and if the offline option is not passed. 2012-12-14 10:40:25 +00:00
Mickael Daniel
e11651648f Add completion handler for each command 2012-12-01 21:32:34 +01:00
André Cruz
667b094bb7 CS. 2012-12-01 00:40:05 +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
aa30fe885a Uninstall now removes also nested deps if not shared.
The uninstall now warns and halts uninstalling shared packages.
Though it can be forced with the --force flag.
Also fix CS, and fix small bug.
2012-11-18 16:49:25 +00:00
André Cruz
c06d8b271e Move name guessing logic to the package itself. 2012-11-18 11:01:36 +00:00
André Cruz
b85a565798 Report upgradeable local packages and packages without tags. 2012-11-17 23:23:16 +00:00
André Cruz
82c20e8a6b Print warning when the tag differs from the version specified in the json. 2012-11-17 23:12:42 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +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
376788f385 Fix ls command, closes #126. 2012-11-07 20:28:22 +00:00
André Cruz
07b93ffe60 Generate a resource id everytime the gitUrl is set, fixes list command. 2012-10-27 11:17:00 +01:00
Andre Cruz
fd31f247a6 Unit of work implementation.
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81.
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57.

- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +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