Commit Graph

190 Commits

Author SHA1 Message Date
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
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
Joshua Peek
1c983b781d Merge branch 'master' into package-json-name-is-authoritative 2013-03-06 21:48:21 -06: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
4d63bddaef Merge branch '0.8.x' of github.com:twitter/bower
Conflicts:
	CHANGELOG.md
2013-03-04 01:57:32 +00:00
André Cruz
582b6f41a2 Print error message when parsing invalid JSON. 2013-03-04 01:49:11 +00: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
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
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
e7299b1125 Add --save-dev flag to the install command, #258. 2013-02-17 16:42:44 +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
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
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
André Cruz
63ecde0ea7 Merge branch 'master' of github.com:twitter/bower 2013-01-31 20:02:47 +00:00
André Cruz
44bfa55bee Finish up conflict resolution logic, #214.
Some refactoring.
2013-01-31 20:02:30 +00:00
André Cruz
6195281e70 Merge pull request #227 from twitter/ignore
Remove ignore paths from .json
2013-01-31 10:57:33 -08:00
David DeSandro
ad359e2659 dot option in glob for ignore 2013-01-31 13:54:54 -05:00
David DeSandro
a8a4f6fd2c push.apply to add json.ignore 2013-01-30 22:40:37 -05:00
André Cruz
02e3ed4588 Fix some more issues with reading package local configuration, closes #205.
Complete the tests regarding this issue.
2013-01-31 01:29:07 +00:00
David DeSandro
5d45b04b22 fix binding install;
add test for removing ignorables
2013-01-30 11:29:06 -05:00
David DeSandro
3b0d8b37e7 Merge branch 'master' into ignore
Conflicts:
	lib/core/package.js
2013-01-30 11:03:06 -05:00
David DeSandro
d6cb0736d6 use async.forEach in removeLocalPaths 2013-01-30 10:10:44 -05:00
David DeSandro
e2b94620ad refactor removeLocalPaths with forEachPromise helper
sorta kinda cleans it up
2013-01-29 18:14:52 -05:00
David DeSandro
254dab3da7 use glob for path matching
in promise hell
2013-01-29 17:44:40 -05:00
André Cruz
c52ad6fb7c More fixes related with previous commit, #205. 2013-01-29 17:47:11 +00:00
André Cruz
06f6c37add Fix previous commit, #205. 2013-01-29 17:31:19 +00:00
André Cruz
00aaeb9305 Obey local packages .bowerrc config and fallback to generic one, #205. 2013-01-29 17:23:26 +00:00
André Cruz
a8c72398ba Better error messages for invalid bowerrc files, closes #220. 2013-01-29 15:07:25 +00:00
André Cruz
01bd65f8e6 Slightly better error message. 2013-01-29 14:58:07 +00:00
André Cruz
a0c7e5df57 Print a good detail message when a conflict occurs and ways to resolve it, #214. 2013-01-29 14:42:46 +00:00
André Cruz
1d3d37034f Initial sketch to solve issue #214. 2013-01-29 01:35:52 +00:00