diff options
author | isaacs <i@izs.me> | 2021-03-24 19:29:21 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-03-24 19:34:25 +0300 |
commit | a4df2b98d89429b19cd29b5fc895cdbfc0a6bd78 (patch) | |
tree | 2cc3972c371583377e924f5dfab4b59ea5ce9970 /docs | |
parent | 62b783ad3dcac2bcadcf6fecbdba07284f3d640e (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.md | 8 |
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: "" |