Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config): update link definition #3418

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions docs/content/commands/npm-ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,7 @@ variable will be set to `'production'` for all lifecycle scripts.
* Default: false
* Type: Boolean

If true, then local installs will link if there is a suitable globally
installed package.

Note that this means that local installs can cause things to be installed
into the global space at the same time. The link is only done if one of the
two conditions are met:

* The package is not already installed globally, or
* the globally installed version is identical to the version that is being
installed locally.

When used with `npm ls`, only show packages that are linked.
Used with `npm ls`, limiting output to only those packages that are linked.

#### `unicode`

Expand Down
13 changes: 1 addition & 12 deletions docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -743,18 +743,7 @@ Use of `legacy-peer-deps` is not recommended, as it will not enforce the
* Default: false
* Type: Boolean

If true, then local installs will link if there is a suitable globally
installed package.

Note that this means that local installs can cause things to be installed
into the global space at the same time. The link is only done if one of the
two conditions are met:

* The package is not already installed globally, or
* the globally installed version is identical to the version that is being
installed locally.

When used with `npm ls`, only show packages that are linked.
Used with `npm ls`, limiting output to only those packages that are linked.

#### `local-address`

Expand Down
14 changes: 2 additions & 12 deletions lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1086,18 +1086,8 @@ define('link', {
default: false,
type: Boolean,
description: `
If true, then local installs will link if there is a suitable globally
installed package.
Note that this means that local installs can cause things to be installed
into the global space at the same time. The link is only done if one of
the two conditions are met:
* The package is not already installed globally, or
* the globally installed version is identical to the version that is
being installed locally.
When used with \`npm ls\`, only show packages that are linked.
Used with \`npm ls\`, limiting output to only those packages that are
linked.
`,
})

Expand Down
13 changes: 1 addition & 12 deletions tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -622,18 +622,7 @@ Use of \`legacy-peer-deps\` is not recommended, as it will not enforce the
* Default: false
* Type: Boolean
If true, then local installs will link if there is a suitable globally
installed package.
Note that this means that local installs can cause things to be installed
into the global space at the same time. The link is only done if one of the
two conditions are met:
* The package is not already installed globally, or
* the globally installed version is identical to the version that is being
installed locally.
When used with \`npm ls\`, only show packages that are linked.
Used with \`npm ls\`, limiting output to only those packages that are linked.
#### \`local-address\`
Expand Down