CLI documentation update from CI
CI User committed
Apr 9, 2021 at 02:31 UTC
8c87221f47d8802a19aa640976a7bb13c6d9dcb4
3 files changed
+32
-5
cli/v7
+1
-1
@@ -1 +1 @@
1
-Subproject commit dedb9c8f8b0891b30aa76e60cdb1c4f0f9b2f22f
1
+Subproject commit 13843f489401d918e7f1a41ed1ff636fc3feb603
content/cli/v7/commands/npm-dist-tag.md
+12
@@ -98,6 +98,18 @@ semver as `>=1.4.0 <1.5.0`. See <https://github.com/npm/npm/issues/6082>.
98
The simplest way to avoid semver problems with tags is to use tags that do
99
not begin with a number or the letter `v`.
100
101
+### Configuration
102
+
103
+#### workspaces
104
+
105
+Only supported by `ls`. Enables listing dist-tags of all workspace
106
+contexts defined in the current `package.json`.
107
+
108
+#### workspace
109
+
110
+Only supported by `ls`. Enables listing dist-tags of workspace contexts
111
+limiting results to only those specified by this config item.
112
+
113
### See Also
114
115
* [npm publish](/cli/v7/commands/npm-publish)
content/cli/v7/commands/npm-pack.md
+19
-4
@@ -20,6 +20,25 @@ github_path: docs/content/commands/npm-pack.md
20
npm pack [[<@scope>/]<pkg>...] [--dry-run]
21
```
22
23
+### Configuration
24
+
25
+#### dry-run
26
+
27
+Do everything that pack usually does without actually packing anything.
28
+That is, report on what would have gone into the tarball, but nothing
29
+else.
30
+
31
+#### workspaces
32
+
33
+Enables workspaces context while creating tarballs. Tarballs for each
34
+workspaces will be generated.
35
+
36
+#### workspace
37
+
38
+Enables workspaces context and limits results to only those specified by
39
+this config item. Tarballs will only be generated for the packages
40
+named in the workspaces given here.
41
+
42
### Description
43
44
For anything that's installable (that is, a package folder, tarball,
@@ -33,10 +52,6 @@ overwritten the second time.
52
53
If no arguments are supplied, then npm packs the current package folder.
54
36
-The `--dry-run` argument will do everything that pack usually does without
37
-actually packing anything. That is, it reports on what would have gone
38
-into the tarball, but nothing else.
39
-
55
### See Also
56
57
* [npm-packlist package](http://npm.im/npm-packlist)