@tscircuit/cli 0.1.43-dev.3 → 0.1.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/package.json CHANGED
@@ -2,30 +2,38 @@
2
2
  "name": "@tscircuit/cli",
3
3
  "main": "dist/main.js",
4
4
  "type": "module",
5
- "version": "0.1.43-dev.3",
5
+ "version": "0.1.43",
6
6
  "bin": {
7
- "tsci": "./dist/main.cjs"
7
+ "tsci": "./dist/main.js"
8
8
  },
9
9
  "scripts": {
10
10
  "start": "bun run dev",
11
11
  "dev": "bun --hot ./cli/main.ts dev ./example-dir/snippet1-basic.tsx",
12
- "build": "tsup --config ./tsup.config.js",
12
+ "build": "tsup-node cli/main.ts --format esm --sourcemap inline",
13
13
  "format": "biome format --write .",
14
14
  "format:check": "biome format .",
15
15
  "cli": "bun ./cli/main.ts"
16
16
  },
17
17
  "devDependencies": {
18
- "@babel/standalone": "^7.26.9",
19
18
  "@biomejs/biome": "^1.9.4",
20
19
  "@tscircuit/core": "^0.0.249",
21
- "@tscircuit/eval": "^0.0.96",
22
20
  "@tscircuit/fake-snippets": "^0.0.6",
23
- "@tscircuit/file-server": "^0.0.13",
24
- "@tscircuit/runframe": "^0.0.167",
25
21
  "@types/bun": "^1.1.15",
26
22
  "@types/configstore": "^6.0.2",
27
23
  "@types/react": "^19.0.8",
28
24
  "@types/semver": "^7.5.8",
25
+ "get-port": "^7.1.0",
26
+ "tempy": "^3.1.0",
27
+ "tsup": "^8.3.5",
28
+ "typed-ky": "^0.0.4"
29
+ },
30
+ "peerDependencies": {
31
+ "typescript": "^5.0.0"
32
+ },
33
+ "dependencies": {
34
+ "@tscircuit/eval": "^0.0.96",
35
+ "@tscircuit/file-server": "^0.0.13",
36
+ "@tscircuit/runframe": "^0.0.167",
29
37
  "bun-match-svg": "^0.0.9",
30
38
  "chokidar": "4.0.1",
31
39
  "circuit-json-to-readable-netlist": "^0.0.8",
@@ -35,19 +43,11 @@
35
43
  "cosmiconfig": "^9.0.0",
36
44
  "delay": "^6.0.0",
37
45
  "dsn-converter": "^0.0.63",
38
- "get-port": "^7.1.0",
39
46
  "jwt-decode": "^4.0.0",
40
47
  "ky": "^1.7.4",
41
48
  "make-vfs": "^1.0.15",
42
49
  "perfect-cli": "^1.0.20",
43
50
  "redaxios": "^0.5.1",
44
- "semver": "^7.6.3",
45
- "tempy": "^3.1.0",
46
- "tsup": "^8.3.5",
47
- "typed-ky": "^0.0.4"
48
- },
49
- "peerDependencies": {
50
- "typescript": "^5.0.0"
51
- },
52
- "dependencies": {}
51
+ "semver": "^7.6.3"
52
+ }
53
53
  }
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" style="background-color: rgb(245, 241, 237)" data-real-to-screen-transform="matrix(144.84007242,0,0,-144.84007242,601.2614556427,338.9300573808)"><style>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" style="background-color: rgb(245, 241, 237)" data-real-to-screen-transform="matrix(144.84007242,0,0,-144.84007242,601.2614556427,325.1634278817)"><style>
2
2
  .boundary { fill: rgb(245, 241, 237); }
