Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/stevenpetryk/pnpm-peerdeps-not-enforced-workspaces
- Owner: stevenpetryk
- Created: 2023-07-28T01:27:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-28T01:29:34.000Z (over 1 year ago)
- Last Synced: 2023-07-28T02:36:34.760Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.