fix: add missing index.ts barrel file and fix package entry point#11
fix: add missing index.ts barrel file and fix package entry point#11
Conversation
src/index.ts never existed — consumers importing from 'git-mem' got a broken module. Created barrel file exporting the full public API, pointed main to dist/index.js, added types field, bumped to 0.1.1. Fixes GIT-32 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
📝 WalkthroughWalkthroughThe changes create a public API barrel entry point and update package configuration. Package.json bumps to version 0.1.1, points the main entry to dist/index.js, and adds type definitions. A new src/index.ts barrel file re-exports 100+ entities from domain, application, and infrastructure layers. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
Closing — this work was already delivered via PR #17 (branch |
Summary
src/index.tsbarrel file exporting the full public API (domain types, interfaces, services, infrastructure, errors, MCP server factory)package.json:main→dist/index.js, addedtypes→dist/index.d.tsrepository,homepage,bugsmetadata fields0.1.1Fixes GIT-32
Test plan
npm run buildcompiles cleanlynpm test— all 135 tests passnpm pack --dry-runconfirmsdist/index.jsis includedgit-mem@0.1.1to npm and verified withnpm info git-mem🤖 Generated with Claude Code
Summary by CodeRabbit