terra-draw 0.0.1-alpha.1 → 0.0.1-alpha.11

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/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "terra-draw",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "0.0.1-alpha.11",
4
4
  "description": "Frictionless map drawing across mapping provider",
5
5
  "scripts": {
6
+ "docs": "typedoc --out docs src/terra-draw.ts --exclude 'src/geometry/**/*.ts' --exclude 'src/test/**/*.ts' --exclude 'src/util/**/*.ts'",
7
+ "docs:serve": "serve ./docs",
8
+ "release": "standard-version",
6
9
  "build": "microbundle",
7
10
  "watch": "microbundle --watch --format modern",
8
11
  "test": "jest --config jest.config.ts",
@@ -18,9 +21,11 @@
18
21
  "type": "module",
19
22
  "source": "src/terra-draw.ts",
20
23
  "exports": {
24
+ "types": "./dist/terra-draw.d.ts",
21
25
  "require": "./dist/terra-draw.cjs",
22
26
  "default": "./dist/terra-draw.modern.js"
23
27
  },
28
+ "types": "./dist/terra-draw.d.ts",
24
29
  "main": "./dist/terra-draw.cjs",
25
30
  "module": "./dist/terra-draw.module.js",
26
31
  "unpkg": "./dist/terra-draw.umd.js",
@@ -47,10 +52,13 @@
47
52
  "jest": "^28.1.2",
48
53
  "leaflet": "^1.8.0",
49
54
  "mapbox-gl": "^2.9.1",
55
+ "maplibre-gl": "^2.4.0",
50
56
  "microbundle": "^0.15.0",
51
57
  "serve": "^13.0.4",
58
+ "standard-version": "^9.5.0",
52
59
  "ts-jest": "^28.0.5",
53
60
  "ts-loader": "^9.3.1",
61
+ "typedoc": "^0.23.21",
54
62
  "typescript": "^4.7.4"
55
63
  },
56
64
  "commitlint": {
@@ -82,5 +90,53 @@
82
90
  "prettier": {
83
91
  "printWidth": 80,
84
92
  "semi": true
93
+ },
94
+ "standard-version": {
95
+ "types": [
96
+ {
97
+ "type": "feat",
98
+ "section": "Features"
99
+ },
100
+ {
101
+ "type": "fix",
102
+ "section": "Bug Fixes"
103
+ },
104
+ {
105
+ "type": "docs",
106
+ "section": "Documentation"
107
+ },
108
+ {
109
+ "type": "style",
110
+ "section": "Styling"
111
+ },
112
+ {
113
+ "type": "refactor",
114
+ "section": "Refactors"
115
+ },
116
+ {
117
+ "type": "perf",
118
+ "section": "Performance"
119
+ },
120
+ {
121
+ "type": "test",
122
+ "section": "Tests"
123
+ },
124
+ {
125
+ "type": "build",
126
+ "section": "Build System"
127
+ },
128
+ {
129
+ "type": "ci",
130
+ "section": "CI"
131
+ },
132
+ {
133
+ "type": "chore",
134
+ "section": "Chore"
135
+ },
136
+ {
137
+ "type": "revert",
138
+ "section": "Reverts"
139
+ }
140
+ ]
85
141
  }
86
- }
142
+ }