Commit Graph

139 Commits

Author SHA1 Message Date
Brian Donovan
00ea8e8984 Fix typo in error message. 2013-01-02 17:04:00 -08:00
André Cruz
5a5a243486 Fix issue related with endpoints lookups. 2012-12-30 23:11:54 +00:00
André Cruz
b7bf83c88f Fix previous commit. 2012-12-30 11:52:35 +00:00
André Cruz
05e44d5148 Fixes #185. 2012-12-30 11:40:45 +00:00
André Cruz
64ed10530b Fix some issues and also fix CS. 2012-12-30 11:30:24 +00:00
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
André Cruz
ae87fd4a32 Some tweaks to the completion.
- Now has a separate cache folder
- Adjust cache clean to also clear the completion cache (and fix some possible issues)
- Add two empty lines to the completion template in case the user does >> ~./bash_profile.sh
2012-12-30 10:53:37 +00:00
Mickael Daniel
8dbffe6fa7 Move completion cache results to ~/.bower/cache/__bowercompletion__
for cache-clean command to be able to clean it.

__bowercompletion__ to avoid potential naming conflicts.
2012-12-25 15:57:07 +01:00
Michael Uzquiano
a122f992ba Fix to config.js file 2012-12-15 17:43:37 -05:00
Michael Uzquiano
a6c6e221f7 Merge branch 'master' of github.com:twitter/bower 2012-12-15 17:31:37 -05:00
André Cruz
7337a80550 Add package event that is fired for each installed/uninstalled package. 2012-12-14 14:57:58 +00:00
André Cruz
fa81d7831b Fix two important issues.
- Fix reading invalid component.json in the manager
- Fix --force flag in uninstall in some cases
2012-12-10 17:54:27 +00:00
André Cruz
bdb4b4b6be Merge branch 'master' of git://github.com/hemanth/bower into completion 2012-12-08 10:10:08 +00:00
André Cruz
0466e19456 Fix package not being correctly collected in the error summary. 2012-12-03 08:35:59 +00:00
André Cruz
88843bf855 Improve error message while reading the json. 2012-12-03 08:33:53 +00:00
Mickael Daniel
174c37d75d Tab completion, handler for install command
- results of the first lookup is cached to
  ~/.bower/completion/install.json
- consider caching in ~/.bower/cache instead, so that cache-clean
  command also removes completion cache.
2012-12-01 21:32:07 +01:00
André Cruz
d20625c7bb Fix bower not fetching latest commits correctly in some cases. 2012-12-01 01:37:04 +00:00
André Cruz
3a48ba582f Fix error summary not being displayed in some edge cases. 2012-12-01 00:39:46 +00:00
André Cruz
4b134a3bdb Improve last commit, fix tests. 2012-11-30 00:50:14 +00:00
André Cruz
d561299cdf Fix perm issue with downloaded files, fixes #160. 2012-11-29 22:12:54 +00:00
Michael Uzquiano
a87b86b3e4 Fixes to merge conflicts, updating to master 2012-11-26 11:18:30 -05:00
André Cruz
53c48a2dc5 Fix version not being correctly set for local packages, fixes #155 2012-11-23 19:19:01 +00:00
André Cruz
366d7f82cc Oops, fix failing test. 2012-11-23 01:31:37 +00:00
André Cruz
b63ab2be88 Cleanup temp directories even if node dies, closes #140. 2012-11-23 01:11:54 +00:00
André Cruz
66a61acd5c Fix errors not being caught when using file writter. 2012-11-23 00:50:27 +00:00
André Cruz
49e08443b7 Fix failing test, update CHANGELOG.md. 2012-11-21 23:16:13 +00:00
André Cruz
a7612a8828 Catch errors also while installing, fix mute deps. 2012-11-21 22:42:59 +00:00
André Cruz
8bfa518f15 Detect local .git repositories and abort when true.
Also fix error reporting for nested deps.
2012-11-21 22:41:54 +00:00
André Cruz
bcf9b0e880 Small tweak. 2012-11-21 01:15:12 +00:00
André Cruz
648fcace0f Add link command, change cache dirs. 2012-11-21 01:10:22 +00:00
André Cruz
e80ed8d130 Use async version of chmod. 2012-11-21 00:22:09 +00:00
André Cruz
4dde213a6f Typos. 2012-11-21 00:21:09 +00:00
André Cruz
a5c65afc46 Change temporary folders names. 2012-11-20 21:08:31 +00:00
André Cruz
e021276072 Extract and present errors from the shell (e.g.: git commands). 2012-11-20 20:13:17 +00:00
André Cruz
069e9b80b6 Capture errors while resolving and present a summary. 2012-11-20 19:05:54 +00:00
André Cruz
19b9261e8b Fix http errors while downloading not being interpreted. 2012-11-20 19:02:09 +00:00
André Cruz
3ac918f306 [WIP] Errors improvement. 2012-11-20 09:13:51 +00:00
André Cruz
41e6f0bdbc Mismatch now has its custom template. 2012-11-19 00:39:08 +00:00
André Cruz
3b1642a52f Fix warn template, add missing command types. 2012-11-19 00:15:43 +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
2c7435a33f Oops. 2012-11-18 12:24:48 +00:00
André Cruz
c06d8b271e Move name guessing logic to the package itself. 2012-11-18 11:01:36 +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
04919746e8 Fix little issue with packages + tag scheme. 2012-11-17 22:19:36 +00:00
André Cruz
64b86ccf04 Add path verification to the fetch function.
Now a more suitable message is given in those situations.
2012-11-17 21:25:45 +00:00
André Cruz
4a83227ca8 Fix failing test. 2012-11-17 20:39:21 +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
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