jaredpalmer / tsdx

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

Use tsconfig "base" with overrides when neccessary? #901

Closed ArturBaybulatov closed 3 years ago

ArturBaybulatov commented 3 years ago

https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#tsconfig-bases

agilgur5 commented 3 years ago

Please don't remove the issue template, it is there for a reason.

This sounds like a duplicate of #634 / #753 . Given the removal of the template and lack of details, it is difficult to interpret if you meant use an existing base, e.g. @tsconfig/recommended or for TSDX to have its own base, i.e. @tsdx/tsconfig. Per the duplicated issues, I plan to have @tsdx/tsconfig that all the templates will extend. It will itself extend @tsconfig/recommended. @tsconfig/recommended is itself only a few settings and isn't currently commented well, so I don't think changing to that in isolation (without @tsdx/tsconfig) is worthwhile. I actually wrote the code for that but decided against it and to wait until @tsdx/tsconfig exists, especially as that will make for a more intuitive dependency structure.