Commit Graph

30 Commits

Author SHA1 Message Date
Forrest L Norvell
48d1d82f4d removed redundant dependency 2014-06-13 12:44:43 -07:00
isaacs
1d29b17f51 read-installed@2.0.0 2014-03-15 22:18:10 -07:00
isaacs
bb6fb4d158 read-installed@1.0.0 2014-02-14 17:33:03 -08:00
ForbesLindesay
aacff496ea Remove some unused completions 2013-05-10 15:57:29 -07:00
isaacs
aaf7e0565f Remove find.js, use glob instead 2012-06-11 20:31:31 -07:00
isaacs
cbf5f60218 Use read-installed dependency 2012-06-11 16:37:27 -07:00
isaacs
99110432e5 Use read-package-json dep 2012-06-11 12:06:56 -07:00
isaacs
82fd860e65 Use npm-registry-client dep 2012-06-06 22:36:58 -07:00
isaacs
2568e40a39 Replace the log util with npmlog module
This feels so good.  lib/utils/log.js is the worst kind of
glue code that keeps the npm project from being properly
abstracted into independent pieces.

In the process, also cleaned up a lot of unproductive logging,
and made the npm-debug.log generated on errors be a bit more
easy to read.
2012-06-06 14:56:35 -07:00
isaacs
37c8f97f58 Update to use mkdirp and chownr modules 2012-03-28 18:22:24 -07:00
isaacs
2e45745967 Close #1582 Make prefixes better on windows
1. Make prefixes and paths more windows-like on windows.
2. Abstract out all path-munging behavior to lib/npm.js where it belongs.
2011-10-21 18:34:22 -07:00
isaacs
4eb8f6b7bf Avoid accidentally opening npm.js with WSH 2011-10-14 14:06:12 -07:00
isaacs
645cef3e77 Put .js on filenames 2011-08-06 13:51:59 -07:00
isaacs
157fbb1030 Use asyncMap from slide module 2011-07-20 02:48:53 -07:00
isaacs
98b6a1070a Abstract out graceful-fs 2011-07-20 01:58:33 -07:00
isaacs
f33fb1b4ee There are cases where the files list is empty, but yet not an error 2011-03-24 18:27:32 -07:00
isaacs
6d7c5d7b47 Don't put node_modules directly in prefix. put it in prefix/lib 2011-03-21 18:03:40 -07:00
isaacs
4933a48c2f move filename completion into a shared util 2011-03-21 15:56:15 -07:00
isaacs
e9472403fa move these into separate utils 2011-03-21 15:56:13 -07:00
isaacs
94aeffe25a no longer relevant 2011-03-21 15:56:12 -07:00
isaacs
e4d3512029 move installed-packages to installed-shallow 2011-03-21 15:56:12 -07:00
isaacs
a139dcf585 rename registry to 'npm-registry-client'
This is the first step to removing it from npm-core and using it as a
submodule.  However, before that, I need to figure out how to be able to
split out configuration and logging in such a way that the registry can
access them somehow.
2011-03-21 15:56:06 -07:00
isaacs
c79cd25ef4 Don't fetch remote packages when they have a / in the name. 2011-01-06 16:32:41 -08:00
isaacs
c85de37ec8 Complete usernames for npm owner add/rm 2010-12-03 15:08:45 -08:00
isaacs
ba10afd2ee Return the match, not the request.
While looking for the moon,
I saw only Chuang Tzu's finger.
2010-12-03 13:20:36 -08:00
Evan Meagher
b1ba186e67 Fix bug where list of remote pkg <name>@<version> pairs aren't filtered properly. 2010-12-02 14:33:20 -08:00
isaacs
6293056a00 Change @-sign behavior
Default to putting it there once the package namae is unique among
names, but leave it off when it's not, so that it's not so noisy.
2010-12-02 14:33:20 -08:00
isaacs
4efd53eb73 Handle the undefined .indexOf issue 2010-12-02 14:33:19 -08:00
isaacs
b4f929af3d Allow a reasonable amount of cache staleness.
Add an argument to registry.get specifying a number of seconds of
staleness which is allowed in the .cache.json file before it is
re-fetched.  If the stat shows that the file hasn't changed in that much
time, then don't even bother trying to make a request, just use the data
in that file, and supply a mock response object with a 304 code.
2010-12-02 14:33:18 -08:00
Evan Meagher
c182cff972 Add new utils used by completion. 2010-12-02 14:33:18 -08:00