Skip to content
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

refactor: upgrade project #411

Merged
merged 17 commits into from
Jan 14, 2023
Merged

Conversation

Wxh16144
Copy link
Contributor

@Wxh16144 Wxh16144 commented Jan 12, 2023

升级描述

  • 使用 rc-test 包装 jest
    • 注意:升级后 scrollLocker.test.tsswitchScrollingEffect.test.ts 这两个跑不过,需要 review。
  • 升级构建工具 father@4
    • .fatherrc.ts plugin 必须🔒 @rc-component/father-plugin@1.0.0。因为 src 源文件有 .ts.js 混写的。
  • 升级文档服务 dumi@2
  • 升级 eslint 校验规则 @umijs/fabric@3

新增描述

  • 添加 worlflow ci,详情 site-deploy.yml 配置文件

Build output diff

使用 father@4 构建后产物与 master 构建后对比在这里

@vercel
Copy link

vercel bot commented Jan 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
util ✅ Ready (Inspect) Visit Preview Jan 14, 2023 at 4:06AM (UTC)

@codecov
Copy link

codecov bot commented Jan 13, 2023

Codecov Report

Merging #411 (bde52ab) into master (12a535a) will increase coverage by 22.56%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #411       +/-   ##
===========================================
+ Coverage   68.15%   90.72%   +22.56%     
===========================================
  Files          48       34       -14     
  Lines        1077      819      -258     
  Branches      364      256      -108     
===========================================
+ Hits          734      743        +9     
+ Misses        304       74      -230     
+ Partials       39        2       -37     
Impacted Files Coverage Δ
src/raf.ts 100.00% <0.00%> (ø)
src/pickAttrs.ts 100.00% <0.00%> (ø)
src/utils/set.ts 100.00% <0.00%> (ø)
src/hooks/useMergedState.ts 100.00% <0.00%> (ø)
src/ContainerRender.js
src/guid.js
src/Dom/support.js
src/Dom/findDOMNode.ts
src/Children/mapSelf.js
src/Dom/addEventListener.js
... and 11 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

.dumirc.ts Fixed Show resolved Hide resolved
@Wxh16144 Wxh16144 changed the title [WIP] feat: upgrade project refactor: upgrade project Jan 14, 2023
@zombieJ
Copy link
Member

zombieJ commented Jan 14, 2023

scrollLocker 这个问题不大,v5 后有 rc-portal 了。

@zombieJ zombieJ merged commit b02ee2f into react-component:master Jan 14, 2023
@DBSDs
Copy link

DBSDs commented Nov 14, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants