-
Notifications
You must be signed in to change notification settings - Fork 131
add koa to peerDep #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add koa to peerDep #186
Conversation
otherwise it breaks on yarn2
|
Hi @undefined-moe, thanks for this! Could you please provide a link to an existing issue related to yarn and peer dependencies? Happy to add this, just need to see that this is the correct approach because the behavior in npm makes peer dependencies unnecessary. |
|
I'm also using yarn workspace, and deps of hydrooj: and package |
|
any information? |
3imed-jaberi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
Any update for this? |
|
we should be using semver. why is this an issue? seems like a yarn problem? |
|
Yarn introduces strict check in pnp mode (pnpm also have similar logic, unless you use flags like hoist or loose-mode), if you want to access types, you'll have to declare it in dep, devDep, optionalDep, or peerDep. |

otherwise it breaks on yarn2