Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/npm.md12
-rw-r--r--man/npm.118
2 files changed, 12 insertions, 18 deletions
diff --git a/doc/npm.md b/doc/npm.md
index 426edb4a8..6a8f295e8 100644
--- a/doc/npm.md
+++ b/doc/npm.md
@@ -64,17 +64,13 @@ i@izs.me.
## Todo
-* Uninstall dependent packages.
* Update dependencies when a new satisfying version is installed.
-* A few of the commands are still a bit user-hostile, and crash in
- strange or un-helpful ways when they are not given the data they expect.
- Make them not do that.
-* Some sugar to make it simpler to tie a git repo to a published package, and then
- automatically update the registry whenever a specific branch (or semver-looking
- tag) is pushed.
* Clean up after botched builds. Rather than removing stuff, move it aside, and
only remove it when the process succeeds. If it fails, then roll it all back
to the way it was beforehand.
+* Some sugar to make it simpler to tie a git repo to a published package, and then
+ automatically update the registry whenever a specific branch (or semver-looking
+ tag) is pushed.
* Show what can be installed by looking at the registry.
* Use path.relative so that the whole root can be picked up and moved easily.
* Change the registry so that it keeps the tarball as a couchdb attachment.
@@ -86,6 +82,8 @@ i@izs.me.
* Use buffers to download tarballs, instead of the "binary" encoding.
* When the tarball is downloaded, save it to .tmp/name/ver/package.tgz,
instead of some random garbage filename.
+* Cache JSON files locally to .tmp/name/ver/package.json, even if the
+ package isn't installed. This would cut down on calls to the registry.
## Version History
diff --git a/man/npm.1 b/man/npm.1
index e92ea9559..0d69bed03 100644
--- a/man/npm.1
+++ b/man/npm.1
@@ -81,15 +81,12 @@ i@izs.me.
.SH "Todo"
.
.IP "\(bu" 4
-Uninstall dependent packages.
-.
-.IP "\(bu" 4
Update dependencies when a new satisfying version is installed.
.
.IP "\(bu" 4
-A few of the commands are still a bit user\-hostile, and crash in
-strange or un\-helpful ways when they are not given the data they expect.
-Make them not do that.
+Clean up after botched builds. Rather than removing stuff, move it aside, and
+only remove it when the process succeeds. If it fails, then roll it all back
+to the way it was beforehand.
.
.IP "\(bu" 4
Some sugar to make it simpler to tie a git repo to a published package, and then
@@ -97,11 +94,6 @@ automatically update the registry whenever a specific branch (or semver\-looking
tag) is pushed.
.
.IP "\(bu" 4
-Clean up after botched builds. Rather than removing stuff, move it aside, and
-only remove it when the process succeeds. If it fails, then roll it all back
-to the way it was beforehand.
-.
-.IP "\(bu" 4
Show what can be installed by looking at the registry.
.
.IP "\(bu" 4
@@ -130,6 +122,10 @@ Use buffers to download tarballs, instead of the "binary" encoding.
When the tarball is downloaded, save it to .tmp/name/ver/package.tgz,
instead of some random garbage filename.
.
+.IP "\(bu" 4
+Cache JSON files locally to .tmp/name/ver/package.json, even if the
+package isn't installed. This would cut down on calls to the registry.
+.
.IP "" 0
.
.SH "Version History"