@tscircuit/cli 0.1.1131 → 0.1.1132
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 +8 -1
- package/dist/lib/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -97682,7 +97682,7 @@ var import_perfect_cli = __toESM2(require_dist2(), 1);
|
|
|
97682
97682
|
// lib/getVersion.ts
|
|
97683
97683
|
import { createRequire as createRequire2 } from "node:module";
|
|
97684
97684
|
// package.json
|
|
97685
|
-
var version = "0.1.
|
|
97685
|
+
var version = "0.1.1131";
|
|
97686
97686
|
var package_default = {
|
|
97687
97687
|
name: "@tscircuit/cli",
|
|
97688
97688
|
version,
|
|
@@ -116293,9 +116293,16 @@ var exportSnippet = async ({
|
|
|
116293
116293
|
schConverter.runUntilFinished();
|
|
116294
116294
|
const pcbConverter = new CircuitJsonToKicadPcbConverter(circuitJson);
|
|
116295
116295
|
pcbConverter.runUntilFinished();
|
|
116296
|
+
const proConverter = new CircuitJsonToKicadProConverter(circuitJson, {
|
|
116297
|
+
projectName: outputBaseName,
|
|
116298
|
+
schematicFilename: `${outputBaseName}.kicad_sch`,
|
|
116299
|
+
pcbFilename: `${outputBaseName}.kicad_pcb`
|
|
116300
|
+
});
|
|
116301
|
+
proConverter.runUntilFinished();
|
|
116296
116302
|
const zip = new import_jszip4.default;
|
|
116297
116303
|
zip.file(`${outputBaseName}.kicad_sch`, schConverter.getOutputString());
|
|
116298
116304
|
zip.file(`${outputBaseName}.kicad_pcb`, pcbConverter.getOutputString());
|
|
116305
|
+
zip.file(`${outputBaseName}.kicad_pro`, proConverter.getOutputString());
|
|
116299
116306
|
outputContent = await zip.generateAsync({ type: "nodebuffer" });
|
|
116300
116307
|
break;
|
|
116301
116308
|
}
|
package/dist/lib/index.js
CHANGED
|
@@ -60445,7 +60445,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
|
|
|
60445
60445
|
}));
|
|
60446
60446
|
};
|
|
60447
60447
|
// package.json
|
|
60448
|
-
var version = "0.1.
|
|
60448
|
+
var version = "0.1.1131";
|
|
60449
60449
|
var package_default = {
|
|
60450
60450
|
name: "@tscircuit/cli",
|
|
60451
60451
|
version,
|