Skip to content

Commit 4d5c3c1

Browse files
authored
docs: fix overrides example in package-json.md (#8283)
The example and further discussion are about `@npm/foo` but the first mention just says `foo`, which might mislead people into thinking `@npm/` is a special syntax rather than just part of the package name.
1 parent 71bb817 commit 4d5c3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lib/content/configuring-npm/package-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ resolution. Published packages may dictate their resolutions by pinning
951951
dependencies or using an
952952
[`npm-shrinkwrap.json`](/configuring-npm/npm-shrinkwrap-json) file.
953953

954-
To make sure the package `foo` is always installed as version `1.0.0` no matter
954+
To make sure the package `@npm/foo` is always installed as version `1.0.0` no matter
955955
what version your dependencies rely on:
956956

957957
```json

0 commit comments

Comments
 (0)