Skip to content

add JLCPCB footprint autocomplete#670

Closed
techmannih wants to merge 2 commits into
mainfrom
codex/add-jlcpcb-footprint-autocomplete
Closed

add JLCPCB footprint autocomplete#670
techmannih wants to merge 2 commits into
mainfrom
codex/add-jlcpcb-footprint-autocomplete

Conversation

@techmannih
Copy link
Copy Markdown
Member

Summary

  • add a JLCPCB autocomplete generator that builds lib/generated/jlcpcb-autocomplete.ts from the public jlcsearch API
  • export the generated JLCPCB path type and include it in FootprintProp
  • allow jlcpcb: footprint selectors in pcbSx and update the footprint autocomplete type test
  • add a package script for regenerating the JLCPCB autocomplete dataset

Why

JLCPCB footprint source strings were missing from the typed autocomplete/export surface, so consumers could not get first-class type support for jlcpcb: footprint references.

Impact

Consumers can now use jlcpcb:C... footprint references with autocomplete/type safety, including footprint props and the matching pcbSx selector path.

Validation

  • bun scripts/generate-component-types.ts
  • bun scripts/generate-manual-edits-docs.ts
  • bun scripts/generate-readme-docs.ts
  • bun scripts/generate-props-overview.ts
  • bun scripts/generate-jlcpcb-autocomplete.ts
  • bun test
  • bun run typecheck
  • bun run format:check

@techmannih techmannih changed the title [codex] add JLCPCB footprint autocomplete add JLCPCB footprint autocomplete May 14, 2026
@techmannih techmannih closed this May 14, 2026
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