terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

rework generateTSConfig #3703

Closed lesleydreyer closed 1 month ago

lesleydreyer commented 1 month ago

The generateTSConfig writes to commonjs.

Ideas were to... A) check the package.json and adjust the compilerOptions to module/target/resolution to nodenext/esnext if it's a module B) remove generateTSConfig completely C) keep some options

We looked at the git history and weren't completely clear why generating a tsconfig is needed since we already do what it's doing in the tsconfigs, so decided maybe keeping the references and just allow the original options for the rest.