fix: declare optional peer types#606
Conversation
|
Wondering what really moved? Review this PR in Change Stack to inspect semantic changes, definitions, and references. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated dependency configurations to mark build tool types as optional peer dependencies. ChangesOptional Peer Dependencies for Build Tools
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Adds the bundler/runtime packages referenced by
unplugin's generated declaration files as optional peer dependencies, including the existing Bun type package.This lets strict package managers surface the optional type packages instead of leaving consumers with unresolved imports from
dist/index.d.mts.Fixes #605
Test plan
pnpm run typecheckpnpm run lintpnpm testgit diff --checkSummary by CodeRabbit