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
Current Behavior When a dependency has devDependencies, those devDependencies are installed when using yarn --production.
yarn --production
Expected Behavior When a dependency has devDependencies, those devDependencies are not installed when using yarn --production.
System Information $ yarn --version 0.24.6 $ node --version v7.8.0
I can reproduce this on both macOS Sierra and Ubuntu
Steps to Reproduce
node_modules/react
npm prune --production
$ npm prune --production - [email protected] node_modules/react
package.json
{ "devDependencies": { "react": "^15.5.4" }, "peerDependencies": { "react": "^15.5.4" }, "dependencies": { "react-select": "^1.0.0-rc.5" } }
Notice that react-select has a devDependency (and peerDependency) of react.
react
yarn.lock https://pastebin.com/VuQh3ZYB
The text was updated successfully, but these errors were encountered:
Duplicate #3312
Sorry, something went wrong.
@bestander said in #3577 that it was fix in master, so I guess it can be close.
No branches or pull requests
Current Behavior
When a dependency has devDependencies, those devDependencies are installed when using
yarn --production
.Expected Behavior
When a dependency has devDependencies, those devDependencies are not installed when using
yarn --production
.System Information
$ yarn --version
0.24.6
$ node --version
v7.8.0
I can reproduce this on both macOS Sierra and Ubuntu
Steps to Reproduce
yarn --production
node_modules/react
should not exist, but it does.npm prune --production
removesnode_modules/react
package.json
Notice that react-select has a devDependency (and peerDependency) of
react
.yarn.lock
https://pastebin.com/VuQh3ZYB
The text was updated successfully, but these errors were encountered: