Commit Graph

125 Commits

Author SHA1 Message Date
André Cruz
33d0f1fd94 Fix bug introduced when name is coerced to the registry name. 2013-07-10 20:11:19 +01:00
André Cruz
bb4f09316a Oops, typos related with fix for #605. 2013-07-10 20:09:57 +01:00
André Cruz
6da9a1285c CS. 2013-07-10 19:52:29 +01:00
André Cruz
3b90e24ff8 Copy/remove when rename fails do because of EXDEV, fixes #605. 2013-07-10 19:51:54 +01:00
André Cruz
19cd6a1bdf Only use GitHub resolver for public endpoints, fixes #603. 2013-07-10 07:21:56 +01:00
André Cruz
47a1cce5fa Fix GitHub resolver not trimming .git in the repo name. 2013-07-09 20:42:52 +01:00
André Cruz
597100d108 Remove unnecessary stuff. 2013-07-09 13:13:43 +01:00
André Cruz
418f97dbba Minor tweaks to the resolver factory. 2013-07-09 13:13:22 +01:00
André Cruz
34a2f1ad65 Add insightful message after registering. 2013-07-07 17:43:16 +01:00
André Cruz
bfe8323753 Add small note. 2013-07-07 11:33:43 +01:00
André Cruz
f2b86ad3ed Add specialised GitHub resolver, closes #597. 2013-07-07 10:22:58 +01:00
André Cruz
4d8dbefc85 Use the new bower-config module. 2013-07-06 22:46:28 +01:00
André Cruz
9517191e35 Improve clear of runtime cache. 2013-07-06 14:56:13 +01:00
André Cruz
e51827bfcd Add ability to clear runtime cache for long-lived programs to call. 2013-07-06 13:56:54 +01:00
André Cruz
c6746f6f77 Minor fix to a previous commit. 2013-07-06 12:59:34 +01:00
André Cruz
915c8d7afa Detect old versions of git that do not support --b tag when cloning. 2013-07-06 11:59:00 +01:00
André Cruz
a7b2fe14b9 Fix some minor issues with * endpoints and prevent some semver errors due to module upgrade. 2013-07-06 10:29:50 +01:00
André Cruz
9b57d18143 Small improv. 2013-07-05 08:19:05 +01:00
André Cruz
9f0ac51e06 Use a more tolerant regexp when splitting lines. 2013-07-05 08:18:38 +01:00
André Cruz
011a19772d Fix really weird bug that caused local packages to be installed. 2013-07-05 01:46:52 +01:00
André Cruz
d8cef76592 Added prune command, closes #463. 2013-07-05 01:20:28 +01:00
André Cruz
ca76d41f9a Report progress for remote git resolvers that take too long to clone. 2013-07-04 23:58:35 +01:00
André Cruz
f7ba6e1121 Minor improvement to the elect suitable. 2013-07-04 23:27:10 +01:00
André Cruz
df19dbc0de Minor bug. 2013-07-04 23:16:39 +01:00
André Cruz
ce06b2cb18 Fix accessing prop if undefined. 2013-07-03 16:25:04 +01:00
André Cruz
7becb19da4 Implement check of newer versions in the list command.
Also:
- Fix some errors not being emitted when a command failed.
- Update semver module; no need to check .valid against null.
2013-07-03 14:37:28 +01:00
André Cruz
deee654426 Forgot to inherit static methods. 2013-07-03 14:31:41 +01:00
André Cruz
552fd52bd5 Fix parallel usage of .versions in the git resolver. 2013-07-03 14:31:15 +01:00
André Cruz
fe1a635c14 Switch to graceful-fs. 2013-07-01 20:31:28 +01:00
André Cruz
8798f467e1 Fix incompatibles filtering. 2013-06-28 23:04:50 +01:00
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
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
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
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
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
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
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