@abi-software/flatmap-viewer 4.0.4 → 4.1.2

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": "@abi-software/flatmap-viewer",
3
- "version": "4.0.4",
3
+ "version": "4.1.2",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,17 +42,22 @@
42
42
  "maplibre-gl": "^5.2.0",
43
43
  "mathjax-full": "^3.2.2",
44
44
  "minisearch": "^2.2.1",
45
- "polylabel": "^2.0.1"
45
+ "polylabel": "^2.0.1",
46
+ "uuid": "^11.1.0"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@eslint/js": "^9.19.0",
50
+ "@math.gl/core": "^4.1.0",
49
51
  "@types/core-js": "^2.5.8",
50
52
  "@types/node": "^20.12.7",
51
53
  "@types/polylabel": "^1.1.3",
52
54
  "eslint": "^9.19.0",
53
55
  "glob": "^10.3.12",
54
56
  "globals": "^15.14.0",
55
- "typedoc": "^0.27.0",
57
+ "typedoc": "^0.28.0",
58
+ "typedoc-github-theme": "^0.3.0",
59
+ "typedoc-plugin-inline-sources": "^1.3.0",
60
+ "typedoc-plugin-missing-exports": "^4.0.0",
56
61
  "typescript": "^5.2.2",
57
62
  "typescript-eslint": "^8.22.0",
58
63
  "vite": "^5.1.4",
@@ -64,7 +69,7 @@
64
69
  "start": "vite serve app --port 3000",
65
70
  "preview": "vite preview",
66
71
  "build": "vite build app --base /viewer/",
67
- "docs": "cd docs; poetry run make html",
72
+ "docs": "npx typedoc",
68
73
  "lint": "eslint ./src/",
69
74
  "typecheck": "tsc --noEmit -p tsconfig-build.json --composite false",
70
75
  "tsdoc": "typedoc"
package/README.rst DELETED
@@ -1,47 +0,0 @@
1
- ==============
2
- Flatmap Viewer
3
- ==============
4
-
5
- A viewer for anatomical flatmaps generated by `flatmap-maker <https://github.com/AnatomicMaps/flatmap-maker>`_. The viewer is intended to be a component of a larger Javascript web application, although may be used standalone for local flatmap development and testing. Flatmap content is obtained from a `flatmap-server <https://github.com/AnatomicMaps/flatmap-server>`_.
6
-
7
-
8
- Standalone Use
9
- ==============
10
-
11
- Requirements
12
- ------------
13
-
14
- * `nodejs <https://nodejs.org/en/download/>`_
15
-
16
-
17
- Installation
18
- ------------
19
-
20
- 1) Clone this repository.
21
- 2) Run ``npm install``
22
-
23
-
24
- Running
25
- -------
26
-
27
- ::
28
-
29
- $ npm run dev
30
-
31
- Maps can then be viewed at http://localhost:3000
32
-
33
- Configuration
34
- ~~~~~~~~~~~~~
35
-
36
- The map server endpoint is specified as ``MAP_ENDPOINT`` in ``src/main.js``. It defaults to ``http:localhost:4329/``, which matches the default endpoint of a local flatmap server.
37
-
38
- Package Installation
39
- ====================
40
-
41
- * ``pnpm install @abi-software/flatmap-viewer@4.0.4``
42
-
43
- Documentation
44
- -------------
45
-
46
- The API is documented at `Read the Docs <https://flatmap-viewer.readthedocs.io/en/mapmaker-v2/>`_.
47
-