Skip to content

refactor: replace kicad-component-converter with kicad-to-circuit-json for footprint conversion#3254

Open
rushabhcodes wants to merge 2 commits into
tscircuit:mainfrom
rushabhcodes:replace-archived-kicad-component-converter
Open

refactor: replace kicad-component-converter with kicad-to-circuit-json for footprint conversion#3254
rushabhcodes wants to merge 2 commits into
tscircuit:mainfrom
rushabhcodes:replace-archived-kicad-component-converter

Conversation

@rushabhcodes

Copy link
Copy Markdown
Contributor

This pull request updates the KiCad footprint conversion logic in the CLI and upgrades related dependencies to improve compatibility and maintainability. The main change is switching from the older parseKicadModToCircuitJson function to the newer KicadFootprintToCircuitJsonConverter class, providing a more robust conversion process. Additionally, the relevant packages in package.json have been updated.

Conversion Logic Update:

  • Replaced the use of parseKicadModToCircuitJson with the KicadFootprintToCircuitJsonConverter class in cli/convert/register.ts, updating the conversion flow to use the new API for handling KiCad footprint files. [1] [2]

Dependency Updates:

  • Updated kicad-to-circuit-json and kicadts to newer versions in package.json; removed the now-unused kicad-component-converter dependency.

Copilot AI review requested due to automatic review settings June 10, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants