Commit Graph

269 Commits

Author SHA1 Message Date
André Cruz
0169174a87 Merge branch 'master' of github.com:twitter/bower 2013-03-16 17:08:41 +00:00
André Cruz
fac7e1692c Fix --save and --save-dev when installing via shorthands. 2013-03-16 17:08:32 +00:00
Joshua Peek
b0917fbe87 Revert "Merge pull request #268 from twitter/package-json-name-is-authoritative"
This reverts commit ee417c9ff8, reversing
changes made to bbb33e6aa0.
2013-03-14 10:10:10 -05:00
Joshua Peek
ee417c9ff8 Merge pull request #268 from twitter/package-json-name-is-authoritative
component.json package name should be authoritative
2013-03-13 14:07:50 -07:00
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
Joshua Peek
1c983b781d Merge branch 'master' into package-json-name-is-authoritative 2013-03-06 21:48:21 -06: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
Joshua Peek
4da57cbcb6 Always use package name declared in component.json 2013-02-22 15:35:06 -06: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