Skip to content

Commit 723e92e

Browse files
committed
some cleanup to get npm syn working
1 parent e714e19 commit 723e92e

6 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- run: python3 osm_wikidata.py
2323
- run: npm install
2424
- run: npm run build
25+
- run: git describe --all
2526
- run: git diff
2627
- run: exit $(git diff --numstat | wc -l)
2728

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/node_modules
12
/build.js
23
/build.js.map
34
/package-lock.json
5+
/wikidata.json

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.eslintrc.json
22
.git
3+
.github
4+
.gitignore
35
.npmignore
46
taginfo.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You may want to obtain the package from npm: https://www.npmjs.com/package/tag2l
2424

2525
## Updating
2626

27-
Run `npm build` which will update `index.json`.
27+
Run `python3 ./osm_wikidata.py && npm run build` which will update `index.json`.
2828

2929
## Taginfo
3030

osm_wikidata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33

44
import os

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
"@types/node": "^18.11.9",
2525
"ts-node": "^10.9.1"
2626
}
27-
}
27+
}

0 commit comments

Comments
 (0)