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

Document tsconfig.*.json #265

Open
laterdayi opened this issue May 6, 2023 · 3 comments
Open

Document tsconfig.*.json #265

laterdayi opened this issue May 6, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@laterdayi
Copy link

ref vuejs/tsconfig#16

thanks @sodatea

@sodatea sodatea changed the title Important update about 0.3.* Document tsconfig.*.json May 6, 2023
@sodatea sodatea added the documentation Improvements or additions to documentation label Aug 19, 2023
@bmulholland
Copy link

bmulholland commented Dec 2, 2023

Also, why does type-check use the vitest tsconfig? I'd expect it to use the app tsconfig.

@sodatea
Copy link
Member

sodatea commented Dec 4, 2023

Also, why does type-check use the vitest tsconfig? I'd expect it to use the app tsconfig.

Because the vitest tsconfig covers both the app modules and the test spec modules, therefore more comprehensive than the app tsconfig.

But never mind, after #274 we'll be using vue-tsc --build --force for type-checking. That would be more intuitive.

@bmulholland
Copy link

Got it, thanks @sodatea. I did try that out and ran into an issue, which I've flagged on the PR. Still, good to understand the current setup.

To throw in a tsconfig that threw me off more than others: the cypress one that's under cypress/e2e. I generated a scaffold and copied over the tsconfig files in the root dir to my actual project, but missed that one until just now. I only knew it existed because I was browsing around templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants