96 Commits

Author SHA1 Message Date
Merrick Christensen
eb747d7508 If the dependencies object doesn't exist on a --save. Create it. 2012-11-03 14:34:36 -06:00
André Cruz
d23adeef5a Fix force flag. 2012-11-03 13:21:00 +00:00
André Cruz
8684078437 Merge pull request #109 from twitter/cache-id
Same package names but different endpoints now have different caches.
2012-10-30 14:57:47 -07:00
André Cruz
9e3081e87c Fix CS. 2012-10-30 08:07:01 +00:00
André Cruz
4ea387ed35 Merge branch 'master' of github.com:twitter/bower 2012-10-27 14:38:30 +01:00
André Cruz
83661eec48 Quick fix. 2012-10-27 14:38:05 +01:00
André Cruz
07b93ffe60 Generate a resource id everytime the gitUrl is set, fixes list command. 2012-10-27 11:17:00 +01:00
André Cruz
ab9c3f9ec7 Change way status codes are parsed. 2012-10-27 10:49:14 +01:00
André Cruz
381c5fea77 Remove dot from error message. 2012-10-26 10:49:02 +02:00
André Cruz
dc1f142241 Same package name's but different endpoints have now different caches. 2012-10-26 08:52:18 +01:00
André Cruz
197fc34618 Remove unnecessary var. 2012-10-24 08:45:47 +01: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
8dc17f64f8 Important fixes to the update command.
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
3af267669e Return early. 2012-10-22 22:34:59 +01:00
André Cruz
b904177ccc Fix comment. 2012-10-22 22:00:32 +01:00
André Cruz
0b85b50add Lineup. 2012-10-22 21:49:04 +01:00
André Cruz
b22cc1cc04 Fix CS. 2012-10-22 21:46:33 +01:00
André Cruz
b371dd2cf7 Return early. 2012-10-22 21:44:35 +01:00
André Cruz
00a4923d5f Not needed anymore. 2012-10-22 08:23:15 +01:00
André Cruz
8fe0abfc4b Move --force tests from the package to the manager. 2012-10-21 11:48:50 +01:00
André Cruz
f50520e04e Typo and add some useful comment. 2012-10-20 17:42:25 +01:00
André Cruz
6a6eb75a3b Change Package constructor slightly, add rudimentary test for the --force flag. 2012-10-20 17:34:41 +01:00
André Cruz
a74f6630df Add tests for cache-clean, unified some return values. 2012-10-20 16:41:19 +01:00
André Cruz
f0836ba655 Simplified things by adding a .commit property. 2012-10-20 15:35:46 +01:00
André Cruz
64d1d4a1c9 Also use local .bowerrc file. 2012-10-19 08:48:58 +01:00
André Cruz
956dac2c50 Add some useful comments. 2012-10-18 23:38:58 +01:00
André Cruz
97f8efcbb9 Use the lookup name when using the --save option whenever possible.
Also fix important bug regarding the checkout process in some edge cases.
2012-10-18 23:19:37 +01:00
André Cruz
f335f5f1fb Do not install if there is a conflict. 2012-10-18 23:17:13 +01:00
André Cruz
723cfd52d1 Remove forgotten code about the reverted componentsDir option. 2012-10-17 08:40:37 +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
4a40e755e7 fix config path 2012-10-16 23:31:14 -07: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
billy gates
9825707837 Merge pull request #78 from sindresorhus/no-colors
Make it possible to disable colors
2012-10-16 23:13:20 -07:00
André Cruz
d53878c130 Prune function now gives priority to non local packages if they are equal. 2012-10-17 01:01:09 +01:00
André Cruz
badcde0ef9 Fix install not appearing for local resolved packages. 2012-10-17 01:00:50 +01:00
André Cruz
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +01:00
André Cruz
b7c3aa59a7 Merge branch 'master' of git://github.com/twitter/bower
Conflicts:
	test/package.js
2012-10-16 22:53:33 +01:00
Andre Cruz
612084fb57 Fix download() emitting the 'download' event several times. 2012-10-16 02:01:03 +00:00
Andre Cruz
708d68aee7 Prevent errors when passing duplicate packages to cache-clean. 2012-10-16 01:01:54 +00:00
André Cruz
be79b7028c Merge branch 'no-colors' of git://github.com/sindresorhus/bower into improv_fixing 2012-10-15 20:17:35 +01:00
André Cruz
3bcd2e08e8 Revert "Ability to disable colors with the --no-colors arg."
This reverts commit 008e0d8c8a.
2012-10-15 20:16:48 +01:00
André Cruz
5967acb15e Add cache-clean command, remove unnecessary code. 2012-10-15 19:27:48 +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
24d126e702 Use exists instead of stat whenever possible. 2012-10-15 09:43:02 +01:00
André Cruz
c589625b01 Add --no-colors options to the help templates, add missing --no-colors to the uninstall. 2012-10-15 01:44:15 +01:00
André Cruz
a403585e1e Fix update command on non tagged repos. 2012-10-15 01:37:04 +01:00
André Cruz
008e0d8c8a Ability to disable colors with the --no-colors arg. 2012-10-15 01:27:33 +01:00
André Cruz
f220ee5302 Fix broken ls command. 2012-10-15 01:23:58 +01:00
André Cruz
3f79247ac2 Add componentsDirectory option, fix and add tests. 2012-10-14 20:10:22 +01:00