@tscircuit/core 0.0.1068 → 0.0.1069

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 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -18056,7 +18056,7 @@ import { identity as identity5 } from "transformation-matrix";
18056
18056
  var package_default = {
18057
18057
  name: "@tscircuit/core",
18058
18058
  type: "module",
18059
- version: "0.0.1067",
18059
+ version: "0.0.1068",
18060
18060
  types: "dist/index.d.ts",
18061
18061
  main: "dist/index.js",
18062
18062
  module: "dist/index.js",
@@ -18120,7 +18120,7 @@ var package_default = {
18120
18120
  "circuit-json-to-gltf": "^0.0.73",
18121
18121
  "circuit-json-to-simple-3d": "^0.0.9",
18122
18122
  "circuit-json-to-spice": "^0.0.34",
18123
- "circuit-to-svg": "^0.0.331",
18123
+ "circuit-to-svg": "^0.0.333",
18124
18124
  concurrently: "^9.1.2",
18125
18125
  "connectivity-map": "^1.0.0",
18126
18126
  debug: "^4.3.6",
@@ -18969,6 +18969,7 @@ var Board = class extends Group6 {
18969
18969
  doInitialPcbDesignRuleChecks() {
18970
18970
  if (this.root?.pcbDisabled) return;
18971
18971
  super.doInitialPcbDesignRuleChecks();
18972
+ this.updatePcbDesignRuleChecks();
18972
18973
  }
18973
18974
  updatePcbDesignRuleChecks() {
18974
18975
  const { db } = this.root;
@@ -18977,7 +18978,11 @@ var Board = class extends Group6 {
18977
18978
  const shouldRunNetlistChecks = true;
18978
18979
  const shouldRunPlacementChecks = !pcbDisabled;
18979
18980
  const shouldRunRoutingChecks = !pcbDisabled && !routingDisabled;
18980
- if (shouldRunRoutingChecks && !this._areChildSubcircuitsRouted()) return;
18981
+ if (shouldRunRoutingChecks && this._hasIncompleteAsyncEffectsInSubtreeForPhase("PcbTraceRender"))
18982
+ return;
18983
+ const hasTracesToRoute = this._hasTracesToRoute();
18984
+ if (shouldRunRoutingChecks && hasTracesToRoute && !this._areChildSubcircuitsRouted())
18985
+ return;
18981
18986
  if (this._drcChecksComplete || this._drcChecksInProgress) return;
18982
18987
  const runDrcChecks = async (circuitJson) => {
18983
18988
  const checksToRun = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1068",
4
+ "version": "0.0.1069",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -65,7 +65,7 @@
65
65
  "circuit-json-to-gltf": "^0.0.73",
66
66
  "circuit-json-to-simple-3d": "^0.0.9",
67
67
  "circuit-json-to-spice": "^0.0.34",
68
- "circuit-to-svg": "^0.0.331",
68
+ "circuit-to-svg": "^0.0.333",
69
69
  "concurrently": "^9.1.2",
70
70
  "connectivity-map": "^1.0.0",
71
71
  "debug": "^4.3.6",