@tscircuit/core 0.0.1074 → 0.0.1075

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 +8 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -18102,7 +18102,7 @@ import { identity as identity5 } from "transformation-matrix";
18102
18102
  var package_default = {
18103
18103
  name: "@tscircuit/core",
18104
18104
  type: "module",
18105
- version: "0.0.1073",
18105
+ version: "0.0.1074",
18106
18106
  types: "dist/index.d.ts",
18107
18107
  main: "dist/index.js",
18108
18108
  module: "dist/index.js",
@@ -18146,7 +18146,7 @@ var package_default = {
18146
18146
  "@tscircuit/math-utils": "^0.0.29",
18147
18147
  "@tscircuit/miniflex": "^0.0.4",
18148
18148
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
18149
- "@tscircuit/props": "^0.0.485",
18149
+ "@tscircuit/props": "^0.0.487",
18150
18150
  "@tscircuit/schematic-match-adapt": "^0.0.16",
18151
18151
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
18152
18152
  "@tscircuit/solver-utils": "^0.0.3",
@@ -19021,9 +19021,12 @@ var Board = class extends Group6 {
19021
19021
  const { db } = this.root;
19022
19022
  const routingDisabled = this.root?.pcbRoutingDisabled || this.getInheritedProperty("routingDisabled");
19023
19023
  const pcbDisabled = this.root?.pcbDisabled;
19024
- const shouldRunNetlistChecks = true;
19025
- const shouldRunPlacementChecks = !pcbDisabled;
19026
- const shouldRunRoutingChecks = !pcbDisabled && !routingDisabled;
19024
+ const netlistDrcChecksDisabled = this.root?.platform?.netlistDrcChecksDisabled ?? this.getInheritedProperty("netlistDrcChecksDisabled");
19025
+ const placementDrcChecksDisabled = this.root?.platform?.placementDrcChecksDisabled ?? this.getInheritedProperty("placementDrcChecksDisabled");
19026
+ const routingDrcChecksDisabled = this.root?.platform?.routingDrcChecksDisabled ?? this.getInheritedProperty("routingDrcChecksDisabled");
19027
+ const shouldRunNetlistChecks = !netlistDrcChecksDisabled;
19028
+ const shouldRunPlacementChecks = !pcbDisabled && !placementDrcChecksDisabled;
19029
+ const shouldRunRoutingChecks = !pcbDisabled && !routingDisabled && !routingDrcChecksDisabled;
19027
19030
  if (shouldRunRoutingChecks && this._hasIncompleteAsyncEffectsInSubtreeForPhase("PcbTraceRender"))
19028
19031
  return;
19029
19032
  const hasTracesToRoute = this._hasTracesToRoute();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1074",
4
+ "version": "0.0.1075",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "@tscircuit/math-utils": "^0.0.29",
46
46
  "@tscircuit/miniflex": "^0.0.4",
47
47
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
48
- "@tscircuit/props": "^0.0.485",
48
+ "@tscircuit/props": "^0.0.487",
49
49
  "@tscircuit/schematic-match-adapt": "^0.0.16",
50
50
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
51
51
  "@tscircuit/solver-utils": "^0.0.3",