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

feat: auto detect jest version and revert sc version to v6 #10284

Merged
merged 3 commits into from
Jan 12, 2023

Conversation

fz6m
Copy link
Contributor

@fz6m fz6m commented Jan 12, 2023

  1. 回滚 sc 版本

  2. lint 需要 jest 版本,生成器也需要 jest 版本,所以写了一劳永逸的检测方法

@vercel
Copy link

vercel bot commented Jan 12, 2023

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

1 Ignored Deployment
Name Status Preview Updated
umi ⬜️ Ignored (Inspect) Jan 12, 2023 at 10:48AM (UTC)

@codecov
Copy link

codecov bot commented Jan 12, 2023

Codecov Report

Base: 29.57% // Head: 29.54% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (ef95e5f) compared to base (6350579).
Patch coverage: 19.35% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10284      +/-   ##
==========================================
- Coverage   29.57%   29.54%   -0.04%     
==========================================
  Files         444      444              
  Lines       12867    12884      +17     
  Branches     3138     3140       +2     
==========================================
  Hits         3806     3806              
- Misses       8471     8488      +17     
  Partials      590      590              
Impacted Files Coverage Δ
packages/bundler-vite/src/server/server.ts 0.00% <0.00%> (ø)
packages/bundler-webpack/src/server/server.ts 0.00% <0.00%> (ø)
packages/lint/src/config/eslint/index.ts 0.00% <0.00%> (ø)
...ackages/preset-umi/src/commands/generators/jest.ts 0.00% <0.00%> (ø)
...eset-umi/src/features/mock/createMockMiddleware.ts 0.00% <ø> (ø)
packages/preset-umi/src/utils/fileSizeReporter.ts 0.00% <0.00%> (ø)
packages/utils/src/index.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sorrycc sorrycc merged commit 456cfa8 into umijs:master Jan 12, 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.

2 participants