chore(deps): replace tsconfck with get-tsconfig - #777
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe build configuration resolver replaces Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
commit: |
🔗 Linked issue
Mentioned in #3
📚 Description
tsconfckis unmaintained, this PR swaps it forget-tsconfig. The only usage wasloadTSCompilerOptionsinsrc/commands/build.ts.What changed:
parse()→getTsconfig(), which performs the same upward search for the nearest config and mergesextends.tsconfckexposed the fullextendschain viaextended[], which meant walking that chain manually to re-anchor each relativepathstarget against the directory of the config that declared it.get-tsconfiginstead flattensextendsinto a single config and tracks the declaring directory internally, withcreatePathsMatcher()as the public API that applies it, so the library now handles what was previously done by hand.get-tsconfigis synchronous, soloadTSCompilerOptionsis no longerasync.No behaviour change intended.