@tscircuit/cli 0.1.1188 → 0.1.1189

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
@@ -99964,7 +99964,7 @@ var import_perfect_cli = __toESM2(require_dist2(), 1);
99964
99964
  // lib/getVersion.ts
99965
99965
  import { createRequire as createRequire2 } from "node:module";
99966
99966
  // package.json
99967
- var version = "0.1.1187";
99967
+ var version = "0.1.1188";
99968
99968
  var package_default = {
99969
99969
  name: "@tscircuit/cli",
99970
99970
  version,
@@ -244774,7 +244774,8 @@ import { promisify as promisify3 } from "node:util";
244774
244774
  import { convertCircuitJsonToGltf as convertCircuitJsonToGltf4 } from "circuit-json-to-gltf";
244775
244775
  import {
244776
244776
  convertCircuitJsonToPcbSvg as convertCircuitJsonToPcbSvg3,
244777
- convertCircuitJsonToSchematicSvg as convertCircuitJsonToSchematicSvg3
244777
+ convertCircuitJsonToSchematicSvg as convertCircuitJsonToSchematicSvg3,
244778
+ convertCircuitJsonToAssemblySvg as convertCircuitJsonToAssemblySvg2
244778
244779
  } from "circuit-to-svg";
244779
244780
 
244780
244781
  // node_modules/dsn-converter/dist/index.js
@@ -250338,13 +250339,15 @@ var ALLOWED_EXPORT_FORMATS = [
250338
250339
  "kicad_zip",
250339
250340
  "kicad-library",
250340
250341
  "srj",
250341
- "step"
250342
+ "step",
250343
+ "assembly-svg"
250342
250344
  ];
250343
250345
  var OUTPUT_EXTENSIONS = {
250344
250346
  json: ".circuit.json",
250345
250347
  "circuit-json": ".circuit.json",
250346
250348
  "schematic-svg": "-schematic.svg",
250347
250349
  "pcb-svg": "-pcb.svg",
250350
+ "assembly-svg": "-assembly.svg",
250348
250351
  gerbers: "-gerbers.zip",
250349
250352
  "readable-netlist": "-readable.netlist",
250350
250353
  gltf: ".gltf",
@@ -250542,6 +250545,9 @@ var exportSnippet = async ({
250542
250545
  case "step":
250543
250546
  outputContent = await circuitJsonToStep(circuitJson);
250544
250547
  break;
250548
+ case "assembly-svg":
250549
+ outputContent = convertCircuitJsonToAssemblySvg2(circuitJson);
250550
+ break;
250545
250551
  default:
250546
250552
  outputContent = JSON.stringify(circuitJson, null, 2);
250547
250553
  }
package/dist/lib/index.js CHANGED
@@ -60678,7 +60678,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
60678
60678
  }));
60679
60679
  };
60680
60680
  // package.json
60681
- var version = "0.1.1187";
60681
+ var version = "0.1.1188";
60682
60682
  var package_default = {
60683
60683
  name: "@tscircuit/cli",
60684
60684
  version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.1188",
3
+ "version": "0.1.1189",
4
4
  "main": "dist/cli/main.js",
5
5
  "exports": {
6
6
  ".": "./dist/cli/main.js",