@tscircuit/cli 0.0.201 → 0.0.203

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.
@@ -54,170 +54,75 @@ export default {
54
54
  ],
55
55
  manual_trace_hints: [
56
56
  {
57
- pcb_port_selector: ".SW4 > .pin2",
58
- offsets: [
59
- {
60
- x: -8.492199000694345,
61
- y: -1.998912735924403,
62
- via: false,
63
- },
64
- ],
65
- },
66
- {
67
- pcb_port_selector: ".SW7 > .pin1",
57
+ pcb_port_selector: ".D9 > .pin2",
68
58
  offsets: [
69
59
  {
70
- x: -23.955683342322523,
71
- y: 10.88389101192926,
60
+ x: 38.92169691522466,
61
+ y: -2.3377796771400057,
72
62
  via: false,
73
63
  },
74
64
  {
75
- x: -16.747386499009068,
76
- y: 10.88389101192926,
77
- via: false,
78
- },
79
- ],
80
- },
81
- {
82
- pcb_port_selector: ".D1 > .pin2",
83
- offsets: [
84
- {
85
- x: -6.6120446397225265,
86
- y: -23.571919277339052,
65
+ x: 37.986379705415004,
66
+ y: -2.4045880492692646,
87
67
  via: true,
88
68
  },
89
69
  {
90
- x: 32.69781227739724,
91
- y: 4.7868824921773,
70
+ x: 35.04681133172754,
71
+ y: -2.5048006074631566,
92
72
  via: true,
93
73
  },
94
74
  ],
95
75
  },
96
76
  {
97
- pcb_port_selector: ".SW2 > .pin1",
98
- offsets: [
99
- {
100
- x: -4.281249780862737,
101
- y: -14.233181814231745,
102
- via: true,
103
- },
104
- {
105
- x: 34.20591131679997,
106
- y: -5.359753005603952,
107
- via: true,
108
- },
109
- ],
110
- },
111
- {
112
- pcb_port_selector: ".SW8 > .pin1",
77
+ pcb_port_selector: ".D8 > .pin2",
113
78
  offsets: [
114
79
  {
115
- x: -3.288900052520706,
116
- y: 15.247231045118642,
117
- via: true,
80
+ x: 39.368100153443855,
81
+ y: 11.075329302388642,
82
+ via: false,
118
83
  },
119
84
  {
120
- x: 33.00665141878271,
121
- y: -4.88174593519296,
122
- via: true,
85
+ x: 39.0431504551313,
86
+ y: -2.4100831775825498,
87
+ via: false,
123
88
  },
124
89
  ],
125
90
  },
126
91
  {
127
- pcb_port_selector: ".SW6 > .pin1",
92
+ pcb_port_selector: ".D6 > .pin2",
128
93
  offsets: [
129
94
  {
130
- x: 13.702636532712475,
131
- y: -2.1984238421998494,
132
- via: true,
133
- },
134
- {
135
- x: 37.17086973641227,
136
- y: -10.456476442519742,
95
+ x: 27.898990889830188,
96
+ y: -7.126105014672912,
137
97
  via: true,
138
98
  },
139
99
  ],
140
100
  },
141
101
  {
142
- pcb_port_selector: ".D2 > .pin2",
102
+ pcb_port_selector: ".D7 > .pin2",
143
103
  offsets: [
144
104
  {
145
- x: 12.561114295051617,
146
- y: -23.864496542593944,
105
+ x: -8.911022990918022,
106
+ y: 12.104068965358355,
147
107
  via: true,
148
108
  },
149
109
  {
150
- x: 31.243169965739476,
151
- y: 6.222709219188005,
110
+ x: 31.337860341638805,
111
+ y: 8.65338014408593,
152
112
  via: true,
153
113
  },
154
- ],
155
- },
156
- {
157
- pcb_port_selector: ".SW1 > .pin2",
158
- offsets: [
159
- {
160
- x: -12.08751345122883,
161
- y: -21.987424704921573,
162
- via: false,
163
- },
164
- ],
165
- },
166
- {
167
- pcb_port_selector: ".SW4 > .pin1",
168
- offsets: [
169
114
  {
170
- x: -26.011965739587815,
171
- y: -1.3280621772648846,
115
+ x: 40.284252655475,
116
+ y: 7.931249822789734,
172
117
  via: false,
173
118
  },
174
- ],
175
- },
176
- {
177
- pcb_port_selector: ".D4 > .pin2",
178
- offsets: [
179
119
  {
180
- x: -11.013535470091448,
181
- y: -9.022834789254386,
182
- via: true,
183
- },
184
- {
185
- x: 28.754756592538314,
186
- y: 12.264328845243295,
187
- via: true,
188
- },
189
- ],
190
- },
191
- {
192
- pcb_port_selector: ".D3 > .pin2",
193
- offsets: [
194
- {
195
- x: 30.35063107068494,
196
- y: -24.609946154312162,
120
+ x: 39.96330584601003,
121
+ y: -2.4995214848219867,
197
122
  via: false,
198
123
  },
199
124
  ],
200
125
  },
201
- {
202
- pcb_port_selector: ".D9 > .pin2",
203
- offsets: [
204
- {
205
- x: 27.764228768984935,
206
- y: 11.911837660122025,
207
- via: true,
208
- },
209
- ],
210
- },
211
- {
212
- pcb_port_selector: ".D8 > .pin2",
213
- offsets: [
214
- {
215
- x: 23.674326938532413,
216
- y: 12.282089990345455,
217
- via: true,
218
- },
219
- ],
220
- },
221
126
  ],
