Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Mar 15, 2024
1 parent 33acf8d commit e12d6a6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ So that only a single version of an external package will be installed because h

### How it's fixed

The most commonly used range of the dependency is set as the range at every non-peer dependency place it is depended on.
If for some reason, every range is used the same amount of times, they'll all be fixed to the highest version.
The most commonly used range of the dependency is set as the range at every non-peer dependency place it is depended on. If for some reason, every range is used the same amount of times, they'll all be fixed to the highest version.

### Examples

Expand Down Expand Up @@ -287,6 +286,18 @@ Having a `repository` field is helpful so there is a link to the source of a pac

This is fixed by setting the correct URL.

## `workspace:` protocol required

If `"workspaceProtocol": "require"` is set in the `manypkg` config in the root `package.json`, all dependencies on internal packages are required to use the `workspace:` protocol.

### Why it's a rule

If you want to enforce the usage of the `workspace:` protocol.

#### How it's fixed

Dependencies are changed to `workspace:^`. Anything else is also allowed after the `workspace:` though.

## License

Copyright (c) 2023 Thinkmill Labs Pty Ltd. Licensed under the MIT License.

0 comments on commit e12d6a6

Please sign in to comment.