Bug
What is the current behavior?
I run yarn install with a custom modules-folder setting in .yarnrc and it creates the custom folder, but it also creates node_modules in various places.
If the current behavior is a bug, please provide the steps to reproduce.
All the files in node_modules/.bin/ are symlinks to .js files.
EDIT: Forgot to mention. This also seems to break some references. For example, webpack can't find source-map even though it's in Project/vendor/ and I look there for dependencies. Note that source-map is a dependency of a dependency.
What is the expected behavior?
All dependencies are bundled in directories named after modules-folder and no node_modules directories are created.
Please mention your node.js, yarn and operating system version.
Node 9.4.0
Yarn 1.5.1
Ubuntu 16.04
Do you want to request a feature or report a bug?
Bug What is the current behavior? I run
yarn install
with a custommodules-folder
setting in .yarnrc and it creates the custom folder, but it also createsnode_modules
in various places. If the current behavior is a bug, please provide the steps to reproduce.The hierarchy is as follows:
All .yarnrc looks like this, with the idea being that it adds dependencies to Project/vendor first, and then workspace/vendor if it's necessary.
Project/package.json looks like this:
Project/statistics/package.json:
Project/templates/package.json
Project/webpack-config/package.json
Result of yarn install:
All the files in node_modules/.bin/ are symlinks to .js files.
EDIT: Forgot to mention. This also seems to break some references. For example, webpack can't find source-map even though it's in
Project/vendor/
and I look there for dependencies. Note that source-map is a dependency of a dependency.What is the expected behavior? All dependencies are bundled in directories named after
modules-folder
and nonode_modules
directories are created.Please mention your node.js, yarn and operating system version. Node 9.4.0 Yarn 1.5.1 Ubuntu 16.04