Skip to content

Add SPDIP-28 footprint alias#627

Open
DrOetker747 wants to merge 1 commit into
tscircuit:mainfrom
DrOetker747:implement-spdip-28-footprint
Open

Add SPDIP-28 footprint alias#627
DrOetker747 wants to merge 1 commit into
tscircuit:mainfrom
DrOetker747:implement-spdip-28-footprint

Conversation

@DrOetker747
Copy link
Copy Markdown

/claim #180

Adds SPDIP string normalization for the existing DIP footprint generator so common package names such as SPDIP-28, spdip28, and parameterized forms like spdip28_w7.62mm resolve through the same implementation as dip28.

This keeps skinny/plastic DIP naming variants on the same DIP geometry path instead of adding a duplicated footprint generator.

Verification run locally:

  • npm exec -- biome check src/footprinter.ts tests/dip.test.ts
  • npm run build
  • direct Node check against the built package confirming SPDIP-28 and spdip28 produce the same JSON as dip28
  • git diff --check

Notes:

  • The repo expects bun test, but bun is not installed in this environment, so I could not run the Bun test suite directly.

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.

1 participant