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:
authorTimo Derstappen <teemow@gmail.com>2010-09-30 11:05:07 +0400
committerisaacs <i@izs.me>2010-10-02 10:51:39 +0400
commit0a96d1f9653f11e94475f70d3a745d8331f0ae72 (patch)
treefd1018646f44205a240c00a8496e721d0918871d /doc/bundle.md
parent5b55874179899c9370de37770df77fefa2d72061 (diff)
replaced cache.add with readJson in bundle module where possible.
bundle now does handle names, urls and tars via cache.add. if the package is a directory only the package.json is read. this makes bundling faster and fixes a bug with cache.add where the bundling cache was added recursively. * also fixed a bug with package names eg vows@0.5.1 * bundle does not support version ranges eg sax@">=0.1.0 <0.2.0" * now throws an error if bundling packages without dependencies
Diffstat (limited to 'doc/bundle.md')
-rw-r--r--doc/bundle.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bundle.md b/doc/bundle.md
index b630c1d65..26a076847 100644
--- a/doc/bundle.md
+++ b/doc/bundle.md
@@ -17,6 +17,10 @@ http://github.com/isaacs/npm/issues/issue/74
The package whose dependencies are to be bundled. Defaults to $PWD.
See `npm help install` for more on the ways to identify a package.
+Bundle does *not* support version ranges like
+
+ npm bundle deps sax@">=0.1.0 <0.2.0"
+
## DESCRIPTION
Bundles all the dependencies of a package into a specific folder.
@@ -68,3 +72,4 @@ or run `npm bundle deps` on the target machine.
The `npm update` command will do *horrible* things to a bundle folder.
Don't ever point update at that root, or your bundles may no longer
satisfy your dependencies.
+