We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed an inconsistency in the documentation about workspaces and the actual observed behaviour.
If I understand it correctly, the documentation tells me in this line: https://github.com/yarnpkg/website/blame/master/lang/en/docs/workspaces.md#L77 that a dependency will not be symlinked under /node_modules if it's not actually required as a dependency somewhere.
/node_modules
Given a minimal yarn workspaces repo like https://github.com/pedronauck/yarn-workspaces-example, I observed that after running yarn install (with v1.19.1) created both symlinks:
yarn install
/node_modules/a -> /a /node_modules/b -> /b
/node_modules/a -> /a
/node_modules/b -> /b
Although package b is not a dependency of anything.
b
So either the docs are wrong here, or it is an actual yarn implementation bug.
The text was updated successfully, but these errors were encountered:
arcanis
No branches or pull requests
I noticed an inconsistency in the documentation about workspaces and the actual observed behaviour.
If I understand it correctly, the documentation tells me in this line:
https://github.com/yarnpkg/website/blame/master/lang/en/docs/workspaces.md#L77
that a dependency will not be symlinked under
/node_modules
if it's not actually required as a dependency somewhere.Given a minimal yarn workspaces repo like https://github.com/pedronauck/yarn-workspaces-example, I observed that after running
yarn install
(with v1.19.1) created both symlinks:/node_modules/a -> /a
/node_modules/b -> /b
Although package
b
is not a dependency of anything.So either the docs are wrong here, or it is an actual yarn implementation bug.
The text was updated successfully, but these errors were encountered: