@tscircuit/cli 0.1.2222 → 0.1.2223

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/cli/main.js CHANGED
@@ -154298,7 +154298,7 @@ var import_perfect_cli = __toESM3(require_dist3(), 1);
154298
154298
  // lib/getVersion.ts
154299
154299
  import { createRequire as createRequire2 } from "node:module";
154300
154300
  // package.json
154301
- var version = "0.1.2220";
154301
+ var version = "0.1.2222";
154302
154302
  var package_default = {
154303
154303
  name: "@tscircuit/cli",
154304
154304
  version,
@@ -376485,6 +376485,15 @@ var convertImportedFootprintToFootprinter = ({
376485
376485
  tsx
376486
376486
  };
376487
376487
  }
376488
+ const targetHints = new Set(pinMap.values());
376489
+ if ([...pinMap].some(([footprinterHint, targetHint]) => footprinterHint !== targetHint && targetHints.has(footprinterHint))) {
376490
+ return {
376491
+ accuracy: candidate.copperIntersectionOverUnion,
376492
+ candidate,
376493
+ mode: "exact-pin-conflict",
376494
+ tsx
376495
+ };
376496
+ }
376488
376497
  return {
376489
376498
  accuracy: candidate.copperIntersectionOverUnion,
376490
376499
  candidate,
@@ -376601,6 +376610,9 @@ var logFootprintConversion = (conversion) => {
376601
376610
  if (conversion.mode === "exact-discovery-failed") {
376602
376611
  console.log(kleur_default.yellow("Using the exact EasyEDA footprint because a safe footprinter pin mapping was not available."));
376603
376612
  }
376613
+ if (conversion.mode === "exact-pin-conflict") {
376614
+ console.log(kleur_default.yellow("Using the exact EasyEDA footprint because footprinter aliases would conflict with existing physical pins."));
376615
+ }
376604
376616
  };
376605
376617
 
376606
376618
  // cli/import/import-jlcpcb-part.ts
package/dist/lib/index.js CHANGED
@@ -69109,7 +69109,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
69109
69109
  }));
69110
69110
  };
69111
69111
  // package.json
69112
- var version = "0.1.2220";
69112
+ var version = "0.1.2222";
69113
69113
  var package_default = {
69114
69114
  name: "@tscircuit/cli",
69115
69115
  version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.2222",
3
+ "version": "0.1.2223",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/tscircuit/cli"