Unverified Commit 6c8df000 authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix JSR publishing hang for @fedify/testing

Fixed JSR publishing hanging indefinitely at the processing stage by
hiding complex type exports from the public API. The JSR type analyzer
struggled with complex type dependencies when analyzing MockFederation,
TestFederation, TestContext, and SentActivity types.

Changes:

- MockFederation class is no longer exported from public API
- TestFederation, TestContext, SentActivity interfaces are not exported
- Updated all tests to use createFederation() factory function
- Updated documentation to remove type imports and use type inference
- Types are still available through TypeScript type inference

This approach minimizes the public API surface that JSR needs to analyze
while maintaining full type safety for users.

https://github.com/fedify-dev/fedify/issues/468



Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent add825af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment