terra-draw 0.0.1-alpha.47 → 0.0.1-alpha.49
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/.devcontainer/Dockerfile +8 -0
- package/.devcontainer/devcontainer.json +21 -0
- package/.devcontainer/post-create.sh +16 -0
- package/README.md +3 -3
- package/dist/adapters/common/base.adapter.d.ts +3 -2
- package/dist/adapters/google-maps.adapter.d.ts +9 -5
- package/dist/adapters/leaflet.adapter.d.ts +2 -2
- package/dist/adapters/mapbox-gl.adapter.d.ts +2 -2
- package/dist/adapters/maplibre-gl.adapter.d.ts +2 -2
- package/dist/adapters/openlayers.adapter.d.ts +3 -2
- package/dist/common.d.ts +1 -1
- package/dist/modes/freehand/freehand.mode.d.ts +2 -0
- package/dist/terra-draw.cjs +1 -1
- package/dist/terra-draw.cjs.map +1 -1
- package/dist/terra-draw.modern.js +1 -1
- package/dist/terra-draw.modern.js.map +1 -1
- package/dist/terra-draw.module.js +1 -1
- package/dist/terra-draw.module.js.map +1 -1
- package/dist/terra-draw.umd.js +1 -1
- package/dist/terra-draw.umd.js.map +1 -1
- package/jest.nocheck.config.ts +9 -0
- package/package.json +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terra-draw",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.49",
|
|
4
4
|
"description": "Frictionless map drawing across mapping provider",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docs": "typedoc",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"watch": "microbundle --watch --format modern",
|
|
12
12
|
"test": "jest --config jest.config.ts",
|
|
13
13
|
"test:coverage": "jest --config jest.config.ts --coverage",
|
|
14
|
-
"test:nocheck": "
|
|
15
|
-
"test:nocheck:coverage": "
|
|
14
|
+
"test:nocheck": "jest --config jest.nocheck.config.ts",
|
|
15
|
+
"test:nocheck:coverage": "jest --config jest.nocheck.config.ts --coverage",
|
|
16
16
|
"lint": "eslint --ext .ts src/",
|
|
17
17
|
"lint:quiet": "eslint --ext .ts --quiet src/",
|
|
18
18
|
"lint:fix": "eslint --fix --ext .ts src/",
|
|
19
19
|
"lint:fix:quiet": "eslint --fix --quiet --ext .ts src/",
|
|
20
20
|
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
|
|
21
|
-
"format:quiet": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" --
|
|
21
|
+
"format:quiet": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" --log-level=silent",
|
|
22
22
|
"prepare": "husky install"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
@@ -54,20 +54,21 @@
|
|
|
54
54
|
"@commitlint/cli": "^17.1.2",
|
|
55
55
|
"@commitlint/config-conventional": "^17.1.0",
|
|
56
56
|
"@googlemaps/js-api-loader": "^1.14.3",
|
|
57
|
-
"@swc/jest": "^0.2.
|
|
57
|
+
"@swc/jest": "^0.2.29",
|
|
58
58
|
"@types/geojson": "^7946.0.8",
|
|
59
59
|
"@types/google.maps": "^3.49.2",
|
|
60
60
|
"@types/jest": "^28.1.5",
|
|
61
61
|
"@types/leaflet": "^1.7.11",
|
|
62
62
|
"@types/mapbox-gl": "^2.7.3",
|
|
63
63
|
"@types/rbush": "^3.0.0",
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
65
|
-
"@typescript-eslint/parser": "^
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
65
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
66
66
|
"eslint": "^8.24.0",
|
|
67
|
-
"eslint-config-prettier": "^
|
|
68
|
-
"eslint-plugin-prettier": "^
|
|
67
|
+
"eslint-config-prettier": "^9.0.0",
|
|
68
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
69
69
|
"husky": "^7.0.0",
|
|
70
70
|
"jest": "^29.3.1",
|
|
71
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
71
72
|
"leaflet": "^1.8.0",
|
|
72
73
|
"mapbox-gl": "^2.13.0",
|
|
73
74
|
"maplibre-gl": "3.2.0",
|
|
@@ -77,8 +78,9 @@
|
|
|
77
78
|
"standard-version": "^9.5.0",
|
|
78
79
|
"ts-jest": "^29.1.0",
|
|
79
80
|
"ts-loader": "^9.4.2",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
81
|
+
"ts-node": "^10.9.1",
|
|
82
|
+
"typedoc": "^0.25.1",
|
|
83
|
+
"typescript": "^5.2.2"
|
|
82
84
|
},
|
|
83
85
|
"commitlint": {
|
|
84
86
|
"extends": [
|
|
@@ -91,7 +93,8 @@
|
|
|
91
93
|
"@typescript-eslint"
|
|
92
94
|
],
|
|
93
95
|
"rules": {
|
|
94
|
-
"@typescript-eslint/no-empty-function": "warn"
|
|
96
|
+
"@typescript-eslint/no-empty-function": "warn",
|
|
97
|
+
"@typescript-eslint/no-explicit-any": "warn"
|
|
95
98
|
},
|
|
96
99
|
"extends": [
|
|
97
100
|
"plugin:@typescript-eslint/recommended",
|
|
@@ -150,8 +153,5 @@
|
|
|
150
153
|
"section": "Reverts"
|
|
151
154
|
}
|
|
152
155
|
]
|
|
153
|
-
},
|
|
154
|
-
"dependencies": {
|
|
155
|
-
"ts-node": "^10.9.1"
|
|
156
156
|
}
|
|
157
157
|
}
|