25 Commits

Author SHA1 Message Date
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
Mat Scales
557c453b12 Add an init command that generates a component.json 2013-02-08 23:40:19 +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
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
3b0d8b37e7 Merge branch 'master' into ignore
Conflicts:
	lib/core/package.js
2013-01-30 11:03:06 -05:00
David DeSandro
f026c6238d add package-ignorables for testing 2013-01-30 10:59:29 -05:00
Manuel Woelker
8488c657af manager: test for #205 (Using another name for .json file leads to unfetchable deps) 2013-01-30 12:49:03 +01:00
André Cruz
e5f40350d2 Fix tests due to the way conflicts are handled, #214. 2013-01-29 19:33:19 +00:00
André Cruz
4c3a1dbd91 Fix remote. 2012-11-18 22:13:20 +00:00
André Cruz
fae41c4179 Fix failing test. 2012-11-18 22:10:10 +00:00
André Cruz
91c5bb8c36 Add repo metadata because it is used in a test. 2012-11-18 21:35:20 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +00:00
André Cruz
b0687baa00 Fix tests. 2012-11-03 13:08:53 +00:00
Andre Cruz
406ed297ca Oops. 2012-10-17 17:35:18 +01:00
André Cruz
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +01:00
André Cruz
71cddb628e Several fixes.
- Fix issue with download() emiting two 'resolve' events.
- Do not fallback to package.json and to tag describe if there was an error parsing the json file
- Move out cache dir to the config.js file
- Tweak, fix and add test to the point 2.
2012-10-15 17:03:08 +01:00
André Cruz
3f79247ac2 Add componentsDirectory option, fix and add tests. 2012-10-14 20:10:22 +01:00
André Cruz
6ef92b0c95 Add and fix failing test. 2012-10-14 17:36:06 +01:00
André Cruz
6823acd0ff Merge branch 'master' of git://github.com/satazor/bower
Conflicts:
	lib/core/package.js
2012-10-14 16:01:53 +01:00
Andre Cruz
71a7b8e8f0 Add missing tests. 2012-10-11 15:23:47 +01:00
Andre Cruz
fd31f247a6 Unit of work implementation.
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81.
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57.

- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +01:00
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00