-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Always write tsbuildInfo when running tsc -b #58626
Conversation
7dc0b38
to
49286d6
Compare
7356020
to
d8b4a76
Compare
@typescript-bot test it |
Hey @sheetalkamat, the results of running the DT tests are ready. Everything looks the same! |
@sheetalkamat Here are the results of running the user tests with tsc comparing Everything looks good! |
@sheetalkamat Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
@sheetalkamat Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
d0723b8
to
e15f648
Compare
e15f648
to
0b0886f
Compare
@@ -328,6 +326,7 @@ function getCompilerOptionsOfBuildOptions(buildOptions: BuildOptions): CompilerO | |||
commonOptionsWithBuild.forEach(option => { | |||
if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; | |||
}); | |||
result.tscBuild = true; |
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.
How will this flag affect people using our APIs to implement build mode like tsc? Will it be set for them? Or can we just assume it's always true?
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.
If they use our SolutionBuilder
API this where we set it so it should work.
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.
Alrighty; just verifying so people are not surprised.
@@ -328,6 +326,7 @@ function getCompilerOptionsOfBuildOptions(buildOptions: BuildOptions): CompilerO | |||
commonOptionsWithBuild.forEach(option => { | |||
if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; | |||
}); | |||
result.tscBuild = true; |
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.
Alrighty; just verifying so people are not surprised.
For now it only contains
version
but with plan to add more info about program for tsc -b uptodateness.In future this can be used to:
composite
must list all files (probably)tsc -b
noCheck
on commandLine