-
Notifications
You must be signed in to change notification settings - Fork 225
Update(package): 修正 vue-i18n 版本号前的符号为 ^,以支持更高版本 #670
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
base: master
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthrough本次变更主要涉及两个方面:一是将 Changes
Sequence Diagram(s)(本次变更未涉及控制流或新功能,故不生成时序图。) Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 分钟 Possibly related PRs
Suggested labels
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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
Documentation and Community
|
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: 0
🧹 Nitpick comments (1)
web/src/hooks/auto-imports/useTrans.ts (1)
27-31: 弃用注释已添加,建议补充版本信息与替代方案链接
@deprecated注释非常有用,但最好注明“自哪个版本开始弃用”以及提供迁移指南的链接,方便后续清理;例如:/** * @deprecated since v3.1.0 – 请改用 useTrans('key')。 * 迁移文档:docs/i18n#useTrans */
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
web/package.json(1 hunks)web/src/hooks/auto-imports/useTrans.ts(1 hunks)
🔇 Additional comments (1)
web/package.json (1)
50-50: 确认 vue-i18n 版本范围仅涵盖补丁更新经
npm info vue-i18n检查,^11.1.2目前只会拉取 11.x 的补丁版本(最新 11.1.11),不包含 12.x 的 alpha 发布,兼容性风险极低。常规执行 CI 与 E2E 测试即可。
Summary by CodeRabbit
文档
杂项