@tscircuit/cli 0.0.221 → 0.0.223

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.
@@ -30,14 +30,14 @@ export const MacroKeypad = () => {
30
30
 
31
31
  return (
32
32
  <board
33
- width="120mm"
34
- height="80mm"
33
+ width="85mm"
34
+ height="60mm"
35
35
  layout={layout().manualEdits(manualEdits)}
36
36
  >
37
37
  {keyPositions.map(({ keyNum, x, y }) => (
38
- <Key name={`K${keyNum}`} keyNum={keyNum} pcbX={x} pcbY={y} />
38
+ <Key name={`K${keyNum}`} keyNum={keyNum} pcbX={x - 12.5} pcbY={y + 2} />
39
39
  ))}
40
- <ArduinoProMicroBreakout key="u1" name="U1" pcbX={44} />
40
+ <ArduinoProMicroBreakout key="u1" name="U1" pcbX={30.5} />
41
41
  {keyPositions.map(({ keyNum, row, col }) => (
42
42
  <trace
43
43
  // @ts-ignore
@@ -18,13 +18,6 @@ export const Keyswitch = (props: {
18
18
  }}
19
19
  footprint={
20
20
  <footprint>
21
- <smtpad
22
- shape="rect"
23
- width="0.1mm"
24
- height="0.1mm"
25
- portHints={["pin1"]}
26
- layer="top"
27
- />
28
21
  <hole diameter={2.5} pcbX={0} pcbY={0} />
29
22
  </footprint>
30
23
  }
@@ -17,6 +17,9 @@ export const KeyswitchSocket = (props: {
17
17
  cadModel={{
18
18
  objUrl: `https://modelcdn.tscircuit.com/easyeda_models/download?pn=C5184526`,
19
19
  }}
20
+ supplierPartNumbers={{
21
+ jlcpcb: ["C5184526"],
22
+ }}
20
23
  footprint={
21
24
  <footprint>
22
25
  {/* <silkscreentext text={props.name} /> */}
@@ -53,17 +53,37 @@ export default {
53
53
  },
54
54
  ],
55
55
  manual_trace_hints: [
56
+ {
57
+ pcb_port_selector: ".D9 > .pin2",
58
+ offsets: [
59
+ {
60
+ x: 17.58431693903126,
61
+ y: 15.875996800068524,
62
+ via: false,
63
+ },
64
+ {
65
+ x: 18.01072486303387,
66
+ y: 2.621817162320708,
67
+ via: false,
68
+ },
69
+ {
70
+ x: 23.127619951065203,
71
+ y: 2.4441471939862858,
72
+ via: false,
73
+ },
74
+ ],
75
+ },
56
76
  {
57
77
  pcb_port_selector: ".D4 > .pin2",
58
78
  offsets: [
59
79
  {
60
- x: -12.12299453118936,
61
- y: -8.872955772271606,
80
+ x: -21.94914509505002,
81
+ y: -3.063375950444515,
62
82
  via: true,
63
83
  },
64
84
  {
65
- x: 43.833615026953254,
66
- y: -17.47530225275473,
85
+ x: -16.627383568380463,
86
+ y: -3.006761466118242,
67
87
  via: true,
68
88
  },
69
89
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.0.221",
3
+ "version": "0.0.223",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Command line tool for developing, publishing and installing tscircuit circuits",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@edge-runtime/primitives": "^4.1.0",
37
37
  "@hono/node-server": "^1.8.2",
38
- "@tscircuit/core": "^0.0.84",
38
+ "@tscircuit/core": "^0.0.87",
39
39
  "@tscircuit/props": "^0.0.66",
40
40
  "@tscircuit/soup": "^0.0.73",
41
41
  "archiver": "^7.0.1",
@@ -60,7 +60,7 @@
60
60
  "hono": "^4.1.0",
61
61
  "ignore": "^5.3.1",
62
62
  "json5": "^2.2.3",
63
- "kicad-converter": "^0.0.12",
63
+ "kicad-converter": "^0.0.14",
64
64
  "kleur": "^4.1.5",
65
65
  "lodash": "^4.17.21",
66
66
  "memory-level": "^1.0.0",
@@ -101,7 +101,7 @@
101
101
  "@radix-ui/react-toggle": "^1.0.3",
102
102
  "@radix-ui/react-toggle-group": "^1.0.4",
103
103
  "@radix-ui/react-tooltip": "^1.0.7",
104
- "@tscircuit/3d-viewer": "^0.0.26",
104
+ "@tscircuit/3d-viewer": "^0.0.28",
105
105
  "@tscircuit/layout": "^0.0.28",
106
106
  "@tscircuit/manual-edit-events": "^0.0.4",
107
107
  "@tscircuit/pcb-viewer": "^1.10.4",