Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2021-03-24 19:29:21 +0300
committerGar <gar+gh@danger.computer>2021-03-24 19:34:25 +0300
commita4df2b98d89429b19cd29b5fc895cdbfc0a6bd78 (patch)
tree2cc3972c371583377e924f5dfab4b59ea5ce9970 /docs
parent62b783ad3dcac2bcadcf6fecbdba07284f3d640e (diff)
config: Restore --dev flag, unify --omit flatteners
This consolidates all the various --include and --omit configuration flatteners into a single function, since they have to be interdependent in order to function properly. Fix: #2936 PR-URL: https://github.com/npm/cli/pull/2942 Credit: @isaacs Close: #2942 Reviewed-by: @wraithgar
Diffstat (limited to 'docs')
-rw-r--r--docs/content/using-npm/config.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index da69ad463..6bbe58d91 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -1382,6 +1382,14 @@ What authentication strategy to use with `adduser`/`login`.
`--cache-min=9999 (or bigger)` is an alias for `--prefer-offline`.
+#### `dev`
+
+* Default: false
+* Type: Boolean
+* DEPRECATED: Please use --include=dev instead.
+
+Alias for `--include=dev`.
+
#### `init.author.email`
* Default: ""