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.
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.