geolite2-city 1.0.0
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.
- package/.github/workflows/npm-publish.yml +34 -0
- package/GeoLite2-City.mmdb.gz +0 -0
- package/README.md +9 -0
- package/package.json +26 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v3
|
|
16
|
+
- uses: actions/setup-node@v3
|
|
17
|
+
with:
|
|
18
|
+
node-version: 16
|
|
19
|
+
- run: npm ci
|
|
20
|
+
- 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
|
|
28
|
+
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}}
|
|
Binary file
|
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# GeoLite2-City
|
|
2
|
+
|
|
3
|
+
This repository provides an alternatively download when GeoLite2-City.mmdb.gz impossible for download from maxind.com
|
|
4
|
+
|
|
5
|
+
**Download link**
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
https://raw.githubusercontent.com/wp-statistics/GeoLite2-City/master/GeoLite2-City.mmdb.gz
|
|
9
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "geolite2-city",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Alternative GeoLite2-City.mmdb.gz Database source provided by MaxMind.com",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": ""
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/wp-statistics/GeoLite2-City.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"geoip",
|
|
15
|
+
"maxmind",
|
|
16
|
+
"city",
|
|
17
|
+
"ip",
|
|
18
|
+
"location"
|
|
19
|
+
],
|
|
20
|
+
"author": "VeronaLabs",
|
|
21
|
+
"license": "CC-BY-NC-SA-4.0",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/wp-statistics/GeoLite2-City/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/wp-statistics/GeoLite2-City#readme"
|
|
26
|
+
}
|