@tscircuit/cli 0.0.180 → 0.0.181
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/.github/workflows/test.yml +2 -1
- package/bun.lockb +0 -0
- package/cli/lib/cmd-fns/dev/soupify-and-upload-example-file.ts +1 -1
- package/cli/lib/cmd-fns/soupify.ts +2 -2
- package/cli/lib/get-program.ts +2 -2
- package/cli/tests/soupify-builder.test.ts +3 -3
- package/cli/tests/soupify-core.test.ts +1 -1
- package/dist/cli.js +11 -10
- package/example-project/examples/basic-chip.tsx +2 -1
- package/example-project/src/MyCircuit.tsx +2 -2
- package/example-project/src/manual-edits.ts +4 -4
- package/package.json +3 -2
|
@@ -3,8 +3,9 @@ import { layout } from "@tscircuit/layout"
|
|
|
3
3
|
import manual_edits from "../src/manual-edits"
|
|
4
4
|
|
|
5
5
|
export const BasicChip = () => (
|
|
6
|
-
<board
|
|
6
|
+
<board pcbX={0} pcbY={0} width="20mm" height="20mm">
|
|
7
7
|
<group
|
|
8
|
+
subcircuit
|
|
8
9
|
layout={layout()
|
|
9
10
|
.autoLayoutSchematic()
|
|
10
11
|
.manualPcbPlacement(manual_edits.pcb_placements)}
|
|
@@ -19,8 +19,8 @@ export default {
|
|
|
19
19
|
_edit_event_id: "0.6668756126702717",
|
|
20
20
|
selector: ".U2",
|
|
21
21
|
center: {
|
|
22
|
-
x: -5.
|
|
23
|
-
y:
|
|
22
|
+
x: -5.830346475507767,
|
|
23
|
+
y: -1.3620071684587813,
|
|
24
24
|
},
|
|
25
25
|
relative_to: "group_center",
|
|
26
26
|
},
|
|
@@ -28,8 +28,8 @@ export default {
|
|
|
28
28
|
_edit_event_id: "0.867524742177592",
|
|
29
29
|
selector: ".R1",
|
|
30
30
|
center: {
|
|
31
|
-
x:
|
|
32
|
-
y:
|
|
31
|
+
x: 3.679808841099163,
|
|
32
|
+
y: 3.6320191158900847,
|
|
33
33
|
},
|
|
34
34
|
relative_to: "group_center",
|
|
35
35
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.181",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Command line tool for developing, publishing and installing tscircuit circuits",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"start": "bun cli/cli.ts",
|
|
10
10
|
"dev": "bun run build:dev-server && concurrently 'bun run dev:frontend' 'bun run dev:test-project'",
|
|
11
11
|
"dev:frontend": "vite dev --config frontend/vite.config.ts",
|
|
12
|
-
"dev:test-project": "bun --hot cli/cli.ts dev --core --cwd ./example-project",
|
|
12
|
+
"dev:test-project": "bun --hot cli/cli.ts dev --no-cleanup --core --cwd ./example-project",
|
|
13
13
|
"start:dev-server": "bun build:dev-server && bun cli/cli.ts dev -y --cwd ./example-project",
|
|
14
14
|
"build": "bun build:dev-server && npm run build:cli",
|
|
15
15
|
"build:cli": "bun scripts/build-cli.ts",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@edge-runtime/primitives": "^4.1.0",
|
|
37
37
|
"@hono/node-server": "^1.8.2",
|
|
38
38
|
"@tscircuit/builder": "*",
|
|
39
|
+
"@tscircuit/props": "^0.0.52",
|
|
39
40
|
"@tscircuit/core": "0.0.29",
|
|
40
41
|
"@tscircuit/react-fiber": "*",
|
|
41
42
|
"archiver": "^7.0.1",
|