Repository navigation
SDK: npm install docs and a type test that can't time out - #10
Merged
Merged
Conversation
- The package is on npm (0.2.0 and 0.3.0 are published), so the README, quickstart and React docs show npm install instead of "not published". - types.test runs tsc through async execFile. Seven blocking execFileSync calls could hold the test worker past Vitest's 60 s RPC timeout on a busy machine, failing the run with "Timeout calling onTaskUpdate" though every test passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small follow-up to #9, ahead of publishing 0.4.0 to npm.
What changed
@heresmychurch/lookupis already on npm (0.2.0 and 0.3.0 were published on November 10), but the README, quickstart and React docs still said it wasn't. They now shownpm install. The README is also the package's page on npm, so this should land before 0.4.0 is published.test/types.test.tsrantscseven times withexecFileSync, which blocks the test worker. On a busy machine a run could pass in total for more than 60 seconds, and Vitest then failed it with "Timeout calling onTaskUpdate" even though all 188 tests passed. Thetscruns now use asyncexecFile.Testing
🤖 Generated with Claude Code