From dd05ba0c0b2f4c70eb8558c0ecc54889efbe98f5 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 29 Jan 2021 09:01:41 -0800 Subject: [PATCH] doc: add note about --force overriding peer dependencies PR-URL: https://github.com/npm/cli/pull/2572 Credit: @isaacs Close: #2572 Reviewed-by: @nlf --- docs/content/using-npm/config.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md index 1e0b20359219c..1032adafbeb22 100644 --- a/docs/content/using-npm/config.md +++ b/docs/content/using-npm/config.md @@ -472,6 +472,7 @@ mistakes, unnecessary performance degradation, and malicious input. range (including SemVer-major changes). * Allow a module to be installed as a direct dependency of itself. * Allow unpublishing all versions of a published package. +* Allow conflicting peerDependencies to be installed in the root project. If you don't have a clear idea of what you want to do, it is strongly recommended that you do not use this option!