itsjavi / bootstrap-colorpicker

Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.
https://itsjavi.com/bootstrap-colorpicker/
MIT License
1.38k stars 367 forks source link

include the dist files in a releases zip file #290

Closed kejodion closed 4 years ago

kejodion commented 5 years ago

please include the dist files in a releases zip file

itsjavi commented 5 years ago

currently, the zip is just the source code and it's generated by github dist files are on npm

KatsuroKurosaki commented 5 years ago

I also am in favour of including dist folder on GitHub, I had to install npm in order to obtain the needed js and css files. If you don't want to include that folder anymore, I suggest updating the "Install" section in your documentation and remove the first line: Downloading a ZIP file from the releases. Also, it didn't generate the needed files using composer. Regards

itsjavi commented 5 years ago

I may integrate this in the future via Travis config: https://docs.travis-ci.com/user/deployment/releases/

last release has a dist zip file now.

KatsuroKurosaki commented 5 years ago

Hello itsjavi and thanks a lot for providing a dist zip file. Regards

issuehunt-oss[bot] commented 5 years ago

@issuehunt has funded $40.00 to this issue.


issuehunt-oss[bot] commented 5 years ago

@itsjavi has cancelled @issuehunt's funding for this issue.(Cancelled amount: $40.00) See it on IssueHunt

JohnLamontagne commented 4 years ago

Any update on this? Frustrating to have to install npm just to build this plugin.

itsjavi commented 4 years ago

@JohnLamontagne @kejodion this won't be done.

you can always download the dist folder using the npm website, you only need to know the URL (stack overflow is your friend)

https://registry.npmjs.org/bootstrap-colorpicker/-/bootstrap-colorpicker-VERSION.tgz where VERSION is the release version in npm, e.g.: https://registry.npmjs.org/bootstrap-colorpicker/-/bootstrap-colorpicker-3.2.0.tgz

npm also provides a nice JSON api to query versions info: http://registry.npmjs.org/bootstrap-colorpicker/latest http://registry.npmjs.org/bootstrap-colorpicker/3.2.0 ...

You can also use wget + npm, and you don't need to build anything:

latest version:

wget $(npm view bootstrap-colorpicker dist.tarball)

specific version:

wget $(npm view bootstrap-colorpicker@3.0.0 dist.tarball)