Skip to content

test(exports): add circular dependency detection and complete barrel export verification - #982

Open
area523ufo wants to merge 1 commit into
Sorokit:mainfrom
area523ufo:feat/verify-exports-circular-deps-969
Open

area523ufo wants to merge 1 commit into
Sorokit:mainfrom
area523ufo:feat/verify-exports-circular-deps-969

Conversation

@area523ufo

Copy link
Copy Markdown

Summary

Implements static import-graph circular dependency detection in src/verify-exports.ts, exports TransactionPanel from src/components/index.ts, and adds barrel export integrity tests in src/__tests__/exports.test.ts.

Changes

  • Added findCircularDependencies(entryDir) and verifyBarrelExports() in src/verify-exports.ts.
  • Exported TransactionPanel from src/components/index.ts so all public components are reachable through the root entrypoint.
  • Added unit tests in src/__tests__/exports.test.ts verifying every component, hook, utility, and cycle detector (6/6 passing).

Closes #969

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.

Detect circular exports and export missing components in verify-exports.ts

1 participant