-
Notifications
You must be signed in to change notification settings - Fork 73
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: no longer use tsconfck #892
Conversation
Co-authored-by: Willhoit <[email protected]>
QA Looks good. Nice work on the integration tests, I cannot think of another case that we would need to cover. Sidenote: Do we want to account for the fact that |
const result = await parse(path) | ||
const tsNodeOpts = mergeNestedObjects(result.extended ?? [result], 'tsconfig.ts-node') | ||
return {...result.tsconfig, 'ts-node': tsNodeOpts} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think anyone in the oclifverse would be using this util? Removing it would be a breaking change. You could leave the export and have it call readTSConfig
from src/util/read-tsconfig.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was never export from src/index.ts so we're able to remove it without it being a breaking change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. They could grab the export from this file but what we export from src/index is our "contract".
I would wait until someone needs this before taking the time. I generally like to avoid adding support for something that there's not an immediate use case for |
Drop use of
tsconfck
library for resolving extended tsconfigs.Fixes #878
Fixes #907
@W-14526758@