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:
authorisaacs <i@izs.me>2010-03-05 15:09:03 +0300
committerisaacs <i@izs.me>2010-03-05 15:09:03 +0300
commit1f903a90fd73f1286792effa3b108ad752bf4dea (patch)
tree706f3164862022464d760d0aa8b9302b8edf3402 /README.md
parent497a7ed01c70e3aaf8e504583b9e836817fedf70 (diff)
add todo's for uninstall stuff
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d9c07715f..dbfc95019 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,7 @@ Here's what I mean by "core functionality":
12. Be much smarter about cli arguments.
13. Help topics.
14. Install a "link" to a dev directory, so that it links it in rather than doing the moveIntoPlace step.
+15. Detect when a package has only been installed as a dependency, and be able to remove it when nothing else depends on it.
## Principles
@@ -242,6 +243,7 @@ All the "core functionality" stuff above. Most immediately:
* Safely uninstall packages, failing if anything depends on it.
* Install packages from the registry. Implement a "fetch" command that writes to `.npm/{pkg}/{version}/package.json`.
* Install missing dependencies. For each one, fetch it, then figure out what it needs, then fetch that if we don't already have it, etc. Put off the resolveDependencies step until everything on the list has been installed, then go back and do the dependency linking.
+* Uninstall dependent packages.
Some "nice to have" things that aren't quite core: