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: d.ts paths transform bug if project use ts 4.9.x #605

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

PeachScript
Copy link
Member

修复当项目依赖了 TypeScript 4.9.x 时,类型产物中的 paths 别名没有转换的问题

原因:typescript-transform-paths 目前不支持 TypeScript 4.9,但也不会报错
解法:father 将自己依赖的 TypeScript 4.8.x 传给插件使用,确保插件拿到的 TypeScript 实例与 father 声明的一致

@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4563346) 94.68% compared to head (330654f) 94.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #605   +/-   ##
=======================================
  Coverage   94.68%   94.68%           
=======================================
  Files          51       51           
  Lines        1429     1429           
  Branches      339      320   -19     
=======================================
  Hits         1353     1353           
  Misses         76       76           
Impacted Files Coverage Δ
src/builder/bundless/dts/index.ts 89.83% <ø> (ø)

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@PeachScript PeachScript merged commit 9c35e88 into master Mar 16, 2023
@delete-merged-branch delete-merged-branch bot deleted the hotfix/ts-paths-bug branch March 16, 2023 09:08
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