Skip to content

fix: handle jiti MODULE_NOT_FOUND error and update docs#44

Merged
satoshai-dev merged 2 commits intomainfrom
fix/module-not-found-and-docs
Mar 5, 2026
Merged

fix: handle jiti MODULE_NOT_FOUND error and update docs#44
satoshai-dev merged 2 commits intomainfrom
fix/module-not-found-and-docs

Conversation

@satoshai-dev
Copy link
Copy Markdown
Owner

Summary

  • Bug fix: isFileNotFound now handles jiti's MODULE_NOT_FOUND error code, so abi-cli sync without a config file shows a clean "No config file found" message instead of a cryptic jiti error
  • Docs: README updated to document all v1 features — name alias, --check flag, barrel file generation, and corrected generated output format (as const satisfies ClarityAbi)

Test plan

  • All 93 tests pass
  • E2E verified: abi-cli sync with no config shows clean error
  • README examples match actual CLI behavior

🤖 Generated with Claude Code

satoshai-dev and others added 2 commits March 5, 2026 13:37
- isFileNotFound now treats MODULE_NOT_FOUND (from jiti) as file-not-found,
  so `abi-cli sync` without a config file shows a clean error message
- README updated to document name alias, --check flag, barrel file generation,
  and corrected generated output format (as const satisfies ClarityAbi)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@satoshai-dev satoshai-dev merged commit 1b5d222 into main Mar 5, 2026
1 check passed
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.

1 participant