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: substitute path that starts with ${configDir}/ in tsconfig.compilerOptions.paths #136

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Apr 22, 2024

closes #129

NOTE: All tests cases are just a head replacement of ${configDir}/ in the typescript test suite, so we are constrained as such.

configDir is always an absolute path, so we just join the path instead of replacing it.

@Boshen Boshen changed the title feat: substitute path that starts with ${configDir}/ in tsconfig.co… feat: substitute path that starts with ${configDir}/ in tsconfig.compilerOptions.paths Apr 22, 2024
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.01%. Comparing base (8dc2a26) to head (1a26fae).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
+ Coverage   94.94%   95.01%   +0.06%     
==========================================
  Files          11       11              
  Lines        2216     2246      +30     
==========================================
+ Hits         2104     2134      +30     
  Misses        112      112              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codspeed-hq bot commented Apr 22, 2024

CodSpeed Performance Report

Merging #136 will not alter performance

Comparing template-variable (1a26fae) with main (8dc2a26)

Summary

✅ 2 untouched benchmarks

…mpilerOptions.paths

closes #129

NOTE: All tests cases are just a head replacement of `${configDir}`, so we are constrained as such.

Reference: microsoft/TypeScript#58042
@Boshen Boshen marked this pull request as ready for review April 23, 2024 03:45
@Boshen Boshen merged commit b2e2094 into main Apr 23, 2024
20 checks passed
@Boshen Boshen deleted the template-variable branch April 23, 2024 03:47
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.

Support tsconfig template variable
1 participant