@tscircuit/core 0.0.631 → 0.0.633
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/dist/index.js +19 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6194,7 +6194,12 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
6194
6194
|
return [];
|
|
6195
6195
|
}
|
|
6196
6196
|
get internallyConnectedPinNames() {
|
|
6197
|
-
|
|
6197
|
+
const rawPins = this._parsedProps.internallyConnectedPins ?? this.defaultInternallyConnectedPinNames;
|
|
6198
|
+
return rawPins.map(
|
|
6199
|
+
(pinGroup) => pinGroup.map(
|
|
6200
|
+
(pin) => typeof pin === "number" ? `pin${pin}` : pin
|
|
6201
|
+
)
|
|
6202
|
+
);
|
|
6198
6203
|
}
|
|
6199
6204
|
constructor(props) {
|
|
6200
6205
|
super(props);
|
|
@@ -10047,7 +10052,10 @@ var Group = class extends NormalComponent {
|
|
|
10047
10052
|
};
|
|
10048
10053
|
|
|
10049
10054
|
// lib/components/normal-components/Board.ts
|
|
10050
|
-
import {
|
|
10055
|
+
import {
|
|
10056
|
+
checkEachPcbPortConnectedToPcbTraces,
|
|
10057
|
+
checkEachPcbTraceNonOverlapping
|
|
10058
|
+
} from "@tscircuit/checks";
|
|
10051
10059
|
var Board = class extends Group {
|
|
10052
10060
|
pcb_board_id = null;
|
|
10053
10061
|
_drcChecksComplete = false;
|
|
@@ -10225,6 +10233,12 @@ var Board = class extends Group {
|
|
|
10225
10233
|
for (const error of errors) {
|
|
10226
10234
|
db.pcb_trace_error.insert(error);
|
|
10227
10235
|
}
|
|
10236
|
+
const pcbPortNotConnectedErrors = checkEachPcbPortConnectedToPcbTraces(
|
|
10237
|
+
db.toArray()
|
|
10238
|
+
);
|
|
10239
|
+
for (const error of pcbPortNotConnectedErrors) {
|
|
10240
|
+
db.pcb_port_not_connected_error.insert(error);
|
|
10241
|
+
}
|
|
10228
10242
|
}
|
|
10229
10243
|
_emitRenderLifecycleEvent(phase, startOrEnd) {
|
|
10230
10244
|
super._emitRenderLifecycleEvent(phase, startOrEnd);
|
|
@@ -12518,7 +12532,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
12518
12532
|
var package_default = {
|
|
12519
12533
|
name: "@tscircuit/core",
|
|
12520
12534
|
type: "module",
|
|
12521
|
-
version: "0.0.
|
|
12535
|
+
version: "0.0.632",
|
|
12522
12536
|
types: "dist/index.d.ts",
|
|
12523
12537
|
main: "dist/index.js",
|
|
12524
12538
|
module: "dist/index.js",
|
|
@@ -12542,8 +12556,8 @@ var package_default = {
|
|
|
12542
12556
|
devDependencies: {
|
|
12543
12557
|
"@biomejs/biome": "^1.8.3",
|
|
12544
12558
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
12545
|
-
"@tscircuit/checks": "^0.0.68",
|
|
12546
12559
|
"@tscircuit/circuit-json-util": "^0.0.65",
|
|
12560
|
+
"@tscircuit/checks": "^0.0.71",
|
|
12547
12561
|
"@tscircuit/footprinter": "^0.0.208",
|
|
12548
12562
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
12549
12563
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
@@ -12564,7 +12578,7 @@ var package_default = {
|
|
|
12564
12578
|
"bun-match-svg": "0.0.12",
|
|
12565
12579
|
"calculate-elbow": "^0.0.9",
|
|
12566
12580
|
"chokidar-cli": "^3.0.0",
|
|
12567
|
-
"circuit-json": "^0.0.
|
|
12581
|
+
"circuit-json": "^0.0.230",
|
|
12568
12582
|
"circuit-json-to-bpc": "^0.0.13",
|
|
12569
12583
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
12570
12584
|
"circuit-json-to-simple-3d": "^0.0.6",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.633",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@biomejs/biome": "^1.8.3",
|
|
27
27
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
28
|
-
"@tscircuit/checks": "^0.0.68",
|
|
29
28
|
"@tscircuit/circuit-json-util": "^0.0.65",
|
|
29
|
+
"@tscircuit/checks": "^0.0.71",
|
|
30
30
|
"@tscircuit/footprinter": "^0.0.208",
|
|
31
31
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"bun-match-svg": "0.0.12",
|
|
48
48
|
"calculate-elbow": "^0.0.9",
|
|
49
49
|
"chokidar-cli": "^3.0.0",
|
|
50
|
-
"circuit-json": "^0.0.
|
|
50
|
+
"circuit-json": "^0.0.230",
|
|
51
51
|
"circuit-json-to-bpc": "^0.0.13",
|
|
52
52
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
53
53
|
"circuit-json-to-simple-3d": "^0.0.6",
|