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
Do you want to request a feature or report a bug? Bug
Current behavior
/package.json
{ "private": true, "workspaces": ["workspace-a", "workspace-b"] }
/workspace-a/package.json
{ "name": "workspace-a", "version": "1.0.0" }
/workspace-b/package.json
{ "name": "workspace-b", "version": "1.0.0", "dependencies": { "cowsay": "^1.4.0" } }
then
cd workspace-a yarn
installs cowsay in /node_modules
cowsay
/node_modules
. ├── node_modules │ ├── cowsay │ ├── ... │ ├── workspace-a -> ../workspace-a │ └── workspace-b -> ../workspace-b ├── package.json ├── workspace-a │ └── package.json ├── workspace-b │ ├── node_modules │ └── package.json └── yarn.lock
Expected behavior yarn install in workspace-a should not install cowsay in node_modules since it doesn't belong to workspace-a dependencies
yarn install
workspace-a
Versions yarn 1.17.3 node v11.13.0 Ubuntu 18.04.2 LTS
The text was updated successfully, but these errors were encountered:
Bumping this issue up. Seems like it hasn't been noticed.
Sorry, something went wrong.
No branches or pull requests
Do you want to request a feature or report a bug?
Bug
Current behavior
/package.json
/workspace-a/package.json
/workspace-b/package.json
then
installs
cowsay
in/node_modules
Expected behavior
yarn install
inworkspace-a
should not install cowsay in node_modules since it doesn't belong to workspace-a dependenciesVersions
yarn 1.17.3
node v11.13.0
Ubuntu 18.04.2 LTS
The text was updated successfully, but these errors were encountered: