2021-09-09 20:01:11 +00:00
|
|
|
.TH "NPM\-REPO" "1" "September 2021" "" ""
|
2014-01-06 17:02:07 -08:00
|
|
|
.SH "NAME"
|
2019-11-18 21:01:39 +02:00
|
|
|
\fBnpm-repo\fR \- Open package repository page in the browser
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Synopsis
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-04 15:08:12 -08:00
|
|
|
.nf
|
2020-10-02 17:52:19 -04:00
|
|
|
npm repo [<pkgname> [<pkgname> \.\.\.]]
|
2014-11-04 15:08:12 -08:00
|
|
|
.fi
|
2014-09-24 14:41:07 -07:00
|
|
|
.RE
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Description
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
|
|
|
This command tries to guess at the likely location of a package's
|
2020-12-11 18:54:56 -05:00
|
|
|
repository URL, and then tries to open it using the \fB\-\-browser\fP config
|
|
|
|
param\. If no package name is provided, it will search for a \fBpackage\.json\fP
|
|
|
|
in the current folder and use the \fBrepository\fP property\.
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Configuration
|
2021-05-20 15:54:50 -04:00
|
|
|
<!\-\- AUTOGENERATED CONFIG DESCRIPTIONS START \-\->
|
|
|
|
<!\-\- automatically generated, do not edit manually \-\->
|
2021-08-19 17:47:33 +00:00
|
|
|
<!\-\- see lib/utils/config/definitions\.js \-\->
|
2021-05-20 15:54:50 -04:00
|
|
|
.SS \fBbrowser\fP
|
2014-09-24 14:41:07 -07:00
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2015-07-24 15:09:52 -07:00
|
|
|
Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2021-05-20 15:54:50 -04:00
|
|
|
Type: null, Boolean, or String
|
2014-09-24 14:41:07 -07:00
|
|
|
|
|
|
|
.RE
|
2014-01-06 17:02:07 -08:00
|
|
|
.P
|
2021-05-20 15:54:50 -04:00
|
|
|
The browser that is called by npm commands to open websites\.
|
2020-10-02 17:52:19 -04:00
|
|
|
.P
|
|
|
|
Set to \fBfalse\fP to suppress browser behavior and instead print urls to
|
|
|
|
terminal\.
|
|
|
|
.P
|
|
|
|
Set to \fBtrue\fP to use default system URL opener\.
|
2021-08-19 17:47:33 +00:00
|
|
|
<!\-\- automatically generated, do not edit manually \-\->
|
|
|
|
<!\-\- see lib/utils/config/definitions\.js \-\->
|
|
|
|
|
2021-05-20 15:54:50 -04:00
|
|
|
.SS \fBworkspace\fP
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
|
|
|
Default:
|
|
|
|
.IP \(bu 2
|
|
|
|
Type: String (can be set multiple times)
|
|
|
|
|
|
|
|
.RE
|
2021-04-01 17:27:18 -04:00
|
|
|
.P
|
2021-05-20 15:54:50 -04:00
|
|
|
Enable running a command in the context of the configured workspaces of the
|
|
|
|
current project while filtering by running only the workspaces defined by
|
|
|
|
this configuration option\.
|
2021-04-01 17:27:18 -04:00
|
|
|
.P
|
2021-05-20 15:54:50 -04:00
|
|
|
Valid values for the \fBworkspace\fP config are either:
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
|
|
|
Workspace names
|
|
|
|
.IP \(bu 2
|
|
|
|
Path to a workspace directory
|
|
|
|
.IP \(bu 2
|
|
|
|
Path to a parent workspace directory (will result to selecting all of the
|
|
|
|
nested workspaces)
|
|
|
|
|
|
|
|
.RE
|
|
|
|
.P
|
|
|
|
When set for the \fBnpm init\fP command, this may be set to the folder of a
|
|
|
|
workspace which does not yet exist, to create the folder and set it up as a
|
|
|
|
brand new workspace within the project\.
|
|
|
|
.P
|
|
|
|
This value is not exported to the environment for child processes\.
|
2021-08-19 17:47:33 +00:00
|
|
|
<!\-\- automatically generated, do not edit manually \-\->
|
|
|
|
<!\-\- see lib/utils/config/definitions\.js \-\->
|
|
|
|
|
2021-05-20 15:54:50 -04:00
|
|
|
.SS \fBworkspaces\fP
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
|
|
|
Default: false
|
|
|
|
.IP \(bu 2
|
|
|
|
Type: Boolean
|
|
|
|
|
|
|
|
.RE
|
|
|
|
.P
|
|
|
|
Enable running a command in the context of \fBall\fR the configured
|
|
|
|
workspaces\.
|
|
|
|
.P
|
|
|
|
This value is not exported to the environment for child processes\.
|
2021-08-19 17:47:33 +00:00
|
|
|
<!\-\- automatically generated, do not edit manually \-\->
|
|
|
|
<!\-\- see lib/utils/config/definitions\.js \-\->
|
|
|
|
|
2021-05-20 15:54:50 -04:00
|
|
|
<!\-\- AUTOGENERATED CONFIG DESCRIPTIONS END \-\->
|
|
|
|
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS See Also
|
2014-09-24 14:41:07 -07:00
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2019-11-18 21:01:39 +02:00
|
|
|
npm help docs
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2019-11-18 21:01:39 +02:00
|
|
|
npm help config
|
2014-09-24 14:41:07 -07:00
|
|
|
|
|
|
|
.RE
|