diff options
author | nlf <quitlahok@gmail.com> | 2021-04-06 17:33:52 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-04-08 20:26:49 +0300 |
commit | 1f3e88ebaf4901d8f9f07b43404d824fef7e5ff5 (patch) | |
tree | 524624d33388213b4c622fc7d89a260f4dd6b769 /docs | |
parent | ba4f7fea8fca8e3509469a218f094fe69095888b (diff) |
feat(workspaces): implement workspace support for dist-tag
PR-URL: https://github.com/npm/cli/pull/3032
Credit: @nlf
Close: #3032
Reviewed-by: @wraithgar
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/commands/npm-dist-tag.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/content/commands/npm-dist-tag.md b/docs/content/commands/npm-dist-tag.md index 585da16ad..158c3417e 100644 --- a/docs/content/commands/npm-dist-tag.md +++ b/docs/content/commands/npm-dist-tag.md @@ -88,6 +88,18 @@ semver as `>=1.4.0 <1.5.0`. See <https://github.com/npm/npm/issues/6082>. The simplest way to avoid semver problems with tags is to use tags that do not begin with a number or the letter `v`. +### Configuration + +#### workspaces + +Only supported by `ls`. Enables listing dist-tags of all workspace +contexts defined in the current `package.json`. + +#### workspace + +Only supported by `ls`. Enables listing dist-tags of workspace contexts +limiting results to only those specified by this config item. + ### See Also * [npm publish](/commands/npm-publish) |