Closed chrisui closed 11 years ago
Since I use semver tags, would simply committing dist/roole.min.js
make roole bower-compatible?
I think this would've been the case until now. They've changed to be stricter on people registering packages so now it is required to have a valid package manifest. See this issue.
But you can always use something like this in your bower.json
file:
"dependencies": {
"roole": "https://github.com/curvedmark/roole.git#v0.4.x"
}
And it would be exactly the same, right?
This does indeed work. Their documentation is a bit misleading trying to be strict and say you must do this but yet provide a workaround.
I can see there isn't much benefit you setting up Roole as a package and registering it. Would still be nice maybe to distribute the compiled js file in the repository for the purpose of easily being able to consume Roole as a dependency. A non-minified and minified version would be nice.
ad86781667c61adbfaa39c3f84f45899efba57e4
What are your thoughts on making Roole available through Bower?
It would require an extra bower.json file to be added to the root as defined here. Would be as simple as the json:
and then it would just need to be registered with bower. Would be really nice to be able to define roole as a dependency when I'm using bower in my projects.
Also, although it is probably a seperate issue and for a different discussion, but if we were to have Roole as a package would it make sense to have a compiled js file kept in the dist folder. So you can simply define Roole as a dependency in your project and point to the distributed file. Nice workflow imo.