-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
Yarn recursively deletes all bower.json files #730
Comments
Same here, I was really surprised when yarn deleted 2220 files (all bower dependencies in a dir named |
Same here, |
The workaround that fixed my issue (I think I had that issue because I have
The first |
This is a different problem than removing files within This issue is that it's removing the While I agree that yarn shouldn't be touching Bower setups, we should make sure each issue stays focused. |
We've removed support for Bower, see #1441. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running
yarn
on an existing project deleted severalbower.json
and.bower.json
files, which weren't even in the root of the current project.These were files that existed within the
test
directory, used in unit tests. However, I think it's unacceptable thatyarn
removes any files without warning or even a message on the command line.If the current behavior is a bug, please provide the steps to reproduce.
yarn
at the rootWhat is the expected behavior?
bower.json
and.bower.json
files should be left as-is.node_modules
(or possiblybower_components
) directory.Please mention your node.js, yarn and operating system version.
v5.12.0
0.15.1
Mac OS X 10.11.6
The text was updated successfully, but these errors were encountered: