A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/c16dd4e46b58d6c4490284e6edc5c255862e322b below:

Document that overrides only work in the root `package.json` (#… · npm/cli@c16dd4e · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-0

lines changed Original file line number Diff line number Diff line change

@@ -928,6 +928,13 @@ Overrides provide a way to replace a package in your dependency tree with

928 928

another version, or another package entirely. These changes can be scoped as

929 929

specific or as vague as desired.

930 930 931 +

Overrides are only considered in the root `package.json` file for a project.

932 +

Overrides in installed dependencies (including

933 +

[workspaces](/using-npm/workspaces)) are not considered in dependency tree

934 +

resolution. Published packages may dictate their resolutions by pinning

935 +

dependencies or using an

936 +

[`npm-shrinkwrap.json`](/configuring-npm/npm-shrinkwrap-json) file.

937 + 931 938

To make sure the package `foo` is always installed as version `1.0.0` no matter

932 939

what version your dependencies rely on:

933 940

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4