3
3
  .schematic-boundary { fill: none; stroke: #fff; }
4
4
  .component { fill: none; stroke: rgb(132, 0, 0); }
@@ -14,4 +14,4 @@
14
14
  .pin-number { fill: rgb(169, 0, 0); }
15
15
  .port-label { fill: rgb(0, 100, 100); }
16
16
  .component-name { fill: rgb(0, 100, 100); }
17
- </style><rect class="boundary" x="0" y="0" width="1200" height="600"/><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_0"><rect class="component-overlay" x="961.6451659624652" y="313.0828974532263" width="153.28907181649743" height="38.32227881712976" fill="transparent"/><path d="M 961.6451659624652 332.2440368617912 L 999.9674302955876 332.2440368617912" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 1076.611958961833 332.2440368617912 L 1114.9342377789626 332.2440368617912" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 1038.289680144703 313.0828974532263 L 1076.6119444778255 313.0828974532263 L 1076.6119444778255 351.40517627035604 L 999.967401327573 351.40517627035604 L 999.967401327573 313.0828974532263 L 1038.2896801447027 313.0828974532263" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><text x="1035.7816729027" y="305.7221862096437" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="26.0712130356px">R1</text><text x="1035.7816729027" y="361.9991234825565" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="26.0712130356px">1kΩ</text><circle cx="958.4673892575775" cy="332.2956288955875" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="1113.0959565478224" cy="332.3747839951648" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/></g><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_1"><rect class="component-overlay" x="89.19451538935782" y="298.10451483403904" width="153.2890718164976" height="76.64452866624515" fill="transparent"/><path d="M 242.48358720585543 336.4267791671613 L 177.33573928794772 336.4267791671613" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 154.34237779127272 336.4267791671613 L 89.19451538935782 336.4267791671613" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 177.33573928794766 298.10451483403904 L 177.33573928794772 374.7490435002842" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 154.34237779127272 298.10451483403904 L 154.34237779127272 374.7490435002842" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><text x="164.87794327105283" y="278.14889075777336" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="26.0712130356px">C1</text><text x="166.18353168384664" y="399.7112240038267" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="26.0712130356px">1nF</text><circle cx="86.90404345212234" cy="336.5575407845422" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="246.57843331327743" cy="336.47835671695026" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/></g><g class="trace" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_0"><path d="M 958.4673892575775 332.2956288955875 L 398.66050935427745 332.2956288955875 L 398.66050935427745 184.39628067595024 L 86.90404345212232 184.39628067595024 L 86.90404345212232 314.83152992154214 L 86.90404345212232 336.55754078454214" class="trace-invisible-hover-outline" stroke="rgb(0, 150, 0)" fill="none" stroke-width="23.1744115872px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path d="M 958.4673892575775 332.2956288955875 L 398.66050935427745 332.2956288955875 L 398.66050935427745 184.39628067595024 L 86.90404345212232 184.39628067595024 L 86.90404345212232 314.83152992154214 L 86.90404345212232 336.55754078454214" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.8968014484px" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
17
+ </style><rect class="boundary" x="0" y="0" width="1200" height="600"/><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_0"><rect class="component-overlay" x="961.6451659624652" y="299.31626795412626" width="153.28907181649743" height="38.32227881712976" fill="transparent"/><path d="M 961.6451659624652 318.47740736269117 L 999.9674302955876 318.47740736269117" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 1076.611958961833 318.47740736269117 L 1114.9342377789626 318.47740736269117" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 1038.289680144703 299.31626795412626 L 1076.6119444778255 299.31626795412626 L 1076.6119444778255 337.638546771256 L 999.967401327573 337.638546771256 L 999.967401327573 299.31626795412626 L 1038.2896801447027 299.31626795412626" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><text x="1035.7816729027" y="291.9555567105437" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="26.0712130356px">R1</text><text x="1035.7816729027" y="348.2324939834565" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="26.0712130356px">1kΩ</text><circle cx="958.4673892575775" cy="318.5289993964875" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="1113.0959565478224" cy="318.6081544960648" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/></g><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_1"><rect class="component-overlay" x="89.19451538935782" y="284.337885334939" width="153.2890718164976" height="76.64452866624515" fill="transparent"/><path d="M 242.48358720585543 322.6601496680613 L 177.33573928794772 322.6601496680613" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 154.34237779127272 322.6601496680613 L 89.19451538935782 322.6601496680613" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 177.33573928794766 284.337885334939 L 177.33573928794772 360.98241400118417" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><path d="M 154.34237779127272 284.337885334939 L 154.34237779127272 360.98241400118417" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.8968014484px"/><text x="164.87794327105283" y="264.38226125867334" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="26.0712130356px">C1</text><text x="166.18353168384664" y="385.9445945047267" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="26.0712130356px">1nF</text><circle cx="86.90404345212234" cy="322.7909112854422" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="246.57843331327743" cy="322.71172721785024" r="2.8968014484px" stroke-width="2.8968014484px" fill="none" stroke="rgb(132, 0, 0)"/></g><g class="trace" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_0"><path d="M 958.4673892575775 318.5289993964875 L 304.5144622812775 318.5289993964875 L 304.5144622812775 221.24449245625834 L 86.90404345212232 221.24449245625834 L 86.90404345212232 322.7909112854421" class="trace-invisible-hover-outline" stroke="rgb(0, 150, 0)" fill="none" stroke-width="23.1744115872px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path d="M 958.4673892575775 318.5289993964875 L 304.5144622812775 318.5289993964875 L 304.5144622812775 221.24449245625834 L 86.90404345212232 221.24449245625834 L 86.90404345212232 322.7909112854421" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.8968014484px" stroke-linecap="round" stroke-linejoin="round"/></g></svg>