fix: resolve dependency version changes after pnpm upgrade #620
+16,804
−14,902
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.
升级 pnpm 版本,并处理依赖升级后的一系列问题
以下依赖版本未做升级:
antd:ts 类型错误的罪魁祸首,升级后 form 相关的类型变更很大,并且担心样式出现问题,暂时也不对 antd 升级,可以以后单独升级处理。
react-redux, react-router-dom:升级小版本会出现一些 warn 信息,并且 react-redux 用法还有些变化,暂时先不动。
对以下依赖进行了大版本更新:
eslint 升级到了 v9
@testing-library/react 升级到了 v16
此次变更后 antd 的 css hash 全部发生了变化,具体原因还在探究中,导致单元测试快照几乎全部产生了变更,所以本 pr 暂时还不能合并。
后续处理: