@linkurious/ogma-annotations 2.1.2 → 2.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkurious/ogma-annotations",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "Headless annotation plugin for Ogma",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -68,16 +68,17 @@
68
68
  "bump:patch": "bump2version patch && npm version --no-git-tag-version patch",
69
69
  "bump:minor": "bump2version minor && npm version --no-git-tag-version minor",
70
70
  "bump:major": "bump2version major && npm version --no-git-tag-version major",
71
- "build": "vite build",
71
+ "build": "vite build && npm run types",
72
72
  "postbuild": "cp src/ui/styles.css dist/ui-styles.css",
73
73
  "lint": "npx oxlint -c oxlint.json src",
74
74
  "lint:ci": "mkdir -p reports && npx oxlint -c oxlint.json -f checkstyle src > reports/checkstyle.xml",
75
- "types": "tsc --d -emitDeclarationOnly --outDir dist/types",
75
+ "types": "node scripts/build-types.mjs",
76
76
  "preview": "vite preview",
77
77
  "docs:build": "typedoc && node scripts/organize-sidebar.mjs",
78
78
  "postdocs:build": "npm run build:demo",
79
79
  "test": "npm run test:unit",
80
80
  "test:unit": "vitest run -c test/unit/vitest.config.mts",
81
+ "test:coverage": "vitest run -c test/unit/vitest.config.mts --coverage",
81
82
  "test:watch": "vitest watch -c test/unit/vitest.config.mts",
82
83
  "test:benchmark": "vitest bench --run",
83
84
  "test:e2e": "vitest run -c test/e2e/vitest.config.mts",
@@ -117,20 +118,24 @@
117
118
  },
118
119
  "devDependencies": {
119
120
  "@linkurious/eslint-config-ogma": "2.1.0",
120
- "oxlint": "0.16.0",
121
+ "@linkurious/svg-font-embedder": "1.1.0",
122
+ "@linkurious/ogma-ui-kit": "0.0.18",
121
123
  "@types/geojson": "7946.0.16",
124
+ "@types/leaflet": "1.9.22",
122
125
  "@types/rbush": "4.0.0",
126
+ "@vitest/coverage-v8": "5.0.0",
123
127
  "get-port": "7.0.0",
124
128
  "jsdom": "24.0.0",
129
+ "leaflet": "1.9.4",
130
+ "oxlint": "0.16.0",
125
131
  "playwright": "1.57.0",
126
132
  "typedoc": "0.28.20",
127
133
  "typedoc-plugin-markdown": "4.9.0",
128
134
  "typedoc-vitepress-theme": "1.1.2",
129
135
  "typescript": "5.3.3",
130
136
  "vite": "6.4.3",
131
- "vite-plugin-dts": "^4.1.0",
132
- "vitest": "3.2.6",
133
- "vitest-canvas-mock": "1.1.3"
137
+ "vitest": "5.0.0",
138
+ "vitest-canvas-mock": "1.2.0"
134
139
  },
135
140
  "prettier": {
136
141
  "printWidth": 80,