Update dependencies and migrate PCB manufacturing DRC field names#2181
Merged
imrishabh18 merged 1 commit intomainfrom Apr 24, 2026
Merged
Update dependencies and migrate PCB manufacturing DRC field names#2181imrishabh18 merged 1 commit intomainfrom
imrishabh18 merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Thank you for your contribution! 🎉 PR Rating: ⭐⭐ Track your contributions and see the leaderboard at: tscircuit Contribution Tracker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
circuit-json/@tscircuit/propsand pin@tscircuit/jlcpcb-manufacturing-specsto the specified commit so the project uses the latest PCB schema and prop names.PcbBoardschema so emitted circuit JSON matches the updated types.Description
package.jsonto usecircuit-json@^0.0.419,@tscircuit/props@^0.0.513, and@tscircuit/jlcpcb-manufacturing-specsat commite08af159db01a37db007e33f0a7268d0e4a279a5.lib/components/normal-components/Board.tsto emit the new manufacturing DRC fields (min_via_hole_edge_to_via_hole_edge_clearance,min_trace_to_pad_edge_clearance,min_pad_edge_to_pad_edge_clearance, andmin_plated_hole_drill_edge_to_drill_edge_clearance) mapping from the component props and JLC defaults.tests/components/normal-components/board-manufacture-drc-property.test.tsxandtests/footprint/footprint-library-map3.test.tsxto use the new prop names and PCB JSON keys.Testing
bunx tsc --noEmitwhich succeeded.bun test tests/components/normal-components/board-manufacture-drc-property.test.tsx tests/footprint/footprint-library-map3.test.tsxand both tests passed (1 snapshot updated to match new schema).Codex Task