Skip to content

Commit

Permalink
Docs: Fix a typo. (#2484)
Browse files Browse the repository at this point in the history
"compartiment" -> "compartmentalize" so the sentence makes sense.
  • Loading branch information
chrismeller authored Feb 16, 2021
1 parent cb4eede commit f26634a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/content/features/protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Note that if you wish to update a transitive dependency (ie not directly yours),

### Workspace

The `workspace:` protocol is meant to be used with [workspaces](/features/workspaces#workspace-ranges-workspace). While Yarn automatically picks workspace resolutions when they match, there are times where you absolutely don't want to risk using a package from the remote registry even if the versions don't match (for example if your project isn't actually meant to be published and you just want to use the workspaces to better compartiment your code).
The `workspace:` protocol is meant to be used with [workspaces](/features/workspaces#workspace-ranges-workspace). While Yarn automatically picks workspace resolutions when they match, there are times where you absolutely don't want to risk using a package from the remote registry even if the versions don't match (for example if your project isn't actually meant to be published and you just want to use the workspaces to better compartmentalize your code).

Our current recommendation is to use `workspace:*`, which will almost always do what you expect. See [the documentation of workspaces](/features/workspaces#workspace-ranges-workspace) for full details about this protocol.

Expand Down

0 comments on commit f26634a

Please sign in to comment.