Skip to content

Commit

Permalink
Get ready for npm release for types/helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Oct 9, 2024
1 parent 6211727 commit 87fb33d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
dist
build
out
cache
.envrc
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* 住居表示住所データと対応(番地・号までのデータが含まれる)
* 地番住所のデータと対応(住居表示住所が導入されていない地域のデータが含まれる)

なお、データ量が多いため `latest.csv``latest.db` の提供は見合わせております。

[リリースノート](https://github.com/geolonia/japanese-addresses-v2/releases)

## API
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "japanese-addresses-v2",
"name": "@geolonia/japanese-addresses-v2",
"type": "module",
"version": "1.0.0",
"version": "0.0.0",
"description": "",
"main": "dist/data.js",
"types": "dist/data.d.ts",
"scripts": {
"prepack": "npm run clean && npm run build",
"clean": "shx rm -rf ./dist",
"build:proto": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=. ./src/address_data.proto",
"build": "tsc",
"build:dev": "tsc",
"build": "tsc -p tsconfig.dist.json",
"clear:cache": "shx rm -rf ./cache",
"run:all": "npm run run:01_make_prefecture_city && npm run run:02_make_machi_aza && npm run run:03_make_rsdt && npm run run:04_make_chiban",
"run:01_make_prefecture_city": "tsx ./src/01_make_prefecture_city.ts",
Expand All @@ -21,6 +24,9 @@
"keywords": [],
"author": "",
"license": "MIT",
"files": [
"dist/**/*"
],
"devDependencies": {
"@tsconfig/node22": "^22.0.0",
"@types/better-sqlite3": "^7.6.11",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"compilerOptions": {
"lib": ["ESNext"],
"rootDir": "src",
"outDir": "dist",
"outDir": "build",
"types": ["node"],
"declaration": true
},
"filesGlob": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["dist", "node_modules"]
"exclude": ["dist", "build", "node_modules"]
}

0 comments on commit 87fb33d

Please sign in to comment.