forked from yarnpkg/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(package-linker): Fix issue with .bin folder missing when using th…
…e `--modules-folder` flag (yarnpkg#3724, yarnpkg#4297) **Summary** This PR tries to fixes yarnpkg#3724 and yarnpkg#4297 where `install` was not installing binary symlinks to the correct location when the `--modules-folder` flag was provided. WIP - CURRENTLY DOESN'T WORK, DON'T MERGE IT **Test plan** Manual CLI tests: Before: ``` > yarn --modules-folder /var/foo > (ls /var/foo/.bin 2>1 > /dev/null && echo "found") || echo "not found" not found ``` After: ``` > yarn --modules-folder /var/foo > (ls /var/foo/.bin 2>1 > /dev/null && echo "found") || echo "not found" found ``` Automatic test: __tests__/commands/install/bin-links.js -t "install should respect --modules-folder flag" **Remaining issues** * Problem with `yarn check --verify-tree`: ``` error "standard#eslint" not installed error "standard#eslint-config-standard" not installed error "standard#eslint-config-standard-jsx" not installed error "standard#eslint-plugin-promise" not installed error "standard#eslint-plugin-react" not installed error "standard#eslint-plugin-standard" not installed error "standard#standard-engine" not installed ``` * Automatic test fails (while manual CLI test works)
- Loading branch information
Showing
5 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters