Skip to content

Commit

Permalink
Merge pull request #1559 from gossi/patch-1
Browse files Browse the repository at this point in the history
Fix link to `dependenciesMeta.*.injected`
  • Loading branch information
NullVoxPopuli authored Jul 25, 2023
2 parents 9048919 + fa17ba3 commit 5da719c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/peer-dependency-resolution-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ You can use [pnpm overrides](https://pnpm.io/package_json#pnpmoverrides), [yarn

You can satisfy a missing peer dependency by adding it to your application, and potentially also adjusting settings like [pnpm's resolve-peers-from-workspace-root](https://pnpm.io/npmrc#resolve-peers-from-workspace-root).

In monorepo setups, you can use pnpm's [peerDependenciesMeta.*.injected](https://pnpm.io/npmrc#resolve-peers-from-workspace-root) to make your workspaces see correct peer dependencies (at the cost of needing to maintain per-file hardlinks, see [discussion on pnpm issue](https://github.com/pnpm/pnpm/issues/6088#issuecomment-1634302377)).
In monorepo setups, you can use pnpm's [peerDependenciesMeta.*.injected](https://pnpm.io/package_json#dependenciesmetainjected) to make your workspaces see correct peer dependencies (at the cost of needing to maintain per-file hardlinks, see [discussion on pnpm issue](https://github.com/pnpm/pnpm/issues/6088#issuecomment-1634302377)).

0 comments on commit 5da719c

Please sign in to comment.