Skip to content

Commit

Permalink
docs: accurately describe install-links effect on relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Sep 29, 2022
1 parent bc21552 commit 14d0c7d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/content/using-npm/config.md
Expand Up @@ -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.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down
6 changes: 3 additions & 3 deletions lib/utils/config/definitions.js
Expand Up @@ -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,
})
Expand Down
6 changes: 3 additions & 3 deletions tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
Expand Up @@ -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`] = `
Expand Down

0 comments on commit 14d0c7d

Please sign in to comment.