Skip to content
Browse files

make doc

  • Loading branch information...
1 parent e256fe6 commit 9dd1d792a855c9bb8bc9f515e54c37d105072edf @isaacs isaacs committed Jul 29, 2010
Showing with 45 additions and 7 deletions.
  1. +4 −1 man/coding-style.1
  2. +16 −6 man/config.1
  3. +25 −0 man/npm.1
View
5 man/coding-style.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "NPM\-CODING\-STYLE" "1" "May 2010" "" ""
+.TH "NPM\-CODING\-STYLE" "1" "July 2010" "" ""
.
.SH "NAME"
\fBnpm\-coding\-style\fR \- npm\'s "funny" coding style
@@ -121,6 +121,9 @@ for (var i = 0; i < 10; i ++) {
.
.IP "" 0
.
+.P
+Note that starting lines with \fB\-\fR and \fB+\fR also should be prefixed with a semicolon, but this is much less common\.
+.
.SH "Comma First"
If there is a list of things separated by commas, and it wraps across multiple lines, put the comma at the start of the next line, directly below the token that starts the list\. Put the final token in the list on a line by itself\. For example:
.
View
22 man/config.1
@@ -18,10 +18,13 @@ npm config list
.fi
.
.SH "DESCRIPTION"
-The config command is a way to interact with the \fB\.npmrc\fR file\. This file is a JSON encoded list of values that npm is concerned with\. The first time you run npm, it will create a conf file filled with default values\.
+The config command is a way to interact with the \fB\.npmrc\fR file\. This file is an ini list of values that npm is concerned with\.
.
.P
-On exit, the current state of the config is always saved, so that any changes will be recorded\. You may safely modify the file (as long as it\'s still parseable JSON), but it is safer to use the npm config commands\.
+On exit, the current state of the config is always saved, so that any changes will be recorded\. You may safely modify the file, but it is safer to use the npm config commands\.
+.
+.P
+If a file exists at \fB{PREFIX}/etc/npmrc\fR, then that is used, where \fB{PREFIX}\fR is the install prefix of the node binary\. (That is, \fBwhich node\fR would show \fB{PREFIX}/bin/node\fR\.) Otherwise, the file at \fB~/\.npmrc\fR is read for values\.
.
.SH "Sub\-commands"
Config supports the following sub\-commands:
@@ -142,11 +145,18 @@ If you ask npm to install a package and don\'t tell it a specific version, then
Note: this has no effect on the npm\-tag(1) command\.
.
.SS "proxy"
-If proxy is available, then npm will fetch the modules from the registry via
-the proxy server\.
+If proxy is available, then npm will fetch the modules from the registry via the proxy server\.
.
.P
Example:
.
-.P
-proxy = http://proxy-server:8080
+.IP "" 4
+.
+.nf
+
+proxy = http://proxy\-server:8080
+.
+.fi
+.
+.IP "" 0
+
View
25 man/npm.1
@@ -295,4 +295,29 @@ Fix a bunch of bugs
.
.br
Some minor speed improvements
+.
+.TP
+0\.1\.21
+Relative paths
+.
+.br
+Support comments in package\.json
+.
+.br
+Add owner name to ls output
+.
+.br
+Add "owner" command to manage package owners
+.
+.br
+Support hook scripts in \fB{root}/\.npm/\.hooks/\fR
+.
+.br
+Initial support for config file relative to node executable
+.
+.br
+Support for http proxies
+.
+.br
+Documentation updates

0 comments on commit 9dd1d79

Please sign in to comment.
Something went wrong with that request. Please try again.