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

Make Bower work with Lerna multi packages (or deprecate it) #390

Closed
FezVrasta opened this issue Aug 15, 2017 · 1 comment
Closed

Make Bower work with Lerna multi packages (or deprecate it) #390

FezVrasta opened this issue Aug 15, 2017 · 1 comment

Comments

@FezVrasta
Copy link
Member

FezVrasta commented Aug 15, 2017

First, the "good" news:

Starting from v1.12.0, Popper.js is installable by Bower directly without use of unpkg.com CDN.

Now the bad part:

I can't find a way to make Bower work together with Lerna.

Since Bower takes the whole repository as source of the package, it will clone inside your bower_components folder the whole repository containing the packages/ folder.

There's not any bower.json at the root level, because the bower.json are supposed to be stored in each package folder.

For the moment, we copy the dist/ folder and the bower.json of packages/popper.js from its folder to the root directory, but this limits our ability to publish to Bower more than a single package.

If no ways to manage multiple packages is found, I'll deprecate Bower support starting from Popper.js@2

@FezVrasta
Copy link
Member Author

I think there aren't solutions for this problem:
bower/bower#24

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

No branches or pull requests

1 participant