Open
Description
Motivation ("The Why")
Yarn already supports this option. It makes it possible to work with tooling that expects certain modules to be located in inside the same package that consumes them.
Example
In order for a React Native app to build properly within a monorepo, some packages that react-native depends on must reside inside the node_modules folder within the app package. With yarn, I'm able to accomplish it with this configuration:
How
See: https://classic.yarnpkg.com/blog/2018/02/15/nohoist/
References
- Related to: npm/cli#2036
Metadata
Metadata
Assignees
Labels
No labels