Commit Graph

209 Commits

Author SHA1 Message Date
André Cruz
3204bcb7a0 Oops, typo. 2013-06-28 07:37:21 +01:00
André Cruz
645a5206ec Fix error caused by the recent semver upgrade. 2013-06-28 00:10:05 +01:00
André Cruz
28baf4de5e Use err.stack, integrates better with Q. 2013-06-27 23:42:57 +01:00
André Cruz
04ddcd9489 Remove useless log. 2013-06-27 23:42:18 +01:00
André Cruz
a82f392cac Fix uninstall always giving conflict, even if the only dependant is the root package. 2013-06-27 23:41:50 +01:00
André Cruz
15d308864c Fixed --save and --save-dev on named endpoints. 2013-06-25 23:08:47 +01:00
André Cruz
9af3a0d725 Read only dependencies of deep dependencies (not dev dependencies). 2013-06-25 22:43:50 +01:00
André Cruz
d2494fb97d Allow latest targets, map to '*'- 2013-06-25 22:25:48 +01:00
André Cruz
c32ef61d3a Fix dev dependencies not being fetched. 2013-06-25 22:25:22 +01:00
André Cruz
6020d06038 Move root flag to a more appropriate place. 2013-06-25 21:19:46 +01:00
André Cruz
b2b1b1cb47 Do not throw err if components folder do not exist. 2013-06-25 21:08:41 +01:00
André Cruz
a61e31f646 Use String.prototype.trim instead of mout's one. 2013-06-25 00:26:06 +01:00
André Cruz
0361436a66 Fix extraneous packages not containing the linked flag even if they are linked. 2013-06-25 00:22:25 +01:00
André Cruz
c800670f39 Add link command help, tweak some other usage helps. 2013-06-25 00:17:56 +01:00
André Cruz
7fa42cbdd3 Fix extra keys being set even if they are undefined. 2013-06-25 00:16:06 +01:00
André Cruz
f3f39e283e Fix link command not using local name if specified. 2013-06-24 23:42:12 +01:00
André Cruz
c9e1159c42 Merge branch 'rewrite' of github.com:bower/bower into rewrite 2013-06-24 23:20:28 +01:00
André Cruz
f9f8f7aebd Implement link command.
Also:
- CS fixes
- Remove options argument from commands that do not have them
- Use console.trace instead of err.stack (more reliable)
2013-06-24 23:19:59 +01:00
André Cruz
ee3941b86a Do not prompt to confirm registration if --force is used. 2013-06-24 23:17:47 +01:00
Sindre Sorhus
870d57bfa5 Use single-quotes in bower info 2013-06-23 22:03:04 +02:00
André Cruz
a02f26f0eb Add register command, CS fixes. 2013-06-23 17:48:45 +01:00
André Cruz
97edd21784 Add lookup command, minor tweaks to the info command. 2013-06-23 14:58:54 +01:00
André Cruz
2f16e17ed5 Use LRU cache for the git resolvers runtime cache. 2013-06-23 12:17:53 +01:00
André Cruz
eb18c0a505 Use stringily object when printing package meta in the info command. 2013-06-23 01:49:48 +01:00
André Cruz
103d1adc46 CS. 2013-06-23 01:28:26 +01:00
André Cruz
4c3802878a Another huge commit.
- Add info command
- Fix list --paths
- Fix search with no name
- Fix conflict detection when uninstalling
- Mix tweaks and fixes
2013-06-23 01:14:08 +01:00
André Cruz
23e560b638 Forgot to update to canonical dir in some comments/docs. 2013-06-22 17:15:06 +01:00
André Cruz
b82a2ee735 Huge commit.
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:06:02 +01:00
André Cruz
83b6820458 Huge commit.
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:04:50 +01:00
André Cruz
3a7b4fd404 Unnecessary line. 2013-06-15 23:44:03 +01:00
André Cruz
578557f3d7 Minor tweaks. 2013-06-15 23:12:17 +01:00
André Cruz
92b7668067 Add list command, some other fixes and improvements.
- Fix cache clean command
- Lots of improvements and fixes of the Manager
- Only save json if the contents changed
- Add nom like tree to installed/updated packages
- Fix help usages.
2013-06-15 21:43:01 +01:00
André Cruz
95f9170736 Tweak cache list and clean output. 2013-06-14 11:25:19 +01:00
André Cruz
52be2230cb Improve doc blocks and minor bug fixing. 2013-06-12 23:52:29 +01:00
André Cruz
88b4847ba9 Remove --save-resolutions in favor of prefixing choices with !.
Also improve the manager resolution process by avoiding to fetch incompatible packages always.
Now lazy fetches them when necessary.
2013-06-12 22:34:53 +01:00
André Cruz
f532eb708e Small fix. 2013-06-11 19:16:43 +01:00
André Cruz
94a24b3f57 Protect against empty origins. 2013-06-11 19:16:26 +01:00
André Cruz
62fadc8200 Fix reusing of compatible dependencies. 2013-06-11 16:23:15 +01:00
André Cruz
1370625568 CS. 2013-06-11 16:21:15 +01:00
André Cruz
8eed440840 Fix error logging. 2013-06-11 16:20:53 +01:00
André Cruz
1aed2b9a43 Minor fix to sorting versions. 2013-06-11 09:02:12 +01:00
André Cruz
6ec31cc7f9 Fix cache list not displaying the correct version. 2013-06-11 08:56:31 +01:00
André Cruz
6d3b3e6de2 Add cache clean and list commands.
This was an huge commit.
- Allow nested commands
- Switch resolve cache in memory object cache to LRU
- Store non-semver packages in the cache
- Tweak help messages
- Various fixes and tweaks
2013-06-11 00:39:18 +01:00
André Cruz
10fd2b5b5a Tweak messages. 2013-06-07 18:13:56 +01:00
André Cruz
d020acca22 Fix detection of unsuitable resolutions. 2013-06-07 13:37:04 +01:00
André Cruz
e704733743 Read, use and update persistent resolutions.
Add --save-resolutions to deal with this.
Also:
  - Adjust logging when using compact
  - Minor code adjustments.
2013-06-07 13:05:07 +01:00
André Cruz
79522194f1 Inform the user when a conflict was resolved with a configured resolution. 2013-06-06 01:05:55 +01:00
André Cruz
aadc9e64d8 Update doc and add TODO. 2013-06-06 00:27:03 +01:00
André Cruz
2eea258b9b Save and use resolutions to resolve conflicts. 2013-06-06 00:12:07 +01:00
André Cruz
796e019f12 Safe default. 2013-06-06 00:10:45 +01:00