@tscircuit/cli 0.1.1135 → 0.1.1137
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 +356 -281
- package/dist/cli/snapshot/snapshot.worker.js +3 -1
- package/dist/lib/index.js +323 -279
- package/package.json +2 -2
- package/types/tscircuit.config.schema.json +19 -0
|
@@ -13298,6 +13298,7 @@ var processSnapshotFile = async ({
|
|
|
13298
13298
|
schematicOnly,
|
|
13299
13299
|
forceUpdate,
|
|
13300
13300
|
platformConfig,
|
|
13301
|
+
pcbSnapshotSettings,
|
|
13301
13302
|
createDiff,
|
|
13302
13303
|
cameraPreset
|
|
13303
13304
|
}) => {
|
|
@@ -13336,7 +13337,7 @@ var processSnapshotFile = async ({
|
|
|
13336
13337
|
};
|
|
13337
13338
|
}
|
|
13338
13339
|
try {
|
|
13339
|
-
pcbSvg = convertCircuitJsonToPcbSvg(circuitJson);
|
|
13340
|
+
pcbSvg = convertCircuitJsonToPcbSvg(circuitJson, pcbSnapshotSettings);
|
|
13340
13341
|
} catch (error) {
|
|
13341
13342
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
13342
13343
|
return {
|
|
@@ -13546,6 +13547,7 @@ var handleSnapshotFile = async (filePath, projectDir, snapshotsDirName, options)
|
|
|
13546
13547
|
schematicOnly: options.schematicOnly,
|
|
13547
13548
|
forceUpdate: options.forceUpdate,
|
|
13548
13549
|
platformConfig: options.platformConfig,
|
|
13550
|
+
pcbSnapshotSettings: options.pcbSnapshotSettings,
|
|
13549
13551
|
createDiff: options.createDiff,
|
|
13550
13552
|
cameraPreset: options.cameraPreset
|
|
13551
13553
|
});
|