-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Missing Bower Assets #1521
Comments
Are bower packages created from github? |
Bower automatically pulls the git tags from the hosted git server that the package was registered with. |
v1.7.5 had the build output checked into the repo, which is not considered best practice and likely why it was removed. Since bower doesn't have a pre-publish hook like npm, the build has to be ran post-install, which is discouraged by their documentation and is historically brittle. The solution is probably to drop support for bower since it is deprecated.
https://bower.io/blog/2017/how-to-migrate-away-from-bower/ The cleanest way to do that would be to check the assets into the repo one last time, publish a patch release, then follow the rest of the "How to Drop Bower Support" guide and remove the generated assets in a major release.
|
@deckar01 Thanks for the detailed info. The right fix for this is probably to use a |
Thanks for working on this. Maintaining bower support is a nice option also. 😄 |
@deckar01 I don't know about maintain it in the long run, but not breaking it in the short-term is worth doing. And we're not ready to go to v2 yet so that's how it goes. |
I had a discussion about hesitation to release major versions in another project yesterday.
|
@deckar01 That is an interesting point. We've been avoiding 2.0 for some time, but maybe we don't need to. |
Description
When upgrading from 1.7.5 to 1.8.1, the asset path provided in the bower config no longer exists.
Steps to Reproduce
bower install js-beautify
bower_components/js-beautify//js/lib/beautify.js
in an HTML documentEnvironment
OS: Ubuntu 18.04 (64 bit)
Notes
There don't seem to be any bundled javascript assets in the bower package.
The text was updated successfully, but these errors were encountered: