mirror of https://github.com/nodejs/node.git
npm 1.1.0-beta-2
This commit is contained in:
parent
f490934c33
commit
bb9316da28
|
@ -36,19 +36,25 @@
|
|||
url = https://github.com/mikeal/request.git
|
||||
[submodule "node_modules/tar"]
|
||||
path = node_modules/tar
|
||||
url = git://github.com/isaacs/node-tar.git
|
||||
url = https://github.com/isaacs/node-tar.git
|
||||
[submodule "node_modules/fstream"]
|
||||
path = node_modules/fstream
|
||||
url = git://github.com/isaacs/fstream.git
|
||||
url = https://github.com/isaacs/fstream.git
|
||||
[submodule "node_modules/inherits"]
|
||||
path = node_modules/inherits
|
||||
url = git://github.com/isaacs/inherits.git
|
||||
url = https://github.com/isaacs/inherits.git
|
||||
[submodule "node_modules/block-stream"]
|
||||
path = node_modules/block-stream
|
||||
url = git://github.com/isaacs/block-stream.git
|
||||
url = https://github.com/isaacs/block-stream.git
|
||||
[submodule "node_modules/mkdirp"]
|
||||
path = node_modules/mkdirp
|
||||
url = git://github.com/isaacs/node-mkdirp.git
|
||||
url = https://github.com/isaacs/node-mkdirp.git
|
||||
[submodule "node_modules/fast-list"]
|
||||
path = node_modules/fast-list
|
||||
url = git://github.com/isaacs/fast-list.git
|
||||
url = https://github.com/isaacs/fast-list.git
|
||||
[submodule "node_modules/read"]
|
||||
path = node_modules/read
|
||||
url = https://github.com/isaacs/read.git
|
||||
[submodule "node_modules/lru-cache"]
|
||||
path = node_modules/lru-cache
|
||||
url = https://github.com/isaacs/node-lru-cache.git
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
language: node_js
|
||||
before_install: "make &>out || cat out; rm out"
|
||||
node_js:
|
||||
- 0.6
|
|
@ -12,6 +12,9 @@ if (typeof WScript !== "undefined") {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
process.title = "npm"
|
||||
|
||||
var log = require("../lib/utils/log.js")
|
||||
log.waitForConfig()
|
||||
log.info("ok", "it worked if it ends with")
|
||||
|
|
|
@ -225,6 +225,14 @@ The location of npm's cache directory. See `npm-cache(1)`
|
|||
If false, never shows colors. If `"always"` then always shows colors.
|
||||
If true, then only prints color codes for tty file descriptors.
|
||||
|
||||
### coverage
|
||||
|
||||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
A flag to tell test-harness to run with their coverage options enabled,
|
||||
if they respond to the `npm_config_coverage` environment variable.
|
||||
|
||||
### depth
|
||||
|
||||
* Default: Infinity
|
||||
|
@ -379,13 +387,16 @@ The location to write log output.
|
|||
|
||||
### loglevel
|
||||
|
||||
* Default: "warn"
|
||||
* Default: "http"
|
||||
* Type: String
|
||||
* Values: "silent", "win", "error", "warn", "info", "verbose", "silly"
|
||||
* Values: "silent", "win", "error", "warn", "http", "info", "verbose", "silly"
|
||||
|
||||
What level of logs to report. On failure, *all* logs are written to
|
||||
`npm-debug.log` in the current working directory.
|
||||
|
||||
Any logs of a higher level than the setting are shown.
|
||||
The default is "http", which shows http, warn, and error output.
|
||||
|
||||
### logprefix
|
||||
|
||||
* Default: true on Posix, false on Windows
|
||||
|
@ -537,6 +548,16 @@ Space-separated options that are always passed to search.
|
|||
|
||||
Space-separated options that limit the results from search.
|
||||
|
||||
### searchsort
|
||||
|
||||
* Default: "name"
|
||||
* Type: String
|
||||
* Values: "name", "-name", "date", "-date", "description",
|
||||
"-description", "keywords", "-keywords"
|
||||
|
||||
Indication of which field to sort search results by. Prefix with a `-`
|
||||
character to indicate reverse sort.
|
||||
|
||||
### shell
|
||||
|
||||
* Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
|
||||
|
|
|
@ -150,8 +150,8 @@ You can give publish a url to a tarball, or a filename of a tarball,
|
|||
or a path to a folder.
|
||||
|
||||
Note that pretty much **everything in that folder will be exposed**
|
||||
by default. So, if you have secret stuff in there, use a `.npminclude`
|
||||
or `.npmignore` file to list out the globs to include/ignore, or publish
|
||||
by default. So, if you have secret stuff in there, use a
|
||||
`.npmignore` file to list out the globs to ignore, or publish
|
||||
from a fresh checkout.
|
||||
|
||||
## Brag about it
|
||||
|
|
|
@ -9,28 +9,9 @@ npm-search(1) -- Search for packages
|
|||
|
||||
Search the registry for packages matching the search terms.
|
||||
|
||||
## CONFIGURATION
|
||||
|
||||
### description
|
||||
|
||||
* Default: true
|
||||
* Type: Boolean
|
||||
|
||||
Show the description in `npm search`
|
||||
|
||||
### searchopts
|
||||
|
||||
* Default: ""
|
||||
* Type: String
|
||||
|
||||
Space-separated options that are always passed to search.
|
||||
|
||||
### searchexclude
|
||||
|
||||
* Default: ""
|
||||
* Type: String
|
||||
|
||||
Space-separated options that limit the results from search.
|
||||
If a term starts with `/`, then it's interpreted as a regular expression.
|
||||
A trailing `/` will be ignored in this case. (Note that many regular
|
||||
expression characters must be escaped or quoted in most shells.)
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<p>This function should not be used programmatically. Instead, just refer
|
||||
to the <code>npm.bin</code> member.</p>
|
||||
</div>
|
||||
<p id="footer">bin — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">bin — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ optional version number.</p>
|
|||
<p>This command will launch a browser, so this command may not be the most
|
||||
friendly for programmatic use.</p>
|
||||
</div>
|
||||
<p id="footer">bugs — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">bugs — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -28,7 +28,7 @@ usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
|||
|
||||
<ul><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">commands — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">commands — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ functions instead.</p>
|
|||
|
||||
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">config — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">config — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -30,7 +30,7 @@ install the package.</p></li></ul>
|
|||
|
||||
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../api/unpublish.html">unpublish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">deprecate — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">deprecate — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ optional version number.</p>
|
|||
<p>This command will launch a browser, so this command may not be the most
|
||||
friendly for programmatic use.</p>
|
||||
</div>
|
||||
<p id="footer">docs — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">docs — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -30,7 +30,7 @@ to open. The package can optionally have a version number attached.</p>
|
|||
<p>Since this command opens an editor in a new process, be careful about where
|
||||
and how this is used.</p>
|
||||
</div>
|
||||
<p id="footer">edit — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">edit — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ sure to use <code>npm rebuild <pkg></code> if you make any changes.</p>
|
|||
|
||||
<p>The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
|
||||
</div>
|
||||
<p id="footer">explore — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">explore — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ Name of the file that matched</li></ul>
|
|||
|
||||
<p>The silent parameter is not neccessary not used, but it may in the future.</p>
|
||||
</div>
|
||||
<p id="footer">help-search — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">help-search — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
|
|||
|
||||
<p><a href="../doc/json.html">json(1)</a></p>
|
||||
</div>
|
||||
<p id="footer">init — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">init — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ the name of a package to be installed.</p>
|
|||
<p>Finally, 'callback' is a function that will be called when all packages have been
|
||||
installed or when an error has been encountered.</p>
|
||||
</div>
|
||||
<p id="footer">install — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">install — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -39,7 +39,7 @@ npm.commands.link('redis', cb) # link-install the package</code></pre>
|
|||
<p>Now, any changes to the redis package will be reflected in
|
||||
the package in the current working directory</p>
|
||||
</div>
|
||||
<p id="footer">link — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">link — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ config object.</p>
|
|||
|
||||
<p>For a list of all the available command-line configs, see <code>npm help config</code></p>
|
||||
</div>
|
||||
<p id="footer">load — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">load — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -53,7 +53,7 @@ project.</p>
|
|||
This means that if a submodule a same dependency as a parent module, then the
|
||||
dependency will only be output once.</p>
|
||||
</div>
|
||||
<p id="footer">ls — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">ls — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
|
|||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.0-alpha-6</p>
|
||||
<p>1.1.0-beta-2</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
|
@ -91,7 +91,7 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
|
|||
|
||||
<pre><code>var cmd = npm.deref("unp") // cmd === "unpublish"</code></pre>
|
||||
</div>
|
||||
<p id="footer">npm — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">npm — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -19,7 +19,7 @@ currently outdated.</p>
|
|||
|
||||
<p>If the 'packages' parameter is left out, npm will check all packages.</p>
|
||||
</div>
|
||||
<p id="footer">outdated — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">outdated — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
|||
|
||||
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">owner — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">owner — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ overwritten the second time.</p>
|
|||
|
||||
<p>If no arguments are supplied, then npm packs the current package folder.</p>
|
||||
</div>
|
||||
<p id="footer">pack — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">pack — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">prefix — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">prefix — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<p>Extraneous packages are packages that are not listed on the parent
|
||||
package's dependencies list.</p>
|
||||
</div>
|
||||
<p id="footer">prune — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">prune — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ the registry. Overwrites when the "force" environment variable is set.</p>
|
|||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../api/owner.html">owner(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">publish — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">publish — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ the new binary. If no 'packages' parameter is specify, every package will be reb
|
|||
|
||||
<p>See <code>npm help build</code></p>
|
||||
</div>
|
||||
<p id="footer">rebuild — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">rebuild — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -27,7 +27,7 @@ in the <code>packages</code> parameter.</p>
|
|||
|
||||
<ul><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">restart — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">restart — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically.</p>
|
||||
</div>
|
||||
<p id="footer">root — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">root — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ assumed to be the command to run. All other elements are ignored.</p>
|
|||
|
||||
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../api/test.html">test(3)</a></li><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/restart.html">restart(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">run-script — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">run-script — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ excluded term (the "searchexclude" config). The search is case insensitive
|
|||
and doesn't try to read your mind (it doesn't do any verb tense matching or the
|
||||
like).</p>
|
||||
</div>
|
||||
<p id="footer">search — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">search — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">start — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">start — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<p>npm can run stop on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">stop — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">stop — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
|
|||
|
||||
<ul><li>npm help json</li><li>git help submodule</li></ul>
|
||||
</div>
|
||||
<p id="footer">submodule — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">submodule — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ parameter is missing or falsey (empty), the default froom the config will be
|
|||
used. For more information about how to set this config, check
|
||||
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
|
||||
</div>
|
||||
<p id="footer">tag — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">tag — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ true.</p>
|
|||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">test — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">test — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ the name of a package to be uninstalled.</p>
|
|||
<p>Finally, 'callback' is a function that will be called when all packages have been
|
||||
uninstalled or when an error has been encountered.</p>
|
||||
</div>
|
||||
<p id="footer">uninstall — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">uninstall — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ is what is meant.</p>
|
|||
<p>If no version is specified, or if all versions are removed then
|
||||
the root package entry is removed from the registry entirely.</p>
|
||||
</div>
|
||||
<p id="footer">unpublish — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">unpublish — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<p>The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.</p>
|
||||
</div>
|
||||
<p id="footer">update — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">update — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ fail if the repo is not clean.</p>
|
|||
parameter. The difference, however, is this function will fail if it does
|
||||
not have exactly one element. The only element should be a version number.</p>
|
||||
</div>
|
||||
<p id="footer">version — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">version — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -99,7 +99,7 @@ the field name.</p>
|
|||
|
||||
<p>corresponding to the list of fields selected.</p>
|
||||
</div>
|
||||
<p id="footer">view — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">view — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">whoami — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">whoami — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -267,7 +267,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -39,7 +39,7 @@ authorize on a new machine.</p>
|
|||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">adduser — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">adduser — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bin — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">bin — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -36,7 +36,7 @@ config param.</p>
|
|||
|
||||
<ul><li><a href="../doc/docs.html">docs(1)</a></li><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bugs — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">bugs — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
|
|||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">build — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">build — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@ install packages into the local space.</p>
|
|||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bundle — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">bundle — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -66,7 +66,7 @@ they do not make an HTTP request to the registry.</p>
|
|||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">cache — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">cache — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">changelog — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">changelog — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -191,7 +191,7 @@ set to anything."</p>
|
|||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">coding-style — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">coding-style — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ completions based on the arguments.</p>
|
|||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">completion — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">completion — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -207,6 +207,13 @@ to trust only that specific signing authority.</p>
|
|||
<p>If false, never shows colors. If <code>"always"</code> then always shows colors.
|
||||
If true, then only prints color codes for tty file descriptors.</p>
|
||||
|
||||
<h3 id="coverage">coverage</h3>
|
||||
|
||||
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
|
||||
|
||||
<p>A flag to tell test-harness to run with their coverage options enabled,
|
||||
if they respond to the <code>npm_config_coverage</code> environment variable.</p>
|
||||
|
||||
<h3 id="depth">depth</h3>
|
||||
|
||||
<ul><li>Default: Infinity</li><li>Type: Number</li></ul>
|
||||
|
@ -338,11 +345,14 @@ being installed locally.</li></ul>
|
|||
|
||||
<h3 id="loglevel">loglevel</h3>
|
||||
|
||||
<ul><li>Default: "warn"</li><li>Type: String</li><li>Values: "silent", "win", "error", "warn", "info", "verbose", "silly"</li></ul>
|
||||
<ul><li>Default: "http"</li><li>Type: String</li><li>Values: "silent", "win", "error", "warn", "http", "info", "verbose", "silly"</li></ul>
|
||||
|
||||
<p>What level of logs to report. On failure, <em>all</em> logs are written to
|
||||
<code>npm-debug.log</code> in the current working directory.</p>
|
||||
|
||||
<p>Any logs of a higher level than the setting are shown.
|
||||
The default is "http", which shows http, warn, and error output.</p>
|
||||
|
||||
<h3 id="logprefix">logprefix</h3>
|
||||
|
||||
<ul><li>Default: true on Posix, false on Windows</li><li>Type: Boolean</li></ul>
|
||||
|
@ -474,6 +484,14 @@ this as true.</p>
|
|||
|
||||
<p>Space-separated options that limit the results from search.</p>
|
||||
|
||||
<h3 id="searchsort">searchsort</h3>
|
||||
|
||||
<ul><li>Default: "name"</li><li>Type: String</li><li>Values: "name", "-name", "date", "-date", "description",
|
||||
"-description", "keywords", "-keywords"</li></ul>
|
||||
|
||||
<p>Indication of which field to sort search results by. Prefix with a <code>-</code>
|
||||
character to indicate reverse sort.</p>
|
||||
|
||||
<h3 id="shell">shell</h3>
|
||||
|
||||
<ul><li>Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
|
||||
|
@ -597,7 +615,7 @@ then answer "no" to any prompt.</p>
|
|||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">config — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">config — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ something like this:</p>
|
|||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">deprecate — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">deprecate — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -136,8 +136,8 @@ bring in your module's main module.</p>
|
|||
or a path to a folder.</p>
|
||||
|
||||
<p>Note that pretty much <strong>everything in that folder will be exposed</strong>
|
||||
by default. So, if you have secret stuff in there, use a <code>.npminclude</code>
|
||||
or <code>.npmignore</code> file to list out the globs to include/ignore, or publish
|
||||
by default. So, if you have secret stuff in there, use a
|
||||
<code>.npmignore</code> file to list out the globs to ignore, or publish
|
||||
from a fresh checkout.</p>
|
||||
|
||||
<h2 id="Brag-about-it">Brag about it</h2>
|
||||
|
@ -150,7 +150,7 @@ from a fresh checkout.</p>
|
|||
|
||||
<ul><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">developers — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">developers — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -37,7 +37,7 @@ config param.</p>
|
|||
|
||||
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">docs — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">docs — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -37,7 +37,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
|
|||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/explore.html">explore(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">edit — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">edit — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -40,7 +40,7 @@ Windows</li><li>Type: path</li></ul>
|
|||
|
||||
<ul><li><a href="../doc/submodule.html">submodule(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/edit.html">edit(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">explore — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">explore — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -215,7 +215,7 @@ We'll have someone kick it or something.</p>
|
|||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">faq — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">faq — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -205,7 +205,7 @@ cannot be found elsewhere. See <code><a href="../doc/json.html">json(1)</a></co
|
|||
|
||||
<ul><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">folders — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">folders — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -38,7 +38,7 @@ where the terms were found in the documentation.</p>
|
|||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">help-search — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">help-search — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -36,7 +36,7 @@ matches are equivalent to specifying a topic name.</p>
|
|||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/help-search.html">help-search(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">help — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">help — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -372,7 +372,7 @@
|
|||
|
||||
<p> Display npm username</p>
|
||||
</div>
|
||||
<p id="footer">index — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">index — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ without a really good reason to do so.</p>
|
|||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">init — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">init — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -134,7 +134,7 @@ affects a real use-case, it will be investigated.</p>
|
|||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">install — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">install — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -436,7 +436,7 @@ overridden.</p>
|
|||
|
||||
<ul><li><a href="../doc/semver.html">semver(1)</a></li><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/version.html">version(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">json — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">json — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -58,7 +58,7 @@ installation target into your project's <code>node_modules</code> folder.</p>
|
|||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">link — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">link — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -52,7 +52,7 @@ project.</p>
|
|||
|
||||
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/prune.html">prune(1)</a></li><li><a href="../doc/outdated.html">outdated(1)</a></li><li><a href="../doc/update.html">update(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">list — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">list — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.0-alpha-6</p>
|
||||
<p>1.1.0-beta-2</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
|
@ -135,7 +135,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
|
||||
<ul><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/index.html">index(1)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">npm — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@ packages are currently outdated.</p>
|
|||
|
||||
<ul><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">outdated — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">outdated — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
|||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">owner — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">owner — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ overwritten the second time.</p>
|
|||
|
||||
<ul><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">pack — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">pack — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">prefix — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">prefix — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ package's dependencies list.</p>
|
|||
|
||||
<ul><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">prune — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">prune — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ the registry. Overwrites when the "--force" flag is set.</p>
|
|||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">publish — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">publish — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ the new binary.</p>
|
|||
|
||||
<ul><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">rebuild — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">rebuild — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -97,7 +97,7 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com
|
|||
|
||||
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">registry — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">registry — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -58,7 +58,7 @@ modules. To track those down, you can do the following:</p>
|
|||
|
||||
<ul><li><a href="../doc/README.html">README</a></li><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/prune.html">prune(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">removing-npm — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">removing-npm — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ the "start" script.</p>
|
|||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">restart — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">restart — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">root — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">root — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -23,7 +23,7 @@ called directly, as well.</p>
|
|||
|
||||
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">run-script — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">run-script — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -164,7 +164,7 @@ will sudo the npm command in question.</li></ul>
|
|||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">scripts — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">scripts — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -16,31 +16,15 @@
|
|||
|
||||
<p>Search the registry for packages matching the search terms.</p>
|
||||
|
||||
<h2 id="CONFIGURATION">CONFIGURATION</h2>
|
||||
|
||||
<h3 id="description">description</h3>
|
||||
|
||||
<ul><li>Default: true</li><li>Type: Boolean</li></ul>
|
||||
|
||||
<p>Show the description in <code>npm search</code></p>
|
||||
|
||||
<h3 id="searchopts">searchopts</h3>
|
||||
|
||||
<ul><li>Default: ""</li><li>Type: String</li></ul>
|
||||
|
||||
<p>Space-separated options that are always passed to search.</p>
|
||||
|
||||
<h3 id="searchexclude">searchexclude</h3>
|
||||
|
||||
<ul><li>Default: ""</li><li>Type: String</li></ul>
|
||||
|
||||
<p>Space-separated options that limit the results from search.</p>
|
||||
<p>If a term starts with <code>/</code>, then it's interpreted as a regular expression.
|
||||
A trailing <code>/</code> will be ignored in this case. (Note that many regular
|
||||
expression characters must be escaped or quoted in most shells.)</p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/view.html">view(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">search — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">search — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -104,7 +104,7 @@ that satisfies the range, or null if none of them do.</li></ul>
|
|||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">semver — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">semver — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ a vaguely positive way to show that you care.</p>
|
|||
|
||||
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">star — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">star — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">start — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">start — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">stop — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">stop — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
|
|||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li><li>git help submodule</li></ul>
|
||||
</div>
|
||||
<p id="footer">submodule — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">submodule — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">tag — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">tag — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -23,7 +23,7 @@ true.</p>
|
|||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">test — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">test — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ on its behalf.</p>
|
|||
|
||||
<ul><li><a href="../doc/prune.html">prune(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">uninstall — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">uninstall — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ the root package entry is removed from the registry entirely.</p>
|
|||
|
||||
<ul><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">unpublish — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">unpublish — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/outdated.html">outdated(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">update — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">update — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -31,7 +31,7 @@ will use it as a commit message when creating a version commit.</p>
|
|||
|
||||
<ul><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/semver.html">semver(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">version — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">version — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -88,7 +88,7 @@ the field name.</p>
|
|||
|
||||
<ul><li><a href="../doc/search.html">search(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/docs.html">docs(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">view — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">view — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">whoami — npm@1.1.0-alpha-6</p>
|
||||
<p id="footer">whoami — npm@1.1.0-beta-2</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -5,7 +5,7 @@ var registry = require("./utils/npm-registry-client/index.js")
|
|||
, ini = require("./utils/ini.js")
|
||||
, log = require("./utils/log.js")
|
||||
, npm = require("./npm.js")
|
||||
, prompt = require("./utils/prompt.js")
|
||||
, read = require("read")
|
||||
, promiseChain = require("./utils/promise-chain.js")
|
||||
, crypto
|
||||
|
||||
|
@ -26,15 +26,15 @@ function adduser (args, cb) {
|
|||
, changed = false
|
||||
|
||||
promiseChain(cb)
|
||||
(prompt, ["Username: ", u.u], function (un) {
|
||||
(read, [{prompt: "Username: ", default: u.u}], function (un) {
|
||||
changed = u.u !== un
|
||||
u.u = un
|
||||
})
|
||||
(function (cb) {
|
||||
if (u.p && !changed) return cb(null, u.p)
|
||||
prompt("Password: ", u.p, true, cb)
|
||||
read({prompt: "Password: ", default: u.p, silent: true}, cb)
|
||||
}, [], function (pw) { u.p = pw })
|
||||
(prompt, ["Email: ", u.e], function (em) { u.e = em })
|
||||
(read, [{prompt: "Email: ", default: u.e}], function (em) { u.e = em })
|
||||
(function (cb) {
|
||||
if (changed) npm.config.del("_auth")
|
||||
registry.adduser(u.u, u.p, u.e, function (er) {
|
||||
|
|
|
@ -23,8 +23,8 @@ function bugs (args, cb) {
|
|||
var bugs = d.bugs
|
||||
, repo = d.repository || d.repositories
|
||||
if (bugs) {
|
||||
if (typeof bugs === "string") return open(bugs, cb)
|
||||
if (bugs.url) return open(bugs.url, cb)
|
||||
if (typeof bugs === "string") return open(bugs, cb)
|
||||
if (bugs.url) return open(bugs.url, cb)
|
||||
}
|
||||
if (repo) {
|
||||
if (Array.isArray(repo)) repo = repo.shift()
|
||||
|
|
|
@ -105,9 +105,7 @@ function read (name, ver, forceBypass, cb) {
|
|||
return cb(er, data)
|
||||
}
|
||||
|
||||
if (forceBypass
|
||||
&& (npm.config.get("force")
|
||||
|| process.platform === "cygwin")) {
|
||||
if (forceBypass && npm.config.get("force")) {
|
||||
log.verbose(true, "force found, skipping cache")
|
||||
return addNamed(name, ver, c)
|
||||
}
|
||||
|
@ -335,7 +333,7 @@ function addRemoteGit (u, parsed, name, cb_) {
|
|||
// name@blah thing.
|
||||
var inFlightNames = {}
|
||||
function addNamed (name, x, cb_) {
|
||||
log.info([name, x], "addNamed")
|
||||
log.verbose([name, x], "addNamed")
|
||||
var k = name + "@" + x
|
||||
if (!inFlightNames[k]) inFlightNames[k] = []
|
||||
var iF = inFlightNames[k]
|
||||
|
@ -368,10 +366,11 @@ function addNameTag (name, tag, cb) {
|
|||
engineFilter(data)
|
||||
if (data["dist-tags"] && data["dist-tags"][tag]
|
||||
&& data.versions[data["dist-tags"][tag]]) {
|
||||
return addNameVersion(name, data["dist-tags"][tag], cb)
|
||||
var ver = data["dist-tags"][tag]
|
||||
return addNameVersion(name, ver, data.versions[ver], cb)
|
||||
}
|
||||
if (!explicit && Object.keys(data.versions).length) {
|
||||
return addNameRange(name, "*", cb)
|
||||
return addNameRange(name, "*", data, cb)
|
||||
}
|
||||
return cb(installTargetsError(tag, data))
|
||||
})
|
||||
|
@ -393,24 +392,84 @@ function engineFilter (data) {
|
|||
})
|
||||
}
|
||||
|
||||
function addNameRange (name, range, cb) {
|
||||
function addNameRange (name, range, data, cb) {
|
||||
if (typeof cb !== "function") cb = data, data = null
|
||||
|
||||
range = semver.validRange(range)
|
||||
if (range === null) return cb(new Error(
|
||||
"Invalid version range: "+range))
|
||||
registry.get(name, function (er, data, json, response) {
|
||||
|
||||
log.silly([name, range, !!data], "name, range, hasData")
|
||||
|
||||
if (data) return next()
|
||||
registry.get(name, function (er, d, json, response) {
|
||||
if (er) return cb(er)
|
||||
data = d
|
||||
next()
|
||||
})
|
||||
|
||||
function next () {
|
||||
log.silly([name, range, !!data], "name, range, hasData 2")
|
||||
engineFilter(data)
|
||||
|
||||
if (npm.config.get("registry")) return next_()
|
||||
|
||||
cachedFilter(data, range, function (er) {
|
||||
if (er) return cb(er)
|
||||
if (Object.keys(data.versions).length === 0) {
|
||||
return cb(new Error( "Can't fetch, and not cached: "
|
||||
+ data.name + "@" + range))
|
||||
}
|
||||
next_()
|
||||
})
|
||||
}
|
||||
|
||||
function next_ () {
|
||||
log.silly([data.name, Object.keys(data.versions)], "versions")
|
||||
// if the tagged version satisfies, then use that.
|
||||
var tagged = data["dist-tags"][npm.config.get("tag")]
|
||||
if (tagged && data.versions[tagged] && semver.satisfies(tagged, range)) {
|
||||
return addNameVersion(name, tagged, cb)
|
||||
return addNameVersion(name, tagged, data.versions[tagged], cb)
|
||||
}
|
||||
|
||||
// find the max satisfying version.
|
||||
var ms = semver.maxSatisfying(Object.keys(data.versions || {}), range)
|
||||
if (!ms) {
|
||||
return cb(installTargetsError(range, data))
|
||||
}
|
||||
addNameVersion(name, ms, cb)
|
||||
|
||||
// if we don't have a registry connection, try to see if
|
||||
// there's a cached copy that will be ok.
|
||||
addNameVersion(name, ms, data.versions[ms], cb)
|
||||
}
|
||||
}
|
||||
|
||||
// filter the versions down based on what's already in cache.
|
||||
function cachedFilter (data, range, cb) {
|
||||
log.silly(data.name, "cachedFilter")
|
||||
ls_(data.name, 1, function (er, files) {
|
||||
if (er) return log.er(cb, "Not in cache, can't fetch: "+data.name)(er)
|
||||
files = files.map(function (f) {
|
||||
return path.basename(f.replace(/(\\|\/)$/, ""))
|
||||
}).filter(function (f) {
|
||||
return semver.valid(f) && semver.satisfies(f, range)
|
||||
})
|
||||
|
||||
if (files.length === 0) {
|
||||
return cb(new Error("Not in cache, can't fetch: "+data.name+"@"+range))
|
||||
}
|
||||
|
||||
log.silly([data.name, files], "cached")
|
||||
Object.keys(data.versions).forEach(function (v) {
|
||||
if (files.indexOf(v) === -1) delete data.versions[v]
|
||||
})
|
||||
|
||||
if (Object.keys(data.versions).length === 0) {
|
||||
return log.er(cb, "Not in cache, can't fetch: "+data.name)(er)
|
||||
}
|
||||
|
||||
log.silly([data.name, Object.keys(data.versions)], "filtered")
|
||||
cb(null, data)
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -430,11 +489,26 @@ function installTargetsError (requested, data) {
|
|||
+ requested + "\n" + targets)
|
||||
}
|
||||
|
||||
function addNameVersion (name, ver, cb) {
|
||||
function addNameVersion (name, ver, data, cb) {
|
||||
if (typeof cb !== "function") cb = data, data = null
|
||||
|
||||
ver = semver.valid(ver)
|
||||
if (ver === null) return cb(new Error("Invalid version: "+ver))
|
||||
registry.get(name, ver, function (er, data, json, response) {
|
||||
|
||||
var response
|
||||
|
||||
if (data) {
|
||||
response = null
|
||||
return next()
|
||||
}
|
||||
registry.get(name, ver, function (er, d, json, resp) {
|
||||
if (er) return cb(er)
|
||||
data = d
|
||||
response = resp
|
||||
next()
|
||||
})
|
||||
|
||||
function next () {
|
||||
deprCheck(data)
|
||||
var dist = data.dist
|
||||
|
||||
|
@ -452,8 +526,7 @@ function addNameVersion (name, ver, cb) {
|
|||
if (!dist.tarball) return cb(new Error(
|
||||
"No dist.tarball in " + data._id + " package"))
|
||||
|
||||
if (response.statusCode !== 304 || npm.config.get("force")
|
||||
|| process.platform === "cygwin") {
|
||||
if ((response && response.statusCode !== 304) || npm.config.get("force")) {
|
||||
return fetchit()
|
||||
}
|
||||
|
||||
|
@ -469,6 +542,10 @@ function addNameVersion (name, ver, cb) {
|
|||
})
|
||||
|
||||
function fetchit () {
|
||||
if (!npm.config.get("registry")) {
|
||||
return cb(new Error("Cannot fetch: "+dist.tarball))
|
||||
}
|
||||
|
||||
// use the same protocol as the registry.
|
||||
// https registry --> https tarballs.
|
||||
var tb = url.parse(dist.tarball)
|
||||
|
@ -480,7 +557,7 @@ function addNameVersion (name, ver, cb) {
|
|||
, name+"-"+ver
|
||||
, cb )
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
function addLocal (p, name, cb_) {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue