-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'ry/v0.10'
Conflicts: AUTHORS ChangeLog lib/dgram.js lib/http.js src/node_crypto.cc src/node_version.h
- Loading branch information
Showing
368 changed files
with
5,448 additions
and
10,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
npm-repo(3) -- Open package repository page in the browser | ||
======================================================== | ||
|
||
## SYNOPSIS | ||
|
||
npm.commands.repo(package, callback) | ||
|
||
## DESCRIPTION | ||
|
||
This command tries to guess at the likely location of a package's | ||
repository URL, and then tries to open it using the `--browser` | ||
config param. | ||
|
||
Like other commands, the first parameter is an array. This command only | ||
uses the first element, which is expected to be a package name with an | ||
optional version number. | ||
|
||
This command will launch a browser, so this command may not be the most | ||
friendly for programmatic use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
npm-repo(1) -- Open package repository page in the browser | ||
======================================================== | ||
|
||
## SYNOPSIS | ||
|
||
npm repo <pkgname> | ||
|
||
## DESCRIPTION | ||
|
||
This command tries to guess at the likely location of a package's | ||
repository URL, and then tries to open it using the `--browser` | ||
config param. | ||
|
||
## CONFIGURATION | ||
|
||
### browser | ||
|
||
* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | ||
* Type: String | ||
|
||
The browser that is called by the `npm repo` command to open websites. | ||
|
||
## SEE ALSO | ||
|
||
* npm-docs(1) | ||
* npm-config(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,33 +53,8 @@ otherwise. | |
|
||
## Do I have to use couchdb to build a registry that npm can talk to? | ||
|
||
No, but it's way easier. | ||
|
||
## I published something elsewhere, and want to tell the npm registry about it. | ||
|
||
That is supported, but not using the npm client. You'll have to get | ||
your hands dirty and do some HTTP. The request looks something like | ||
this: | ||
|
||
PUT /my-foreign-package | ||
content-type:application/json | ||
accept:application/json | ||
authorization:Basic $base_64_encoded | ||
|
||
{ "name":"my-foreign-package" | ||
, "maintainers":["owner","usernames"] | ||
, "description":"A package that is hosted elsewhere" | ||
, "keywords":["nih","my cheese smells the best"] | ||
, "url":"http://my-different-registry.com/blerg/my-local-package" | ||
} | ||
|
||
(Keywords and description are optional, but recommended. Name, | ||
maintainers, and url are required.) | ||
|
||
Then, when a user tries to install "my-foreign-package", it'll redirect | ||
to your registry. If that doesn't resolve to a valid package entry, | ||
then it'll fail, so please make sure that you understand the spec, and | ||
ask for help on the <[email protected]> mailing list. | ||
No, but it's way easier. Basically, yes, you do, or you have to | ||
effectively implement the entire CouchDB API anyway. | ||
|
||
## Is there a website or something to see package docs and such? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,9 +238,9 @@ <h2 id="BUGS">BUGS</h2> | |
|
||
<h2 id="SEE-ALSO">SEE ALSO</h2> | ||
|
||
<ul><li><a href="cli/npm.html">npm(1)</a></li><li><a href="cli/npm-faq.html">npm-faq(1)</a></li><li><a href="cli/npm-help.html">npm-help(1)</a></li><li><a href="cli/npm-index.html">npm-index(1)</a></li></ul> | ||
<ul><li><a href="cli/npm.html">npm(1)</a></li><li><a href="misc/npm-faq.html">npm-faq(7)</a></li><li><a href="cli/npm-help.html">npm-help(1)</a></li><li><a href="misc/npm-index.html">npm-index(7)</a></li></ul> | ||
</div> | ||
<p id="footer"><a href="../doc/README.html">README</a> — [email protected].6</p> | ||
<p id="footer"><a href="../doc/README.html">README</a> — [email protected].8</p> | ||
<script> | ||
;(function () { | ||
var wrapper = document.getElementById("wrapper") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2> | |
<p>This function should not be used programmatically. Instead, just refer | ||
to the <code>npm.bin</code> member.</p> | ||
</div> | ||
<p id="footer">npm-bin — [email protected].6</p> | ||
<p id="footer">npm-bin — [email protected].8</p> | ||
<script> | ||
;(function () { | ||
var wrapper = document.getElementById("wrapper") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2> | |
<p>This command will launch a browser, so this command may not be the most | ||
friendly for programmatic use.</p> | ||
</div> | ||
<p id="footer">npm-bugs — [email protected].6</p> | ||
<p id="footer">npm-bugs — [email protected].8</p> | ||
<script> | ||
;(function () { | ||
var wrapper = document.getElementById("wrapper") | ||
|
Oops, something went wrong.