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

Tsconfig Extends + Base Url + Paths Causing Lint Error on 4.7.1 #60

Closed
2 tasks
matthewwolfe opened this issue Sep 21, 2023 · 1 comment
Closed
2 tasks
Labels
bug Something isn't working

Comments

@matthewwolfe
Copy link

Problem

Link to reproduction url with steps in readme: https://github.com/matthewwolfe/tsconfig-extends-bug

I have an application that utilizes multiple tsconfigs that extend base tsconfigs that are published as packages separately and available via node_modules. On version 4.7.0 this works perfectly, 4.7.1 introduces an issue where the paths in the base config are not resolved properly. In the repository provided, the main branch produces a lint error, the pinned-version branch does not produce a lint error.

Expected behavior

Tsconfigs with base url and paths that are extended should work consistently with tsc

Minimal reproduction URL

https://github.com/matthewwolfe/tsconfig-extends-bug

Version

4.7.1

Node.js version

18.16.0

Package manager

npm

Operating system

macOS

Contributions

  • I plan to open a pull request for this issue
  • I plan to make a financial contribution to this project
@matthewwolfe matthewwolfe added the bug Something isn't working label Sep 21, 2023
@privatenumber
Copy link
Owner

Thanks for your report but your reproduction is not minimal and would require further debugging work that may not lead to a get-tsconfig bug. I provide Priority Support if you need assistance with this.

To make the reproduction minimal, can you make sure get-tsconfig and typescript are the only dependencies?

Alternatively, feel free to open a PR with a failing test like #59. This will probably be easier.

Happy to re-open once the bug is demonstrated to be in get-tsconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants