Commit Graph

263 Commits

Author SHA1 Message Date
Nicolas Gallagher
bbb33e6aa0 Merge pull request #299 from twitter/remove-grey-color
Remove use of `grey` from templates
2013-03-12 11:40:48 -07:00
Pascal Borreli
66773e129b Fixed typos 2013-03-12 09:28:15 +00:00
André Cruz
b8854771d8 Merge branch 'master' of github.com:twitter/bower 2013-03-11 19:42:35 +00:00
André Cruz
56b59da0cf Add space to the read json error message. 2013-03-11 19:42:22 +00:00
Nicolas Gallagher
a5852b101b Remove use of grey from templates
This is a long standing issue where the `grey` color from the `colors`
package is invisible in some terminal color schemes, most notably
Solarized Dark.

The changeset also replaces `console.log()` with
`process.stdout.write()` in the main `bower` bin file. This is because
some of the mustache templates didn't have a new line at the end of the
file (something that most editors will automatically insert). Now they
all consistently have an EOF new line. But `console.log()` adds a
trailing new line, so switch to `process.stdout.write()`.
2013-03-10 18:31:57 -07:00
Nicolas Gallagher
986bea25a6 List Bower commands alphabetically in help 2013-03-10 18:02:16 -07:00
André Cruz
b76357eb72 Merge branch 'master' of github.com:twitter/bower 2013-03-04 22:31:48 +00:00
André Cruz
d31b6c527f Wait for every package to resolve before printing error message and end instal/update command, #290. 2013-03-04 22:31:35 +00: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
4d63bddaef Merge branch '0.8.x' of github.com:twitter/bower
Conflicts:
	CHANGELOG.md
2013-03-04 01:57:32 +00: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
André Cruz
582b6f41a2 Print error message when parsing invalid JSON. 2013-03-04 01:49:11 +00:00
David DeSandro
deb4855598 fix list --source listing non-main sources 2013-03-02 10:31:48 -05:00
André Cruz
81a80c68fe Merge branch '0.8.x' of github.com:twitter/bower
Conflicts:
	CHANGELOG.md
2013-03-01 11:51:45 +00:00
André Cruz
482b1c8f4c Unnecessary comment. 2013-03-01 11:46:07 +00:00
André Cruz
f5d19d43d4 Preserve trailing new line when saving component.json, closes #285. 2013-03-01 11:36:18 +00:00
André Cruz
d204f7635c Fix some more errors with duplicate callbacks being called, #274. 2013-03-01 10:48:26 +00:00
André Cruz
bcc96cfec3 CS. 2013-02-28 01:25:26 +00:00
Jonathan Barnett @indieisaconcept
339831a1ed Close GH-278: Added support for user defined git shorthand. 2013-02-28 01:21:17 +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
e20e50514a Prevent duplicate package name in error summary, closes #277. 2013-02-26 20:54:15 +00:00
André Cruz
76b3a1c11f Fix small issues related with windows, #274.
- Downgraded rimraf to ~2.0.3
- Fix some issues with the tests (install and list tests)
- Fix some more errors with callbacks being fired twice
2013-02-26 20:36:45 +00:00
André Cruz
d4ada06724 Fix some async callbacks to be fired twice, closes #274. 2013-02-24 20:04:03 +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
1f247704ff Fix typo, closes #270. 2013-02-24 10:50:51 +00:00
Mat Scales
59dee1c499 When detecting the existence of a proxy environment variable, check for HTTP versus HTTPS and uppercase vs lowercase 2013-02-22 23:44:26 +00:00
Andre Cruz
174b9b50d6 Fix issue with removing .git folder in windows. 2013-02-19 13:52:19 +00:00
André Cruz
674b02bda6 Fix another typo in the save command. 2013-02-19 13:39:19 +00:00
André Cruz
e8684ded7d Typo. 2013-02-19 13:36:37 +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
André Cruz
d3d39141be Automatically clear bower cache when git commands fail with code 128, fixes #216. 2013-02-17 14:32:23 +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
André Cruz
72e5f36b67 Oops, remove console logs. 2013-02-12 19:07:03 +00:00
André Cruz
f030d98dab Fix automatic conflict resolver not resolving to the root package version. 2013-02-12 17:52:30 +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
Miloš Hadžić
5136cfc7ce Don't save dependency to component.json when it doesn't resolve
Fixes the case when install is called with --save and the dependecy
is saved to component.json even if it wasn't resolved.
2013-02-08 23:39:27 +00:00
André Cruz
7ab29c5516 Update unzip to resolve issue with some zip files, closes #225.
Also update change log.
2013-02-06 20:49:48 +00:00
André Cruz
b6eb6642f8 CS. 2013-02-02 11:16:58 +00:00
André Cruz
36e790d6a9 Fix protocol not being set correctly, closes #230.
Also account for errors when creating temp dirs.
2013-02-01 11:32:57 +00:00
André Cruz
2c992f1ece Fix some minor issues, closes #214. 2013-02-01 00:25:13 +00:00
André Cruz
9ac919b7af Simplify util/save. 2013-02-01 00:22:31 +00:00
André Cruz
755d87338d Add --force-latest flag to allow conflict resolution, #214. 2013-01-31 23:16:27 +00:00
André Cruz
d7b465359c Use the original tags if defined in the conflict resolution messages, #214. 2013-01-31 20:27:54 +00:00