refactor: replace @epic-web/invariant with simple code#267
Conversation
WalkthroughThe changes remove the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ 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 |
@epic-web/invariant with simple code
|
@kentcdodds, what about this? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #267 +/- ##
===========================================
- Coverage 100.00% 98.71% -1.29%
===========================================
Files 4 4
Lines 155 156 +1
Branches 52 53 +1
===========================================
- Hits 155 154 -1
- Misses 0 2 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What:
Replace
@epic-web/invariantwith simple code. (This is like #266)Why:
We only use one function (
invariant) from@epic-web/invariantwhich is can be reached with this simple code:By doing that,
cross-envnow only use 1 dependency (cross-spawn).How:
Replace
@epic-web/invariantwith simple code like on top.Checklist: