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

chore: Remove override of module resolution #1004

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

tvhees
Copy link
Collaborator

@tvhees tvhees commented Jul 2, 2024

The tsconfig being extended in tsconfig.base.json already specifies "moduleResolution": "node16"

"moduleResolution": "node" is for earlier versions of NodeJS

This is being picked up as an error in service tsconfigs that extend tsconfig.base.json: Option 'moduleResolution' must be set to 'Node16' (or left unspecified) when option 'module' is set to 'Node16'.

The tsconfig being extended in tsconfig.base.json already specifies "moduleResolution": "node16"

"moduleResolution": "node" is for earlier versions of NodeJS
@tvhees tvhees requested a review from a team as a code owner July 2, 2024 09:35
gowrizrh
gowrizrh previously approved these changes Jul 2, 2024
Copy link
Contributor

@kai-nguyen-aligent kai-nguyen-aligent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This look like a left over when we upgrade to @tsconfig/node20/tsconfig. We have the same setup in Matsuya and it works fine.

@kai-nguyen-aligent kai-nguyen-aligent dismissed stale reviews from gowrizrh and themself via 7c0996c July 3, 2024 01:58
@kai-nguyen-aligent
Copy link
Contributor

@tvhees @gowrizrh I've added a fix for the failing check. Need your review and green tick again.

@gowrizrh gowrizrh self-requested a review July 3, 2024 02:09
@tvhees tvhees merged commit d127e95 into main Jul 3, 2024
1 check passed
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.

3 participants