Skip to content

Conversation

@ecraig12345
Copy link
Member

Instead of adding an allInScope property to scopedPackages which must be manually checked by all consuming code, override Set.prototype.has if all packages are in scope. This is completely transparent to the consuming code and works identically to unmodified Set<string> for jest tests.

@ecraig12345 ecraig12345 marked this pull request as ready for review January 10, 2026 07:54
@ecraig12345 ecraig12345 merged commit 9eaefc3 into main Jan 10, 2026
8 checks passed
@ecraig12345 ecraig12345 deleted the ecraig/scoped-packages branch January 10, 2026 07:58
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