Commit Graph

42 Commits

Author SHA1 Message Date
Adam Stankiewicz
b1c45bb586 Resolve pluggable resolvers using cwd and fallback to global module 2016-04-01 14:57:36 +02:00
Adam Stankiewicz
f4cb047e9d Allow to install custom resolver globally, fixes #1919 2016-04-01 03:22:42 +02:00
Adam Stankiewicz
53eeca97d3 Use eslint instead jscs 2016-03-31 00:27:17 +02:00
Adam Stankiewicz
2052ba3eed Remove jshint 2016-03-30 22:12:24 +02:00
Adam Stankiewicz
ad27112b58 Do not assume package.json location 2016-01-25 19:40:54 +01:00
Roger Rodriguez Texido
6c3b7dbf58 Fixed typo. 2015-12-14 17:12:30 -05:00
AnthonyBobsin
19fc84007d Implements jscs to enforce a newly created style guide for the repo. Uses jscs to fix some minor style guide warnings. 2015-11-29 16:22:58 -05:00
Adam Stankiewicz
df8e5a16be Fix readdir call on Windows
Sometimes it return ENOENT instead of ENODIR for normal files.

This broke code paths in few places. Also, see:
https://github.com/isaacs/chmodr/pull/8
2015-10-14 16:09:38 +02:00
Peng Wang
889b54f309 allow --config.resolvers={required package} 2015-09-17 16:25:05 -05:00
Adam Stankiewicz
a4a05a5413 Make custom resolvers implementation pass through linter 2015-08-23 14:20:09 +02:00
Adam Stankiewicz
821979bab1 Rename options to bower and add "version" to resolvers options 2015-08-23 14:16:23 +02:00
Adam Stankiewicz
69be742619 Improve API for pluggable resolvers 2015-08-23 13:44:00 +02:00
Adam Stankiewicz
4fc2b5cf76 Add tests and improve resolver interface 2015-08-04 06:21:06 +02:00
Adam Stankiewicz
ada6fc18d9 Implement initial version of pluggable resolvers 2015-07-09 18:30:26 +03:00
Kenneth Lee
53f563ec08 added svn+file for local file system checkouts 2014-01-16 20:07:04 +00:00
Kenneth Lee
820834111b fixed svn+xxxxx protocol 2014-01-16 19:35:52 +00:00
Ahmad Nassri
6eb8bb6241 fully functional
now to prove it with some proper tests
2014-01-15 22:37:47 -05:00
Ahmad Nassri
10d2d566a3 WIP working off trunk and maybe tags, not fully tested, not fully ready for PR 2014-01-15 17:46:43 -05:00
André Cruz
60c522a696 Fix absolute paths ending with / not going through the FsResolver, fixes #898. 2013-10-04 12:38:08 +01:00
André Cruz
337c0f2d0a Refactor GitHub url matching to a static function on the GitHubResolver. 2013-08-11 20:53:28 +01:00
André Cruz
ee2640bc43 Close GH-747: Do not use --depth=1 if the server does not support it, fixes #744. 2013-08-10 15:43:54 +01:00
Keith Gibbs
9cc4860050 Close GH-739: Improve GitHub detection in resolverFactory.js. 2013-08-07 08:57:44 +01:00
André Cruz
1210ea821a Close GH-669: Interpret as local files only if the path is absolute or relative, closes #666. 2013-07-29 21:44:04 +01:00
André Cruz
3b376a3d3d Move homepage guess logic to the appropriate resolver. 2013-07-22 13:57:39 +01:00
André Cruz
2e2263ed58 CS. 2013-07-13 21:42:00 +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
418f97dbba Minor tweaks to the resolver factory. 2013-07-09 13:13:22 +01:00
André Cruz
f2b86ad3ed Add specialised GitHub resolver, closes #597. 2013-07-07 10:22:58 +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
fe1a635c14 Switch to graceful-fs. 2013-07-01 20:31:28 +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
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
afd01cc40c Change from promise progress events to hierarchical logger.
This is an huge commit, contains other small tweaks/fixes.
2013-06-03 16:31:19 +01:00
André Cruz
3cf56ff7d5 Change registryName to registry. 2013-05-29 11:44:36 +01:00
André Cruz
454436905c Huge commit.
- Changed way renderers work
- Move worker to a separate module
- Improve loglevel
- Minor tweaks
- Fix tests
2013-05-27 22:59:13 +01:00
André Cruz
005b3356f2 Several things changed.
- Make force and offline part of config, clearing all the options mess in the architecture
- Fix some bugs with the renderer
- Parse cli options
2013-05-26 13:47:13 +01:00
André Cruz
f7c3b7c664 Indexed resolvers. 2013-05-24 23:20:54 +01:00
André Cruz
cfb3d14028 Initial take on the commands + renderers + cli. 2013-05-23 19:55:59 +01:00
André Cruz
9f6bf62efc Some other tweaks to the API. 2013-05-22 22:58:04 +01:00
André Cruz
7b0b53a96d Some real minor tweaks. 2013-05-22 15:03:15 +01:00
André Cruz
e09a3b8cbf Huge commit, implement rough working version of the whole resolve process. 2013-05-13 11:09:04 +01:00