terra-draw 0.0.1-alpha.13 → 0.0.1-alpha.14

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/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.1-alpha.14](https://github.com/JamesLMilner/terra-draw/compare/v0.0.1-alpha.13...v0.0.1-alpha.14) (2023-01-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * add clear to the public API ([6a8fa72](https://github.com/JamesLMilner/terra-draw/commit/6a8fa722b52047bdf7bc4cfb42d1432eaf7ff038))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * ensure that terra draw is enabled before calling setMode ([deff0fb](https://github.com/JamesLMilner/terra-draw/commit/deff0fb34888fd8a36778254ed8448e7711abdb8))
16
+ * make sure circle mode respects configured coordinate precision ([cba0aa7](https://github.com/JamesLMilner/terra-draw/commit/cba0aa73d2d623f53b66e2d503077519f920dc96))
17
+
18
+
19
+ ### Chore
20
+
21
+ * add npm badge to README, shorten CI badge text ([e9d7b66](https://github.com/JamesLMilner/terra-draw/commit/e9d7b6611f7b342d2dc65a381f940babcea4f889))
22
+ * bump dependency packages ([a7a2bcf](https://github.com/JamesLMilner/terra-draw/commit/a7a2bcfdee6c9da773f4cf973c7f342f75822a12))
23
+ * fix the README logo ([b48d6d7](https://github.com/JamesLMilner/terra-draw/commit/b48d6d7d4da0dbc43da86bf43d08bc17c1463073))
24
+
5
25
  ### [0.0.1-alpha.13](https://github.com/JamesLMilner/terra-draw/compare/v0.0.1-alpha.12...v0.0.1-alpha.13) (2022-12-20)
6
26
 
7
27
 
package/README.md CHANGED
@@ -1,12 +1,13 @@
1
- <img src="https://terradraw.io/imgs/logo.png" alt="Terra Draw Logo" width="400"/>
1
+ <img src="./logo.png" alt="Terra Draw Logo" width="400"/>
2
2
 
3
3
  ![Terra Draw CI Badge](https://github.com/JamesLMilner/terra-draw/actions/workflows/ci.yml/badge.svg)
4
+ [![npm version](https://badge.fury.io/js/terra-draw.svg)](https://badge.fury.io/js/terra-draw)
4
5
 
5
6
  Frictionless map drawing across mapping libraries.
6
7
 
7
- TerraDraw centralises map drawing logic and provides a host of out the box drawing modes that work across different JavaScript mapping libraries. It also also you bring your own modes!
8
+ Terra Draw centralises map drawing logic and provides a host of out the box drawing modes that work across different JavaScript mapping libraries. It also also you bring your own modes!
8
9
 
9
- ### Support
10
+ ### Library Support
10
11
 
11
12
  Terra Draw uses the concept of 'adapters' to allow it to work with a host of different mapping libraries. Currently supported are:
12
13
 
package/logo.png ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terra-draw",
3
- "version": "0.0.1-alpha.13",
3
+ "version": "0.0.1-alpha.14",
4
4
  "description": "Frictionless map drawing across mapping provider",
5
5
  "scripts": {
6
6
  "docs": "typedoc",
@@ -50,31 +50,31 @@
50
50
  "@commitlint/cli": "^17.1.2",
51
51
  "@commitlint/config-conventional": "^17.1.0",
52
52
  "@googlemaps/js-api-loader": "^1.14.3",
53
- "@swc/jest": "^0.2.22",
53
+ "@swc/jest": "^0.2.24",
54
54
  "@types/geojson": "^7946.0.8",
55
55
  "@types/google.maps": "^3.49.2",
56
56
  "@types/jest": "^28.1.5",
57
57
  "@types/leaflet": "^1.7.11",
58
58
  "@types/mapbox-gl": "^2.7.3",
59
59
  "@types/rbush": "^3.0.0",
60
- "@typescript-eslint/eslint-plugin": "^5.38.1",
61
- "@typescript-eslint/parser": "^5.38.1",
60
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
61
+ "@typescript-eslint/parser": "^5.48.0",
62
62
  "eslint": "^8.24.0",
63
63
  "eslint-config-prettier": "^8.5.0",
64
64
  "eslint-plugin-prettier": "^4.2.1",
65
65
  "husky": "^7.0.0",
66
- "jest": "^28.1.2",
66
+ "jest": "^29.3.1",
67
67
  "leaflet": "^1.8.0",
68
68
  "mapbox-gl": "^2.9.1",
69
69
  "maplibre-gl": "^2.4.0",
70
70
  "microbundle": "^0.15.0",
71
71
  "ol": "^7.1.0",
72
- "serve": "^13.0.4",
72
+ "serve": "^14.1.2",
73
73
  "standard-version": "^9.5.0",
74
- "ts-jest": "^28.0.5",
75
- "ts-loader": "^9.3.1",
74
+ "ts-jest": "^29.0.3",
75
+ "ts-loader": "^9.4.2",
76
76
  "typedoc": "^0.23.21",
77
- "typescript": "^4.7.4"
77
+ "typescript": "^4.9.4"
78
78
  },
79
79
  "commitlint": {
80
80
  "extends": [