v1.6.16: Fix module resolution and TTY handling
π Bug Fixes
- Fixed CommonJS module resolution by separating CLI and library entry points
- Fixed TTY detection to prevent crashes in CI/CD environments
- Added proper handling for non-interactive terminals
π§ Improvements
- Added
skipLibCheckto TypeScript config for better compatibility - Created separate
lib.tsentry point for programmatic usage - Enhanced README with JSDoc validation documentation and project comparisons
π¦ Changes
- Main entry point changed from
dist/index.jstodist/lib.js - CLI binary still available at
dist/index.js - Fixed optional chaining for undefined schema entries
π Breaking Changes
None - fully backward compatible
π Documentation
- Added comprehensive examples of JSDoc validation annotations
- Added comparison table with alternative libraries (zod, io-ts, yup)
- Improved installation and usage instructions