@tscircuit/cli 0.1.209 → 0.1.210
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/main.js +3 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -62957,7 +62957,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
62957
62957
|
import { execSync as execSync2 } from "node:child_process";
|
|
62958
62958
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
62959
62959
|
// package.json
|
|
62960
|
-
var version = "0.1.
|
|
62960
|
+
var version = "0.1.209";
|
|
62961
62961
|
var package_default = {
|
|
62962
62962
|
name: "@tscircuit/cli",
|
|
62963
62963
|
version,
|
|
@@ -70885,7 +70885,8 @@ var registerSearch = (program3) => {
|
|
|
70885
70885
|
json: { query }
|
|
70886
70886
|
}).json();
|
|
70887
70887
|
const jlcSearchUrl = "https://jlcsearch.tscircuit.com/api/search?limit=10&q=" + encodeURIComponent(query);
|
|
70888
|
-
|
|
70888
|
+
const jlcResponse = await fetch(jlcSearchUrl).then((r) => r.json());
|
|
70889
|
+
jlcResults = jlcResponse?.components ?? [];
|
|
70889
70890
|
}
|
|
70890
70891
|
const kicadFiles = await fetch("https://kicad-mod-cache.tscircuit.com/kicad_files.json").then((r) => r.json());
|
|
70891
70892
|
const fuse = new Fuse(kicadFiles);
|