@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.
Files changed (3) hide show
  1. package/LICENSE +3 -0
  2. package/README.md +9 -0
  3. package/package.json +35 -23
package/LICENSE ADDED
@@ -0,0 +1,3 @@
1
+ Copyright (c) 2026 Abdelnasser Aitabi. All rights reserved.
2
+
3
+ No license is granted except by separate written agreement.
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": "1.0.4",
4
- "description": "NavCore renderer adapter for Leaflet.js",
5
- "author": "Ingissa <8abnav@gmail.com>",
6
- "main": "dist/index.js",
7
- "module": "dist/index.mjs",
8
- "types": "dist/index.d.ts",
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": ["dist"],
21
+ "files": [
22
+ "dist",
23
+ "LICENSE",
24
+ "README.md"
25
+ ],
17
26
  "sideEffects": false,
18
- "license": "Commercial",
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "engines": { "node": ">=16" },
23
- "scripts": {
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
- "prepublishOnly": "npm run build"
26
- },
27
- "peerDependencies": {
28
- "@ingissa/navcore-core": "^1.0.4",
29
- "leaflet": ">=1.9.0"
30
- },
31
- "dependencies": {}
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
+ }