@tscircuit/3d-viewer 0.0.600 → 0.0.602

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.
Files changed (3) hide show
  1. package/README.md +100 -0
  2. package/dist/index.js +4443 -1963
  3. package/package.json +20 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/3d-viewer",
3
- "version": "0.0.600",
3
+ "version": "0.0.602",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/tscircuit/3d-viewer"
@@ -24,16 +24,21 @@
24
24
  "prepublish": "npm run build",
25
25
  "preview": "vite preview",
26
26
  "storybook": "storybook dev -p 6006",
27
- "build-storybook": "storybook build",
27
+ "build-storybook": "bun run prepare:renderer-comparisons && storybook build",
28
28
  "vercel-build": "bun run build-storybook",
29
29
  "format": "biome format . --write",
30
30
  "format:check": "biome format .",
31
- "test:node-bundle": "node ./scripts/load-bundle-in-node.js"
31
+ "test:node-bundle": "node ./scripts/load-bundle-in-node.js",
32
+ "prepare:renderer-comparisons": "bun scripts/prepare-renderer-comparisons.ts",
33
+ "storybook:comparisons": "bun run prepare:renderer-comparisons && bun run storybook --initial-path '/story/diagnostics-renderer-parity--x-rotation'",
34
+ "test:renderer-comparisons:serve": "bun run prepare:renderer-comparisons && vite --config playwright/vite.config.ts",
35
+ "test:renderer-calibration": "playwright test --project=calibration",
36
+ "test:renderer-comparisons": "bun scripts/run-renderer-comparisons.ts"
32
37
  },
33
38
  "dependencies": {
34
39
  "@jscad/regl-renderer": "^2.6.12",
35
40
  "@jscad/stl-serializer": "^2.1.20",
36
- "circuit-json": "^0.0.465",
41
+ "circuit-json": "^0.0.497",
37
42
  "circuit-to-canvas": "^0.0.123",
38
43
  "react-hot-toast": "^2.6.0",
39
44
  "three": "^0.165.0",
@@ -52,6 +57,8 @@
52
57
  "@chromatic-com/storybook": "^1.9.0",
53
58
  "@jscad/modeling": "^2.12.5",
54
59
  "@napi-rs/canvas": "^1.0.9",
60
+ "@playwright/test": "1.58.2",
61
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
55
62
  "@storybook/blocks": "9.0.0-alpha.17",
56
63
  "@storybook/react-vite": "^9.1.5",
57
64
  "@tscircuit/alphabet": "^0.0.25",
@@ -61,10 +68,10 @@
61
68
  "@types/react": "19",
62
69
  "@types/react-dom": "19",
63
70
  "@types/three": "^0.165.0",
64
- "@radix-ui/react-dropdown-menu": "^2.1.16",
65
71
  "@vitejs/plugin-react": "^4.3.4",
66
72
  "bun-match-svg": "^0.0.9",
67
73
  "bun-types": "1.2.1",
74
+ "circuit-json-to-gltf": "0.0.129",
68
75
  "debug": "^4.4.0",
69
76
  "jscad-electronics": "^0.0.178",
70
77
  "jscad-planner": "^0.0.13",
@@ -73,10 +80,16 @@
73
80
  "react-use-gesture": "^9.1.3",
74
81
  "semver": "^7.7.0",
75
82
  "strip-ansi": "^7.1.0",
76
- "tscircuit": "^0.0.2009",
83
+ "tscircuit": "^0.0.2611",
77
84
  "tsup": "^8.3.6",
78
85
  "typescript": "^5.7.3",
79
86
  "vite": "^7.1.5",
80
- "vite-tsconfig-paths": "^4.3.2"
87
+ "vite-tsconfig-paths": "^4.3.2",
88
+ "@tscircuit/core": "^0.0.1955",
89
+ "@tscircuit/props": "^0.0.664",
90
+ "@tscircuit/circuit-json-util": "^0.0.114"
91
+ },
92
+ "patchedDependencies": {
93
+ "@tscircuit/fanout-solver@0.0.78": "patches/@tscircuit%2Ffanout-solver@0.0.78.patch"
81
94
  }
82
95
  }