@osmix/core 0.1.5 → 0.1.6

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/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@
21
21
  *
22
22
  * @module @osmix/core
23
23
  */
24
+ export type { IdOrIndex } from "./ids";
24
25
  export * from "./nodes";
25
26
  export * from "./osm";
26
27
  export * from "./relations";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACnE,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACnE,cAAc,QAAQ,CAAA"}
package/dist/index.js CHANGED
@@ -21,9 +21,6 @@
21
21
  *
22
22
  * @module @osmix/core
23
23
  */
24
- /// <reference path="./types/kdbush.d.ts" />
25
- /// <reference path="./types/geokdbush.d.ts" />
26
- /// <reference path="./types/geoflatbush.d.ts" />
27
24
  export * from "./nodes";
28
25
  export * from "./osm";
29
26
  export * from "./relations";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,4CAA4C;AAC5C,+CAA+C;AAC/C,iDAAiD;AAEjD,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAmB,MAAM,gBAAgB,CAAA;AACnE,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAOH,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAmB,MAAM,gBAAgB,CAAA;AACnE,cAAc,QAAQ,CAAA"}
package/package.json CHANGED
@@ -2,26 +2,28 @@
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@osmix/core",
4
4
  "type": "module",
5
- "version": "0.1.5",
5
+ "version": "0.1.6",
6
6
  "description": "An OSM PBF reader, writer, and merge tool written in TypeScript",
7
- "main": "./src/index.ts",
8
7
  "publishConfig": {
9
- "access": "public",
10
- "registry": "https://registry.npmjs.org/",
11
- "main": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "exports": {
14
- ".": {
15
- "import": "./dist/index.js",
16
- "types": "./dist/index.d.ts"
17
- }
8
+ "access": "public"
9
+ },
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./src/index.ts",
14
+ "bun": "./src/index.ts",
15
+ "development|production": "./src/index.ts",
16
+ "default": "./dist/index.js"
18
17
  },
19
- "files": [
20
- "dist",
21
- "README.md",
22
- "LICENSE"
23
- ]
18
+ "./test/*": "./test/*.ts"
24
19
  },
20
+ "files": [
21
+ "dist",
22
+ "src",
23
+ "test",
24
+ "README.md",
25
+ "LICENSE"
26
+ ],
25
27
  "license": "MIT",
26
28
  "repository": {
27
29
  "type": "git",
@@ -41,12 +43,12 @@
41
43
  "typecheck": "tsgo --noEmit"
42
44
  },
43
45
  "devDependencies": {
44
- "@osmix/pbf": "0.0.6",
45
- "@types/bun": "^1.3.3",
46
- "typescript": "^5.9.0"
46
+ "@osmix/pbf": "workspace:*",
47
+ "@types/bun": "catalog:",
48
+ "typescript": "catalog:"
47
49
  },
48
50
  "dependencies": {
49
- "@osmix/shared": "0.0.10",
51
+ "@osmix/shared": "workspace:*",
50
52
  "flatbush": "^4.4.1",
51
53
  "geoflatbush": "^2.1.0",
52
54
  "geokdbush": "^2.0.1",
package/src/index.ts CHANGED
@@ -26,6 +26,7 @@
26
26
  /// <reference path="./types/geokdbush.d.ts" />
27
27
  /// <reference path="./types/geoflatbush.d.ts" />
28
28
 
29
+ export type { IdOrIndex } from "./ids"
29
30
  export * from "./nodes"
30
31
  export * from "./osm"
31
32
  export * from "./relations"
package/CHANGELOG.md DELETED
@@ -1,112 +0,0 @@
1
- # @osmix/core
2
-
3
- ## 0.1.5
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [12728ed]
8
- - @osmix/shared@0.0.10
9
-
10
- ## 0.1.4
11
-
12
- ### Patch Changes
13
-
14
- - f32e4ee: General cleanup
15
- - Updated dependencies [f32e4ee]
16
- - @osmix/shared@0.0.9
17
-
18
- ## 0.1.3
19
-
20
- ### Patch Changes
21
-
22
- - f468db5: Fix publishing (2)
23
- - Updated dependencies [f468db5]
24
- - @osmix/shared@0.0.8
25
-
26
- ## 0.1.2
27
-
28
- ### Patch Changes
29
-
30
- - 68d6bd8: Fix publishing for packages.
31
- - Updated dependencies [68d6bd8]
32
- - @osmix/shared@0.0.7
33
-
34
- ## 0.1.1
35
-
36
- ### Patch Changes
37
-
38
- - d4f4b1f: Add content hashing for quick `isEqual`s checks of two similar `Osm` indexes. Typically used for checking post-merge.
39
-
40
- ## 0.1.0
41
-
42
- ### Minor Changes
43
-
44
- - 29ed376: Routing: make graph transferable
45
-
46
- ### Patch Changes
47
-
48
- - 803c05c: Merge app style cleanup
49
- - cbe4273: Osm index storage and reload
50
- - ff40416: Refactor main `osmix` lib external APIs
51
-
52
- ## 0.0.6
53
-
54
- ### Patch Changes
55
-
56
- - 3846a0c: Integrate geographic spatial indexing libraries
57
- - cdab4db: Add router
58
- - Updated dependencies [0cd8a2e]
59
- - @osmix/shared@0.0.6
60
-
61
- ## 0.0.5
62
-
63
- ### Patch Changes
64
-
65
- - a33a280: Create an easy way to estimate bytes required for a given OSM size
66
- - edbb26b: Handle more Relation types
67
- - 69a36bd: Switch Nodes coordinate storage to Int32Array
68
- - Updated dependencies [bb629cf]
69
- - Updated dependencies [edbb26b]
70
- - Updated dependencies [69a36bd]
71
- - @osmix/shared@0.0.5
72
-
73
- ## 0.0.4
74
-
75
- ### Patch Changes
76
-
77
- - d001d9a: Refactor to align around new main external API
78
- - 4303c40: Refactor core Osmix index to prepare for future work
79
- - Updated dependencies [572cbd8]
80
- - Updated dependencies [d001d9a]
81
- - @osmix/shared@0.0.4
82
-
83
- ## 0.0.3
84
-
85
- ### Patch Changes
86
-
87
- - b4a3ff2: Improve Relation handling and display
88
- - c0193dd: Import GeoJSON into Osmix
89
- - Updated dependencies [b4a3ff2]
90
- - @osmix/shared@0.0.3
91
- - @osmix/json@0.0.3
92
- - @osmix/pbf@0.0.2
93
-
94
- ## 0.0.2
95
-
96
- ### Patch Changes
97
-
98
- - 33d9c12: Modify types to take Uint8Array<ArrayBufferLike> for compatiblity
99
- - Updated dependencies [33d9c12]
100
- - @osmix/shared@0.0.2
101
- - @osmix/json@0.0.2
102
- - @osmix/pbf@0.0.2
103
-
104
- ## 0.0.1
105
-
106
- ### Patch Changes
107
-
108
- - Initial release
109
- - Updated dependencies
110
- - @osmix/json@0.0.1
111
- - @osmix/pbf@0.0.1
112
- - @osmix/shared@0.0.1
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.json",
4
- "include": ["src"]
5
- }
package/tsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": "@osmix/shared/tsconfig/base.json",
4
- "exclude": ["node_modules", "dist"],
5
- "include": ["src", "test"],
6
- "compilerOptions": {
7
- "outDir": "./dist"
8
- }
9
- }