Uh oh!
There was an error while loading. Please reload this page.
feat: export helpers used by sibling packages - #202
Conversation
@nrps9909 is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
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 selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. Walkthrough根入口新增 Changes根导出
Estimated code review effort: 1 (简单) | ~5 minutes Merge Risk:⚪ Minimal · up to The PR exposes existing helpers from the package root without changing their implementations or runtime behavior and adds regression coverage. No actionable merge-blocking risk remains beyond normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files. ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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
CommonInputProps,useCount, andresolveOnChangefrom the package rootMotivation
The sibling
@rc-component/textareapackage currently consumes these declarations and helpers through@rc-component/input/lib/*deep imports. The current father-plugin compile check rejects package-internales/libimports, so textarea cannot migrate to supported root imports until input exposes the symbols it already relies on.HolderRefandBaseInputPropsare already available from the root; this completes the remaining sibling-package surface without moving or duplicating implementation code.Validation
npm run tscnpm run lint(0 errors; 2 existing hook warnings)npm run compile(ESM, CJS, declarations, and Less)index.d.tsfiles expose all three symbolsgit diff --checkI checked every current open PR changed-file list; none modifies
src/index.tsxor adds this root-export surface.AI assistance disclosure: Codex was used to trace the sibling package compile failure, verify the current public exports, implement the root exports and regression, run validation, audit open PR overlap, and draft this description. All cited results were verified on the submitted head.
Summary by CodeRabbit
新功能
CommonInputProps类型。useCountHook。resolveOnChange工具函数。测试