-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pnpm link
status message
#615
Comments
Message regarding what linked where added here 9bab641 Does npm print messages about peer deps in this situation? |
npm@2
npm@4
|
So npm doesn't, but I think we should show a message because with npm you can use |
Thes message should be something like this:
Prints: The package
Warning: Whilst To workaround this issue, in Node.js you can modify the internal require resolver by monkey-patching Its a long message, but If we can create a good FAQ article about this, and maybe a blessed |
there is still no message when linking to packages with a peerDep. It's not even installing a local instance of the peerDep at the moment. |
Bump. I always think its a bug. |
Bump. |
This is a reasonable feature request since the current behaviour is confusing. |
It is possible to link dependencies so that they reuse the peer dependencies of the project. Use |
There should be a message after a
pnpm link X
orpnpm link
command to show what has been linked where.It should also show a warning that the linked module will not be able to use peer dependencies from the current module (as discussed in #604). It should search the linkee's
package.json
file to check for peer deps.pnpm version: 0.53.0
The text was updated successfully, but these errors were encountered: