Skip to content

feat: upgrade typescript to ~4.8.4 #578

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 3 commits into from
Feb 9, 2023

Conversation

PeachScript
Copy link
Member

@PeachScript PeachScript commented Feb 9, 2023

  1. 升级 TypeScript 到 ~4.8.4(为什么不是 ~4.9.0?为了和 @microsoft/api-extractor 声明的 TypeScript 版本保持一致,避免安装多个 TypeScript)
  2. typescript-transform-paths 替换此前通过预打包魔改兼容性的 @zerollup/ts-transform-paths,前者能直接兼容新版 TypeScript,为后续升级 ~4.9.0 做准备,该变更理论上对用户无感知

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Base: 94.18% // Head: 94.27% // Increases project coverage by +0.08% 🎉

Coverage data is based on head (9488c2e) compared to base (4a33fd4).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #578      +/-   ##
==========================================
+ Coverage   94.18%   94.27%   +0.08%     
==========================================
  Files          51       51              
  Lines        1376     1380       +4     
  Branches      320      320              
==========================================
+ Hits         1296     1301       +5     
+ Misses         79       77       -2     
- Partials        1        2       +1     
Impacted Files Coverage Δ
src/builder/bundless/dts/index.ts 89.83% <100.00%> (+1.69%) ⬆️
src/builder/bundless/loaders/javascript/swc.ts 78.12% <0.00%> (ø)
src/builder/bundless/index.ts 91.57% <0.00%> (+0.37%) ⬆️

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.

@PeachScript PeachScript merged commit ee6c334 into master Feb 9, 2023
@delete-merged-branch delete-merged-branch bot deleted the feature/upgrade-ts-and-paths-transform branch February 9, 2023 02:44
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

1 participant