From cdfaae335a7be53687c14e3086a96c776d3a7654 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Fri, 24 Jul 2020 06:55:37 -0300 Subject: [PATCH] improve Readme + add dependabot --- README.md | 6 ++++-- dependabot.yml | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 dependabot.yml diff --git a/README.md b/README.md index 05e305f..268fb8a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # iso-countries-languages +[![npm version](https://badge.fury.io/js/%40hotosm%2Fiso-countries-languages.svg)](https://badge.fury.io/js/%40hotosm%2Fiso-countries-languages) + This library provides the full list of [ISO 639-1 languages](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) and the full list of [ISO 3166-1 countries](https://en.wikipedia.org/wiki/ISO_3166-1). The library supports 89 languages (the full list is available by querying the library API itself) and it is designed to be easy to import and use. ## Installation @@ -17,7 +19,7 @@ This library includes data for more than 150 languages. To make the build smalle - Modify [supportedLangs.json](/src/supportedLangs.json) - Run `yarn all` -To update the countries data from OpenStreetMap, execute `yarn update-countries` +To update the countries data from OpenStreetMap, execute `yarn update-countries`. ## API list @@ -163,4 +165,4 @@ Spagnolo MIT License -The country names included in this project came from [OpenStreetMap](https://osm.org/copyright). The data is made available under ODbL. +The country names included in this project came from [OpenStreetMap](https://osm.org/copyright). The data is made available under [ODbL](https://opendatacommons.org/licenses/odbl/). diff --git a/dependabot.yml b/dependabot.yml new file mode 100644 index 0000000..03ace39 --- /dev/null +++ b/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + # Enable version updates for npm + - package-ecosystem: "npm" + # Look for `package.json` and `lock` files in the `root` directory + directory: "/" + schedule: + interval: "weekly"