@il-address/data 1.0.1 → 1.0.2
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/CHANGELOG.md +3 -0
- package/README.md +7 -4
- package/generated/street-loader.js +4 -0
- package/generated/streets/3907.json +7 -0
- package/generated/streets/3910.json +7 -0
- package/generated/streets/3922.json +7 -0
- package/generated/streets/3923.json +7 -0
- package/manifest.json +11 -7
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @il-address/data
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@il-address/data)
|
|
4
|
-
[](./manifest.json)
|
|
5
|
+
[](./manifest.json)
|
|
6
|
+
[](./manifest.json)
|
|
7
7
|
|
|
8
8
|
Israeli city and street data for `@il-address/core`. Typically installed automatically as a transitive dependency — you usually don't import this package directly.
|
|
9
9
|
|
|
@@ -36,6 +36,7 @@ Fetches use paginated `datastore_search` (32k page size — CKAN’s cap) with `
|
|
|
36
36
|
| `generated/streets/{cityCode}.json` | Streets for one city |
|
|
37
37
|
| `generated/street-loader.js` | Lazy loader map (`cityCode → import(...)`) |
|
|
38
38
|
| `manifest.json` | CKAN `lastModified`, record counts, build timestamp |
|
|
39
|
+
| `CHANGELOG.md` | Append-only log of what each sync changed (cities/streets) |
|
|
39
40
|
|
|
40
41
|
## Data shapes
|
|
41
42
|
|
|
@@ -124,13 +125,15 @@ Example:
|
|
|
124
125
|
rawStreetRecordCount: number;
|
|
125
126
|
streetCountByCity: Record<string, number>;
|
|
126
127
|
generatedAt: string; // ISO timestamp of last content write
|
|
127
|
-
generatedAtDate: string; //
|
|
128
|
+
generatedAtDate: string; // DD-MM-YYYY — last gov.il data change (README badge)
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
```
|
|
131
132
|
|
|
132
133
|
`sources.*.lastModified` comes from the government CKAN metadata (when gov.il last touched the resource). `built.generatedAt` / `generatedAtDate` are when we last synced **changed** city/street content from gov.il into `generated/` (the **last gov.il change** badge shows `generatedAtDate`). Rebuilds that only see a newer CKAN `lastModified` (same records) do not rewrite files, so the weekly sync does not open empty PRs. The cities / streets badges read counts from `manifest.json` on `main`.
|
|
133
134
|
|
|
135
|
+
When content does change, the build appends a dated section to `CHANGELOG.md` and writes a gitignored `sync-summary.md` used as the automated PR body (cities added/removed, street-file coverage, count deltas).
|
|
136
|
+
|
|
134
137
|
## Transform notes
|
|
135
138
|
|
|
136
139
|
- City/street strings are trimmed; empty Hebrew names are dropped
|
|
@@ -1231,8 +1231,12 @@ const loaders = {
|
|
|
1231
1231
|
3904: () => import("./streets/3904.json"),
|
|
1232
1232
|
3905: () => import("./streets/3905.json"),
|
|
1233
1233
|
3906: () => import("./streets/3906.json"),
|
|
1234
|
+
3907: () => import("./streets/3907.json"),
|
|
1234
1235
|
3908: () => import("./streets/3908.json"),
|
|
1235
1236
|
3909: () => import("./streets/3909.json"),
|
|
1237
|
+
3910: () => import("./streets/3910.json"),
|
|
1238
|
+
3922: () => import("./streets/3922.json"),
|
|
1239
|
+
3923: () => import("./streets/3923.json"),
|
|
1236
1240
|
3987: () => import("./streets/3987.json"),
|
|
1237
1241
|
4000: () => import("./streets/4000.json"),
|
|
1238
1242
|
4001: () => import("./streets/4001.json"),
|
package/manifest.json
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"sources": {
|
|
3
3
|
"cities": {
|
|
4
4
|
"resourceId": "8f714b6f-c35c-4b40-a0e7-547b675eee0e",
|
|
5
|
-
"lastModified": "2026-09-
|
|
5
|
+
"lastModified": "2026-09-20T00:30:31.916696",
|
|
6
6
|
"recordCount": 1316
|
|
7
7
|
},
|
|
8
8
|
"streets": {
|
|
9
9
|
"resourceId": "bf185c7f-1a4e-4662-88c5-fa118a244bda",
|
|
10
|
-
"lastModified": "2026-09-
|
|
11
|
-
"recordCount":
|
|
10
|
+
"lastModified": "2026-09-20T00:30:47.182796",
|
|
11
|
+
"recordCount": 152136
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"built": {
|
|
15
15
|
"cityCount": 1316,
|
|
16
|
-
"uniqueStreetCount":
|
|
17
|
-
"rawStreetRecordCount":
|
|
16
|
+
"uniqueStreetCount": 63580,
|
|
17
|
+
"rawStreetRecordCount": 152136,
|
|
18
18
|
"streetCountByCity": {
|
|
19
19
|
"7": 8,
|
|
20
20
|
"10": 1,
|
|
@@ -1248,8 +1248,12 @@
|
|
|
1248
1248
|
"3904": 1,
|
|
1249
1249
|
"3905": 1,
|
|
1250
1250
|
"3906": 1,
|
|
1251
|
+
"3907": 1,
|
|
1251
1252
|
"3908": 1,
|
|
1252
1253
|
"3909": 1,
|
|
1254
|
+
"3910": 1,
|
|
1255
|
+
"3922": 1,
|
|
1256
|
+
"3923": 1,
|
|
1253
1257
|
"3987": 1,
|
|
1254
1258
|
"4000": 1439,
|
|
1255
1259
|
"4001": 1,
|
|
@@ -1331,7 +1335,7 @@
|
|
|
1331
1335
|
"9700": 471,
|
|
1332
1336
|
"9800": 235
|
|
1333
1337
|
},
|
|
1334
|
-
"generatedAt": "2026-09-
|
|
1335
|
-
"generatedAtDate": "
|
|
1338
|
+
"generatedAt": "2026-09-20T08:32:34.008Z",
|
|
1339
|
+
"generatedAtDate": "20-09-2026"
|
|
1336
1340
|
}
|
|
1337
1341
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@il-address/data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Israeli city and street data for @il-address/core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"generated",
|
|
28
28
|
"manifest.json",
|
|
29
|
+
"CHANGELOG.md",
|
|
29
30
|
"README.md"
|
|
30
31
|
],
|
|
31
32
|
"publishConfig": {
|