@radiofrance/svelte-leaflet 0.1.0-alpha.2 → 0.1.0-alpha.4

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 (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +7 -5
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export { default as Marker } from './Marker.svelte';
3
3
  export { default as MarkerClusterGroup } from './MarkerClusterGroup.svelte';
4
4
  export { default as Polyline } from './Polyline.svelte';
5
5
  export { default as Popup } from './Popup.svelte';
6
- export type { LatLngTuple, LatLng, LatLngExpression } from 'leaflet';
6
+ export type { Marker as LeafletMarker } from './Marker.svelte';
7
+ export type { Map as LeafletMap, LatLngTuple, LatLngExpression, LatLngLiteral, LeafletEvent, LeafletMouseEvent, LeafletKeyboardEvent } from 'leaflet';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radiofrance/svelte-leaflet",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "A library that wraps leaflet classes in domless/renderless svelte components.",
5
5
  "keywords": [
6
6
  "svelte",
@@ -54,8 +54,6 @@
54
54
  "@types/d3-scale": "^4.0.8",
55
55
  "@types/d3-scale-chromatic": "^3.0.3",
56
56
  "@types/eslint": "8.56.0",
57
- "@types/leaflet": "^1.9.8",
58
- "@types/leaflet.markercluster": "^1.5.4",
59
57
  "@typescript-eslint/eslint-plugin": "^6.0.0",
60
58
  "@typescript-eslint/parser": "^6.0.0",
61
59
  "d3-scale": "^4.0.2",
@@ -63,8 +61,6 @@
63
61
  "eslint": "^8.56.0",
64
62
  "eslint-config-prettier": "^9.1.0",
65
63
  "eslint-plugin-svelte": "^2.35.1",
66
- "leaflet": "^1.9.4",
67
- "leaflet.markercluster": "^1.5.3",
68
64
  "prettier": "^3.1.1",
69
65
  "prettier-plugin-svelte": "^3.1.2",
70
66
  "publint": "^0.1.9",
@@ -82,5 +78,11 @@
82
78
  "publishConfig": {
83
79
  "access": "public",
84
80
  "registry": "https://registry.npmjs.org/"
81
+ },
82
+ "dependencies": {
83
+ "@types/leaflet": "^1.9.12",
84
+ "@types/leaflet.markercluster": "^1.5.4",
85
+ "leaflet": "^1.9.4",
86
+ "leaflet.markercluster": "^1.5.3"
85
87
  }
86
88
  }