diff options
Diffstat (limited to 'man1')
-rw-r--r-- | man1/adduser.1 | 63 | ||||
-rw-r--r-- | man1/changelog.1 | 6 | ||||
-rw-r--r-- | man1/config.1 | 7 | ||||
-rw-r--r-- | man1/get.1 | 7 | ||||
-rw-r--r-- | man1/json.1 | 9 | ||||
-rw-r--r-- | man1/owner.1 | 51 | ||||
-rw-r--r-- | man1/registry.1 | 56 | ||||
-rw-r--r-- | man1/set.1 | 7 |
8 files changed, 120 insertions, 86 deletions
diff --git a/man1/adduser.1 b/man1/adduser.1 index 9353ddbe7..e69de29bb 100644 --- a/man1/adduser.1 +++ b/man1/adduser.1 @@ -1,63 +0,0 @@ -.\" Generated with Ronnjs/v0.1 -.\" http://github.com/kapouer/ronnjs/ -. -.TH "NPM\-ADDUSER" "1" "January 2011" "" "" -. -.SH "NAME" -\fBnpm-adduser\fR \-\- Add a registry user account -. -.SH "SYNOPSIS" -. -.nf -npm adduser -. -.fi -. -.SH "DESCRIPTION" -Create or verify a user named \fB<username>\fR in the npm registry, and -save the credentials to the \fB\|\.npmrc\fR file\. -. -.P -The username, password, and email are read in from prompts\. This command -cannot be scripted\. If you think you need to script the creation of new -users, or the authorization of existing ones, without human intervention, -please rethink your use case\. That\'s a very bad idea\. -. -.P -You may use this command to change your email address, but not username -or password\. -. -.P -You may use this command multiple times with the same user account to -authorize on a new machine\. -. -.SH "CONFIGURATION" -. -.SS "_auth" -A base\-64 encoded "user:pass" pair\. This is created by npm\-adduser(1)\. -. -.P -If your config file is ever corrupted, you can set this manually by doing: -. -.IP "" 4 -. -.nf -npm adduser -. -.fi -. -.IP "" 0 -. -.SS "_authCrypt" -If crypto\.Cipher is available, and you have some private keys in \fB$HOME/\.ssh\fR, -then npm will encrypt your "\fIauth" config before saving to the \.npmrc file, -and will decrypt the "\fRauthCrypt" config when it reads the \.npmrc file\. -. -.SS "registry" -Default: https://registry\.npmjs\.org/ -. -.P -The base URL of the npm package registry\. -. -.SS "username, _password" -Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" diff --git a/man1/changelog.1 b/man1/changelog.1 index 6ab12d76b..23fed24ee 100644 --- a/man1/changelog.1 +++ b/man1/changelog.1 @@ -517,5 +517,11 @@ Read package defaults when reading json 0\.3\.0: More correct permission/uid handling\. (Sudo is now ok!) . +.br +Require node 0\.4\.0 +. +.br +Separate semver out into a separate utility\. +. .IP "" 0 diff --git a/man1/config.1 b/man1/config.1 index d35b544dd..66c446114 100644 --- a/man1/config.1 +++ b/man1/config.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CONFIG" "1" "January 2011" "" "" +.TH "NPM\-CONFIG" "1" "February 2011" "" "" . .SH "NAME" \fBnpm-config\fR \-\- Manage the npm configuration file @@ -274,11 +274,6 @@ npm adduser . .IP "" 0 . -.SS "_authCrypt" -If crypto\.Cipher is available, and you have some private keys in \fB$HOME/\.ssh\fR, -then npm will encrypt your "\fIauth" config before saving to the \.npmrc file, -and will decrypt the "\fRauthCrypt" config when it reads the \.npmrc file\. -. .SS "username, _password" Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" . diff --git a/man1/get.1 b/man1/get.1 index d35b544dd..66c446114 100644 --- a/man1/get.1 +++ b/man1/get.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CONFIG" "1" "January 2011" "" "" +.TH "NPM\-CONFIG" "1" "February 2011" "" "" . .SH "NAME" \fBnpm-config\fR \-\- Manage the npm configuration file @@ -274,11 +274,6 @@ npm adduser . .IP "" 0 . -.SS "_authCrypt" -If crypto\.Cipher is available, and you have some private keys in \fB$HOME/\.ssh\fR, -then npm will encrypt your "\fIauth" config before saving to the \.npmrc file, -and will decrypt the "\fRauthCrypt" config when it reads the \.npmrc file\. -. .SS "username, _password" Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" . diff --git a/man1/json.1 b/man1/json.1 index 2bc6737cf..f8a4654bd 100644 --- a/man1/json.1 +++ b/man1/json.1 @@ -49,9 +49,12 @@ already, before you get too attached to it\. http://registry\.npmjs\.org/ The \fImost\fR important things in your package\.json are the name and version fields\. . .P -Version must be semver \fIhttp://semver\.org\fR\-compliant\. npm assumes that you\'ve -read the semver page, and that you comply with it\. Here\'s how it deviates from -what\'s on semver\.org: +Version must be semver \fIhttps://github\.com/isaacs/semver\fR\-compliant\. +npm assumes that you\'ve +read the semver page, and that you comply with it\. +. +.P +Here\'s how it deviates from what\'s on semver\.org: . .IP "\(bu" 4 Versions can start with "v" diff --git a/man1/owner.1 b/man1/owner.1 index 536eeda97..7222ed404 100644 --- a/man1/owner.1 +++ b/man1/owner.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-OWNER" "1" "January 2011" "" "" +.TH "NPM\-OWNER" "1" "February 2011" "" "" . .SH "NAME" \fBnpm-owner\fR \-\- Manage package owners @@ -38,3 +38,52 @@ privileges\. Note that there is only one level of access\. Either you can modify a package, or you can\'t\. Future versions may contain more fine\-grained access levels, but that is not implemented at this time\. +. +.SH "CONFIGURATION" +. +.SS "outfd" +Default: Standard Output FD (1) +. +.P +The file descriptor (integer) or stream object where npm will write +"normal" output\. For instance, the \fBls\fR and \fBview\fR commands write their +output here\. +. +.P +When using npm programmatically, you may want to provide a +FileWriteStream, or some other form of WritableStream\. +. +.SS "registry" +Default: https://registry\.npmjs\.org/ +. +.P +The base URL of the npm package registry\. +. +.SS "_auth" +A base\-64 encoded "user:pass" pair\. This is created by npm\-adduser(1)\. +. +.P +If your config file is ever corrupted, you can set this manually by doing: +. +.IP "" 4 +. +.nf +npm adduser +. +.fi +. +.IP "" 0 +. +.SS "username, _password" +Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" +. +.SH "SEE ALSO" +. +.IP "\(bu" 4 +npm\-publish(1) +. +.IP "\(bu" 4 +npm\-registry(1) +. +.IP "" 0 + diff --git a/man1/registry.1 b/man1/registry.1 index 5491760cf..b224d6cc0 100644 --- a/man1/registry.1 +++ b/man1/registry.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-REGISTRY" "1" "January 2011" "" "" +.TH "NPM\-REGISTRY" "1" "February 2011" "" "" . .SH "NAME" \fBnpm-registry\fR \-\- The JavaScript Package Registry @@ -86,3 +86,57 @@ No, but such a thing is planned, and a tiny bit developed\. . .P Stay tuned! +. +.SH "CONFIGURATION" +. +.SS "registry" +Default: https://registry\.npmjs\.org/ +. +.P +The base URL of the npm package registry\. +. +.SS "_auth" +A base\-64 encoded "user:pass" pair\. This is created by npm\-adduser(1)\. +. +.P +If your config file is ever corrupted, you can set this manually by doing: +. +.IP "" 4 +. +.nf +npm adduser +. +.fi +. +.IP "" 0 +. +.SS "username, _password" +Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" +. +.SS "proxy" +If proxy is available, then npm will access the registry via +the proxy server\. +. +.P +Example: +. +.IP "" 4 +. +.nf +proxy = http://user:password@proxy\-server:8080 +. +.fi +. +.IP "" 0 +. +.SS "tar" +Default: env\.TAR or "tar" +. +.P +The name of a GNU\-compatible tar program on your system\. +. +.SS "gzip" +Default: env\.GZIPBIN or "gzip" +. +.P +The name of a GNU\-compatible gzip program on your system\. diff --git a/man1/set.1 b/man1/set.1 index d35b544dd..66c446114 100644 --- a/man1/set.1 +++ b/man1/set.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CONFIG" "1" "January 2011" "" "" +.TH "NPM\-CONFIG" "1" "February 2011" "" "" . .SH "NAME" \fBnpm-config\fR \-\- Manage the npm configuration file @@ -274,11 +274,6 @@ npm adduser . .IP "" 0 . -.SS "_authCrypt" -If crypto\.Cipher is available, and you have some private keys in \fB$HOME/\.ssh\fR, -then npm will encrypt your "\fIauth" config before saving to the \.npmrc file, -and will decrypt the "\fRauthCrypt" config when it reads the \.npmrc file\. -. .SS "username, _password" Once the configuration is parsed, the \fB_auth\fR config is split into \fBusername\fR and \fB_password\fR\|\. This is the part before the ":" . |