@vizij/render 1.0.0 → 2.0.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 +195 -110
- package/dist/index.d.mts +183 -151
- package/dist/index.d.ts +183 -151
- package/dist/index.js +765 -1776
- package/dist/index.mjs +738 -1776
- package/package.json +11 -18
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizij/render",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "
|
|
3
|
+
"description": "Vizij faces on a page: the shared canvas and face slots over @vizij/runtime's Bevy view, and the GLB loader, exporter and world model.",
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"url": "https://github.com/vizij-ai/vizij-web",
|
|
19
19
|
"directory": "packages/@vizij/render"
|
|
20
20
|
},
|
|
21
|
-
"license": "
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "tsup src/index.tsx --format esm,cjs --dts src/index.tsx --external react,react-dom,three,@
|
|
28
|
-
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts src/index.tsx --external react,react-dom,three,@
|
|
27
|
+
"build": "tsup src/index.tsx --format esm,cjs --dts src/index.tsx --external react,react-dom,three,zustand,@vizij/runtime",
|
|
28
|
+
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts src/index.tsx --external react,react-dom,three,zustand,@vizij/runtime",
|
|
29
29
|
"typecheck": "tsc --noEmit",
|
|
30
30
|
"lint": "pnpm --filter \"$npm_package_name\" exec eslint --ext .js,.jsx,.ts,.tsx -- .",
|
|
31
31
|
"lint:fix": "pnpm --filter \"$npm_package_name\" exec eslint --ext .js,.jsx,.ts,.tsx --fix -- .",
|
|
@@ -39,37 +39,30 @@
|
|
|
39
39
|
"prepack": "pnpm run build && pnpm run test && pnpm run typecheck && pnpm run lint && pnpm run size"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@vizij/utils": "^0.2.
|
|
43
|
-
"clsx": "^2.1.1",
|
|
44
|
-
"deep-equal": "^2.2.3",
|
|
42
|
+
"@vizij/utils": "^0.2.1",
|
|
45
43
|
"immer": "^10.0.3",
|
|
46
|
-
"react-error-boundary": "^4.0.13",
|
|
47
44
|
"three-stdlib": "^2.35.13"
|
|
48
45
|
},
|
|
49
46
|
"peerDependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"@react-three/fiber": "^9.5.0",
|
|
47
|
+
"@vizij/runtime": "^8.0.0",
|
|
52
48
|
"react": ">=18",
|
|
53
|
-
"react-dom": ">=18",
|
|
54
|
-
"tailwindcss": "^4.1.3",
|
|
55
49
|
"three": "^0.170.0",
|
|
56
50
|
"zustand": "^5.0.2"
|
|
57
51
|
},
|
|
58
52
|
"devDependencies": {
|
|
59
|
-
"@react-three/drei": "^10.7.7",
|
|
60
|
-
"@react-three/fiber": "^9.5.0",
|
|
61
|
-
"@types/deep-equal": "^1.0.4",
|
|
62
53
|
"@types/react": "^19.2.7",
|
|
63
54
|
"@types/three": "^0.170.0",
|
|
64
55
|
"@size-limit/file": "^11.2.0",
|
|
65
56
|
"react": "^19.2.3",
|
|
66
|
-
"react-dom": "^19.2.3",
|
|
67
57
|
"size-limit": "^11.1.7",
|
|
68
58
|
"three": "^0.170.0",
|
|
69
59
|
"zustand": "^5.0.2",
|
|
70
60
|
"tsup": "^8.0.1",
|
|
71
61
|
"typescript": "^5.5.0",
|
|
72
|
-
"prettier": "^3.4.2"
|
|
62
|
+
"prettier": "^3.4.2",
|
|
63
|
+
"@vizij/runtime": "^8.0.0",
|
|
64
|
+
"react-dom": "^19.2.3",
|
|
65
|
+
"@types/react-dom": "^19.2.3"
|
|
73
66
|
},
|
|
74
67
|
"size-limit": [
|
|
75
68
|
{
|