Skip to content

fix(48053) Description of tsBuildInfoFile is misleading in generated tsconfig.json #48072

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

Merged
merged 5 commits into from
Mar 22, 2022

Conversation

Blopaa
Copy link
Contributor

@Blopaa Blopaa commented Mar 1, 2022

Fixes #48053

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Mar 1, 2022
@ghost
Copy link

ghost commented Mar 1, 2022

CLA assistant check
All CLA requirements met.

@sandersn
Copy link
Member

sandersn commented Mar 9, 2022

Note that the handbook also needs to get the new description: https://typescriptlang.org/docs/handbook/compiler-options.html

See also #46465, which does the inverse sync.

@jablko
Copy link
Contributor

jablko commented Mar 11, 2022

I've now opened microsoft/TypeScript-Website#2303 to also clarify the handbook.

Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

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

@Blopaa thanks! This looks good to me, but you’ll need to update the baselines so tests pass.

@Blopaa
Copy link
Contributor Author

Blopaa commented Mar 20, 2022

tests still fail

@andrewbranch
Copy link
Member

It looks like you need to run and update baselines again after merging with main. I’m guessing something else in the last 20 days touched these baselines in a way where the git merge line order was ambiguous.

@@ -5,8 +5,8 @@
/* Projects */
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation files. */
Copy link
Member

Choose a reason for hiding this comment

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

i think it should be file instead of files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

originally it was files, it must be something else, I did pull to main and ran gulp baseline-accept and it still failed.

Copy link
Member

Choose a reason for hiding this comment

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

You have to run the tests again before doing gulp baseline-accept

Copy link
Member

Choose a reason for hiding this comment

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

I agree the message should say file

@Blopaa Blopaa force-pushed the fix#48053 branch 2 times, most recently from 248c995 to 06bcddf Compare March 22, 2022 15:34
@Blopaa
Copy link
Contributor Author

Blopaa commented Mar 22, 2022

sorry for the forced pushes, everything is working now, thanks for your patience.

@Blopaa Blopaa requested a review from andrewbranch March 22, 2022 16:29
@andrewbranch
Copy link
Member

Thanks!

@andrewbranch andrewbranch merged commit 50a4b92 into microsoft:main Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Description of tsBuildInfoFile is misleading in generated tsconfig.json
7 participants