geolite2-city 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,28 +7,16 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - master
10
-
11
10
  jobs:
12
- build:
11
+ publish:
13
12
  runs-on: ubuntu-latest
14
13
  steps:
15
14
  - uses: actions/checkout@v3
16
15
  - uses: actions/setup-node@v3
17
16
  with:
18
- node-version: 16
19
- - run: npm ci
17
+ node-version: 12
18
+ - run: npm install
20
19
  - run: npm test
21
-
22
- publish-npm:
23
- needs: build
24
- runs-on: ubuntu-latest
25
- steps:
26
- - uses: actions/checkout@v3
27
- - uses: actions/setup-node@v3
20
+ - uses: JS-DevTools/npm-publish@v1
28
21
  with:
29
- node-version: 16
30
- registry-url: https://registry.npmjs.org/
31
- - run: npm ci
32
- - run: npm publish
33
- env:
34
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
22
+ token: ${{ secrets.NPM_TOKEN }}
Binary file
package/README.md CHANGED
@@ -1,9 +1,16 @@
1
- # GeoLite2-City
1
+ # GeoLite2-City (MaxMind.com) CDN files
2
2
 
3
- This repository provides an alternatively download when GeoLite2-City.mmdb.gz impossible for download from maxind.com
3
+ GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)
4
4
 
5
- **Download link**
5
+ ## Download link
6
+ ```
7
+ https://cdn.jsdelivr.net/npm/geolite2-city@1.0.0/GeoLite2-City.mmdb.gz
8
+ ```
6
9
 
10
+ ## Source
7
11
  ```
8
- https://raw.githubusercontent.com/wp-statistics/GeoLite2-City/master/GeoLite2-City.mmdb.gz
12
+ https://cdn.jsdelivr.net/npm/geolite2-city/
9
13
  ```
14
+
15
+ ## License
16
+ [CC Attribution-ShareAlike 4.0](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "geolite2-city",
3
- "version": "1.0.1",
4
- "description": "Alternative GeoLite2-City.mmdb.gz Database source provided by MaxMind.com",
3
+ "version": "1.0.3",
4
+ "description": "GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)",
5
5
  "scripts": {
6
6
  "test": ""
7
7
  },