@tscircuit/cli 0.0.63 → 0.0.64
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/dev-server-frontend/bun.lockb +0 -0
- package/dev-server-frontend/package-lock.json +54 -6
- package/dev-server-frontend/package.json +1 -1
- package/dev-server-frontend/src/ExampleContentView.tsx +2 -0
- package/dist/cli.js +7 -7
- package/package.json +3 -3
- package/tests/assets/example-project/package-lock.json +448 -0
- package/tests/assets/example-project/package.json +3 -3
- package/tests/assets/example-project/src/MyCircuit.tsx +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Command line tool for developing, publishing and installing tscircuit circuits",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@edge-runtime/primitives": "^4.1.0",
|
|
37
37
|
"@hono/node-server": "^1.8.2",
|
|
38
|
-
"@tscircuit/builder": "
|
|
39
|
-
"@tscircuit/react-fiber": "
|
|
38
|
+
"@tscircuit/builder": "^1.5.53",
|
|
39
|
+
"@tscircuit/react-fiber": "^1.0.22",
|
|
40
40
|
"archiver": "^7.0.1",
|
|
41
41
|
"axios": "^1.6.7",
|
|
42
42
|
"better-sqlite3": "^9.4.3",
|
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "example-project",
|
|
3
|
+
"version": "1.2.26",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "example-project",
|
|
9
|
+
"version": "1.2.26",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@tscircuit/builder": "^1.5.56",
|
|
12
|
+
"@tscircuit/react-fiber": "^1.0.33"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"node_modules/@babel/runtime": {
|
|
16
|
+
"version": "7.24.4",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz",
|
|
18
|
+
"integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"regenerator-runtime": "^0.14.0"
|
|
21
|
+
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=6.9.0"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"node_modules/@lume/kiwi": {
|
|
27
|
+
"version": "0.1.0",
|
|
28
|
+
"resolved": "https://registry.npmjs.org/@lume/kiwi/-/kiwi-0.1.0.tgz",
|
|
29
|
+
"integrity": "sha512-iB+oaYyaVK1hQ0cODubnoSDg4gGYL9cp/4ad7G1b9Z0/IqehPztp5qE3KP2mV9Ns0UYmzwvtkEhTCmKUuhorbg=="
|
|
30
|
+
},
|
|
31
|
+
"node_modules/@tscircuit/builder": {
|
|
32
|
+
"version": "1.5.56",
|
|
33
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/builder/-/builder-1.5.56.tgz",
|
|
34
|
+
"integrity": "sha512-Kx1lg9zc0qqlsp1Udnz4QbtZUgmaXUsS4SY6x4I9bg1SIPLaQnMXe7X6cxWEn5ByenP8jkAs3qmfMxFxYzSPmA==",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@lume/kiwi": "^0.1.0",
|
|
37
|
+
"@tscircuit/builder": "^1.5.55",
|
|
38
|
+
"@tscircuit/footprints": "^0.0.14",
|
|
39
|
+
"@tscircuit/routing": "^1.3.1",
|
|
40
|
+
"@tscircuit/sparkfun-packages": "^1.2.0",
|
|
41
|
+
"convert-units": "^2.3.4",
|
|
42
|
+
"fast-json-stable-stringify": "^2.1.0",
|
|
43
|
+
"rectilinear-router": "^1.0.1",
|
|
44
|
+
"svg-path-bounds": "^1.0.2",
|
|
45
|
+
"transformation-matrix": "^2.12.0"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"node_modules/@tscircuit/footprints": {
|
|
49
|
+
"version": "0.0.14",
|
|
50
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/footprints/-/footprints-0.0.14.tgz",
|
|
51
|
+
"integrity": "sha512-QRqBZixJUxtqftNB37JVAKiMdDia1FSRVEJEqfClu1D5p0DveFyACJro6uyuPP6HWswZ3LYWn98k6jvIzmZwsg==",
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@tscircuit/mm": "^0.0.4"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"typescript": "^5.0.0"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"node_modules/@tscircuit/mm": {
|
|
60
|
+
"version": "0.0.4",
|
|
61
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/mm/-/mm-0.0.4.tgz",
|
|
62
|
+
"integrity": "sha512-yD/YB43mEd/iJ41N1rXa5+S5lTokoIDwFcQNd/sBp4ut/7iMmzyDEea2GIRj3lLodzwUrjmMPtEW5JLC3LntRw==",
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"convert-units": "^2.3.4"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"typescript": "^5.0.0"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"node_modules/@tscircuit/react-fiber": {
|
|
71
|
+
"version": "1.0.33",
|
|
72
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/react-fiber/-/react-fiber-1.0.33.tgz",
|
|
73
|
+
"integrity": "sha512-9+WL0+sI4vs21s7AVNHRckaCSYw2/61/TEnJTZCYM9SkBXGLj1LbaIJNgxCVmUH3Mtn/JcNo3LVApDGvsyOhRw==",
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"react-reconciler": "^0.29.0"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@tscircuit/builder": "*",
|
|
79
|
+
"react": "*"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"node_modules/@tscircuit/routing": {
|
|
83
|
+
"version": "1.3.1",
|
|
84
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/routing/-/routing-1.3.1.tgz",
|
|
85
|
+
"integrity": "sha512-DQRAFvk3uikRMbeOTWnNAdoSVdStx9o8UZhvh6pcoqxJsx4RKWg8d9ssycm2v7wzyg8rjjUPJUpymgkJQtBPpA==",
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"pathfinding": "^0.4.18",
|
|
88
|
+
"react-error-boundary": "^4.0.11"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"node_modules/@tscircuit/sparkfun-packages": {
|
|
92
|
+
"version": "1.2.0",
|
|
93
|
+
"resolved": "https://registry.npmjs.org/@tscircuit/sparkfun-packages/-/sparkfun-packages-1.2.0.tgz",
|
|
94
|
+
"integrity": "sha512-m+jCOaSBpwRzUN5trc9z5f8yh2zzLITANgNhuNQOtxNZRIrv98iYfL3dSSmf73xknh0Nz68EephNvKVZmproCQ==",
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"change-case": "^5.4.3"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"node_modules/abs-svg-path": {
|
|
100
|
+
"version": "0.1.1",
|
|
101
|
+
"resolved": "https://registry.npmjs.org/abs-svg-path/-/abs-svg-path-0.1.1.tgz",
|
|
102
|
+
"integrity": "sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA=="
|
|
103
|
+
},
|
|
104
|
+
"node_modules/change-case": {
|
|
105
|
+
"version": "5.4.4",
|
|
106
|
+
"resolved": "https://registry.npmjs.org/change-case/-/change-case-5.4.4.tgz",
|
|
107
|
+
"integrity": "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w=="
|
|
108
|
+
},
|
|
109
|
+
"node_modules/convert-units": {
|
|
110
|
+
"version": "2.3.4",
|
|
111
|
+
"resolved": "https://registry.npmjs.org/convert-units/-/convert-units-2.3.4.tgz",
|
|
112
|
+
"integrity": "sha512-ERHfdA0UhHJp1IpwE6PnFJx8LqG7B1ZjJ20UvVCmopEnVCfER68Tbe3kvN63dLbYXDA2xFWRE6zd4Wsf0w7POg==",
|
|
113
|
+
"dependencies": {
|
|
114
|
+
"lodash.foreach": "2.3.x",
|
|
115
|
+
"lodash.keys": "2.3.x"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"node_modules/fast-json-stable-stringify": {
|
|
119
|
+
"version": "2.1.0",
|
|
120
|
+
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
|
|
121
|
+
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
|
|
122
|
+
},
|
|
123
|
+
"node_modules/glpk.js": {
|
|
124
|
+
"version": "4.0.2",
|
|
125
|
+
"resolved": "https://registry.npmjs.org/glpk.js/-/glpk.js-4.0.2.tgz",
|
|
126
|
+
"integrity": "sha512-GADfTGaExp7C6JfBnBdx7SF80hxPO30VvLP9wpA6EhXgDj5/Oapm+gyF0EFEC7RrPX4JpfRI3TmAtlLckeQIXw==",
|
|
127
|
+
"dependencies": {
|
|
128
|
+
"pako": "^2.0.4"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"node_modules/heap": {
|
|
132
|
+
"version": "0.2.5",
|
|
133
|
+
"resolved": "https://registry.npmjs.org/heap/-/heap-0.2.5.tgz",
|
|
134
|
+
"integrity": "sha512-G7HLD+WKcrOyJP5VQwYZNC3Z6FcQ7YYjEFiFoIj8PfEr73mu421o8B1N5DKUcc8K37EsJ2XXWA8DtrDz/2dReg=="
|
|
135
|
+
},
|
|
136
|
+
"node_modules/is-svg-path": {
|
|
137
|
+
"version": "1.0.2",
|
|
138
|
+
"resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz",
|
|
139
|
+
"integrity": "sha512-Lj4vePmqpPR1ZnRctHv8ltSh1OrSxHkhUkd7wi+VQdcdP15/KvQFyk7LhNuM7ZW0EVbJz8kZLVmL9quLrfq4Kg=="
|
|
140
|
+
},
|
|
141
|
+
"node_modules/js-tokens": {
|
|
142
|
+
"version": "4.0.0",
|
|
143
|
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
144
|
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
145
|
+
},
|
|
146
|
+
"node_modules/lodash": {
|
|
147
|
+
"version": "4.17.21",
|
|
148
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
149
|
+
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
|
150
|
+
},
|
|
151
|
+
"node_modules/lodash._basebind": {
|
|
152
|
+
"version": "2.3.0",
|
|
153
|
+
"resolved": "https://registry.npmjs.org/lodash._basebind/-/lodash._basebind-2.3.0.tgz",
|
|
154
|
+
"integrity": "sha512-SHqM7YCuJ+BeGTs7lqpWnmdHEeF4MWxS3dksJctHFNxR81FXPOzA4bS5Vs5CpcGTkBpM8FCl+YEbQEblRw8ABg==",
|
|
155
|
+
"dependencies": {
|
|
156
|
+
"lodash._basecreate": "~2.3.0",
|
|
157
|
+
"lodash._setbinddata": "~2.3.0",
|
|
158
|
+
"lodash.isobject": "~2.3.0"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"node_modules/lodash._basecreate": {
|
|
162
|
+
"version": "2.3.0",
|
|
163
|
+
"resolved": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-2.3.0.tgz",
|
|
164
|
+
"integrity": "sha512-vwZaWldZwS2y9b99D8i9+WtgiZXbHKsBsMrpxJEqTsNW20NhJo5W8PBQkeQO9CmxuqEYn8UkMnfEM2MMT4cVrw==",
|
|
165
|
+
"dependencies": {
|
|
166
|
+
"lodash._renative": "~2.3.0",
|
|
167
|
+
"lodash.isobject": "~2.3.0",
|
|
168
|
+
"lodash.noop": "~2.3.0"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"node_modules/lodash._basecreatecallback": {
|
|
172
|
+
"version": "2.3.0",
|
|
173
|
+
"resolved": "https://registry.npmjs.org/lodash._basecreatecallback/-/lodash._basecreatecallback-2.3.0.tgz",
|
|
174
|
+
"integrity": "sha512-Ev+pDzzfVfgbiucpXijconLGRBar7/+KNCf05kSnk4CmdDVhAy1RdbU9efCJ/o9GXI08JdUGwZ+5QJ3QX3kj0g==",
|
|
175
|
+
"dependencies": {
|
|
176
|
+
"lodash._setbinddata": "~2.3.0",
|
|
177
|
+
"lodash.bind": "~2.3.0",
|
|
178
|
+
"lodash.identity": "~2.3.0",
|
|
179
|
+
"lodash.support": "~2.3.0"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"node_modules/lodash._basecreatewrapper": {
|
|
183
|
+
"version": "2.3.0",
|
|
184
|
+
"resolved": "https://registry.npmjs.org/lodash._basecreatewrapper/-/lodash._basecreatewrapper-2.3.0.tgz",
|
|
185
|
+
"integrity": "sha512-YLycQ7k8AB9Wc1EOvLNxuRWcqipDkMXq2GCgnLWQR6qtgTb3gY3LELzEpnFshrEO4LOLs+R2EpcY+uCOZaLQ8Q==",
|
|
186
|
+
"dependencies": {
|
|
187
|
+
"lodash._basecreate": "~2.3.0",
|
|
188
|
+
"lodash._setbinddata": "~2.3.0",
|
|
189
|
+
"lodash._slice": "~2.3.0",
|
|
190
|
+
"lodash.isobject": "~2.3.0"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"node_modules/lodash._createwrapper": {
|
|
194
|
+
"version": "2.3.0",
|
|
195
|
+
"resolved": "https://registry.npmjs.org/lodash._createwrapper/-/lodash._createwrapper-2.3.0.tgz",
|
|
196
|
+
"integrity": "sha512-XjaI/rzg9W+WO4WJDQ+PRlHD5sAMJ1RhJLuT65cBxLCb1kIYs4U20jqvTDGAWyVT3c34GYiLd9AreHYuB/8yJA==",
|
|
197
|
+
"dependencies": {
|
|
198
|
+
"lodash._basebind": "~2.3.0",
|
|
199
|
+
"lodash._basecreatewrapper": "~2.3.0",
|
|
200
|
+
"lodash.isfunction": "~2.3.0"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"node_modules/lodash._objecttypes": {
|
|
204
|
+
"version": "2.3.0",
|
|
205
|
+
"resolved": "https://registry.npmjs.org/lodash._objecttypes/-/lodash._objecttypes-2.3.0.tgz",
|
|
206
|
+
"integrity": "sha512-jbA6QyHt9cw3BzvbWzIcnU3Z12jSneT6xBgz3Y782CJsN1tV5aTBKrFo2B4AkeHBNaxSrbPYZZpi1Lwj3xjdtg=="
|
|
207
|
+
},
|
|
208
|
+
"node_modules/lodash._renative": {
|
|
209
|
+
"version": "2.3.0",
|
|
210
|
+
"resolved": "https://registry.npmjs.org/lodash._renative/-/lodash._renative-2.3.0.tgz",
|
|
211
|
+
"integrity": "sha512-v44MRirqYqZGK/h5UKoVqXWF2L+LUiLTU+Ogu5rHRVWJUA1uWIlHaMpG8f/OA8j++BzPMQij9+erXHtgFcbuwg=="
|
|
212
|
+
},
|
|
213
|
+
"node_modules/lodash._setbinddata": {
|
|
214
|
+
"version": "2.3.0",
|
|
215
|
+
"resolved": "https://registry.npmjs.org/lodash._setbinddata/-/lodash._setbinddata-2.3.0.tgz",
|
|
216
|
+
"integrity": "sha512-xMFfbF7dL+sFtrdE49uHFmfpBAEwlFtfgMp86nQRlAF6aizYL+3MTbnYMKJSkP1W501PhsgiBED5kBbZd8kR2g==",
|
|
217
|
+
"dependencies": {
|
|
218
|
+
"lodash._renative": "~2.3.0",
|
|
219
|
+
"lodash.noop": "~2.3.0"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"node_modules/lodash._shimkeys": {
|
|
223
|
+
"version": "2.3.0",
|
|
224
|
+
"resolved": "https://registry.npmjs.org/lodash._shimkeys/-/lodash._shimkeys-2.3.0.tgz",
|
|
225
|
+
"integrity": "sha512-9Iuyi7TiWMGa/9+2rqEE+Zwye4b/U2w7Saw6UX1h6Xs88mEER+uz9FZcEBPKMVKsad9Pw5GNAcIBRnW2jNpneQ==",
|
|
226
|
+
"dependencies": {
|
|
227
|
+
"lodash._objecttypes": "~2.3.0"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"node_modules/lodash._slice": {
|
|
231
|
+
"version": "2.3.0",
|
|
232
|
+
"resolved": "https://registry.npmjs.org/lodash._slice/-/lodash._slice-2.3.0.tgz",
|
|
233
|
+
"integrity": "sha512-7C61GhzRUv36gTafr+RIb+AomCAYsSATEoK4OP0VkNBcwvsM022Z22AVgqjjzikeNO1U29LzsJZDvLbiNPUYvA=="
|
|
234
|
+
},
|
|
235
|
+
"node_modules/lodash.bind": {
|
|
236
|
+
"version": "2.3.0",
|
|
237
|
+
"resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-2.3.0.tgz",
|
|
238
|
+
"integrity": "sha512-goakyOo+FMN8lttMPnZ0UNlr5RlzX4IrUXyTJPT2A0tGCMXySupond9wzvDqTvVmYTcQjIKGrj8naJDS2xWAlQ==",
|
|
239
|
+
"dependencies": {
|
|
240
|
+
"lodash._createwrapper": "~2.3.0",
|
|
241
|
+
"lodash._renative": "~2.3.0",
|
|
242
|
+
"lodash._slice": "~2.3.0"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"node_modules/lodash.foreach": {
|
|
246
|
+
"version": "2.3.0",
|
|
247
|
+
"resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-2.3.0.tgz",
|
|
248
|
+
"integrity": "sha512-yLnyptVRJd0//AbGp480grgQG9iaDIV5uOgSbpurRy1dYybPbjNTLQ3FyLEQ84buVLPG7jyaiyvpzgfOutRB3Q==",
|
|
249
|
+
"dependencies": {
|
|
250
|
+
"lodash._basecreatecallback": "~2.3.0",
|
|
251
|
+
"lodash.forown": "~2.3.0"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"node_modules/lodash.forown": {
|
|
255
|
+
"version": "2.3.0",
|
|
256
|
+
"resolved": "https://registry.npmjs.org/lodash.forown/-/lodash.forown-2.3.0.tgz",
|
|
257
|
+
"integrity": "sha512-dUnCsuQTtq3Y7bxPNoEEqjJjPL2ftLtcz2PTeRKvhbpdM514AvnqCjewHGsm/W+dwspIwa14KoWEZeizJ7smxA==",
|
|
258
|
+
"dependencies": {
|
|
259
|
+
"lodash._basecreatecallback": "~2.3.0",
|
|
260
|
+
"lodash._objecttypes": "~2.3.0",
|
|
261
|
+
"lodash.keys": "~2.3.0"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"node_modules/lodash.identity": {
|
|
265
|
+
"version": "2.3.0",
|
|
266
|
+
"resolved": "https://registry.npmjs.org/lodash.identity/-/lodash.identity-2.3.0.tgz",
|
|
267
|
+
"integrity": "sha512-NYJ2r2cwy3tkx/saqbIZEX6oQUzjWTnGRu7d/zmBjMCZos3eHBxCpbvWFWSetv8jFVrptsp6EbWjzNgBKhUoOA=="
|
|
268
|
+
},
|
|
269
|
+
"node_modules/lodash.isfunction": {
|
|
270
|
+
"version": "2.3.0",
|
|
271
|
+
"resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-2.3.0.tgz",
|
|
272
|
+
"integrity": "sha512-X5lteBYlCrVO7Qc00fxP8W90fzRp6Ax9XcHANmU3OsZHdSyIVZ9ZlX5QTTpRq8aGY+9I5Rmd0UTzTIIyWPugEQ=="
|
|
273
|
+
},
|
|
274
|
+
"node_modules/lodash.isobject": {
|
|
275
|
+
"version": "2.3.0",
|
|
276
|
+
"resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-2.3.0.tgz",
|
|
277
|
+
"integrity": "sha512-jo1pfV61C4TE8BfEzqaHj6EIKiSkFANJrB6yscwuCJMSRw5tbqjk4Gv7nJzk4Z6nFKobZjGZ8Qd41vmnwgeQqQ==",
|
|
278
|
+
"dependencies": {
|
|
279
|
+
"lodash._objecttypes": "~2.3.0"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"node_modules/lodash.keys": {
|
|
283
|
+
"version": "2.3.0",
|
|
284
|
+
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.3.0.tgz",
|
|
285
|
+
"integrity": "sha512-c0UW0ffqMxSCtoVbmVt2lERJLkEqgoOn2ejPsWXzr0ZrqRbl3uruGgwHzhtqXxi6K/ei3Ey7zimOqSwXgzazPg==",
|
|
286
|
+
"dependencies": {
|
|
287
|
+
"lodash._renative": "~2.3.0",
|
|
288
|
+
"lodash._shimkeys": "~2.3.0",
|
|
289
|
+
"lodash.isobject": "~2.3.0"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"node_modules/lodash.noop": {
|
|
293
|
+
"version": "2.3.0",
|
|
294
|
+
"resolved": "https://registry.npmjs.org/lodash.noop/-/lodash.noop-2.3.0.tgz",
|
|
295
|
+
"integrity": "sha512-NpSm8HRm1WkBBWHUveDukLF4Kfb5P5E3fjHc9Qre9A11nNubozLWD2wH3UBTZbu+KSuX8aSUvy9b+PUyEceJ8g=="
|
|
296
|
+
},
|
|
297
|
+
"node_modules/lodash.support": {
|
|
298
|
+
"version": "2.3.0",
|
|
299
|
+
"resolved": "https://registry.npmjs.org/lodash.support/-/lodash.support-2.3.0.tgz",
|
|
300
|
+
"integrity": "sha512-etc7VWbB0U3Iya8ixj2xy4sDBN3jvPX7ODi8iXtn4KkkjNpdngrdc7Vlt5jub/Vgqx6/dWtp7Ml9awhCQPYKGQ==",
|
|
301
|
+
"dependencies": {
|
|
302
|
+
"lodash._renative": "~2.3.0"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"node_modules/loose-envify": {
|
|
306
|
+
"version": "1.4.0",
|
|
307
|
+
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
308
|
+
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
309
|
+
"dependencies": {
|
|
310
|
+
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
311
|
+
},
|
|
312
|
+
"bin": {
|
|
313
|
+
"loose-envify": "cli.js"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"node_modules/normalize-svg-path": {
|
|
317
|
+
"version": "1.1.0",
|
|
318
|
+
"resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz",
|
|
319
|
+
"integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==",
|
|
320
|
+
"dependencies": {
|
|
321
|
+
"svg-arc-to-cubic-bezier": "^3.0.0"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"node_modules/pako": {
|
|
325
|
+
"version": "2.1.0",
|
|
326
|
+
"resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz",
|
|
327
|
+
"integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug=="
|
|
328
|
+
},
|
|
329
|
+
"node_modules/parse-svg-path": {
|
|
330
|
+
"version": "0.1.2",
|
|
331
|
+
"resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz",
|
|
332
|
+
"integrity": "sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ=="
|
|
333
|
+
},
|
|
334
|
+
"node_modules/pathfinding": {
|
|
335
|
+
"version": "0.4.18",
|
|
336
|
+
"resolved": "https://registry.npmjs.org/pathfinding/-/pathfinding-0.4.18.tgz",
|
|
337
|
+
"integrity": "sha512-R0TGEQ9GRcFCDvAWlJAWC+KGJ9SLbW4c0nuZRcioVlXVTlw+F5RvXQ8SQgSqI9KXWC1ew95vgmIiyaWTlCe9Ag==",
|
|
338
|
+
"dependencies": {
|
|
339
|
+
"heap": "0.2.5"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"node_modules/react": {
|
|
343
|
+
"version": "18.2.0",
|
|
344
|
+
"resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
|
|
345
|
+
"integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
|
|
346
|
+
"peer": true,
|
|
347
|
+
"dependencies": {
|
|
348
|
+
"loose-envify": "^1.1.0"
|
|
349
|
+
},
|
|
350
|
+
"engines": {
|
|
351
|
+
"node": ">=0.10.0"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"node_modules/react-error-boundary": {
|
|
355
|
+
"version": "4.0.13",
|
|
356
|
+
"resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.13.tgz",
|
|
357
|
+
"integrity": "sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==",
|
|
358
|
+
"dependencies": {
|
|
359
|
+
"@babel/runtime": "^7.12.5"
|
|
360
|
+
},
|
|
361
|
+
"peerDependencies": {
|
|
362
|
+
"react": ">=16.13.1"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"node_modules/react-reconciler": {
|
|
366
|
+
"version": "0.29.0",
|
|
367
|
+
"resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.29.0.tgz",
|
|
368
|
+
"integrity": "sha512-wa0fGj7Zht1EYMRhKWwoo1H9GApxYLBuhoAuXN0TlltESAjDssB+Apf0T/DngVqaMyPypDmabL37vw/2aRM98Q==",
|
|
369
|
+
"dependencies": {
|
|
370
|
+
"loose-envify": "^1.1.0",
|
|
371
|
+
"scheduler": "^0.23.0"
|
|
372
|
+
},
|
|
373
|
+
"engines": {
|
|
374
|
+
"node": ">=0.10.0"
|
|
375
|
+
},
|
|
376
|
+
"peerDependencies": {
|
|
377
|
+
"react": "^18.2.0"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"node_modules/rectilinear-router": {
|
|
381
|
+
"version": "1.0.1",
|
|
382
|
+
"resolved": "https://registry.npmjs.org/rectilinear-router/-/rectilinear-router-1.0.1.tgz",
|
|
383
|
+
"integrity": "sha512-3cLXo9A8/jK36nU5XRTC0V/9DLn0ORBaI02nYqGnoscazzo1xphyzzmQIJK8QjyNSBqoDAypkpOEP0khMMIPPw==",
|
|
384
|
+
"dependencies": {
|
|
385
|
+
"lodash": "^4.17.21",
|
|
386
|
+
"rsmt-ts": "^1.1.4"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"node_modules/regenerator-runtime": {
|
|
390
|
+
"version": "0.14.1",
|
|
391
|
+
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
|
|
392
|
+
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
|
|
393
|
+
},
|
|
394
|
+
"node_modules/rsmt-ts": {
|
|
395
|
+
"version": "1.1.6",
|
|
396
|
+
"resolved": "https://registry.npmjs.org/rsmt-ts/-/rsmt-ts-1.1.6.tgz",
|
|
397
|
+
"integrity": "sha512-SKq3nla9/X4YUJX+DkInHbdZ/iEfVkGnpvP8zaF9/vv09vpHHmpiHv129zpKkVjVr7dML9lBGBdTok41Z3rQnQ==",
|
|
398
|
+
"dependencies": {
|
|
399
|
+
"glpk.js": "^4.0.1"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"node_modules/scheduler": {
|
|
403
|
+
"version": "0.23.0",
|
|
404
|
+
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
|
|
405
|
+
"integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
|
|
406
|
+
"dependencies": {
|
|
407
|
+
"loose-envify": "^1.1.0"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"node_modules/svg-arc-to-cubic-bezier": {
|
|
411
|
+
"version": "3.2.0",
|
|
412
|
+
"resolved": "https://registry.npmjs.org/svg-arc-to-cubic-bezier/-/svg-arc-to-cubic-bezier-3.2.0.tgz",
|
|
413
|
+
"integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g=="
|
|
414
|
+
},
|
|
415
|
+
"node_modules/svg-path-bounds": {
|
|
416
|
+
"version": "1.0.2",
|
|
417
|
+
"resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz",
|
|
418
|
+
"integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==",
|
|
419
|
+
"dependencies": {
|
|
420
|
+
"abs-svg-path": "^0.1.1",
|
|
421
|
+
"is-svg-path": "^1.0.1",
|
|
422
|
+
"normalize-svg-path": "^1.0.0",
|
|
423
|
+
"parse-svg-path": "^0.1.2"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"node_modules/transformation-matrix": {
|
|
427
|
+
"version": "2.16.1",
|
|
428
|
+
"resolved": "https://registry.npmjs.org/transformation-matrix/-/transformation-matrix-2.16.1.tgz",
|
|
429
|
+
"integrity": "sha512-tdtC3wxVEuzU7X/ydL131Q3JU5cPMEn37oqVLITjRDSDsnSHVFzW2JiCLfZLIQEgWzZHdSy3J6bZzvKEN24jGA==",
|
|
430
|
+
"funding": {
|
|
431
|
+
"url": "https://github.com/sponsors/chrvadala"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"node_modules/typescript": {
|
|
435
|
+
"version": "5.4.5",
|
|
436
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
|
437
|
+
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
|
438
|
+
"peer": true,
|
|
439
|
+
"bin": {
|
|
440
|
+
"tsc": "bin/tsc",
|
|
441
|
+
"tsserver": "bin/tsserver"
|
|
442
|
+
},
|
|
443
|
+
"engines": {
|
|
444
|
+
"node": ">=14.17"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import "@tscircuit/react-fiber"
|
|
2
2
|
|
|
3
3
|
export const MyCircuit = () => (
|
|
4
|
-
<
|
|
4
|
+
<board width="40mm" height="40mm" center_x={0} center_y={0}>
|
|
5
|
+
<resistor name="R1" resistance="20kohm" footprint="1210" />
|
|
6
|
+
</board>
|
|
5
7
|
)
|