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
Running yarn on a project that only has a bower.json (no package.json) results in both bower_components/ and node_modules/.
yarn
bower.json
package.json
bower_components/
node_modules/
bower.json:
{ "name": "polymer-starter-kit", "authors": [ "The Polymer Authors" ], "private": true, "dependencies": { "app-layout": "PolymerElements/app-layout#^0.10.0", "app-route": "PolymerElements/app-route#^0.9.0", "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", "iron-icon": "PolymerElements/iron-icon#^1.0.0", "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", "iron-localstorage": "PolymerElements/iron-localstorage#^1.0.0", "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", "iron-pages": "PolymerElements/iron-pages#^1.0.0", "iron-selector": "PolymerElements/iron-selector#^1.0.0", "paper-icon-button": "PolymerElements/paper-icon-button#~1.1.0", "polymer": "Polymer/polymer#^1.6.0", "neon-animation": "^1.2.4" }, "devDependencies": { "web-component-tester": "^4.0.0" } }
The resulting node_modules/ directory contains:
$ ls node_modules sinon-chai
Only bower_components/ installed when yarn is run
The text was updated successfully, but these errors were encountered:
Workaround:
yarn install --modules-folder bower_components
Sorry, something went wrong.
Bower support has been dropped in #1441.
No branches or pull requests
Bug
Running
yarn
on a project that only has abower.json
(nopackage.json
) results in bothbower_components/
andnode_modules/
.bower.json:
The resulting
node_modules/
directory contains:Steps to reproduce
bower.json
contents above into a local file.yarn
(version 0.15.1).Expected behavior
Only
bower_components/
installed whenyarn
is runVersions
The text was updated successfully, but these errors were encountered: