@fxi/zartigl 0.5.0 → 0.6.0
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/README.md +117 -11
- package/dist/GeoVideoScalarSource-DoQAnyTy.js +38 -0
- package/dist/catalog.d.ts +40 -2
- package/dist/catalog.js +111 -62
- package/dist/engine.d.ts +616 -0
- package/dist/engine.js +29 -0
- package/dist/geovideo-index-CD5wflJT.js +833 -0
- package/dist/land-50m-BX3pQS4x.js +15 -0
- package/dist/projversor.d.ts +919 -0
- package/dist/projversor.js +2374 -0
- package/dist/scalar-color-domain-PEK8Hxg1.js +12 -0
- package/dist/story.d.ts +398 -0
- package/dist/story.js +561 -0
- package/dist/zartigl.d.ts +356 -34
- package/dist/zartigl.js +3606 -2637
- package/package.json +49 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fxi/zartigl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "MapLibre GL JS visualization for catalog-backed Zarr, WMTS, and GeoVideo data",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,6 +18,18 @@
|
|
|
18
18
|
"./catalog": {
|
|
19
19
|
"import": "./dist/catalog.js",
|
|
20
20
|
"types": "./dist/catalog.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./engine": {
|
|
23
|
+
"import": "./dist/engine.js",
|
|
24
|
+
"types": "./dist/engine.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./projversor": {
|
|
27
|
+
"import": "./dist/projversor.js",
|
|
28
|
+
"types": "./dist/projversor.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./story": {
|
|
31
|
+
"import": "./dist/story.js",
|
|
32
|
+
"types": "./dist/story.d.ts"
|
|
21
33
|
}
|
|
22
34
|
},
|
|
23
35
|
"files": [
|
|
@@ -26,11 +38,18 @@
|
|
|
26
38
|
"scripts": {
|
|
27
39
|
"dev": "vite",
|
|
28
40
|
"dev:story": "vite --config vite.config.story.ts",
|
|
41
|
+
"dev:geovideo-vector": "vite --config vite.config.geovideo-vector.ts",
|
|
42
|
+
"dev:projection": "vite --config vite.config.projection.ts",
|
|
43
|
+
"dev:story-projversor": "vite --config vite.config.story-projversor.ts",
|
|
44
|
+
"dev:site": "vite --config vite.config.site.ts",
|
|
29
45
|
"dev:prod": "npm run dev",
|
|
30
46
|
"test": "vitest run",
|
|
31
47
|
"test:unit": "vitest run",
|
|
32
48
|
"build": "vite build",
|
|
33
49
|
"build:story": "vite build --config vite.config.story.ts",
|
|
50
|
+
"build:projection": "vite build --config vite.config.projection.ts",
|
|
51
|
+
"build:story-projversor": "vite build --config vite.config.story-projversor.ts",
|
|
52
|
+
"build:site": "vite build --config vite.config.site.ts",
|
|
34
53
|
"build:prod": "npm run build",
|
|
35
54
|
"build:lib": "vite build --config vite.config.lib.ts",
|
|
36
55
|
"preview": "vite preview",
|
|
@@ -45,11 +64,20 @@
|
|
|
45
64
|
"story:data": "uv run --project scripts python scripts/story_data/build.py",
|
|
46
65
|
"test:story-data": "uv run --project scripts python -m unittest discover -s scripts/story_data -p 'test_*.py'",
|
|
47
66
|
"geovideo:dry-run": "uv run scripts/geovideo/render.py scripts/geovideo/examples/sst-anomaly.json --dry-run",
|
|
67
|
+
"geovideo:plan": "uv run scripts/geovideo/archive.py plan",
|
|
68
|
+
"geovideo:run": "uv run scripts/geovideo/archive.py run",
|
|
69
|
+
"geovideo:progress": "uv run scripts/geovideo/archive.py plan --summary",
|
|
70
|
+
"test:geovideo": "uv run --no-project --with boto3 --with 'fsspec[http]' --with numpy --with requests --with xarray --with 'zarr>=3' python -m unittest discover -s scripts/geovideo -p 'test_*.py'",
|
|
48
71
|
"geovideo:calibrate": "uv run scripts/geovideo/calibrate.py",
|
|
49
72
|
"geovideo:calibrate:browser": "uv run scripts/geovideo/browser_calibrate.py",
|
|
50
73
|
"smoke:sample": "npm run build:lib && node scripts/smoke-sample-point.mjs",
|
|
51
74
|
"release:check": "npm run test && npm run catalog:validate && npm run build && npm run build:lib && npm run smoke:sample",
|
|
52
|
-
"prepublishOnly": "npm run build:lib"
|
|
75
|
+
"prepublishOnly": "npm run build:lib",
|
|
76
|
+
"format": "node node_modules/prettier/bin/prettier.cjs --write \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
|
|
77
|
+
"format:check": "node node_modules/prettier/bin/prettier.cjs --check \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\"",
|
|
78
|
+
"lint": "node node_modules/eslint/bin/eslint.js . --max-warnings 0",
|
|
79
|
+
"lint:fix": "node node_modules/eslint/bin/eslint.js . --fix --max-warnings 0",
|
|
80
|
+
"quality": "npm run format:check && npm run lint"
|
|
53
81
|
},
|
|
54
82
|
"publishConfig": {
|
|
55
83
|
"access": "public"
|
|
@@ -67,21 +95,35 @@
|
|
|
67
95
|
"peerDependencies": {
|
|
68
96
|
"maplibre-gl": ">=4.0.0"
|
|
69
97
|
},
|
|
98
|
+
"peerDependenciesMeta": {
|
|
99
|
+
"maplibre-gl": {
|
|
100
|
+
"optional": true
|
|
101
|
+
}
|
|
102
|
+
},
|
|
70
103
|
"dependencies": {
|
|
104
|
+
"@types/d3": "^7.4.3",
|
|
105
|
+
"d3": "^7.9.0",
|
|
71
106
|
"numcodecs": "^0.3.2",
|
|
72
|
-
"pako": "^2.1.0"
|
|
107
|
+
"pako": "^2.1.0",
|
|
108
|
+
"topojson-client": "^3.1.0"
|
|
73
109
|
},
|
|
74
110
|
"devDependencies": {
|
|
111
|
+
"@fontsource-variable/inter-tight": "^5.3.0",
|
|
75
112
|
"@tweakpane/core": "^2.0.5",
|
|
76
|
-
"@types/d3": "^7.4.3",
|
|
77
113
|
"@types/pako": "^2.0.4",
|
|
78
|
-
"
|
|
114
|
+
"@types/topojson-client": "^3.1.5",
|
|
115
|
+
"@typescript-eslint/parser": "8.46.4",
|
|
116
|
+
"eslint": "9.39.5",
|
|
117
|
+
"eslint-config-prettier": "10.1.8",
|
|
118
|
+
"globals": "16.5.0",
|
|
79
119
|
"maplibre-gl": "^5.17.0",
|
|
120
|
+
"prettier": "3.6.2",
|
|
80
121
|
"tweakpane": "^4.0.5",
|
|
81
|
-
"typescript": "
|
|
122
|
+
"typescript": "5.9.3",
|
|
82
123
|
"vite": "^7.3.1",
|
|
83
124
|
"vite-plugin-dts": "^4.5.4",
|
|
84
125
|
"vite-plugin-glsl": "^1.5.5",
|
|
85
|
-
"vitest": "^4.1.7"
|
|
126
|
+
"vitest": "^4.1.7",
|
|
127
|
+
"world-atlas": "^2.0.2"
|
|
86
128
|
}
|
|
87
129
|
}
|