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

fix(test): upgrade esbuild target in jest transform #10414

Merged
merged 5 commits into from
Feb 6, 2023

Conversation

fz6m
Copy link
Member

@fz6m fz6m commented Feb 4, 2023

修复 #10412附属问题 部分。

主要是默认提升 esbuild target 版本并且对 vite 专属的代码加以限制,防止发生类似的情况(比如用了其他的 transform 不支持 Vite 需要的代码)

@vercel
Copy link

vercel bot commented Feb 4, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated
umi ⬜️ Ignored (Inspect) Feb 6, 2023 at 7:45AM (UTC)

@codecov
Copy link

codecov bot commented Feb 4, 2023

Codecov Report

Base: 29.26% // Head: 29.34% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (03e7761) compared to base (0c568fa).
Patch coverage: 25.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10414      +/-   ##
==========================================
+ Coverage   29.26%   29.34%   +0.07%     
==========================================
  Files         445      445              
  Lines       13041    12981      -60     
  Branches     3186     3056     -130     
==========================================
- Hits         3817     3809       -8     
+ Misses       8615     8534      -81     
- Partials      609      638      +29     
Impacted Files Coverage Δ
...kages/preset-umi/src/features/tmpFiles/tmpFiles.ts 0.00% <ø> (ø)
packages/testing/src/index.ts 0.00% <0.00%> (ø)
packages/umi/src/test.ts 47.22% <50.00%> (+0.16%) ⬆️
...ages/bundler-webpack/src/config/javaScriptRules.ts 74.24% <0.00%> (-0.05%) ⬇️
packages/mfsu/src/moduleGraph.ts 99.28% <0.00%> (-0.01%) ⬇️
codemod/src/checker.ts 0.00% <0.00%> (ø)
packages/server/src/ssr.ts 0.00% <0.00%> (ø)
codemod/src/appJSUpdater.ts 0.00% <0.00%> (ø)
packages/umi/src/cli/cli.ts 0.00% <0.00%> (ø)
codemod/src/runner/config.ts 0.00% <0.00%> (ø)
... and 45 more

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.

packages/testing/package.json Outdated Show resolved Hide resolved
@sorrycc sorrycc merged commit e7d0ad8 into umijs:master Feb 6, 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

2 participants