Skip to content
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

Migrate away from bower to yarn. #5109

Closed
almereyda opened this issue Feb 9, 2018 · 1 comment
Closed

Migrate away from bower to yarn. #5109

almereyda opened this issue Feb 9, 2018 · 1 comment

Comments

@almereyda
Copy link

almereyda commented Feb 9, 2018

Description

Coming from #4772 (comment), which unfortunately did not directly link to a verbose explanation like https://bower.io/blog/2017/how-to-migrate-away-from-bower/, we know that bower is deprecating itself and suggesting users to migrate away from it, i.e. to yarn. This issue covers the transitioning process and collects implied changes. As there was no current open issue about the subject, it is left here to revive the discussion.

Steps to Reproduce

When we scaffold a new Polymer project following the Toolbox Set Up instructions, we are asked to use Bower for maintaining dependencies.

Expected Results

In the future, we may want to be asked to set up Yarn accordingly.

Actual Results

@TimvdLippe said in #4772 (comment)

this is not something we are going to change

Browsers Affected

  • none

Versions

  • all
@TimvdLippe
Copy link
Contributor

#4772 discusses the change from our relative imports to absolute imports. In other words the change implies that Polymer bower_components are always in the root directory. This assumption is incorrect, so we can not make all our imports absolute.

Regarding the transition away from bower and adopting the npm ecosystem, that is tracked in #326 More specifically, https://github.com/Polymer/polymer-modulizer/blob/master/docs/polymer-3-element-status.md contains the status of all our elements whether they are installable by npm (e.g. not with bower). Once the modulizer effort is finished, we have transitioned away from bower and can use npm.

Please subscribe to #326 to follow all updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants