-
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
Can I replace bower with yarn ? #617
Comments
Hey! Thanks for the question. We're still in the process of ironing out how the integration between npm and bower actually works. Suffice to say, you should be able to run |
As far as I understand, you need to use yarn in flat mode with |
@kittens doesn't seem to work. I have both |
@panuhorsmalahti |
@warpdesign Workarround, just rename the |
@dsschnau, sorry, I kinda misunderstood this issue, I thought it was about how to replace bower by using the npm registry - which is what the |
Will be useful to have ability to install packages from package.json and bower.json at the same time. |
We can not replace bower (at least not without some hacks) until the issue [1] is solved. Also note, that as of today private registries requiring authentication can not be used [2] [3]. [1] yarnpkg/yarn#617 (comment) [2] yarnpkg/yarn#606 [3] yarnpkg/yarn#547
i would like a feature/option to only install |
If you add the following to package.json, bower install will be called and it works. It is a workaround though:
|
@dsschnau This affects Polymer workflows with yarn when certain dependencies are required. bower.jsondependencies: {
"app-localize-behavior": "PolymerElements/app-localize-behavior#^0.9.2"
}
|
@bennyp123 |
Bower support has been dropped in #1441. |
@wyze is it planned for later or definitely dropped ? The idea of using Yarn for both npm & bower sounded a good idea to me. |
I am not sure what the future plans are. I think there will be a roadmap released eventually that will give more clarity. |
Support for bower was removed, see #1441. |
and
However it looks the bower package registry is not going to be used. |
@graingert Ok. Fair enough. |
As @omnisite mentioned, |
Rest in pepperoni, sweet feature. Such sad. |
can someone point out alternatives then? or should one still stick to |
`yarn install --flat` or yarn with webpack
…On 28 Jun 2017 12:05 pm, "Joachim Schiele" ***@***.***> wrote:
can someone point out alternatives then? or should one still stick to
bower at the time being?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#617 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAZQTA9XuzEoaxikJ-0usVZ-0pzKF_f6ks5sIjNqgaJpZM4KTzmP>
.
|
Meybe this post can help you about migrating from bower ... |
I am sticking to yarn as a bower replacement for the moment and solved all this by:
If that can help anyone... |
The announcement post says that yarn can be used with bower workflows: can it replace bower as well?
How? The documentation doesn't seem to mention bower migration.
The text was updated successfully, but these errors were encountered: