Commit Graph

19 Commits

Author SHA1 Message Date
Mickael Daniel
174c37d75d Tab completion, handler for install command
- results of the first lookup is cached to
  ~/.bower/completion/install.json
- consider caching in ~/.bower/cache instead, so that cache-clean
  command also removes completion cache.
2012-12-01 21:32:07 +01:00
André Cruz
b63ab2be88 Cleanup temp directories even if node dies, closes #140. 2012-11-23 01:11:54 +00:00
André Cruz
bcf9b0e880 Small tweak. 2012-11-21 01:15:12 +00:00
André Cruz
648fcace0f Add link command, change cache dirs. 2012-11-21 01:10:22 +00:00
André Cruz
bc598a334b Add jshintrc and fix all CS issues related to it. 2012-11-18 20:44:41 +00:00
André Cruz
9c81c3ce29 Use custom fileExists that returns true if the file exists but cannot be stat'ed.
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
b22cc1cc04 Fix CS. 2012-10-22 21:46:33 +01:00
André Cruz
64d1d4a1c9 Also use local .bowerrc file. 2012-10-19 08:48:58 +01:00
André Cruz
8a4963026a Merge branch 'master' of git://github.com/twitter/bower into features_fixes
Conflicts:
	lib/core/config.js
	lib/core/package.js
	package.json
2012-10-17 08:18:57 +01:00
Jacob Thornton
59d49166c7 Merge branch 'master' of git://github.com/KarthikDot/bower into KarthikDot-master
Conflicts:
	README.md
	lib/core/config.js
	lib/core/source.js
	package.json
2012-10-16 23:28:38 -07:00
Jacob Thornton
52e72b466a move cache to config.js + get tests passing again… 2012-10-16 23:22:37 -07: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
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
Karthik Kastury
b14a1b4ba3 Updated Config.js for better rc integration 2012-09-18 21:23:59 +05:30
Karthik Kastury
d53a74df23 Bower Config Management now powered by rc 2012-09-17 19:47:30 +05:30
Karthik Kastury
8eeeb2ddd6 Redesigned Bower Config Management to use .bowerrc 2012-09-14 22:34:54 +05:30
Karthik Kastury
e0c30b5573 Revert "Moved config.js to lib/ instead of lib/core"
This reverts commit 6c6e193362.

Revert "Allow Custom Bower Endpoints"

This reverts commit 9e7f136948.
2012-09-14 22:34:50 +05:30
Karthik, Kastury
6c6e193362 Moved config.js to lib/ instead of lib/core 2012-09-11 17:13:50 +05:30
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00