@ingissa/navcore-leaflet 1.0.4 → 2.0.0
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/LICENSE +3 -0
- package/README.md +9 -0
- package/package.json +35 -23
package/LICENSE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @ingissa/navcore-leaflet
|
|
2
|
+
|
|
3
|
+
Leaflet renderer adapter for Navcore. Install `leaflet` and the matching Navcore Core major version as peer dependencies.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { LeafletAdapter } from '@ingissa/navcore-leaflet';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
The consumer owns map initialisation, tile/style sources, attribution and routing service configuration.
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ingissa/navcore-leaflet",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "NavCore renderer adapter for Leaflet.js",
|
|
5
|
-
"author": "Ingissa <8abnav@gmail.com>",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ingissa/navcore-leaflet",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "NavCore renderer adapter for Leaflet.js",
|
|
5
|
+
"author": "Ingissa <8abnav@gmail.com>",
|
|
6
|
+
"homepage": "https://navcore-web.vercel.app/",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/ingissa/navcore-sdk.git"
|
|
10
|
+
},
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"module": "dist/index.mjs",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
9
14
|
"exports": {
|
|
10
15
|
".": {
|
|
11
16
|
"types": "./dist/index.d.ts",
|
|
@@ -13,20 +18,27 @@
|
|
|
13
18
|
"require": "./dist/index.js"
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
|
-
"files": [
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
17
26
|
"sideEffects": false,
|
|
18
|
-
"license": "
|
|
19
|
-
"publishConfig": {
|
|
20
|
-
"access": "public"
|
|
21
|
-
},
|
|
22
|
-
"engines": {
|
|
23
|
-
|
|
27
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=16"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
24
35
|
"build": "tsup",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
36
|
+
"lint": "tsc --noEmit",
|
|
37
|
+
"prepublishOnly": "npm run build --prefix ../.. && node ../../scripts/check-release.mjs"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@ingissa/navcore-core": "^2.0.0",
|
|
41
|
+
"leaflet": ">=1.9.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {}
|
|
44
|
+
}
|