push-based / user-flow

📦 Combine Chrome tooling like Lighthouse userflows and DevTools reconder scripts in your CI
MIT License
118 stars 3 forks source link

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

Open BioPhoton opened 1 year ago

BioPhoton commented 1 year ago

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

ChristopherPHolder commented 2 weeks ago

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',
}