buche / leaflet-openweathermap

A JavaScript library for including OpenWeatherMap's layers and OWM's current city/station data in leaflet based maps without hassle.
259 stars 132 forks source link

register in bower #18

Closed george-silva closed 8 years ago

george-silva commented 8 years ago

Hello @buche! Great package.

I saw that it's not registered in bower. Can you register it?

I'd rather not have to fork and register it.

Thanks!

buche commented 8 years ago

I don't have any clue about bower. Just add a pull request, please.

george-silva commented 8 years ago

Hey buche!

To register in bower we need to use the command line. I can register the package for you if needed.

Check this:

http://bower.io/docs/creating-packages/#register

It's pretty easy to do and I'd rather have you, the author, register it. The first step is already there, the bower.json file. We just need to publish it.

george-silva commented 8 years ago

@buche it looks like I can register this, without owning this repo. I'll register. If there's any "string's attached", I'll forward them to you.

george-silva commented 8 years ago

@buche here's the final info. leaflet-openweathermap is registered!

bower register leaflet-openweathermap https://github.com/buche/leaflet-openweathermap.git
bower resolve       https://github.com/buche/leaflet-openweathermap.git#*
bower checkout      leaflet-openweathermap#master
bower resolved      https://github.com/buche/leaflet-openweathermap.git#5f9bd72076
? Registering a package will make it installable via the registry (https://bower.herokuapp.com), continue? Yes
bower register      https://github.com/buche/leaflet-openweathermap.git

Package leaflet-openweathermap registered successfully!
All valid semver tags on https://github.com/buche/leaflet-openweathermap.git will be available as versions.
To publish a new version, just release a valid semver tag.

Run bower info leaflet-openweathermap to list the available versions.
buche commented 8 years ago

@george-silva Thanks for your effort!

george-silva commented 8 years ago

@buche no problem. Now leaflet-openweathermap can be installed with bower, using:

cd project_dir
bower install leaflet-openweathermap

Provided that:

  1. You have bower installed;
  2. Your project is configured to use bower;