Commit Graph

315 Commits

Author SHA1 Message Date
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
82f5ad4af2 Complete completion section on the README 2012-12-30 10:56:21 +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
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
André Cruz
6812883511 Merge pull request #73 from uzquiano/master
Support for multiple endpoints in search and lookup
2012-12-30 02:14:14 -08:00
Sindre Sorhus
50c5edf95e Merge pull request #194 from brandondrew/patch-1
grammar fix to README
2012-12-29 18:09:06 -08:00
Brandon Zylstra
8ce4c1cdec grammar fix to README
It could be 'an URL' or 'a URL' (depending on whether 'URL' is pronounced as an acronym, or its initials are spoken), but 'and URL' is definitely a mistake.  Since it is most likely just a typo, I'll assume 'an URL' was intended.
2012-12-29 21:03:12 -05:00
André Cruz
f242e93b08 Typo, oh noes! 2012-12-27 15:34:42 +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
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
Mickael Daniel
8a00820dbb Adding a few notes in readme for completion 2012-12-25 15:56:52 +01:00
Michael Uzquiano
ef721bcd9d Update to README 2012-12-15 17:48:40 -05: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
5f094a894a Fix typo. 2012-12-14 14:17:03 +00:00
André Cruz
4a70c470b5 Fix more typos. 2012-12-14 12:07:47 +00:00
André Cruz
8e7ed131b9 Fix typo in the changelog. 2012-12-14 12:07:04 +00:00
André Cruz
3a6dbaee94 Bump version! v0.6.8 2012-12-14 11:02:23 +00:00
André Cruz
1553d67d4b Fix help for the ls command. 2012-12-14 10:59:46 +00:00
André Cruz
ea5df078a6 Add new option to the help template. 2012-12-14 10:56:05 +00:00
André Cruz
549f857aed Fix end event not being fired in the uninstall command. 2012-12-14 10:51:55 +00:00
André Cruz
4fb74b326f Remove unused options. 2012-12-14 10:50:10 +00: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
André Cruz
f9c1e81fb3 Fix error while executing an unknown command, fixes #179. 2012-12-13 09:49:13 +00:00
André Cruz
999519bd94 Typo. 2012-12-10 18:01:12 +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
v0.6.7
2012-12-10 17:54:27 +00:00
André Cruz
8c00857dd1 Bump version! 2012-12-10 16:39:08 +00:00
André Cruz
10d7487f2e Fix previous two commits. 2012-12-10 16:33:25 +00:00
André Cruz
26503f8ee3 Add silent option to the register command. 2012-12-10 16:08:29 +00: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
André Cruz
a93b166c1f Update README with doc regarding fetching of specific versions. 2012-12-08 11:24:17 +00:00
André Cruz
3917fa0dc5 Add silent option to the register command. 2012-12-08 10:57:19 +00:00
André Cruz
caa983361e Remove wrong options from cache-clean. 2012-12-08 10:53:43 +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
728d96b1c6 Bump version! v0.6.6 2012-12-03 22:34:29 +00:00
hemanth.hm
edbe667e73 Merge pull request #1 from mklabs/completion
Completion
2012-12-03 05:09:45 -08: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
e11651648f Add completion handler for each command 2012-12-01 21:32:34 +01: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
f9f3ee1d06 Bump version! v0.6.5 2012-12-01 01:40:02 +00:00
André Cruz
d20625c7bb Fix bower not fetching latest commits correctly in some cases. 2012-12-01 01:37:04 +00:00
André Cruz
f0fefc7620 Merge branch 'master' of github.com:twitter/bower 2012-12-01 00:41:15 +00:00
André Cruz
667b094bb7 CS. 2012-12-01 00:40:05 +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
be679d6bb1 Typos. 2012-11-30 12:21:18 +00:00
André Cruz
4b134a3bdb Improve last commit, fix tests. v0.6.4 2012-11-30 00:50:14 +00:00