@tscircuit/core 0.0.1451 → 0.0.1453

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -10069,6 +10069,7 @@ var Port = class extends PrimitiveComponent2 {
10069
10069
  return void 0;
10070
10070
  }
10071
10071
  doInitialSchematicPortRender() {
10072
+ if (this.root?.schematicDisabled) return;
10072
10073
  const collapsedAncestor = this.getCollapsedSchematicBoxAncestor();
10073
10074
  if (collapsedAncestor && this.parent !== collapsedAncestor) return;
10074
10075
  const { db } = this.root;
@@ -14897,6 +14898,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
14897
14898
 
14898
14899
  // lib/components/normal-components/Board.ts
14899
14900
  import {
14901
+ dedupePcbDrcErrors,
14900
14902
  runAllNetlistChecks,
14901
14903
  runAllPinSpecificationChecks,
14902
14904
  runAllPlacementChecks,
@@ -22810,7 +22812,7 @@ function Group_getRoutingPhasePlans(group) {
22810
22812
  var package_default = {
22811
22813
  name: "@tscircuit/core",
22812
22814
  type: "module",
22813
- version: "0.0.1450",
22815
+ version: "0.0.1452",
22814
22816
  types: "dist/index.d.ts",
22815
22817
  main: "dist/index.js",
22816
22818
  module: "dist/index.js",
@@ -22844,7 +22846,7 @@ var package_default = {
22844
22846
  "@tscircuit/alphabet": "0.0.25",
22845
22847
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
22846
22848
  "@tscircuit/capacity-autorouter": "^0.0.670",
22847
- "@tscircuit/checks": "0.0.143",
22849
+ "@tscircuit/checks": "0.0.144",
22848
22850
  "@tscircuit/circuit-json-util": "^0.0.97",
22849
22851
  "@tscircuit/common": "^0.0.20",
22850
22852
  "@tscircuit/copper-pour-solver": "0.0.39",
@@ -22885,8 +22887,8 @@ var package_default = {
22885
22887
  flatbush: "^4.5.0",
22886
22888
  "graphics-debug": "^0.0.95",
22887
22889
  howfat: "^0.3.8",
22888
- "kicad-to-circuit-json": "^0.0.97",
22889
- kicadts: "^0.0.47",
22890
+ "kicad-to-circuit-json": "^0.0.113",
22891
+ kicadts: "^0.0.51",
22890
22892
  "live-server": "^1.2.2",
22891
22893
  "looks-same": "^9.0.1",
22892
22894
  minicssgrid: "^0.0.9",
@@ -27390,7 +27392,7 @@ var Board = class extends Group {
27390
27392
  }
27391
27393
  }
27392
27394
  const checkResults = await Promise.all(checksToRun);
27393
- db.insertAll(checkResults.flat());
27395
+ db.insertAll(dedupePcbDrcErrors(checkResults.flat()));
27394
27396
  };
27395
27397
  const subcircuit = db.subtree({ subcircuit_id: this.subcircuit_id });
27396
27398
  const subcircuitCircuitJson = subcircuit.toArray();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1451",
4
+ "version": "0.0.1453",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "@tscircuit/alphabet": "0.0.25",
36
36
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
37
37
  "@tscircuit/capacity-autorouter": "^0.0.670",
38
- "@tscircuit/checks": "0.0.143",
38
+ "@tscircuit/checks": "0.0.144",
39
39
  "@tscircuit/circuit-json-util": "^0.0.97",
40
40
  "@tscircuit/common": "^0.0.20",
41
41
  "@tscircuit/copper-pour-solver": "0.0.39",
@@ -76,8 +76,8 @@
76
76
  "flatbush": "^4.5.0",
77
77
  "graphics-debug": "^0.0.95",
78
78
  "howfat": "^0.3.8",
79
- "kicad-to-circuit-json": "^0.0.97",
80
- "kicadts": "^0.0.47",
79
+ "kicad-to-circuit-json": "^0.0.113",
80
+ "kicadts": "^0.0.51",
81
81
  "live-server": "^1.2.2",
82
82
  "looks-same": "^9.0.1",
83
83
  "minicssgrid": "^0.0.9",