Commit Graph

223 Commits

Author SHA1 Message Date
Carson McDonald
2c12c8e2b6 Close GH-422: (Temporary) Unzip fix. 2013-04-25 22:27:49 +01:00
André Cruz
aeb5a3a261 Only report discovery if folder got packages. 2013-04-25 17:44:34 +01:00
André Cruz
c035021cd6 Fix bower not installing things due to cacheName mismatch. 2013-04-25 17:11:09 +01:00
André Cruz
6232e10d20 Merge pull request #386 from twitter/tmp-dir-cleanup
Use unsafeCleanup to clear temporary dirs, closes #345.
2013-04-11 16:50:58 -07:00
André Cruz
68755757af Use unsafeCleanup to clear temporary dirs, closes #345. 2013-04-09 20:24:48 +01:00
André Cruz
c9068f5820 Merge pull request #371 from wibblymat/bower.json
Bower.json (closes #39)
2013-04-08 13:31:18 -07:00
André Cruz
b54fe820cb Oops. 2013-04-06 12:35:07 +01:00
André Cruz
b37c3d25a6 Make creation of git_template dir sync. 2013-04-06 13:19:40 +02:00
Mat Scales
ec6df96a85 Finished switching to bower.json 2013-04-05 16:56:20 +01:00
Mat Scales
5ba11f39d1 Fall back to component.json for old dependencies with a warning. 2013-04-05 11:30:33 +01:00
Mat Scales
fa72a54c1a A naive first pass at replacing component.json with bower.json - just a find and replace 2013-04-05 10:05:14 +01:00
André Cruz
ac20fe25e2 Merge pull request #324 from richo/features/no_git_templates
Don't use git templates
2013-04-03 15:38:25 -07:00
Joshua Peek
757ce4385b Merge branch 'master' into package-json-name-is-authoritative 2013-04-03 10:57:33 -05:00
Joshua Peek
fd3bf981dc Change __defineGetter__ to Object.defineProperty 2013-04-03 10:41:02 -05:00
Joshua Peek
c703429288 Merge branch 'master' into package-json-name-is-authoritative 2013-04-02 23:11:08 -05:00
Joshua Peek
d0ff8d6175 Merge pull request #359 from twitter/seperate-cache-dir-from-package-name
Consistent package cache path
2013-04-02 21:10:20 -07:00
richo
51ee822794 Syncronously create git_template at config read time 2013-04-02 20:24:29 +11:00
Joshua Peek
6f6e66dacf Use consistent cacheName for unit work id 2013-04-01 15:05:26 -05:00
Joshua Peek
163775df94 Always generate cache name from git url 2013-04-01 15:05:21 -05:00
André Cruz
b9304d219b Forgot to bind. 2013-03-30 20:28:31 +00:00
André Cruz
fd472403c1 Make it pass a failing test. 2013-03-30 20:17:49 +00:00
Joshua Peek
a97d941835 Only override implicit package names 2013-03-30 14:29:18 -05:00
Joshua Peek
7c56df2600 Merge branch 'master' into package-json-name-is-authoritative 2013-03-30 13:58:03 -05:00
André Cruz
c38a63033a Typo. 2013-03-30 18:55:46 +00:00
André Cruz
3f9e19a0fe Write json in an async way and caught errors, fixes #352. 2013-03-30 17:49:12 +00:00
Joshua Peek
2d61ffa1b2 Resolve package json before recording dependency name 2013-03-19 19:54:27 -05:00
Joshua Peek
dfe4b66a43 Use consistent cacheName for unit work id 2013-03-19 19:54:02 -05:00
Joshua Peek
ad657f6dda Always generate cache name from git url 2013-03-19 18:36:48 -05:00
Joshua Peek
ce0e0b6038 Always use package name declared in component.json 2013-03-19 18:36:32 -05:00
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
richo
c6cd0e4162 Don't use git templates
This actually throws a warning from git, but is harmless.
2013-03-16 23:28:44 +11: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
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