From fdf562d6c9f88f471d2f49a78525b7446d4809f6 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Thu, 29 Sep 2022 10:04:06 -0700 Subject: [PATCH] docs: accurately describe install-links effect on relative paths --- docs/content/using-npm/config.md | 6 +++--- lib/utils/config/definitions.js | 6 +++--- tap-snapshots/test/lib/utils/config/definitions.js.test.cjs | 6 +++--- .../test/lib/utils/config/describe-all.js.test.cjs | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md index 2de35fa2a46c3..613de91173f0d 100644 --- a/docs/content/using-npm/config.md +++ b/docs/content/using-npm/config.md @@ -910,9 +910,9 @@ number, if not already set in package.json. * Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index ae38efc32b5ae..42a126aa22c81 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -1072,9 +1072,9 @@ define('install-links', { default: true, type: Boolean, description: ` - When set file: protocol dependencies that exist outside of the project root - will be packed and installed as regular dependencies instead of creating a - symlink. This option has no effect on workspaces. + When set file: protocol dependencies will be packed and installed as + regular dependencies instead of creating a symlink. This option has + no effect on workspaces. `, flatten, }) diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs index df9313270d056..4b65b5999307b 100644 --- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs @@ -981,9 +981,9 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for insta * Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ` exports[`test/lib/utils/config/definitions.js TAP > config description for json 1`] = ` diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs index 89ca7c952b182..960420cdfb52e 100644 --- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs @@ -783,9 +783,9 @@ number, if not already set in package.json. * Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces.