@tscircuit/fake-snippets 0.0.41 → 0.0.43
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/bun.lock +10 -12
- package/dist/bundle.js +411 -292
- package/dist/index.d.ts +134 -2
- package/dist/index.js +36 -0
- package/fake-snippets-api/lib/db/db-client.ts +44 -2
- package/fake-snippets-api/routes/api/order_quotes/create.ts +26 -0
- package/fake-snippets-api/routes/api/order_quotes/create_all_vendor_quotes.ts +30 -0
- package/fake-snippets-api/routes/api/order_quotes/get.ts +32 -0
- package/package.json +3 -3
- package/src/components/EditorNav.tsx +68 -58
- package/src/components/ViewPackagePage/components/important-files-view.tsx +6 -1
- package/src/components/ViewPackagePage/components/package-header.tsx +39 -5
- package/src/components/ViewPackagePage/components/repo-page-content.tsx +1 -0
- package/src/components/dialogs/edit-package-details-dialog.tsx +37 -39
- package/src/hooks/use-delete-package.ts +1 -0
- package/src/hooks/use-fork-package-mutation.ts +7 -0
package/bun.lock
CHANGED
|
@@ -112,9 +112,9 @@
|
|
|
112
112
|
"@babel/standalone": "^7.26.2",
|
|
113
113
|
"@biomejs/biome": "^1.9.2",
|
|
114
114
|
"@playwright/test": "^1.48.0",
|
|
115
|
-
"@tscircuit/core": "^0.0.
|
|
115
|
+
"@tscircuit/core": "^0.0.370",
|
|
116
116
|
"@tscircuit/prompt-benchmarks": "^0.0.28",
|
|
117
|
-
"@tscircuit/runframe": "^0.0.
|
|
117
|
+
"@tscircuit/runframe": "^0.0.330",
|
|
118
118
|
"@types/babel__standalone": "^7.1.7",
|
|
119
119
|
"@types/bun": "^1.1.10",
|
|
120
120
|
"@types/country-list": "^2.1.4",
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
|
|
696
696
|
"@tscircuit/circuit-json-util": ["@tscircuit/circuit-json-util@0.0.45", "", { "dependencies": { "parsel-js": "^1.1.2" }, "peerDependencies": { "circuit-json": "*", "transformation-matrix": "*", "zod": "*" } }, "sha512-zIcI5Fp1UllIm/JsjJsXhmgRDYReDUddJtylh5PZnkRK3ZVkMj+HV34A39qGHeYDg3bhf/89OQoxz+1fL68jug=="],
|
|
697
697
|
|
|
698
|
-
"@tscircuit/core": ["@tscircuit/core@0.0.
|
|
698
|
+
"@tscircuit/core": ["@tscircuit/core@0.0.370", "", { "dependencies": { "@lume/kiwi": "^0.4.3", "@tscircuit/capacity-autorouter": "^0.0.49", "@tscircuit/checks": "^0.0.30", "@tscircuit/circuit-json-util": "^0.0.45", "@tscircuit/infgrid-ijump-astar": "^0.0.33", "@tscircuit/math-utils": "^0.0.12", "@tscircuit/props": "^0.0.171", "@tscircuit/schematic-autolayout": "^0.0.6", "@tscircuit/soup-util": "^0.0.41", "circuit-json": "^0.0.153", "circuit-json-to-connectivity-map": "^0.0.17", "format-si-unit": "^0.0.3", "nanoid": "^5.0.7", "performance-now": "^2.1.0", "react-reconciler": "^0.31.0", "react-reconciler-18": "npm:react-reconciler@0.29.2", "schematic-symbols": "^0.0.121", "transformation-matrix": "^2.16.1", "zod": "^3.23.8" }, "peerDependencies": { "@tscircuit/footprinter": "*", "typescript": "^5.0.0" } }, "sha512-e9dJnEKJzY3IiQ3XEYV56d6Uc8tyf0CS9Yl1IhemfkzMdZM9zWlO5BHh9+HgsQQd6stLMW5jrp4mYRgJrGxibQ=="],
|
|
699
699
|
|
|
700
700
|
"@tscircuit/create-snippet-url": ["@tscircuit/create-snippet-url@0.0.8", "", { "dependencies": { "fflate": "^0.8.2" }, "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-VMixgwQRsOXlQGwVh2RZIFLLtsn8YWl2Bht61T26MHNM71A1Wzo5qGZtqcdbVkFnvlA42KmdVVjvxYDvEyWdJw=="],
|
|
701
701
|
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
|
|
718
718
|
"@tscircuit/mm": ["@tscircuit/mm@0.0.8", "", { "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-nl7nxE7AhARbKuobflI0LUzoir7+wJyvwfPw6bzA/O0Q3YTcH3vBkU/Of+V/fp6ht+AofiCXj7YAH9E446138Q=="],
|
|
719
719
|
|
|
720
|
-
"@tscircuit/pcb-viewer": ["@tscircuit/pcb-viewer@1.11.
|
|
720
|
+
"@tscircuit/pcb-viewer": ["@tscircuit/pcb-viewer@1.11.99", "", { "dependencies": { "@emotion/css": "^11.11.2", "@tscircuit/math-utils": "^0.0.13", "circuit-json-to-connectivity-map": "^0.0.20", "circuit-to-svg": "^0.0.36", "color": "^4.2.3", "graphics-debug": "^0.0.24", "react-supergrid": "^1.0.10", "react-toastify": "^10.0.5", "transformation-matrix": "^2.13.0", "zustand": "^4.5.2" }, "peerDependencies": { "@tscircuit/core": "*", "react": "*" } }, "sha512-l+k8y0r/apbCT/tT/eaY7UZS1/+ljoMK4fNiShmLRi9QnLJ2yP0fA1LTt2JiaSZQjt0hsG7pNa1jzh6gX6UNJQ=="],
|
|
721
721
|
|
|
722
722
|
"@tscircuit/prompt-benchmarks": ["@tscircuit/prompt-benchmarks@0.0.28", "", { "dependencies": { "@babel/standalone": "^7.25.7", "@tscircuit/featured-snippets": "^0.0.1", "@tscircuit/footprinter": "^0.0.102", "debug": "^4.3.7", "dotenv": "^16.4.7", "evalite": "^0.8.2", "extract-codefence": "^0.0.4", "toml": "^3.0.0" }, "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-SOhKWAWp3bSvUvbGbtl1ygyyDhF42IbezS965fyUz5cUMJVFyGOoRD0kJak78NVqmHHDMRRPf1R8c5UUaIdBnw=="],
|
|
723
723
|
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
|
|
726
726
|
"@tscircuit/routing": ["@tscircuit/routing@1.3.5", "", { "dependencies": { "bs58": "^5.0.0", "pathfinding": "^0.4.18", "react-error-boundary": "^4.0.11" } }, "sha512-6qHGsKC731TbeaqiQToHS5Zao+93nv99LjbpI479Bqz8Avc8CAUax9QnhMhJ5KvYQv5zLtjv2ywezzRxZf09ZA=="],
|
|
727
727
|
|
|
728
|
-
"@tscircuit/runframe": ["@tscircuit/runframe@0.0.
|
|
728
|
+
"@tscircuit/runframe": ["@tscircuit/runframe@0.0.330", "", { "dependencies": { "@radix-ui/react-alert-dialog": "^1.1.6", "@radix-ui/react-checkbox": "^1.1.4", "@radix-ui/react-dropdown-menu": "^2.1.4", "@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-progress": "^1.1.2", "@radix-ui/react-slot": "^1.1.1", "@radix-ui/react-tabs": "^1.1.2", "@tscircuit/3d-viewer": "^0.0.194", "@tscircuit/assembly-viewer": "^0.0.1", "@tscircuit/core": "^0.0.370", "@tscircuit/create-snippet-url": "^0.0.8", "@tscircuit/eval": "^0.0.154", "@tscircuit/file-server": "^0.0.19", "@tscircuit/pcb-viewer": "^1.11.99", "@tscircuit/props": "^0.0.171", "@tscircuit/schematic-viewer": "2.0.11", "circuit-to-svg": "^0.0.114", "clsx": "^2.1.1", "comlink": "^4.4.2", "cssnano": "^7.0.6", "jscad-fiber": "^0.0.77", "lucide-react": "^0.473.0", "schematic-symbols": "^0.0.111", "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7" }, "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-g0qYgfGZyeIKlte5ccUAjdZOrsTFiKHcSEhU5QtlDmsn2IOCqwbWehncMSbycEmrhJj8dbGvq2m5doLb87cJ5g=="],
|
|
729
729
|
|
|
730
730
|
"@tscircuit/schematic-autolayout": ["@tscircuit/schematic-autolayout@0.0.6", "", { "dependencies": { "@tscircuit/soup-util": "^0.0.38", "transformation-matrix": "^2.16.1" } }, "sha512-34cQxtlSylBKyHkzaMBCynaWJgN9c/mWm7cz63StTYIafKmfFs383K8Xoc4QX8HXCvVrHYl1aK15onZua9MxeA=="],
|
|
731
731
|
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
|
|
2346
2346
|
"@tscircuit/core/@tscircuit/math-utils": ["@tscircuit/math-utils@0.0.12", "", { "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-pYk39tdEdgyaoT2kHd+1QKVVfztOKVn+BoyxTH9HREWaPsf3C90VkY2blRUKS26VcEzvcbxKlURW0JGkUgqlOg=="],
|
|
2347
2347
|
|
|
2348
|
-
"@tscircuit/core/@tscircuit/props": ["@tscircuit/props@0.0.
|
|
2348
|
+
"@tscircuit/core/@tscircuit/props": ["@tscircuit/props@0.0.171", "", { "peerDependencies": { "@tscircuit/layout": "*", "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-OYbe1jpXZPh1j+GQRJiRz99hx3UpOml+AjW+tz1jL9EcIv6aEcBPj4t3bm5W+CP9ftyDGOL/VrxnaDCQTbw1qw=="],
|
|
2349
2349
|
|
|
2350
2350
|
"@tscircuit/core/circuit-json": ["circuit-json@0.0.153", "", { "dependencies": { "nanoid": "^5.0.7", "zod": "^3.23.6" } }, "sha512-gRjXgFOZam7yhVhXtwNa5YxFF4syd2hB/gIndEsuuwuy6YjDRSAhZk93oeiDY9+V81RuiBUYK11jahDn+dDEsQ=="],
|
|
2351
2351
|
|
|
@@ -2361,11 +2361,11 @@
|
|
|
2361
2361
|
|
|
2362
2362
|
"@tscircuit/prompt-benchmarks/@tscircuit/footprinter": ["@tscircuit/footprinter@0.0.102", "", { "dependencies": { "@tscircuit/mm": "^0.0.8", "zod": "^3.23.8" }, "peerDependencies": { "circuit-json": "*" } }, "sha512-cuc5iUU42uIa6FpQzMILSaa41TZnEGxvXDn3SoE/tnDFvUrJ+DPsCuiGu7PMnWjy+ip7XjCbghrVkFB4GK3kCg=="],
|
|
2363
2363
|
|
|
2364
|
-
"@tscircuit/runframe/@tscircuit/3d-viewer": ["@tscircuit/3d-viewer@0.0.
|
|
2364
|
+
"@tscircuit/runframe/@tscircuit/3d-viewer": ["@tscircuit/3d-viewer@0.0.194", "", { "dependencies": { "@jscad/regl-renderer": "^2.6.12", "@jscad/stl-serializer": "^2.1.20", "@react-three/drei": "^9.121.4", "@react-three/fiber": "^8.17.14", "@tscircuit/core": "^0.0.368", "@tscircuit/props": "^0.0.171", "@tscircuit/soup-util": "^0.0.41", "jscad-electronics": "^0.0.27", "jscad-fiber": "^0.0.79", "jscad-planner": "^0.0.13", "react": "^18.3.1", "react-dom": "^18.3.1", "react-use-gesture": "^9.1.3" }, "peerDependencies": { "three": "*" } }, "sha512-BEjIQEj5f1vRu4T2UM60N1KJ3wg5HEZcP+Q7KHbOY1XdHANSUHdvuJvCg5zkGUaXvYGQT9nIKTw2ka0w/Jccig=="],
|
|
2365
2365
|
|
|
2366
|
-
"@tscircuit/runframe/@tscircuit/eval": ["@tscircuit/eval@0.0.
|
|
2366
|
+
"@tscircuit/runframe/@tscircuit/eval": ["@tscircuit/eval@0.0.154", "", { "peerDependencies": { "@tscircuit/core": "*", "circuit-json": "*", "jscad-fiber": "*", "typescript": "^5.0.0" } }, "sha512-VJALdro2t0puv+WfvL4Nl+0Nws4YInt69XunTT6GtD6oguzaRkcaA9P7/sFKlJeu04Y2vtLzqwsAOej3fzlHjQ=="],
|
|
2367
2367
|
|
|
2368
|
-
"@tscircuit/runframe/@tscircuit/props": ["@tscircuit/props@0.0.
|
|
2368
|
+
"@tscircuit/runframe/@tscircuit/props": ["@tscircuit/props@0.0.171", "", { "peerDependencies": { "@tscircuit/layout": "*", "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-OYbe1jpXZPh1j+GQRJiRz99hx3UpOml+AjW+tz1jL9EcIv6aEcBPj4t3bm5W+CP9ftyDGOL/VrxnaDCQTbw1qw=="],
|
|
2369
2369
|
|
|
2370
2370
|
"@tscircuit/runframe/circuit-to-svg": ["circuit-to-svg@0.0.114", "", { "dependencies": { "@tscircuit/footprinter": "^0.0.91", "@tscircuit/routing": "^1.3.5", "@tscircuit/soup-util": "^0.0.41", "@types/node": "^22.5.5", "bun-types": "^1.1.40", "svgson": "^5.3.1", "transformation-matrix": "^2.16.1" }, "peerDependencies": { "circuit-json": "*", "schematic-symbols": "*" } }, "sha512-a+F+8e040upymUHRYUklV9MSw2QPn8nCc5ikUXUx/O8ZWaBlIHouVIdapVFlWBFPhXXhGecLymUD/uFnGSnIHA=="],
|
|
2371
2371
|
|
|
@@ -2623,9 +2623,7 @@
|
|
|
2623
2623
|
|
|
2624
2624
|
"@tscircuit/pcb-viewer/circuit-to-svg/schematic-symbols": ["schematic-symbols@0.0.17", "", { "peerDependencies": { "typescript": "^5.5.4" } }, "sha512-xs/A1MNFZphcYRpTQVWm1OUA4bvWhw9LViKSTxEe0nQEbbfZgMS7hCt+DF6SYDgT8cec9hD4JAQMHh5Cz4om1Q=="],
|
|
2625
2625
|
|
|
2626
|
-
"@tscircuit/runframe/@tscircuit/3d-viewer/@tscircuit/core": ["@tscircuit/core@0.0.
|
|
2627
|
-
|
|
2628
|
-
"@tscircuit/runframe/@tscircuit/3d-viewer/@tscircuit/props": ["@tscircuit/props@0.0.165", "", { "peerDependencies": { "@tscircuit/layout": "*", "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-Hdd8FYR5TBxe1TDVqKQH7JXO2vFAtKsu1L4dQFQisqN5Mxi89OwNT+d0ocrTENjidaJARF9RclOwrz9Ud8o0Sw=="],
|
|
2626
|
+
"@tscircuit/runframe/@tscircuit/3d-viewer/@tscircuit/core": ["@tscircuit/core@0.0.368", "", { "dependencies": { "@lume/kiwi": "^0.4.3", "@tscircuit/capacity-autorouter": "^0.0.49", "@tscircuit/checks": "^0.0.30", "@tscircuit/circuit-json-util": "^0.0.45", "@tscircuit/infgrid-ijump-astar": "^0.0.33", "@tscircuit/math-utils": "^0.0.12", "@tscircuit/props": "^0.0.171", "@tscircuit/schematic-autolayout": "^0.0.6", "@tscircuit/soup-util": "^0.0.41", "circuit-json": "^0.0.153", "circuit-json-to-connectivity-map": "^0.0.17", "format-si-unit": "^0.0.3", "nanoid": "^5.0.7", "performance-now": "^2.1.0", "react-reconciler": "^0.31.0", "react-reconciler-18": "npm:react-reconciler@0.29.2", "schematic-symbols": "^0.0.121", "transformation-matrix": "^2.16.1", "zod": "^3.23.8" }, "peerDependencies": { "@tscircuit/footprinter": "*", "typescript": "^5.0.0" } }, "sha512-K4XrhjkVmBcprsQbaZkbw0afxc2D21hGIeW4MnMaLKE711zC0guavoCW0SsevYizhywCQUcCQZfhN3tNI0i+rA=="],
|
|
2629
2627
|
|
|
2630
2628
|
"@tscircuit/runframe/@tscircuit/3d-viewer/jscad-electronics": ["jscad-electronics@0.0.27", "", { "dependencies": { "@tscircuit/footprinter": "^0.0.132", "circuit-json": "^0.0.92" } }, "sha512-oczsbRWTRxkHfXcmyCVHuBa2ZWVGFJbrjWKR4Xhz4+4DxRk1+qG2hceAFZjYe1jTa57Yg3uct1naG+96tHo/zw=="],
|
|
2631
2629
|
|