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

Use valid semver versions so library can be installed via bower #621

Closed
m90 opened this issue Oct 29, 2014 · 1 comment
Closed

Use valid semver versions so library can be installed via bower #621

m90 opened this issue Oct 29, 2014 · 1 comment

Comments

@m90
Copy link

m90 commented Oct 29, 2014

I think it would be really nice if you could use semver for your versioning (major.minor.patch) as this would enable easy handling of the library via non-npm package managers like bower.

Right now the only version bower will install (without resorting to installing master@latest or referencing specific commits) is 7.0.1 as this is the last version that adhers to the spec.

@sourrust
Copy link
Member

This has been answered quite often in one fashion or another. Simply put, even if we did use semver for bower, you would still need to do the build step since highlight.js doesn't work straight from the repo. You are much better off cloning the repo via git.

If you want an alternative, check out a third party repo that seems to be more active since the last time I checked.

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