91 Commits

Author SHA1 Message Date
André Cruz
b13feea790 Fix update command not updating only desired packages.
Now throws an error if passing an unknown package.
2013-04-27 11:23:18 +01:00
André Cruz
883b79f05d Show package name in the root label in the list command. 2013-04-27 10:37:54 +01:00
André Cruz
caeb5effdc Remove warn's from link & uninstall commands. 2013-04-25 23:15:30 +01:00
André Cruz
09f702879e Fix bower init targeting ~commit instead of *, closes #385. 2013-04-25 18:20:05 +01:00
André Cruz
d58bf2f057 Remove warning in the list command. 2013-04-25 17:31:41 +01:00
Mat Scales
ec6df96a85 Finished switching to bower.json 2013-04-05 16:56:20 +01:00
Nicolas Gallagher
986bea25a6 List Bower commands alphabetically in help 2013-03-10 18:02:16 -07:00
André Cruz
c212028311 Merge pull request #289 from twitter/list-sources-non-main
fix list --source listing non-main sources
2013-03-04 13:31:45 -08:00
André Cruz
7e69be8c0d Do not clear completion if cache-clean command was called with specific packages. 2013-03-04 01:49:45 +00:00
David DeSandro
deb4855598 fix list --source listing non-main sources 2013-03-02 10:31:48 -05:00
André Cruz
f5d19d43d4 Preserve trailing new line when saving component.json, closes #285. 2013-03-01 11:36:18 +00:00
André Cruz
53ad952476 Oops, little typo, #282. 2013-02-27 10:06:39 +00:00
André Cruz
39364ee9a6 Fix read of endpoint in update command, closes #282. 2013-02-27 10:05:16 +00:00
André Cruz
80c12b3e5f Add --save-dev also to the uninstall command. 2013-02-24 13:46:34 +00:00
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
e32f3de9b5 Small changes to the lookup and search commands and improve its tests. 2013-02-18 01:39: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
8117b41e8a Small improvements to the init command. 2013-02-17 16:37:45 +00:00
David DeSandro
b7cbd36a07 Close GH-251: add --dev install option for devDependencies, cleaned up. Fixes #246, Fixes #80 2013-02-14 22:47:41 +00:00
David DeSandro
4e75896240 Close GH-235: list --sources for easier source listing. 2013-02-14 22:46:33 +00:00
Nick Heiner
0ac0f4dee7 Close GH-236: Commands emit meaningful events (fixes #233). Fixes #233 2013-02-11 22:34:33 +00:00
Mat Scales
557c453b12 Add an init command that generates a component.json 2013-02-08 23:40:19 +00:00
Marcelo Conceicao
80038f6925 Remove links pointing to nonexistent folders on cache-clean, #182. 2013-02-08 23:39:27 +00:00
André Cruz
b6eb6642f8 CS. 2013-02-02 11:16:58 +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
983a7fa707 Show only discover message if there is packages. 2012-12-31 17:00:36 +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
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
7337a80550 Add package event that is fired for each installed/uninstalled package. 2012-12-14 14:57:58 +00:00
André Cruz
1553d67d4b Fix help for the ls command. 2012-12-14 10:59:46 +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
2012-12-10 17:54:27 +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
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
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
667b094bb7 CS. 2012-12-01 00:40:05 +00:00
André Cruz
9505f3763c Fix uninstall --save when there is no component.json. 2012-11-23 09:21:48 +00:00
André Cruz
3b69d1a4d5 Fix uninstall when the project has no deps saved, closes #153. 2012-11-23 00:49:44 +00:00