Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevenpetryk/pnpm-peerdeps-not-enforced-workspaces

An example of how peer dependencies are not strictly enforced in monorepos with PNPM.
https://github.com/stevenpetryk/pnpm-peerdeps-not-enforced-workspaces

Last synced: 29 days ago
JSON representation

An example of how peer dependencies are not strictly enforced in monorepos with PNPM.

Awesome Lists containing this project

README

        

# PNPM not enforcing peerDependencies in workspace packages

From [pnpm#6382](https://github.com/pnpm/pnpm/issues/6382).

## Expected behavior

`pnpm install` fails since `app` depends on `common`, which has a `webpack` peerDependency that is not satisfied by `app`'s dependencies.

## Actual behavior

`pnpm install` succeeds.