diff options
author | isaacs <i@izs.me> | 2010-05-05 20:18:36 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-05 20:18:36 +0400 |
commit | 8688302cbfe839c8126f9903d9212ea56b298020 (patch) | |
tree | f435073174b7d32ded46678b37177283e4412207 | |
parent | 2db5917cb106148c52c81bb4289df195f609800f (diff) |
Make the last todo list item more specific
-rw-r--r-- | doc/npm.md | 12 | ||||
-rw-r--r-- | man/npm.1 | 18 |
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 @@ -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" |