-
Notifications
You must be signed in to change notification settings - Fork 287
chore: 升级icon库 #3330
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
Merged
Merged
chore: 升级icon库 #3330
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
src/packages/address/__test__/__snapshots__/address.spec.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
💡 Verification agent
🧩 Analysis chain
升级到 beta OK,但建议固定预发布版本并补充验证项
^3.0.2-beta.*在 npm 语义下可能在 CI/发布时解析到更新的 beta/stable 3.x,带来不可预期变更(尤其图标重命名/导出路径调整这类细小变更)。在 beta 阶段建议固定精确版本,或改用 ~ 以降低漂移风险。可以考虑如下微调(保持可回滚与可复现):
建议核对与冒烟:
import { Xxx } from '@nutui/icons-react'/@nutui/icons-react-taro')、是否有移除的图标。可用以下脚本快速罗列代码库中对两个包的实际导入位置,辅助评估影响面(在仓库根目录执行):
🏁 Script executed:
Length of output: 266
🏁 Script executed:
Length of output: 93026
请固定 @nutui/icons-react / @nutui/icons-react-taro 的预发布版本并补充兼容验证
原因简述:package.json 仍使用 caret(^3.0.2-beta.*),仓库中有大量直接从这两个包导入(见下),存在安装时解析到不同 beta/3.x 版本导致导出/命名/路径变更的风险。pnpm-lock.yaml 当前已解析为 3.0.2-beta.5 / 3.0.2-beta.2,但为了可回滚与可复现,建议在 package.json 固定精确版本并在 PR 描述里说明变更动机与影响。
需要改动(最小变更建议):
需要关注 / 验证的代码位置(示例):
建议的最小验证清单(冒烟):
如需,我可以把仓库中引用该包的文件列表导出成清单,或把 build 脚本附近的具体行贴出来供进一步评审。
📝 Committable suggestion