Skip to content

feat: add bom-csv as standalone export format#2844

Closed
64johnlee wants to merge 6 commits into
tscircuit:mainfrom
64johnlee:feat/add-bom-csv-export
Closed

feat: add bom-csv as standalone export format#2844
64johnlee wants to merge 6 commits into
tscircuit:mainfrom
64johnlee:feat/add-bom-csv-export

Conversation

@64johnlee
Copy link
Copy Markdown

Summary

Add bom-csv export format to ALLOWED_EXPORT_FORMATS, enabling standalone Bill of Materials CSV export.

Changes

  • Added bom-csv to ALLOWED_EXPORT_FORMATS array
  • Added bom-csv: "-bom.csv" to OUTPUT_EXTENSIONS
  • Added case handler using convertBomRowsToCsv(convertCircuitJsonToBomRows(...))

Usage

tsci export MyCircuit.tsx -f bom-csv
# Outputs: MyCircuit-bom.csv

Testing

  • Build succeeds

Closes #1950

64johnlee added 6 commits April 28, 2026 11:40
Add pnp-csv export format to ALLOWED_EXPORT_FORMATS, using the
already-imported convertCircuitJsonToPickAndPlaceCsv function.

Usage: tsci export MyCircuit.tsx -f pnp-csv
Outputs: MyCircuit-pnp.csv

Closes tscircuit#2806
Implement tsci check routing [file] to:
- Accept an optional file path (uses project entrypoint if omitted)
- Run the autorouter on the circuit
- Report routing DRC errors and warnings
- Exit with code 1 if routing errors are found

This is consistent with tsci check placement and tsci check netlist.

Closes tscircuit#2808
Add bom-csv export format to ALLOWED_EXPORT_FORMATS, using the
already-imported convertCircuitJsonToBomRows and convertBomRowsToCsv.

Usage: tsci export MyCircuit.tsx -f bom-csv
Outputs: MyCircuit-bom.csv

Closes tscircuit#1950
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support tsci export --format bom-csv for Bill of Materials export

1 participant