user-flow icon indicating copy to clipboard operation
user-flow copied to clipboard

Include existing `tsconfig.json` files to read content from `test.uf.ts`

Open BioPhoton opened this issue 2 years ago • 1 comments

This will be needed to word seamlessly in a big repo like Nx tooling etc

BioPhoton avatar Jul 19 '23 16:07 BioPhoton

We have now migratied the registry from ts-node to tsx. This is because of the ESM issue.

Additionally this now makes it easy to provide the tsconfig to the importer.

https://tsx.is/dev-api/ts-import

The change is minor but does require us deciding how this config will be passed to the cli.

I would assume this would be a top level config

{
collect: {},
assert: {},
tsConfig: './path/to/tsconfig.uf.json',
}

ChristopherPHolder avatar Sep 23 '24 10:09 ChristopherPHolder