Skip to content

Commit 14d0c7d

Browse files
committed
docs: accurately describe install-links effect on relative paths
1 parent bc21552 commit 14d0c7d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/content/using-npm/config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ number, if not already set in package.json.
910910
* Default: true
911911
* Type: Boolean
912912

913-
When set file: protocol dependencies that exist outside of the project root
914-
will be packed and installed as regular dependencies instead of creating a
915-
symlink. This option has no effect on workspaces.
913+
When set file: protocol dependencies will be packed and installed as regular
914+
dependencies instead of creating a symlink. This option has no effect on
915+
workspaces.
916916

917917
<!-- automatically generated, do not edit manually -->
918918
<!-- see lib/utils/config/definitions.js -->

lib/utils/config/definitions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,9 @@ define('install-links', {
10721072
default: true,
10731073
type: Boolean,
10741074
description: `
1075-
When set file: protocol dependencies that exist outside of the project root
1076-
will be packed and installed as regular dependencies instead of creating a
1077-
symlink. This option has no effect on workspaces.
1075+
When set file: protocol dependencies will be packed and installed as
1076+
regular dependencies instead of creating a symlink. This option has
1077+
no effect on workspaces.
10781078
`,
10791079
flatten,
10801080
})

tap-snapshots/test/lib/utils/config/definitions.js.test.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,9 +981,9 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for insta
981981
* Default: true
982982
* Type: Boolean
983983
984-
When set file: protocol dependencies that exist outside of the project root
985-
will be packed and installed as regular dependencies instead of creating a
986-
symlink. This option has no effect on workspaces.
984+
When set file: protocol dependencies will be packed and installed as regular
985+
dependencies instead of creating a symlink. This option has no effect on
986+
workspaces.
987987
`
988988

989989
exports[`test/lib/utils/config/definitions.js TAP > config description for json 1`] = `

0 commit comments

Comments
 (0)