@kineviz/gl 0.6.1 → 0.7.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.
@@ -0,0 +1,2 @@
1
+ import{a as e,b as o,q as r,r as b,s as c,t as u,u as p,v as t,w as a,x as F,y as g,z as i}from"./chunk-EDTCHJCZ.mjs";export{g as WebGPUForceLayoutController,i as WebGPULayoutControllerAdapter,o as acquireWebGPUDevice,e as isWebGPUAvailable,b as webgpuForceCenter,t as webgpuForceLink,a as webgpuForceManyBody,F as webgpuForceManyBodyOctree,r as webgpuForceSimulation,c as webgpuForceX,u as webgpuForceY,p as webgpuForceZ};
2
+ //# sourceMappingURL=webgpu-YXDFF4ZT.mjs.map
package/package.json CHANGED
@@ -1,7 +1,23 @@
1
1
  {
2
2
  "name": "@kineviz/gl",
3
- "version": "0.6.1",
4
- "description": "Complete 3D graph visualization engine",
3
+ "version": "0.7.0",
4
+ "description": "GPU-accelerated 3D graph visualization engine for React — WebGL rendering, force layout, maps and cinematic effects.",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://gl.kineviz.com",
7
+ "keywords": [
8
+ "graph",
9
+ "graph-visualization",
10
+ "network-visualization",
11
+ "webgl",
12
+ "webgpu",
13
+ "three",
14
+ "threejs",
15
+ "react",
16
+ "force-layout",
17
+ "3d",
18
+ "data-visualization",
19
+ "knowledge-graph"
20
+ ],
5
21
  "main": "dist/index.js",
6
22
  "module": "dist/index.mjs",
7
23
  "types": "dist/index.d.ts",
@@ -16,24 +32,24 @@
16
32
  "import": "./dist/schemas.mjs",
17
33
  "require": "./dist/schemas.js"
18
34
  },
35
+ "./layout-gpu": {
36
+ "types": "./dist/layout-gpu.d.ts",
37
+ "import": "./dist/layout-gpu.mjs",
38
+ "require": "./dist/layout-gpu.js"
39
+ },
19
40
  "./dist/*": "./dist/*",
20
- "./assets/*": "./assets/*",
21
41
  "./package.json": "./package.json"
22
42
  },
23
43
  "files": [
24
44
  "dist",
25
- "assets",
26
45
  "CHANGELOG.md",
46
+ "LICENSE",
47
+ "NOTICE",
27
48
  "!dist/**/*.map"
28
49
  ],
29
- "repository": {
30
- "type": "git",
31
- "url": "git+https://bitbucket.org/kineviz/canvas2.git",
32
- "directory": "render-engine"
33
- },
34
50
  "publishConfig": {
35
51
  "registry": "https://registry.npmjs.org/",
36
- "access": "restricted"
52
+ "access": "public"
37
53
  },
38
54
  "scripts": {
39
55
  "prepublishOnly": "npm run build",
@@ -43,6 +59,7 @@
43
59
  "dev": "tsup --watch",
44
60
  "test": "vitest run",
45
61
  "test:watch": "vitest",
62
+ "measure": "node scripts/measure-bundle.mjs",
46
63
  "docs": "typedoc",
47
64
  "docs:check": "node -e \"const { execSync } = require('child_process'); const out = execSync('typedoc --logLevel Verbose 2>&1', { encoding: 'utf8' }); const warnings = (out.match(/\\\\[warning\\\\]/g) || []).length; if (warnings > 0) { console.error(out); process.exit(1); }\""
48
65
  },
@@ -56,27 +73,23 @@
56
73
  "zod": "^3.23.0"
57
74
  },
58
75
  "peerDependencies": {
59
- "three": "~0.121.0",
76
+ "three": "~0.184.0",
60
77
  "react": "^18.0.0",
61
78
  "react-dom": "^18.0.0"
62
79
  },
63
- "peerDependenciesMeta": {
64
- "@kineviz/ontology": {
65
- "optional": true
66
- }
67
- },
68
80
  "devDependencies": {
69
81
  "tsup": "^8.0.0",
70
82
  "esbuild": "^0.27.2",
71
- "typedoc": "^0.24.6",
83
+ "typedoc": "^0.28.14",
72
84
  "vitest": "^1.0.0",
73
85
  "@testing-library/react": "^14.2.0",
74
86
  "@testing-library/jest-dom": "^6.4.0",
75
87
  "jsdom": "^24.0.0",
76
- "@types/three": "*",
88
+ "@types/three": "0.184.0",
77
89
  "@types/react": "*",
78
90
  "@types/react-dom": "*",
79
91
  "@types/lodash": "*",
80
- "@kineviz/llm-types": "*"
92
+ "@kineviz/llm-types": "*",
93
+ "@kineviz/parsers": "*"
81
94
  }
82
95
  }