André Cruz
bc598a334b
Add jshintrc and fix all CS issues related to it.
2012-11-18 20:44:41 +00:00
André Cruz
aa30fe885a
Uninstall now removes also nested deps if not shared.
...
The uninstall now warns and halts uninstalling shared packages.
Though it can be forced with the --force flag.
Also fix CS, and fix small bug.
2012-11-18 16:49:25 +00:00
André Cruz
2c7435a33f
Oops.
2012-11-18 12:24:48 +00:00
André Cruz
c06d8b271e
Move name guessing logic to the package itself.
2012-11-18 11:01:36 +00:00
André Cruz
82c20e8a6b
Print warning when the tag differs from the version specified in the json.
2012-11-17 23:12:42 +00:00
André Cruz
04919746e8
Fix little issue with packages + tag scheme.
2012-11-17 22:19:36 +00:00
André Cruz
64b86ccf04
Add path verification to the fetch function.
...
Now a more suitable message is given in those situations.
2012-11-17 21:25:45 +00:00
André Cruz
4a83227ca8
Fix failing test.
2012-11-17 20:39:21 +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
e9514423ce
Remove package.json support, remove console.logs.
2012-11-17 15:35:59 +00:00
André Cruz
822efbe34c
Huge commit.
...
- Support local path repositories
- Fix various issues with the list command
- If no component.json is detected, bower now creates one if the --save option is true
- Save command now saves in the form of ~tag instead of latest
2012-11-17 15:03:42 +00:00
André Cruz
133b1c12a7
CS.
2012-11-12 01:13:35 +00:00
André Cruz
657a5e0209
Simplify code.
2012-11-12 01:07:51 +00:00
André Cruz
03bbbb22af
Fix ls command when asset is zip/tar.
2012-11-11 20:03:56 +00:00
André Cruz
bd11df44ee
Change template verb.
2012-11-11 17:24:33 +00:00
André Cruz
2948eae448
Add github shorthands support (with tests), closes #121 .
2012-11-11 16:59:00 +00:00
André Cruz
b23cbb8c3f
Fix CS.
2012-11-11 16:34:03 +00:00
André Cruz
b3d04e9083
Some cleanup, add tests for tar and zip files.
...
Also improve tests.
2012-11-11 16:28:10 +00:00
André Cruz
d59e1e45a8
Add suport for zip and tar url's.
2012-11-11 15:50:33 +00:00
André Cruz
496eeb1336
Oops, fix little regression.
2012-11-05 02:17:01 +00:00
André Cruz
4ab8cd398b
Fix update for asset packages.
2012-11-05 01:53:43 +00:00
André Cruz
9e3081e87c
Fix CS.
2012-10-30 08:07:01 +00: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
dc1f142241
Same package name's but different endpoints have now different caches.
2012-10-26 08:52:18 +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
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
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
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
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
52e72b466a
move cache to config.js + get tests passing again…
2012-10-16 23:22:37 -07: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
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
3f79247ac2
Add componentsDirectory option, fix and add tests.
2012-10-14 20:10:22 +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
André Cruz
cb2cb7ea75
Fix bug with -f option, add compatibility with repos that do not have tags.
...
This fixes the fact that if a repo do not have tags, install/update wouldn't fetch new commits.
2012-10-14 15:54:26 +01:00
George Pantazis
a2e593c06c
Make components directory configurable in component.json, otherwise default to 'components'
2012-10-13 10:57:56 -06:00
André Cruz
5dbb6d6346
Add install template, fix CS.
2012-10-13 03:19:18 +01:00
André Cruz
8434acf9ed
Doc improvement.
2012-10-12 09:40:31 +02:00