jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.21k stars 505 forks source link

Basic template support for Jest + VSCode, type-check tests #1049

Closed sramam closed 2 years ago

sramam commented 3 years ago

Current Behavior

I am using tsdx to setup a headless monorepo, meaning I use the basic template. Very useful. So thank you.

However, to get VSCode + jest to work correctly on the test files, I keep having to make this adjustment to tsconfig.json

image

Expected behavior

My needs don't seem special and I'd suspect these should be the defaults in the template.

agilgur5 commented 2 years ago

This is effectively a duplicate of #871 and I've documented that one extensively, so I'll leave most of the details to it.

Some issues with your set-up that you may have later discovered: