@tscircuit/runframe 0.0.178 → 0.0.180
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 +26 -43
- package/dist/{chunk-AIMAJUG5.js → chunk-5MVVLSS3.js} +11 -8
- package/dist/preview.d.ts +1 -0
- package/dist/preview.js +1 -1
- package/dist/runner.d.ts +11 -10
- package/dist/runner.js +46 -18
- package/dist/standalone-preview.min.js +582 -582
- package/dist/standalone.min.js +623 -623
- package/package.json +8 -6
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tscircuit/runframe",
|
|
3
3
|
"main": "dist/preview.js",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.180",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./dist/preview.js",
|
|
8
8
|
"./preview": "./dist/preview.js",
|
|
@@ -19,14 +19,15 @@
|
|
|
19
19
|
"build:lib": "tsup-node lib/preview.ts lib/runner.ts --platform browser --format esm --dts",
|
|
20
20
|
"build:css": "bun run scripts/build-css.ts",
|
|
21
21
|
"build:css:watch": "chokidar 'lib/components/**/*.tsx' -c 'bun run build:css'",
|
|
22
|
-
"build:site": "cosmos-export && bun run build:iframe
|
|
22
|
+
"build:site": "cosmos-export && bun run build:iframe",
|
|
23
23
|
"build:standalone": "STANDALONE=1 vite build",
|
|
24
|
-
"build:iframe": "STANDALONE=iframe vite build && mv ./dist/lib/entrypoints/iframe.html ./dist/iframe.html",
|
|
24
|
+
"build:iframe": "STANDALONE=iframe vite build && mv ./dist/lib/entrypoints/iframe.html ./dist/iframe.html && cp -f ./dist/iframe.html ./cosmos-export/iframe.html && cp -f ./dist/iframe.min.js ./cosmos-export/iframe.min.js",
|
|
25
25
|
"build:standalone-preview": "STANDALONE=preview vite build --emptyOutDir false",
|
|
26
26
|
"analyze": "source-map-explorer 'dist/standalone.min.js'",
|
|
27
27
|
"format:check": "biome format .",
|
|
28
28
|
"format": "biome format --write .",
|
|
29
|
-
"vercel-build": "bun run build:css && cosmos-export"
|
|
29
|
+
"vercel-build": "bun run build:css && cosmos-export",
|
|
30
|
+
"serve:cosmos": "serve cosmos-export"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@biomejs/biome": "^1.9.4",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"react-cosmos": "^6.2.1",
|
|
48
49
|
"react-dom": "18",
|
|
49
50
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
51
|
+
"serve": "^14.2.4",
|
|
50
52
|
"source-map-explorer": "^2.5.3",
|
|
51
53
|
"tailwindcss": "^3.4.17",
|
|
52
54
|
"tsup": "^8.3.5",
|
|
@@ -62,11 +64,11 @@
|
|
|
62
64
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
63
65
|
"@tscircuit/3d-viewer": "^0.0.137",
|
|
64
66
|
"@tscircuit/assembly-viewer": "^0.0.1",
|
|
67
|
+
"@tscircuit/pcb-viewer": "^1.11.46",
|
|
65
68
|
"@tscircuit/eval": "^0.0.98",
|
|
66
69
|
"@tscircuit/core": "^0.0.315",
|
|
67
70
|
"@tscircuit/file-server": "^0.0.13",
|
|
68
|
-
"@tscircuit/
|
|
69
|
-
"@tscircuit/props": "^0.0.150",
|
|
71
|
+
"@tscircuit/props": "^0.0.152",
|
|
70
72
|
"@tscircuit/schematic-viewer": "2.0.9",
|
|
71
73
|
"circuit-to-svg": "^0.0.102",
|
|
72
74
|
"clsx": "^2.1.1",
|