np-belarus 1.0.0 → 1.0.1

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.
Files changed (4) hide show
  1. package/LICENSE +20 -0
  2. package/LICENSE-ISC +15 -0
  3. package/package.json +17 -4
  4. package/readme.md +15 -0
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ np-belarus contains components under separate licenses.
2
+
3
+ Source code:
4
+ Unless otherwise stated, the source code is licensed under the ISC License.
5
+ See LICENSE-ISC for the full license text.
6
+
7
+ Database and data:
8
+ The datasets derived from OpenStreetMap, including the machine-readable data
9
+ in dist/data/ and the corresponding exported seed data, are licensed under the
10
+ Open Database License (ODbL) 1.0:
11
+ https://opendatacommons.org/licenses/odbl/1-0/
12
+
13
+ Attribution:
14
+ Contains information from OpenStreetMap, which is made available under the
15
+ Open Database License (ODbL):
16
+ https://www.openstreetmap.org/copyright
17
+
18
+ The Belarus extract used to generate the included data is available from
19
+ Geofabrik:
20
+ https://download.geofabrik.de/europe/belarus/index.html
package/LICENSE-ISC ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Yury Samakhvalau
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "np-belarus",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Belarus settlements and administrative divisions with PostgreSQL schemas and seed data.",
5
- "license": "ISC",
5
+ "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Yury Samakhvalau",
7
7
  "type": "module",
8
8
  "main": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
10
10
  "files": [
11
- "dist"
11
+ "dist",
12
+ "LICENSE",
13
+ "LICENSE-ISC"
12
14
  ],
13
15
  "exports": {
14
16
  ".": {
@@ -58,5 +60,16 @@
58
60
  },
59
61
  "peerDependencies": {
60
62
  "drizzle-orm": "^0.45.4"
63
+ },
64
+ "engines": {
65
+ "node": "24"
66
+ },
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "https://github.com/dtakemake/np-belarus.git"
70
+ },
71
+ "homepage": "https://github.com/dtakemake/np-belarus#readme",
72
+ "bugs": {
73
+ "url": "https://github.com/dtakemake/np-belarus/issues"
61
74
  }
62
- }
75
+ }
package/readme.md CHANGED
@@ -18,6 +18,21 @@
18
18
  смапленные из JSON в строки таблиц. Пакет публикуется в npm и
19
19
  используется как источник схемы и данных для сидирования базы.
20
20
 
21
+ ## Лицензия и атрибуция данных
22
+
23
+ Исходный код распространяется по лицензии ISC — см. [LICENSE-ISC](./LICENSE-ISC).
24
+
25
+ Включённые в пакет наборы данных и соответствующие seed-массивы, полученные
26
+ из OpenStreetMap, распространяются по Open Database License (ODbL) 1.0.
27
+ Полные условия: <https://opendatacommons.org/licenses/odbl/1-0/>.
28
+
29
+ Атрибуция: «Contains information from OpenStreetMap, which is made available
30
+ under the Open Database License (ODbL)» — [OpenStreetMap copyright and license](https://www.openstreetmap.org/copyright).
31
+ Для генерации используется выгрузка Беларуси от
32
+ [Geofabrik](https://download.geofabrik.de/europe/belarus/index.html).
33
+ Машиночитаемые JSON-данные включены в `dist/data/` опубликованного пакета.
34
+ Дополнительные сведения о составе и происхождении файлов: [src/data/readme.md](./src/data/readme.md).
35
+
21
36
  ## Структура
22
37
 
23
38
  ```