| 1 |
I believe the purpose of this plugin is to provide **simple** creation of maps on their WordPress sites, using a **basic** Leaflet JS setup. I **will not accept** pull requests that incorporate any other [](http://leafletjs.com/plugins.htmlLeaflet plugin](http://leafletjs.com/plugins.html](http://leafletjs.com/plugins.html) into this one, or any copies of them, or any links to them (unless they are completely simplistic and globally usable). Obviously I don't want to load dependencies for every user of this plugin that only a handful of users want. |
| 2 |
|
| 3 |
Also, please keep your pull requests limited to one feature/improvement each, as a courtesy to me who has to look through it trying to figure out what does what (and if it works at all). Any number of bug fixes is completely acceptable. :) |
| 4 |
|
| 5 |
For more expectations, please view the project's [](https://github.com/bozdoz/wp-plugin-leaflet-map/blob/master/CODE_OF_CONDUCT.mdCode of Conduct](https://github.com/bozdoz/wp-plugin-leaflet-map/blob/master/CODE_OF_CONDUCT.md](https://github.com/bozdoz/wp-plugin-leaflet-map/blob/master/CODE_OF_CONDUCT.md) |
| 6 |
|
| 7 |
### New Versions |
| 8 |
|
| 9 |
New versions need to be tagged via `git tag`, following a process like this: |
| 10 |
|
| 11 |
1. Check what changed since last tag: |
| 12 |
|
| 13 |
```sh |
| 14 |
npm run changes |
| 15 |
``` |
| 16 |
|
| 17 |
2. Update the old tag everywhere: |
| 18 |
|
| 19 |
- readme.txt (update the changelog with output from `npm run changes`) |
| 20 |
- package.json |
| 21 |
- package-lock.json |
| 22 |
- leaflet-map.php (2 places) |
| 23 |
|
| 24 |
3. Commit: |
| 25 |
|
| 26 |
```sh |
| 27 |
git commit -am 'v1.2.3: summary of update' |
| 28 |
``` |
| 29 |
|
| 30 |
4. Tag: |
| 31 |
|
| 32 |
```sh |
| 33 |
git tag v.1.2.3 |
| 34 |
``` |
| 35 |
|
| 36 |
5. Push: |
| 37 |
|
| 38 |
```sh |
| 39 |
git push |
| 40 |
git push --tags |
| 41 |
``` |
| 42 |
|