@tscircuit/core 0.0.1098 → 0.0.1099
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 +12 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11155,6 +11155,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
11155
11155
|
// lib/components/normal-components/Board.ts
|
|
11156
11156
|
import {
|
|
11157
11157
|
runAllNetlistChecks,
|
|
11158
|
+
runAllPinSpecificationChecks,
|
|
11158
11159
|
runAllPlacementChecks,
|
|
11159
11160
|
runAllRoutingChecks
|
|
11160
11161
|
} from "@tscircuit/checks";
|
|
@@ -18210,7 +18211,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18210
18211
|
var package_default = {
|
|
18211
18212
|
name: "@tscircuit/core",
|
|
18212
18213
|
type: "module",
|
|
18213
|
-
version: "0.0.
|
|
18214
|
+
version: "0.0.1098",
|
|
18214
18215
|
types: "dist/index.d.ts",
|
|
18215
18216
|
main: "dist/index.js",
|
|
18216
18217
|
module: "dist/index.js",
|
|
@@ -18243,7 +18244,7 @@ var package_default = {
|
|
|
18243
18244
|
"@resvg/resvg-js": "^2.6.2",
|
|
18244
18245
|
"@tscircuit/alphabet": "0.0.18",
|
|
18245
18246
|
"@tscircuit/capacity-autorouter": "^0.0.320",
|
|
18246
|
-
"@tscircuit/checks": "0.0.
|
|
18247
|
+
"@tscircuit/checks": "0.0.107",
|
|
18247
18248
|
"@tscircuit/circuit-json-util": "^0.0.82",
|
|
18248
18249
|
"@tscircuit/common": "^0.0.20",
|
|
18249
18250
|
"@tscircuit/copper-pour-solver": "^0.0.20",
|
|
@@ -19132,9 +19133,13 @@ var Board = class extends Group6 {
|
|
|
19132
19133
|
const pcbDisabled = this.root?.pcbDisabled;
|
|
19133
19134
|
const drcChecksDisabled = this.root?.platform?.drcChecksDisabled ?? this.getInheritedProperty("drcChecksDisabled");
|
|
19134
19135
|
const netlistDrcChecksDisabled = this.root?.platform?.netlistDrcChecksDisabled ?? this.getInheritedProperty("netlistDrcChecksDisabled");
|
|
19136
|
+
const pinSpecificationDrcChecksDisabled = this.getInheritedProperty(
|
|
19137
|
+
"pinSpecificationDrcChecksDisabled"
|
|
19138
|
+
);
|
|
19135
19139
|
const placementDrcChecksDisabled = this.root?.platform?.placementDrcChecksDisabled ?? this.getInheritedProperty("placementDrcChecksDisabled");
|
|
19136
19140
|
const routingDrcChecksDisabled = this.root?.platform?.routingDrcChecksDisabled ?? this.getInheritedProperty("routingDrcChecksDisabled");
|
|
19137
19141
|
const shouldRunNetlistChecks = !drcChecksDisabled && !netlistDrcChecksDisabled;
|
|
19142
|
+
const shouldRunPinSpecificationChecks = !drcChecksDisabled && !pinSpecificationDrcChecksDisabled;
|
|
19138
19143
|
const shouldRunPlacementChecks = !drcChecksDisabled && !pcbDisabled && !placementDrcChecksDisabled;
|
|
19139
19144
|
const shouldRunRoutingChecks = !drcChecksDisabled && !pcbDisabled && !routingDisabled && !routingDrcChecksDisabled;
|
|
19140
19145
|
if (shouldRunRoutingChecks && this._hasIncompleteAsyncEffectsInSubtreeForPhase("PcbTraceRender"))
|
|
@@ -19160,6 +19165,11 @@ var Board = class extends Group6 {
|
|
|
19160
19165
|
runAllNetlistChecks(circuitJson)
|
|
19161
19166
|
);
|
|
19162
19167
|
}
|
|
19168
|
+
if (shouldRunPinSpecificationChecks) {
|
|
19169
|
+
checksToRun.push(
|
|
19170
|
+
runAllPinSpecificationChecks(circuitJson)
|
|
19171
|
+
);
|
|
19172
|
+
}
|
|
19163
19173
|
const checkResults = await Promise.all(checksToRun);
|
|
19164
19174
|
db.insertAll(checkResults.flat());
|
|
19165
19175
|
};
|
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.1099",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
35
|
"@tscircuit/alphabet": "0.0.18",
|
|
36
36
|
"@tscircuit/capacity-autorouter": "^0.0.320",
|
|
37
|
-
"@tscircuit/checks": "0.0.
|
|
37
|
+
"@tscircuit/checks": "0.0.107",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.82",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|
|
40
40
|
"@tscircuit/copper-pour-solver": "^0.0.20",
|