222
127
  edit_events: [],
223
128
  }
@@ -1,7 +1,7 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
3
  @tailwind utilities;
4
-
4
+
5
5
  @layer base {
6
6
  :root {
7
7
  --background: 0 0% 100%;
@@ -9,63 +9,63 @@
9
9
 
10
10
  --card: 0 0% 100%;
11
11
  --card-foreground: 224 71.4% 4.1%;
12
-
12
+
13
13
  --popover: 0 0% 100%;
14
14
  --popover-foreground: 224 71.4% 4.1%;
15
-
15
+
16
16
  --primary: 220.9 39.3% 11%;
17
17
  --primary-foreground: 210 20% 98%;
18
-
18
+
19
19
  --secondary: 220 14.3% 95.9%;
20
20
  --secondary-foreground: 220.9 39.3% 11%;
21
-
21
+
22
22
  --muted: 220 14.3% 95.9%;
23
23
  --muted-foreground: 220 8.9% 46.1%;
24
-
24
+
25
25
  --accent: 220 14.3% 95.9%;
26
26
  --accent-foreground: 220.9 39.3% 11%;
27
-
27
+
28
28
  --destructive: 0 84.2% 60.2%;
29
29
  --destructive-foreground: 210 20% 98%;
30
30
 
31
31
  --border: 220 13% 91%;
32
32
  --input: 220 13% 91%;
33
33
  --ring: 224 71.4% 4.1%;
34
-
34
+
35
35
  --radius: 0.5rem;
36
36
  }
37
-
37
+
38
38
  .dark {
39
39
  --background: 224 71.4% 4.1%;
40
40
  --foreground: 210 20% 98%;
41
-
41
+
42
42
  --card: 224 71.4% 4.1%;
43
43
  --card-foreground: 210 20% 98%;
44
-
44
+
45
45
  --popover: 224 71.4% 4.1%;
46
46
  --popover-foreground: 210 20% 98%;
47
-
47
+
48
48
  --primary: 210 20% 98%;
49
49
  --primary-foreground: 220.9 39.3% 11%;
50
-
50
+
51
51
  --secondary: 215 27.9% 16.9%;
52
52
  --secondary-foreground: 210 20% 98%;
53
-
53
+
54
54
  --muted: 215 27.9% 16.9%;
55
55
  --muted-foreground: 217.9 10.6% 64.9%;
56
-
56
+
57
57
  --accent: 215 27.9% 16.9%;
58
58
  --accent-foreground: 210 20% 98%;
59
-
59
+
60
60
  --destructive: 0 62.8% 30.6%;
61
61
  --destructive-foreground: 210 20% 98%;
62
-
62
+
63
63
  --border: 215 27.9% 16.9%;
64
64
  --input: 215 27.9% 16.9%;
65
65
  --ring: 216 12.2% 83.9%;
66
66
  }
67
67
  }
68
-
68
+
69
69
  @layer base {
70
70
  * {
71
71
  @apply border-border;
@@ -73,4 +73,4 @@
73
73
  body {
74
74
  @apply bg-background text-foreground;
75
75
  }
76
- }
76
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.0.201",
3
+ "version": "0.0.203",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Command line tool for developing, publishing and installing tscircuit circuits",
@@ -37,11 +37,12 @@
37
37
  "@edge-runtime/primitives": "^4.1.0",
38
38
  "@hono/node-server": "^1.8.2",
39
39
  "@tscircuit/builder": "*",
40
- "@tscircuit/core": "^0.0.56",
40
+ "@tscircuit/core": "^0.0.62",
41
41
  "@tscircuit/props": "^0.0.62",
42
42
  "archiver": "^7.0.1",
43
43
  "axios": "^1.6.7",
44
44
  "chokidar": "^3.6.0",
45
+ "circuit-json-to-gerber": "^0.0.4",
45
46
  "circuit-to-png": "^0.0.3",
46
47
  "circuit-to-svg": "^0.0.22",
47
48
  "commander": "^12.0.0",
@@ -80,7 +81,7 @@
80
81
  "@tscircuit/soup-util": "*"
81
82
  },
82
83
  "devDependencies": {
83
- "@biomejs/biome": "^1.8.3",
84
+ "@biomejs/biome": "^1.9.0",
84
85
  "@headlessui/react": "^1.7.18",
85
86
  "@radix-ui/react-alert-dialog": "^1.0.5",
86
87
  "@radix-ui/react-context-menu": "^2.1.5",
@@ -98,7 +99,7 @@
98
99
  "@tscircuit/3d-viewer": "^0.0.17",
99
100
  "@tscircuit/layout": "^0.0.28",
100
101
  "@tscircuit/manual-edit-events": "^0.0.4",
101
- "@tscircuit/pcb-viewer": "^1.9.1",
102
+ "@tscircuit/pcb-viewer": "^1.10.2",
102
103
  "@tscircuit/schematic-viewer": "^1.2.14",
103
104
  "@tscircuit/soup-util": "^0.0.23",
104
105
  "@tscircuit/table-viewer": "0.0.8",