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

Generate tsconfig files for each typescript srcbook #122

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

benjreinhart
Copy link
Contributor

@benjreinhart benjreinhart commented Jul 9, 2024

This will allow each project to have its own tsconfig and eventually allow customization of these values. It is a prerequisite for tsserver.

This is also a backwards incompatible change. We'll group this with the other backwards incompat change in #121

@benjreinhart benjreinhart requested a review from nichochar July 9, 2024 23:10
@@ -84,7 +82,18 @@ export function tsc(options: NodeRequestType) {
return spawnCall({
command: Path.join(cwd, 'node_modules', '.bin', 'tsc'),
cwd,
args: [entry, ...tsConfigToArgs(DEFAULT_TSCONFIG)],
args: [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hardcoding for now. This is going to go away once the tsserver pr is merged anyways.

@benjreinhart benjreinhart merged commit ded2380 into main Jul 9, 2024
@benjreinhart benjreinhart deleted the tsconfig branch July 9, 2024 23:11
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.

1 participant