@maptiler/geocoding-control 0.0.85 → 0.0.87
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/GeocodingControl.svelte +2 -1
- package/MapLibreBasedGeocodingControl.d.ts +55 -0
- package/MapTilerSdkGeocodingControl.d.ts +8 -0
- package/README.md +11 -11
- package/leaflet.js +13 -13
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +1 -1
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.d.ts +2 -2
- package/maplibregl-controller.js +1 -1
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +1 -1
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.d.ts +9 -54
- package/maplibregl.js +783 -784
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +5 -5
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +16151 -0
- package/maptilersdk.js.map +1 -0
- package/maptilersdk.umd.js +26 -0
- package/maptilersdk.umd.js.map +1 -0
- package/package.json +8 -3
- package/react.js +440 -440
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/style.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/geocoding-control",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.87",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Ždila",
|
|
@@ -31,14 +31,15 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite",
|
|
34
|
-
"build": "npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPLIB-C,LEAFLET ,LEAFLE-C,REACT ,TYPES \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-react\" \"npm run build-types\" && cp dist.svelte/*.svelte* LICENSE README.md package.json dist",
|
|
34
|
+
"build": "npm run check && concurrently --names \"SVELTE ,MAPLIBRE,MAPTILER ,MAPLIB-C,LEAFLET ,LEAFLE-C,REACT ,TYPES \" \"npm run build-svelte\" \"npm run build-maplibre\" \"npm run build-maptilersdk\" \"npm run build-maplibre-controller\" \"npm run build-leaflet\" \"npm run build-leaflet-controller\" \"npm run build-react\" \"npm run build-types\" && cp dist.svelte/*.svelte* LICENSE README.md package.json dist",
|
|
35
35
|
"build-svelte": "svelte-package -o dist.svelte",
|
|
36
|
+
"build-maptilersdk": "FLAVOUR=maptilersdk vite build && mv dist/maptilersdk.umd.cjs dist/maptilersdk.umd.js && mv dist/maptilersdk.umd.cjs.map dist/maptilersdk.umd.js.map",
|
|
36
37
|
"build-maplibre": "FLAVOUR=maplibre vite build && mv dist/maplibregl.umd.cjs dist/maplibregl.umd.js && mv dist/maplibregl.umd.cjs.map dist/maplibregl.umd.js.map",
|
|
37
38
|
"build-maplibre-controller": "FLAVOUR=maplibregl-controller vite build && mv dist/maplibregl-controller.umd.cjs dist/maplibregl-controller.umd.js && mv dist/maplibregl-controller.umd.cjs.map dist/maplibregl-controller.umd.js.map",
|
|
38
39
|
"build-leaflet": "FLAVOUR=leaflet vite build && mv dist/leaflet.umd.cjs dist/leaflet.umd.js && mv dist/leaflet.umd.cjs.map dist/leaflet.umd.js.map",
|
|
39
40
|
"build-leaflet-controller": "FLAVOUR=leaflet-controller vite build && mv dist/leaflet-controller.umd.cjs dist/leaflet-controller.umd.js && mv dist/leaflet-controller.umd.cjs.map dist/leaflet-controller.umd.js.map",
|
|
40
41
|
"build-react": "FLAVOUR=react vite build && mv dist/react.umd.cjs dist/react.umd.js && mv dist/react.umd.cjs.map dist/react.umd.js.map",
|
|
41
|
-
"build-types": "tsc --outDir dist --declaration --emitDeclarationOnly && mv dist/ReactGeocodingControl.d.ts dist/react.d.ts && mv dist/
|
|
42
|
+
"build-types": "tsc --outDir dist --declaration --emitDeclarationOnly && mv dist/ReactGeocodingControl.d.ts dist/react.d.ts && mv dist/MapLibreGlGeocodingControl.d.ts dist/maplibregl.d.ts && mv dist/maplibreglMapController.d.ts dist/maplibregl-controller.d.ts && mv dist/LeafletGeocodingControl.d.ts dist/leaflet.d.ts && mv dist/leafletMapController.d.ts dist/leaflet-controller.d.ts",
|
|
42
43
|
"clean": "rm -rf dist dist.svelte",
|
|
43
44
|
"pack": "npm run clean && npm run build && cd dist && npm pack",
|
|
44
45
|
"pub": "npm run clean && npm run build && cd dist && npm publish",
|
|
@@ -58,6 +59,10 @@
|
|
|
58
59
|
"import": "./maplibregl.js",
|
|
59
60
|
"require": "./maplibregl.umd.js"
|
|
60
61
|
},
|
|
62
|
+
"./maptilersdk": {
|
|
63
|
+
"import": "./maptilersdk.js",
|
|
64
|
+
"require": "./maptilersdk.umd.js"
|
|
65
|
+
},
|
|
61
66
|
"./maplibregl-controller": {
|
|
62
67
|
"import": "./maplibregl-controller.js",
|
|
63
68
|
"require": "./maplibregl-controller.umd.js"
|