fix: declare optional peer types#606
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (1)
📝 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 |
|
Pushed a focused follow-up for the CI failures after the base merge:
Verified locally:
|
commit: |
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