-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: move @ctrl/tinycolor out of dependencies #231
Conversation
📝 WalkthroughWalkthrough此次更改主要涉及 Changes
Possibly related PRs
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 (
|
Bundle ReportBundle size has no change ✅ |
Deploying ant-design-x with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
package.json
(1 hunks)
🔇 Additional comments (1)
package.json (1)
103-103
: 验证依赖项的移除
请确认 @ctrl/tinycolor 已从 dependencies 部分完全移除,以避免重复声明。
✅ Verification successful
@ctrl/tinycolor 依赖项声明正常
根据验证结果,@ctrl/tinycolor 在 package.json 中只有一处声明,位于 dependencies 中,版本为 ^4.1.0。没有发现重复声明的问题。
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# 描述:验证 @ctrl/tinycolor 是否已从 dependencies 中移除
# 检查 package.json 中的 dependencies
echo "检查 dependencies 中是否还存在 @ctrl/tinycolor..."
rg "\"@ctrl/tinycolor\"" package.json
Length of output: 163
Script:
#!/bin/bash
# 检查 package.json 中是否存在重复的 @ctrl/tinycolor 声明
echo "检查 package.json 的完整内容..."
cat package.json | jq '.dependencies, .devDependencies' | rg "@ctrl/tinycolor"
Length of output: 168
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #231 +/- ##
=======================================
Coverage 91.13% 91.13%
=======================================
Files 66 66
Lines 1421 1421
Branches 364 364
=======================================
Hits 1295 1295
Misses 126 126 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
没有删,移到 devDeps 里了。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Summary by CodeRabbit
package.json
文件,调整了@ctrl/tinycolor
的依赖项,将其从运行时依赖移至开发依赖。