♻️ refactor: improve logic#622
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
""" Walkthrough此更改调整了 Changes
Sequence Diagram(s)sequenceDiagram
participant C as 调用者
participant F as findExistNode
participant S as findStyles
C->>F: 调用 findExistNode(option, key)
F->>F: 检查 styles 是否已定义
alt styles 未定义或为 null
F->>S: 调用 findStyles(getContainer(option))
S-->>F: 返回样式集合
end
F->>F: 在 styles 中查找指定 key 的节点
F-->>C: 返回匹配节点或 null
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #622 +/- ##
=======================================
Coverage 90.01% 90.01%
=======================================
Files 36 36
Lines 881 881
Branches 297 290 -7
=======================================
Hits 793 793
Misses 86 86
Partials 2 2 ☔ View full report in Codecov by Sentry. |
| }, | ||
| "devDependencies": { | ||
| "@rc-component/father-plugin": "^2.0.1", | ||
| "@rc-component/np": "^1.0.3", |
There was a problem hiding this comment.
prepublishOnly 里要把 np 改成 rc-np,然后去掉参数
浅改一下逻辑, 少走一部分计算
Summary by CodeRabbit
"@rc-component/np": "^1.0.3"。"np": "^10.0.2"。